Mod original
34
README.md
|
@ -1,4 +1,34 @@
|
|||
steel
|
||||
Readme/license Steel
|
||||
=====
|
||||
|
||||
Minetest mod
|
||||
Steel adds a range of steel materials that are recyclable to minetest. working version is 4.0dev-20120603
|
||||
|
||||
|
||||
recipes can be found in the included image
|
||||
|
||||
|
||||
the references for /giveme steel:... are:
|
||||
|
||||
plate_hard
|
||||
plate_soft
|
||||
plate_rusted
|
||||
|
||||
grate_hard
|
||||
grate_soft
|
||||
|
||||
strut
|
||||
|
||||
roofing
|
||||
|
||||
to recycle simply craft anything into scrap, and turn the scrap into an iron lump
|
||||
|
||||
|
||||
licenses are:
|
||||
|
||||
Code: GPL v2
|
||||
textures: CC-BY-SA
|
||||
|
||||
everything by
|
||||
minetesting (João Matos)
|
||||
Update by
|
||||
Jat
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
default
|
|
@ -0,0 +1,189 @@
|
|||
|
||||
minetest.register_node("steel:plate_soft", {
|
||||
description = "soft steel plate",
|
||||
tile_images = {"steelplatesoft.png"},
|
||||
is_ground_content = true,
|
||||
groups = {cracky=2},
|
||||
})
|
||||
|
||||
minetest.register_node("steel:plate_hard", {
|
||||
description = "hardened steel plate",
|
||||
tile_images = {"steelplatehard.png"},
|
||||
is_ground_content = true,
|
||||
groups = {cracky=1},
|
||||
})
|
||||
|
||||
minetest.register_node("steel:plate_rusted", {
|
||||
description = "rusted steel plate",
|
||||
tile_images = {"steel_rusted.png"},
|
||||
is_ground_content = true,
|
||||
groups = {cracky=1,choppy=1},
|
||||
})
|
||||
|
||||
minetest.register_node("steel:strut", {
|
||||
drawtype = "glasslike",
|
||||
description = "strut",
|
||||
tile_images = {"strut.png"},
|
||||
is_ground_content = true,
|
||||
paramtype= "light",
|
||||
groups = {choppy=1,cracky=1},
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
minetest.register_node("steel:grate_soft", {
|
||||
description = "soft Steel Grate",
|
||||
drawtype = "fencelike",
|
||||
tile_images = {"worldgratesoft.png"},
|
||||
inventory_image = "gratesoft.png",
|
||||
wield_image = "gratesoft.png",
|
||||
paramtype = "light",
|
||||
is_ground_content = true,
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = {-1/7, -1/2, -1/7, 1/7, 1/2, 1/7},
|
||||
},
|
||||
groups = {cracky=2,choppy=2},
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("steel:grate_hard", {
|
||||
description = "hardened Steel Grate",
|
||||
drawtype = "fencelike",
|
||||
tile_images = {"worldgratehard.png"},
|
||||
inventory_image = "gratehard.png",
|
||||
wield_image = "gratehard.png",
|
||||
paramtype = "light",
|
||||
is_ground_content = true,
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = {-1/7, -1/2, -1/7, 1/7, 1/2, 1/7},
|
||||
},
|
||||
groups = {cracky=1,choppy=1},
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("steel:roofing", {
|
||||
description = "corrugated steel roofing",
|
||||
drawtype = "raillike",
|
||||
tile_images = {"corrugated_steel.png", "corrugated_steel.png", "corrugated_steel.png", "corrugated_steel.png"},
|
||||
inventory_image = "corrugated_steel.png",
|
||||
wield_image = "corrugated_steel.png",
|
||||
paramtype = "light",
|
||||
is_ground_content = true,
|
||||
walkable = false,
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
--fixed = <default>
|
||||
},
|
||||
groups = {bendy=2,snappy=1,dig_immediate=2},
|
||||
})
|
||||
|
||||
--steel scrap are only used to recover ingots
|
||||
|
||||
minetest.register_craftitem("steel:scrap", {
|
||||
description = "steel scraps",
|
||||
inventory_image = "scrap.png",
|
||||
})
|
||||
|
||||
--recipes
|
||||
|
||||
minetest.register_craft({
|
||||
output = 'steel:plate_soft 2',
|
||||
recipe = {
|
||||
{'default:steel_ingot', 'default:steel_ingot'},
|
||||
{'default:steel_ingot', 'default:steel_ingot'},
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
|
||||
minetest.register_craft({
|
||||
type = "cooking",
|
||||
output = "steel:plate_hard",
|
||||
recipe = "steel:plate_soft",
|
||||
})
|
||||
|
||||
|
||||
minetest.register_craft({
|
||||
output = 'steel:grate_soft 3',
|
||||
recipe = {
|
||||
{'default:steel_ingot', '', 'default:steel_ingot'},
|
||||
{'default:steel_ingot', '', 'default:steel_ingot'},
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
minetest.register_craft({
|
||||
type = "cooking",
|
||||
output = "steel:grate_hard",
|
||||
recipe = "steel:grate_soft",
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = 'steel:strut 5',
|
||||
recipe = {
|
||||
{'default:steel_ingot', '', 'default:steel_ingot'},
|
||||
{'', 'default:steel_ingot', ''},
|
||||
{'default:steel_ingot', '', 'default:steel_ingot'},
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = 'steel:roofing 6',
|
||||
recipe = {
|
||||
{'default:steel_ingot', 'default:steel_ingot', 'default:steel_ingot'},
|
||||
}
|
||||
})
|
||||
--remelting recipes
|
||||
|
||||
minetest.register_craft({
|
||||
output = 'steel:scrap 2',
|
||||
recipe = {
|
||||
{'steel:strut'},
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = 'steel:scrap 2',
|
||||
recipe = {
|
||||
{'steel:grate_soft'},
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = 'steel:scrap 2',
|
||||
recipe = {
|
||||
{'steel:grate_hard'},
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = 'steel:scrap',
|
||||
recipe = {
|
||||
{'steel:roofing'},
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = 'steel:scrap 4',
|
||||
recipe = {
|
||||
{'steel:plate_soft'},
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = 'steel:scrap 4',
|
||||
recipe = {
|
||||
{'steel:plate_hard'},
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = 'default:iron_lump',
|
||||
recipe = {
|
||||
{'steel:scrap', 'steel:scrap'},
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
|
||||
|
After Width: | Height: | Size: 164 KiB |
After Width: | Height: | Size: 398 B |
After Width: | Height: | Size: 761 B |
After Width: | Height: | Size: 696 B |
After Width: | Height: | Size: 509 B |
After Width: | Height: | Size: 785 B |
After Width: | Height: | Size: 3.3 KiB |
After Width: | Height: | Size: 3.0 KiB |
After Width: | Height: | Size: 374 B |
After Width: | Height: | Size: 911 B |
After Width: | Height: | Size: 745 B |