Update radiation.lua

Technic specific node resistances moved to node definitions.
This commit is contained in:
DustyDave961 2024-10-19 03:20:19 -05:00 committed by GitHub
parent 5b8e7fb472
commit 60b22e3c3a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -158,20 +158,8 @@ local node_resistances = {
["moreores:silver_block"] = 53,
["snow:snow_brick"] = 2.8,
["basic_materials:brass_block"] = 43,
["technic:carbon_steel_block"] = 40,
["technic:cast_iron_block"] = 40,
["technic:chernobylite_block"] = 40,
["technic:chromium_block"] = 37,
["technic:corium_flowing"] = 40,
["technic:corium_source"] = 80,
["technic:granite"] = 18,
["technic:marble"] = 18,
["technic:marble_bricks"] = 18,
["technic:mineral_chromium"] = 19,
["technic:mineral_uranium"] = 71,
["technic:mineral_zinc"] = 19,
["technic:stainless_steel_block"] = 40,
["technic:zinc_block"] = 36,
["tnt:tnt"] = 11,
["tnt:tnt_burning"] = 11,
}
@ -471,7 +459,7 @@ minetest.register_node("technic:chernobylite_block", {
description = S("Chernobylite Block"),
tiles = {"technic_chernobylite_block.png"},
is_ground_content = true,
groups = {cracky=1, radioactive=4, level=2},
groups = {cracky=1, radioactive=4, level=2, rad_resistance=40},
sounds = default.node_sound_stone_defaults(),
light_source = 2,
})