Beispiel #1
0
 public void setParms(String newParms) {
   parms = newParms;
   puddlepct = CMParms.getParmInt(parms, "puddlepct", 50);
   windsheer = CMParms.getParmInt(parms, "windsheer", 10);
   rainSlipChance = CMParms.getParmInt(parms, "rainslipchance", 1);
   snowSlipChance = CMParms.getParmInt(parms, "snowslipchance", 5);
   sleetSlipChance = CMParms.getParmInt(parms, "sleetslipchance", 10);
   freezeOverChance = CMParms.getParmInt(parms, "iceoverchance", 50);
   droughtFireChance = CMParms.getParmInt(parms, "droughtfirechance", 1);
   resetBotherTicks();
   resetDiseaseTicks();
   resetRustTicks();
   resetLightningTicks();
   resetRumbleTicks();
   resetGustTicks();
   resetTornadoTicks();
   resetHailTicks();
   resetDustTicks();
 }
Beispiel #2
0
 public void setParms(String newParms) {
   super.setParms(newParms);
   tickWait = CMParms.getParmInt(newParms, "delay", 0);
   tickDown = tickWait;
 }
Beispiel #3
0
 private void resetHailTicks() {
   hailDown = CMParms.getParmInt(parms, "hailticks", Climate.WEATHER_TICK_DOWN / 2);
 }
Beispiel #4
0
 private void resetDustTicks() {
   dustDown = CMParms.getParmInt(parms, "dustticks", 50);
 }
Beispiel #5
0
 private void resetGustTicks() {
   gustDown = CMParms.getParmInt(parms, "gustticks", Climate.WEATHER_TICK_DOWN);
 }
Beispiel #6
0
 private void resetTornadoTicks() {
   tornadoDown = CMParms.getParmInt(parms, "tornadoticks", Climate.WEATHER_TICK_DOWN * 10);
 }
Beispiel #7
0
 private void resetRumbleTicks() {
   rumbleDown = CMParms.getParmInt(parms, "rumbleticks", Climate.WEATHER_TICK_DOWN / 4);
 }
Beispiel #8
0
 private void resetLightningTicks() {
   lightningDown = CMParms.getParmInt(parms, "lightningticks", Climate.WEATHER_TICK_DOWN * 4);
 }
Beispiel #9
0
 private void resetRustTicks() {
   rustDown = CMParms.getParmInt(parms, "rustticks", 30);
 }
Beispiel #10
0
 private void resetDiseaseTicks() {
   diseaseDown = CMParms.getParmInt(parms, "diseaseticks", Climate.WEATHER_TICK_DOWN);
 }
Beispiel #11
0
 private void resetBotherTicks() {
   botherDown = CMParms.getParmInt(parms, "botherticks", Climate.WEATHER_TICK_DOWN / 3);
 }