Signs available in creative mode
This commit is contained in:
parent
4863e454ea
commit
52b2ae9334
@ -1,99 +1,97 @@
|
|||||||
if streets.extendedBy.bucket == true and streets.extendedBy.wool then
|
minetest.register_node(":streets:sign_lava",{
|
||||||
minetest.register_node(":streets:sign_lava",{
|
description = "Warning sign (lava)",
|
||||||
description = "Warning sign (lava)",
|
tiles = {"streets_sign_lava.png"},
|
||||||
tiles = {"streets_sign_lava.png"},
|
inventory_image = "streets_sign_lava.png",
|
||||||
inventory_image = "streets_sign_lava.png",
|
wield_image = "streets_sign_lava.png",
|
||||||
wield_image = "streets_sign_lava.png",
|
groups = {snappy = 1,attached_node = 1},
|
||||||
groups = {snappy = 1,attached_node = 1},
|
drawtype = "nodebox",
|
||||||
drawtype = "nodebox",
|
node_box = {
|
||||||
node_box = {
|
type = "wallmounted",
|
||||||
type = "wallmounted",
|
fixed = {
|
||||||
fixed = {
|
{-0.4,-0.5,-0.4,0.4,-0.4,0.4}
|
||||||
{-0.4,-0.5,-0.4,0.4,-0.4,0.4}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
paramtype = "light",
|
|
||||||
paramtype2 = "wallmounted",
|
|
||||||
walkable = false,
|
|
||||||
sunlight_propagates = true,
|
|
||||||
selection_box = {
|
|
||||||
type = "wallmounted"
|
|
||||||
}
|
}
|
||||||
})
|
},
|
||||||
|
paramtype = "light",
|
||||||
|
paramtype2 = "wallmounted",
|
||||||
|
walkable = false,
|
||||||
|
sunlight_propagates = true,
|
||||||
|
selection_box = {
|
||||||
|
type = "wallmounted"
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = "streets:sign_lava 2",
|
output = "streets:sign_lava 2",
|
||||||
recipe = {
|
recipe = {
|
||||||
{"wool:red","wool:red","wool:red"},
|
{"wool:red","wool:red","wool:red"},
|
||||||
{"wool:red","bucket:bucket_lava","wool:red"},
|
{"wool:red","bucket:bucket_lava","wool:red"},
|
||||||
{"wool:red","wool:red","wool:red"}
|
{"wool:red","wool:red","wool:red"}
|
||||||
},
|
},
|
||||||
replacements = {
|
replacements = {
|
||||||
{"bucket:bucket_lava", "bucket:bucket_empty"}
|
{"bucket:bucket_lava", "bucket:bucket_empty"}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_node(":streets:sign_water",{
|
minetest.register_node(":streets:sign_water",{
|
||||||
description = "Warning sign (water)",
|
description = "Warning sign (water)",
|
||||||
tiles = {"streets_sign_water.png"},
|
tiles = {"streets_sign_water.png"},
|
||||||
inventory_image = "streets_sign_water.png",
|
inventory_image = "streets_sign_water.png",
|
||||||
wield_image = "streets_sign_water.png",
|
wield_image = "streets_sign_water.png",
|
||||||
groups = {snappy = 1,attached_node = 1},
|
groups = {snappy = 1,attached_node = 1},
|
||||||
drawtype = "nodebox",
|
drawtype = "nodebox",
|
||||||
node_box = {
|
node_box = {
|
||||||
type = "wallmounted",
|
type = "wallmounted",
|
||||||
fixed = {
|
fixed = {
|
||||||
{-0.4,-0.5,-0.4,0.4,-0.4,0.4}
|
{-0.4,-0.5,-0.4,0.4,-0.4,0.4}
|
||||||
}
|
|
||||||
},
|
|
||||||
paramtype = "light",
|
|
||||||
paramtype2 = "wallmounted",
|
|
||||||
walkable = false,
|
|
||||||
sunlight_propagates = true,
|
|
||||||
selection_box = {
|
|
||||||
type = "wallmounted"
|
|
||||||
}
|
}
|
||||||
})
|
},
|
||||||
|
paramtype = "light",
|
||||||
|
paramtype2 = "wallmounted",
|
||||||
|
walkable = false,
|
||||||
|
sunlight_propagates = true,
|
||||||
|
selection_box = {
|
||||||
|
type = "wallmounted"
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = "streets:sign_water 2",
|
output = "streets:sign_water 2",
|
||||||
recipe = {
|
recipe = {
|
||||||
{"wool:red","wool:red","wool:red"},
|
{"wool:red","wool:red","wool:red"},
|
||||||
{"wool:red","bucket:bucket_water","wool:red"},
|
{"wool:red","bucket:bucket_water","wool:red"},
|
||||||
{"wool:red","wool:red","wool:red"}
|
{"wool:red","wool:red","wool:red"}
|
||||||
},
|
},
|
||||||
replacements = {
|
replacements = {
|
||||||
{"bucket:bucket_water", "bucket:bucket_empty"}
|
{"bucket:bucket_water", "bucket:bucket_empty"}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_node(":streets:sign_construction",{
|
minetest.register_node(":streets:sign_construction",{
|
||||||
description = "Warning sign (Construction area)",
|
description = "Warning sign (Construction area)",
|
||||||
tiles = {"streets_sign_construction.png"},
|
tiles = {"streets_sign_construction.png"},
|
||||||
inventory_image = "streets_sign_construction.png",
|
inventory_image = "streets_sign_construction.png",
|
||||||
wield_image = "streets_sign_construction.png",
|
wield_image = "streets_sign_construction.png",
|
||||||
groups = {snappy = 1,attached_node = 1},
|
groups = {snappy = 1,attached_node = 1},
|
||||||
drawtype = "nodebox",
|
drawtype = "nodebox",
|
||||||
node_box = {
|
node_box = {
|
||||||
type = "wallmounted",
|
type = "wallmounted",
|
||||||
fixed = {
|
fixed = {
|
||||||
{-0.4,-0.5,-0.4,0.4,-0.4,0.4}
|
{-0.4,-0.5,-0.4,0.4,-0.4,0.4}
|
||||||
}
|
|
||||||
},
|
|
||||||
paramtype = "light",
|
|
||||||
paramtype2 = "wallmounted",
|
|
||||||
walkable = false,
|
|
||||||
sunlight_propagates = true,
|
|
||||||
selection_box = {
|
|
||||||
type = "wallmounted"
|
|
||||||
}
|
}
|
||||||
})
|
},
|
||||||
minetest.register_craft({
|
paramtype = "light",
|
||||||
output = "streets:sign_construction 2",
|
paramtype2 = "wallmounted",
|
||||||
recipe = {
|
walkable = false,
|
||||||
{"wool:red","wool:red","wool:red"},
|
sunlight_propagates = true,
|
||||||
{"wool:red","default:shovel_steel","wool:red"},
|
selection_box = {
|
||||||
{"wool:red","wool:red","wool:red"}
|
type = "wallmounted"
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
end
|
minetest.register_craft({
|
||||||
|
output = "streets:sign_construction 2",
|
||||||
|
recipe = {
|
||||||
|
{"wool:red","wool:red","wool:red"},
|
||||||
|
{"wool:red","default:shovel_steel","wool:red"},
|
||||||
|
{"wool:red","wool:red","wool:red"}
|
||||||
|
}
|
||||||
|
})
|
Loading…
x
Reference in New Issue
Block a user