mirror of
https://github.com/minetest-mods/technic.git
synced 2024-11-12 13:30:45 +01:00
67b90f3ad1
The meltdown check now doesn't trigger meltdown immediately on reactor structure being compromised. Instead, there's a grace period of up to 100 s, during which the reactor can be repaired. The check doesn't just look at whether the structure is damaged at all: it looks at how damaged it is, counting the number of faulty nodes. The amount of damage is integrated over time, and the grace period is actually 100 node-seconds, so greater damage causes meltdown more quickly. If the active core is dug then it melts down immediately, preventing the tactic of digging the core to avert meltdown. Incidentally move the meltdown check into its own ABM, from the technic_run callback, so that it applies even when the reactor is not connected to a switching station. |
||
---|---|---|
.. | ||
battery_box.lua | ||
cables.lua | ||
forcefield.lua | ||
generator.lua | ||
init.lua | ||
nuclear_reactor.lua | ||
quarry.lua | ||
solar_array.lua |