DustyDave961
9eb7d0e784
Update radiation.lua
...
Space caused an error for some reason?
2024-10-18 05:40:45 -05:00
DustyDave961
a9e1351181
Update radiation.lua
...
I guess we only need the rad_resistance group?
2024-10-17 00:52:07 -05:00
DustyDave961
11f982acd6
Update radiation.lua
...
The node_radiation_resistance function is only used locally.
2024-10-15 18:17:33 -05:00
DustyDave961
2309259f64
Update radiation.lua
...
Spaces bothered me.
2024-10-15 18:16:14 -05:00
DustyDave961
cedccb4401
Update radiation.lua
...
Unnecessary function removed.
2024-10-15 18:05:10 -05:00
DustyDave961
268d7bc22a
Update radiation.lua
...
Greater than or equal to 0 because negative makes no sense.
2024-10-13 19:48:19 -05:00
DustyDave961
174ba17d69
Update radiation.lua
...
Lead block removed from node_resistances table.
2024-09-28 01:06:05 -05:00
DustyDave961
3e9eb08c24
Update radiation.lua
...
Api added with the help of Copilot AI.
2024-09-28 00:45:09 -05:00
SmallJoker
0f6bdb1bde
Correct (almost) all luacheck warnings
...
Also includes a few code opimizations:
- Combined mining drill functions
- Shorter alias registration (unused?)
- Add TODOs to address later
2022-06-06 21:04:13 +02:00
David Leal
a8daa417c4
Add GitHub workflow and luacheck ( #545 )
...
Add badge to README
Fix luacheck warnings
Remove node_ownership globals (and support)
2020-06-12 20:39:00 +02:00
coil
da95be53ec
Fix radiation protection when armor group is not set ( #509 )
...
The radiation damage group can be not set when armor completely
protects against radiation or when no mod has set a default value
for the damage group. We want to apply radiation damage in the
second case but not in the first.
2019-12-30 21:02:01 +01:00
David Leal
d5df30c3ff
Replace deprecated functions with newer ones ( #510 )
...
Use mod.conf
2019-09-14 12:55:41 +02:00
coil
dc4f4f66e6
Apply radiation damage only if entity is not dead ( #504 )
...
This prevents on_dieplayer being called unnecessarily, causing problems such as repeated death messages.
2019-07-10 20:27:01 +02:00
Vanessa Dannenberg
44cb8df048
use basic_materials mod where possible.
2018-11-11 09:54:20 +01:00
Vitaliy
d1b54a573c
Use tin from MTG instead of moreores
( #401 )
...
Register tin dust unconditionally
2018-07-21 19:11:12 +02:00
numberZero
83a4bb60ca
Fix flowing corium textures ( #364 )
2017-06-05 10:51:24 -04:00
Jordan Irwin
97e1c8b7f2
Replace deprecated method 'setting_getbool' with 'settings:get_bool' ( #369 )
2017-06-05 10:50:30 -04:00
Vanessa Ezekowitz
78f16c3e8e
label all ABMs for profiler
2017-03-31 19:15:25 -04:00
Vanessa Ezekowitz
383f7df22d
change nodename for gloopblocks rainbow block (now "diagonal"), add support
...
for its aliased version of the former nyan cat block (10k density)
2017-03-26 00:40:53 -04:00
Vanessa Ezekowitz
767f5346e9
add gloopblocks rainbow block radiation setting
...
(half that of a nyan/pbj block)
2017-03-22 19:25:00 -04:00
Vanessa Ezekowitz
df15a5ee65
add radiation protection via pbj_pup blocks
...
same strength as nyan blocks
2017-03-22 19:25:00 -04:00
Vanessa Ezekowitz
cb5e3e8ff4
raise radiation shielding values on nyan blocks
...
from 1000 --> 10000
This makes it possible to protect a corium source with a layer of nyan blocks,
and avoid damage outside roughly 6m from the wall.
Also, added alternate node name for nyan blocks
2017-03-22 19:24:52 -04:00
number Zero
cbe97434dc
Add option to disable radiation protection
2017-02-25 20:55:15 -05:00
number Zero
73afc40d9c
Immortal entities support
2017-02-25 20:55:15 -05:00
number Zero
b739ed6cb1
Made radiation configurable
2017-02-25 20:55:15 -05:00
number Zero
51be33deea
Restored weak shielding
2017-02-25 20:55:15 -05:00
number Zero
1810f417d2
Radiation improved
...
Now it is applied to mobs too.
Moreover, it should now respect "radiation" armor group, or fall back to "fleshy" group to detect vulnerable things
2017-02-25 20:55:15 -05:00
ShadowNinja
06dec20326
Add longer-term radiation damage
...
Radiation now slowly damages you for a while after exposure,
with the effect's time and intensity proportional to the
amount of radiation received. The radioactivity of some
items is reduced to account for the increased damage.
2017-01-28 17:51:14 -05:00
ShadowNinja
1da213a5e4
Split radiation from nuclear reactor code
2017-01-28 17:51:14 -05:00