nebula_shielding ![code/game/machinery/nebula_shielding.dm 2](git.png)
Machinery that block nebulas. This type is for convenience, you can set nebula shielding on other objects as well using add_to_nebula_shielding()
Vars | |
active_icon_state | State we use when actively blocking a nebula |
---|---|
broken_icon_state | State for when we're broken and wont work anymore. Make sure to also set integrity_failure for this to work |
nebula_type | The type of nebula that we shield against |
power_use_per_block | How much power we use every time we block the nebula's effects |
shielding_strength | Strength of the shield we apply |
Procs | |
generate_reward | Generate a resource for defending against the nebula |
get_nebula_shielding | Nebula is asking us how strong we are. Return our shield strength is all is well |
Var Details
active_icon_state ![code/game/machinery/nebula_shielding.dm 18](git.png)
State we use when actively blocking a nebula
broken_icon_state ![code/game/machinery/nebula_shielding.dm 22](git.png)
State for when we're broken and wont work anymore. Make sure to also set integrity_failure for this to work
nebula_type ![code/game/machinery/nebula_shielding.dm 14](git.png)
The type of nebula that we shield against
power_use_per_block ![code/game/machinery/nebula_shielding.dm 16](git.png)
How much power we use every time we block the nebula's effects
shielding_strength ![code/game/machinery/nebula_shielding.dm 12](git.png)
Strength of the shield we apply
Proc Details
generate_reward
Generate a resource for defending against the nebula
get_nebula_shielding
Nebula is asking us how strong we are. Return our shield strength is all is well