public static void Postfix(LiquidReservoirConfig __instance, ref GameObject go) { Storage storage = BuildingTemplates.CreateDefaultStorage(go); storage.capacityKg = DynamicBuildingsState.StateManager.State.LiqRes; ConduitConsumer conduitConsumer = go.AddOrGet <ConduitConsumer>(); conduitConsumer.capacityKG = storage.capacityKg; }
public static void Postfix(LiquidReservoirConfig __instance, ref BuildingDef __result) => __result.PermittedRotations = PermittedRotations.R360;
static void Postfix(LiquidReservoirConfig __instance, ref BuildingDef __result) { __result.ContinuouslyCheckFoundation = DynamicBuildingsState.StateManager.State.LiqResBase; }