EnviroMine / EnviroMine-1.7

Other
44 stars 38 forks source link

Enabled quake rarity functionality #200

Open Greslin opened 8 years ago

Greslin commented 8 years ago

In latest version, variable quakeRarity is read from config but not actually used anywhere. This code change adds it to the quake scheduling calls, performing a simple rand to determine if the earthquake in fact happens. The quakeRarity value is the percentage of otherwise default earthquakes that are allowed to occur (100 = all EM normal, 10 = 10% EM Normal, etc.).

Greslin commented 8 years ago

Hasty commit on my part - sorry. Not quite there yet.

Bogdan-G commented 8 years ago

limit the number 100?

GenDeathrow commented 8 years ago

I look into adding this in to a beta build I am working on.