dreambuilder_game/mymillwork/materials_technic.lua
Vanessa Dannenberg 94fa40c6f7 update castles, areas, areas_protector, bakedclay, signs_lib,
bees, blox, bobblocks, coloredwood, homedecor, technic,
currency, digilines, digistguff, facade, farming_redo,
framedglass, gloopblocks, ilights, led_marquee, maptools,
mesecons, moreblocks, moreores, mymillwork, plasticbox,
replacer, ropes, street_signs, solidcolor, stained_glass,
teleport_request, unified_inventory, unifieddyes, worldedit,

add basic_signs, notify_hud_provider
2019-09-11 13:58:21 -04:00

98 lines
2.3 KiB
Lua

local nici = 1
--[[ Technic Worldgen ]]--
local nodes = {
-- technic:granite
["granite"] = {
description = ("Granite"),
groups = {cracky = 1, stone = 1, not_in_creative_inventory = nici}
},
-- technic:marble
["marble"] = {
description = ("Marble"),
groups = {cracky = 3, stone = 1, marble = 1,
not_in_creative_inventory = nici}
},
-- technic:marbel_bricks
["marble_bricks"] = {
description = ("Marble Briks"),
groups = {cracky = 3, stone = 1, marble = 1,
not_in_creative_inventory = nici}
},
-- technic:uranium_block
["uranium_block"] = {
description = ("Uranium"),
groups = {cracky = 1, level = 2, not_in_creative_inventory = nici}
},
-- technic:chromium_block
["chromium_block"] = {
description = ("Chromium"),
groups = {cracky = 1, level = 2, not_in_creative_inventory = nici}
},
-- technic:zinc_block
["zinc_block"] = {
description = ("Zinc"),
groups = {cracky = 1, level = 2, not_in_creative_inventory = nici}
},
-- technic:lead_block
["lead_block"] = {
description = ("Lead"),
groups = {cracky = 1, level = 2, not_in_creative_inventory = nici}
},
-- technic:cast_iron_block
["cast_iron_block"] = {
description = ("Cast Iron"),
groups = {cracky = 1, level = 2, not_in_creative_inventory = nici}
},
-- technic:carbon_steel_block
["carbon_steel_block"] = {
description = ("Carbon Steel"),
groups = {cracky = 1, level = 2, not_in_creative_inventory = nici}
},
-- technic:stainless_steel_block
["stainless_steel_block"] = {
description = ("Stainles Steel"),
groups = {cracky = 1, level = 2, not_in_creative_inventory = nici}
},
}
-- technic:wrougt_iron_block
mymillwork.register("technic:wrougt_iron_block",
"technic_wrougt_iron_block",
"Wrougt Iron",
"default_steel_block.png",
{cracky = 1, level = 2, not_in_creative_inventory = nici}
)
-- [[ Technic Concrete ]] --
-- if minetest.get_modpath("concrete") then
-- technic:blast_resistant_concrete
-- end
for name, def in pairs(nodes) do
mymillwork.register("technic:"..name,
"technic_"..name,
def.description,
"technic_"..name..".png",
def.groups
)
end