Convert the modpack into a standalone game for the Minetest engine
Integrated into the game is most of minetest_game as the stable base
This commit is contained in:
committed by
Vanessa Dannenberg
parent
11adf56b75
commit
4394beec6a
3
mods/streetsconcrete/depends.txt
Normal file
3
mods/streetsconcrete/depends.txt
Normal file
@@ -0,0 +1,3 @@
|
||||
default
|
||||
streetsmod
|
||||
basic_materials
|
50
mods/streetsconcrete/init.lua
Normal file
50
mods/streetsconcrete/init.lua
Normal file
@@ -0,0 +1,50 @@
|
||||
--[[
|
||||
StreetsMod: Concrete, Concrete wall (flat), Concrete wall (full)
|
||||
]]
|
||||
minetest.register_alias("streets:concrete","basic_materials:concrete_block")
|
||||
-- Use technic's concrete block for the seperating wall
|
||||
minetest.register_node(":streets:concrete_wall",{
|
||||
description = streets.S("Concrete wall"),
|
||||
tiles = {"basic_materials_concrete_block.png"},
|
||||
groups = {cracky=2},
|
||||
drawtype = "nodebox",
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
{-0.4, -0.5, -0.5, 0.4, -0.4, 0.5},
|
||||
{-0.1, -0.4, -0.5, 0.1, 0.5, 0.5}
|
||||
}
|
||||
}
|
||||
})
|
||||
minetest.register_craft({
|
||||
output = "streets:concrete_wall 3",
|
||||
recipe = {
|
||||
{"","basic_materials:concrete_block",""},
|
||||
{"","basic_materials:concrete_block",""},
|
||||
{"basic_materials:concrete_block","basic_materials:concrete_block","basic_materials:concrete_block"}
|
||||
}
|
||||
})
|
||||
minetest.register_node(":streets:concrete_wall_flat",{
|
||||
description = streets.S("Concrete wall"),
|
||||
tiles = {"basic_materials_concrete_block.png"},
|
||||
groups = {cracky=2},
|
||||
drawtype = "nodebox",
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
{-0.1, -0.5, -0.5, 0.1, 0.5, 0.5}
|
||||
}
|
||||
}
|
||||
})
|
||||
minetest.register_craft({
|
||||
output = "streets:concrete_wall_flat 3",
|
||||
recipe = {
|
||||
{"","basic_materials:concrete_block",""},
|
||||
{"","basic_materials:concrete_block",""},
|
||||
{"","",""}
|
||||
}
|
||||
})
|
Reference in New Issue
Block a user