Exemplo n.º 1
0
            public static void Prefix()
            {
                BasicModUtils.MakeStrings(LogicIlluminationSensorConfig.ID,
                                          STRINGS.ILLUMINATIONSENSOR.NAME,
                                          STRINGS.ILLUMINATIONSENSOR.DESCRIPTION,
                                          STRINGS.ILLUMINATIONSENSOR.EFFECT);

                ModUtil.AddBuildingToPlanScreen("Automation", LogicIlluminationSensorConfig.ID);
            }
            public static void Prefix()
            {
                BasicModUtils.MakeStrings(LogicIlluminationSensorConfig.ID,
                                          LogicIlluminationSensorConfig.Name,
                                          LogicIlluminationSensorConfig.Description,
                                          LogicIlluminationSensorConfig.Efect);

                ModUtil.AddBuildingToPlanScreen("Automation", LogicIlluminationSensorConfig.ID);
            }
Exemplo n.º 3
0
 public static void Prefix()
 {
     // for vanilla version
     BasicModUtils.AddToTech("GenericSensors", LogicIlluminationSensorConfig.ID);
 }