31 Commits

Author SHA1 Message Date
OgelGames
ddeaf76ade fix ignored luacheck warnings
#105
2020-10-24 22:59:38 +11:00
BuckarooBanzay
77e5ada332 Merge remote-tracking branch 'origin/upstream' 2020-06-16 09:56:52 +02:00
David Leal
814de6fdc9 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
BuckarooBanzay
fdb36aabce add radiation_throttling setting (off by default)
fixes #30
2020-03-10 08:49:02 +01:00
BuckarooBanzay
1026ca0d78 skip radiation check if the lag is elevated (> 1.5 seconds) 2020-02-17 13:20:24 +01:00
Thomas Rudin
fa3ffe0a97 clamp radiation damage abm to 100 calls per second max 2020-01-21 18:20:47 +01:00
BuckarooBanzay
0cdbf8007c add technic.radiation_callback(object, damage)
preparation for https://github.com/pandorabox-io/hazmat_suit/issues/1
2020-01-16 15:28:03 +01: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
NatureFreshMilk
98db7d203a Merge branch 'master' into pandorabox 2019-11-04 08:25:37 +01:00
David Leal
d5df30c3ff Replace deprecated functions with newer ones (#510)
Use mod.conf
2019-09-14 12:55:41 +02:00
NatureFreshMilk
372bbea9c0 Merge branch 'radiation-group' of https://github.com/coil0/technic into pandorabox 2019-08-23 07:15:07 +02:00
coil
6a89a9ca83 Fix radiation protection when armor group is not set
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-08-22 17:47:07 -04:00
coil
06c6df0e21 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-25 11:27:02 +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
Thomas Rudin
c562064a62 conservative chances on avm's 2019-03-03 20:19:17 +01: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