Fix some technic mod issues
parent
a9d070156d
commit
1cb86aa870
|
@ -1,6 +1,5 @@
|
|||
base
|
||||
pipeworks
|
||||
technic_worldgen
|
||||
bucket?
|
||||
screwdriver?
|
||||
mesecons?
|
||||
|
|
|
@ -155,15 +155,17 @@ minetest.register_node("technic:machine_casing", {
|
|||
sounds = base.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
for p = 0, 35 do
|
||||
|
||||
-- NEED TO FIX
|
||||
--[[for p = 0, 35 do
|
||||
local nici = (p ~= 0 and p ~= 7 and p ~= 35) and 1 or nil
|
||||
local psuffix = p == 7 and "" or p
|
||||
local ingot = "technic:uranium"..psuffix.."_ingot"
|
||||
local block = "technic:uranium"..psuffix.."_block"
|
||||
local ingot = ":base:uranium"..psuffix.."_ingot"
|
||||
local block = ":base:uranium"..psuffix.."_block"
|
||||
local ov = p == 7 and minetest.override_item or nil;
|
||||
(ov or minetest.register_craftitem)(ingot, {
|
||||
description = string.format(S("%.1f%%-Fissile Uranium Ingot"), p/10),
|
||||
inventory_image = "technic_uranium_ingot.png",
|
||||
inventory_image = "base_uranium_ingot.png",
|
||||
groups = {uranium_ingot=1, not_in_creative_inventory=nici},
|
||||
});
|
||||
-- Note on radioactivity of blocks:
|
||||
|
@ -200,7 +202,7 @@ for p = 0, 35 do
|
|||
local radioactivity = math.floor(math.sqrt((1+5.55*p/35) * 18 / (1+5.55*7/35)) + 0.5);
|
||||
(ov or minetest.register_node)(block, {
|
||||
description = string.format(S("%.1f%%-Fissile Uranium Block"), p/10),
|
||||
tiles = {"technic_uranium_block.png"},
|
||||
tiles = {"base_uranium_block.png"},
|
||||
is_ground_content = true,
|
||||
groups = {uranium_block=1, not_in_creative_inventory=nici,
|
||||
cracky=1, level=2, radioactive=radioactivity},
|
||||
|
@ -222,3 +224,5 @@ for p = 0, 35 do
|
|||
end
|
||||
end
|
||||
|
||||
--]]
|
||||
|
||||
|
|
|
@ -1,2 +1,3 @@
|
|||
plants_api
|
||||
base
|
||||
mapgen_core
|
||||
|
|
|
@ -89,7 +89,7 @@ minetest.register_ore({
|
|||
-- Uranium (Jabiluka)
|
||||
minetest.register_ore({
|
||||
ore_type = "scatter",
|
||||
ore = "technic:stone_with_uranium",
|
||||
ore = "base:stone_with_uranium",
|
||||
wherein = {"base:stone"},
|
||||
clust_scarcity = 26 * 26 * 26,
|
||||
clust_num_ores = 4,
|
||||
|
|
Loading…
Reference in New Issue