mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-24 08:31:54 +00:00
* radiation rework and subsystem * moves a few things to initialize and adds radiation insulation * adds a radiation contamination mechanic and makes requested changes I'm terrified by the possibilities from this * radiated objects give off light and hopefuly contamination is balanced * fixes runtimes and an mc crash kek removed the lighting part of contaminated objects attempted some more balancing * Collectors output power in process() gradualy And some more balancing tweaks * Excludes a bunch of things from becoming radioactive * Ready for testmerge balancing * Inverse square law was swapped * testmerge balancing fixes the geiger counter buffs collector power gen nerfs sm radiation slightly buffs rad insulation nerfs rad damage (and its burn) raised the minimum radiation * disabling the radiation subsystem won't build up rad wave datums forever * rewrites how mobs handle radiation upgrades geiger counter functionality and more balance tweaks * cleans up stuff and removes debug message * Slight contamination buff * Major rad wave performance boost Also improves rad insulation Buffs contamination, again * Fixes insulation runtime More balance and performance tweaks * fixes rad collectors not receiving power * The final balance commit Fixes a major bug causing radiation to underperform More geiger counter changes that will be changed more to add sounds * Monkey business * Geiger counter sounds * cleanup and move components to their own initialize * Some code cleanup And forgotten changes * Cleans up some trailing returns * Mapping changes
9 lines
503 B
Plaintext
9 lines
503 B
Plaintext
/datum/component/rad_insulation // Yes, this really is just a component to add some vars
|
|
var/amount // Multiplier for radiation strength passing through
|
|
var/protects // Does this protect things in its contents from being affected?
|
|
var/contamination_proof // Can this object be contaminated?
|
|
|
|
/datum/component/rad_insulation/Initialize(_amount=RAD_MEDIUM_INSULATION, _protects=TRUE, _contamination_proof=TRUE)
|
|
amount = _amount
|
|
protects = _protects
|
|
contamination_proof = _contamination_proof |