branchrust_reboot/main/world_update_2/radioactive_watercancel
30 Commits over 31 Days - 0.04cph!
Radioactive water~
Looting player will now be irradiated whilst looting a dead/alive player that has large amounts of radioactive water on them (this only happens in the looting window)
Items now have some standardised methods to look for radiation amounts. For the time being these are only > 0 if the item has a ContainerRads item mod
Much cleaner routing through BasePlayer-Client.Looting as well as LootableCorpse
New file to specifically deal with these radiation changes on BasePlayer
Splashable now uses new methods
Route radiation check updates through PlayerLoot::SendUpdate to further prevent unneeded calculations
Fixed broken rad counts from container
Amounts update on changed instead
Player loot method to grab rads
Rerouted to ItemContainer instead
Fixed a bug crashing the editor on start
ModInit was too early for ItemManager?
Attempt at routing rad amounts through item containers
Balanced radioactive water splashes on players
Balanced radioactive water sprinker splashes on players
Moved Radiation calculations (tiers, protection discounts) to its own static class rather than storing it in TriggerRadiation
Rads are applyed to player motabolism instead
world_update_2 -> world_update_2/radioactive_water
world_update_2 -> world_update_2/radioactive_water
Added boolean to enable automatic topology changes
Lake/Oasis/Radtown S2P
Revert set topology on water sources - fixes incorrect topology map with lakes on terrain generation
Temprorarily breaks Radioactive Water
Merge World Update 2 -> Radioactive Water
Radioactive water reduces thirst rather than increasing it
Ensured radtown has correct lake setup
Water barrel accepts radioactive water
Player is now splashable by radioactive water. Irradiates players.
This means sprinklers filled with radioactive water will gradually radiate any player under its spray
Bunch of bug fixes
Added remove all force methods to planter. Removes all with no fibre drops when radioactive water is used
Fillwater command now supports radioactive water
Radioactive water will kill all plants in a planter when splashed
Added icon to radioactive water
Radioactive water will merge together with water or salt water in containers, turning them into radioactive water
Keep the map as low res as possible (256x256) since we only have a couple of radioactive water objects
Swapped radioactive water check from physics checks to a texture map instead
Added drinkable radioactive water to new radtown
S2P
Actually add water body to the topology map. Water bodies marked as lake/river should now be drinkable as expected