branchrust_reboot/main/world_update_2/radioactive_watercancel

81 Commits over 31 Days - 0.11cph!

3 Months Ago
Radioactive water: - Apply radiation from spinklers in the same way as wetness (more reliable and easily adjustable) - Improved the abilities of TriggerRadiation (LOS Support, Height Check Support and Collider Radius Support) - Balanced sprinkler damage
3 Months Ago
Backpack contents NRE fix
3 Months Ago
world_update_2 -> radioactive_water
3 Months Ago
Dont override onItemAddedRemoved delegate
3 Months Ago
Ensure upper bound clamp of the method version of AfterProtection is set to a large enough value so the value doesnt incorrectly clamp to the radiaition amount itself
3 Months Ago
Bubble up rads called on server only
3 Months Ago
Prevent bubble up from throwing an NRE
3 Months Ago
Radioactive water is finally supported in backpacks: - Radioactive poll requests 'bubble' up through children to parents - ItemModContainerRads now looks at parent changes as well as item parent changes - Huge amount of debugging and messing around
3 Months Ago
- Ensure containerWear is properly added to calculate inventory radioactivity - Ensure ItemModContainerRads goes through every item in its contents - Added extra profiling to ItemModContainerRads
3 Months Ago
- Added backpack contents to player inventory rad damage - Swapped backpack to use ItemModContainerRads to ensure its radioactivity levels are performantly calculated
3 Months Ago
world_update_2 -> radioactive_water
3 Months Ago
Water purifier no longer purifies radioactive water
3 Months Ago
Ensure throwing out water forces a rad count on the vessel
3 Months Ago
world_update_2 -> radioactive_water
3 Months Ago
Increased buffer on water body physics check
3 Months Ago
Remove a bunch of the buggy water check logic. Just parse radioactive status of water on drink/fill requests
3 Months Ago
Radtown: Enabled mesh collider on toxic water surface Raised second radioactive water source to extend higher up S2P
3 Months Ago
Some changes on the new radioactive body drinking detection. Closer.
3 Months Ago
Fixed radioactive water poisoning sound trying to access a higher index by accident
3 Months Ago
Added null check in CalculateInventoryRadioactivity to prevent NRE when updating player inventory radioactivity
3 Months Ago
Fixed broken bota bag prefab Ensured it has correct container to support rad water
3 Months Ago
world_update_2 -> radioactive_water
3 Months Ago
Remove the old way to find out if a water body is radioactive. New way doesn't require a texture map.
3 Months Ago
world_update_2 -> radioactive_water
3 Months Ago
world_update_2 -> radioactive_water
3 Months Ago
Fixed radiation triggers returning minimal/no rads
3 Months Ago
Attempt to fix an incorrect GUID error
3 Months Ago
Ensured belt and main inventory on the player do the correct checks. A container filled or refilled in inventory should now correctly notify the rad check system.
3 Months Ago
Made new method called on containers when a child changes radioactive amounts Ensures containerBelt and containerMain do rad checks at the correct times.
3 Months Ago
Ensured radioactive water uses the correct values to irradiate players. This might be too high now.
3 Months Ago
- Radioactive water now inflicts damage on the person carrying it. - Fixed uncessesary send update rad checks
3 Months Ago
Fixed GUID error when dropping an item with ItemModContainerRads
3 Months Ago
world_update_2 -> radioactive_water
3 Months Ago
Radioactive water~ - Ensure base radioactivity is always set on object init - Ensure base radioactivity is always set on object load - Added profiling to item container rad count - Move radiation map creation to just happen when the first radioactive body tries to add anything
3 Months Ago
Ensure current serialized map data is updated with the new radiation map each time set radiation body is called
3 Months Ago
Ensure water radiation map persists between saves
3 Months Ago
Remove logs
3 Months Ago
Cleaned up and streamlined onItemAddedToStack calls from base liquid vessel ItemModContainerRads now listens for a bunch more ItemContainer changes Much more accurate rad count for a vessel
3 Months Ago
Swapped radioactive water icon Added generalised Radioactive flag to item Flag is set true/false by static general radioactivity Flag is also set true/false by the new item container (that supports rads)
3 Months Ago
Play some rad noises at appropriate levels for a few seconds should the player be inflicted with rads through poisoning rather than exposure
3 Months Ago
Huge reword and restructure to radioactive items~ Any item can now be radioactive Added new flag on containers to check if any radioactive material is inside before they end up having to count up all their rads. Only used on the ItemModContainerRads for the moment BaseRadioactiveMaterial now declared Extra comments Huge code cleanup with clearer method names
3 Months Ago
Poll rad amount inside container when opening Centralised MaterialToRadsRatio inside Radiation.cs
3 Months Ago
Buffed radioactive water. Hazmat still more than enough protection
3 Months Ago
Reworked ItemModContainerRads to only cache rad updates on item added/removed Should improve reliability whilst also preventing checks on OnDirty providing a decent performance increase
3 Months Ago
Ensure ItemModConsumeContents also calls onItemAddedRemove
3 Months Ago
Drinking from a vessel now calls onItemAddedRemoved
3 Months Ago
Added static WaterTypes class. Swapped water Item Definition string lookup to a centralised set of definitions. Eg: ItemManager.FindItemDefinition( "water" ) -> WaterTypes.WaterItemDef
3 Months Ago
Remove weird ass Visual Studio Code formatting
3 Months Ago
Can no longer splash players with radioactive water who are in safe zones
3 Months Ago
Vehicle fuel tank now supports radioactive water