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(); }
public void setParms(String newParms) { super.setParms(newParms); tickWait = CMParms.getParmInt(newParms, "delay", 0); tickDown = tickWait; }
private void resetHailTicks() { hailDown = CMParms.getParmInt(parms, "hailticks", Climate.WEATHER_TICK_DOWN / 2); }
private void resetDustTicks() { dustDown = CMParms.getParmInt(parms, "dustticks", 50); }
private void resetGustTicks() { gustDown = CMParms.getParmInt(parms, "gustticks", Climate.WEATHER_TICK_DOWN); }
private void resetTornadoTicks() { tornadoDown = CMParms.getParmInt(parms, "tornadoticks", Climate.WEATHER_TICK_DOWN * 10); }
private void resetRumbleTicks() { rumbleDown = CMParms.getParmInt(parms, "rumbleticks", Climate.WEATHER_TICK_DOWN / 4); }
private void resetLightningTicks() { lightningDown = CMParms.getParmInt(parms, "lightningticks", Climate.WEATHER_TICK_DOWN * 4); }
private void resetRustTicks() { rustDown = CMParms.getParmInt(parms, "rustticks", 30); }
private void resetDiseaseTicks() { diseaseDown = CMParms.getParmInt(parms, "diseaseticks", Climate.WEATHER_TICK_DOWN); }
private void resetBotherTicks() { botherDown = CMParms.getParmInt(parms, "botherticks", Climate.WEATHER_TICK_DOWN / 3); }