예제 #1
0
    private bool CanUseAltar()
    {
        IDownloadableContentService service = Services.GetService <IDownloadableContentService>();

        if (service == null || !service.IsShared(DownloadableContent13.ReadOnlyName))
        {
            return(false);
        }
        DepartmentOfTheInterior agency = base.AIEntity.Empire.GetAgency <DepartmentOfTheInterior>();

        return(agency.IsAltarBuilt());
    }