From ec008d7045323c91922c3e430a8ef891e66d7e8f Mon Sep 17 00:00:00 2001 From: Zefram Date: Fri, 25 Jul 2014 03:26:43 +0100 Subject: Material-dependent radiation shielding Radiation is attenuated exponentially by passing through shielding material. Radiation resistance values are assigned to all bulk-material nodes, and the radiation damage ABM traces the path of each radiation ray to count up the shielding. The relative radiation resistance values are essentially real, but the effectiveness of all shielding is scaled down by a factor of about 70 for game purposes. Strength of the existing radiation sources is increased by varying amounts to compensate for shielding. Uranium block and ore, both usable as shielding, are made slightly radioactive, the latter only very slightly. --- technic_worldgen/nodes.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'technic_worldgen/nodes.lua') diff --git a/technic_worldgen/nodes.lua b/technic_worldgen/nodes.lua index 12637f7..29ea5fb 100644 --- a/technic_worldgen/nodes.lua +++ b/technic_worldgen/nodes.lua @@ -5,7 +5,7 @@ minetest.register_node( ":technic:mineral_uranium", { description = S("Uranium Ore"), tiles = { "default_stone.png^technic_mineral_uranium.png" }, is_ground_content = true, - groups = {cracky=3}, + groups = {cracky=3, radioactive=1}, sounds = default.node_sound_stone_defaults(), drop = 'craft "technic:uranium" 1', }) @@ -56,7 +56,7 @@ minetest.register_node(":technic:uranium_block", { description = S("Uranium Block"), tiles = { "technic_uranium_block.png" }, is_ground_content = true, - groups = {cracky=1, level=2}, + groups = {cracky=1, level=2, radioactive=3}, sounds = default.node_sound_stone_defaults() }) -- cgit v1.2.3