some updates and fixes
parent
1f3ef2113e
commit
3b008f253a
|
@ -3,7 +3,8 @@ allow_defined_top = true
|
|||
|
||||
globals = {
|
||||
"minetest",
|
||||
"mobkit"
|
||||
"mobkit",
|
||||
"stairs"
|
||||
}
|
||||
|
||||
read_globals = {
|
||||
|
|
119
init.lua
119
init.lua
|
@ -242,7 +242,7 @@ minetest.register_node("swaz:lavender", {
|
|||
description = S("Lavender"),
|
||||
drawtype = "plantlike",
|
||||
waving = 1,
|
||||
visual_scale = 0.8,
|
||||
visual_scale = 1.0,
|
||||
tiles = {"swaz_lavender.png"},
|
||||
inventory_image = "swaz_lavender.png",
|
||||
wield_image = "swaz_lavender.png",
|
||||
|
@ -250,7 +250,7 @@ minetest.register_node("swaz:lavender", {
|
|||
sunlight_propagates = true,
|
||||
walkable = false,
|
||||
buildable_to = true,
|
||||
groups = {snappy = 3, flora = 1, attached_node = 1, flammable = 1},
|
||||
groups = {snappy = 3, flower = 1, flora = 1, attached_node = 1, flammable = 1, color_violet = 1},
|
||||
sounds = default.node_sound_leaves_defaults(),
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
|
@ -574,6 +574,111 @@ minetest.register_craft({
|
|||
recipe = {"swaz:adobe", "swaz:adobe", "swaz:adobe", "swaz:adobe"},
|
||||
})
|
||||
|
||||
minetest.register_node("swaz:brick_wall", {
|
||||
description = S("Brick Wall"),
|
||||
tiles = {"swaz_brick_wall.png"},
|
||||
is_ground_content = false,
|
||||
groups = {cracky = 3, stone = 1},
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "swaz:brick_wall",
|
||||
type = "cooking",
|
||||
cooktime = 3.0,
|
||||
recipe = "swaz:mudbrick",
|
||||
})
|
||||
|
||||
minetest.register_node("swaz:mixed_brick_wall", {
|
||||
description = S("Mixed Brick Wall"),
|
||||
tiles = {"swaz_mixed_brick_wall.png"},
|
||||
is_ground_content = false,
|
||||
groups = {cracky = 3, stone = 1},
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "swaz:mixed_brick_wall",
|
||||
type = "shapeless",
|
||||
recipe = {"swaz:brick_wall", "dye:red", "dye:blue"},
|
||||
})
|
||||
|
||||
minetest.register_node("swaz:sandy_brick_wall", {
|
||||
description = S("Sandy Brick Wall"),
|
||||
tiles = {"swaz_sandy_brick_wall.png"},
|
||||
is_ground_content = false,
|
||||
groups = {cracky = 3, stone = 1},
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "swaz:sandy_brick_wall",
|
||||
type = "shapeless",
|
||||
recipe = {"swaz:brick_wall", "default:sand"},
|
||||
})
|
||||
|
||||
local cement_base
|
||||
|
||||
if minetest.get_modpath("basic_materials")~=nil then
|
||||
cement_base = "basic_materials:wet_cement"
|
||||
else
|
||||
cement_base = "dye:grey"
|
||||
end
|
||||
|
||||
minetest.register_node("swaz:cemented_brick_wall", {
|
||||
description = S("Cemented Brick Wall"),
|
||||
tiles = {"swaz_cemented_brick_wall.png"},
|
||||
is_ground_content = false,
|
||||
groups = {cracky = 3, stone = 1},
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "swaz:cemented_brick_wall",
|
||||
type = "shapeless",
|
||||
recipe = {"swaz:brick_wall", cement_base},
|
||||
})
|
||||
|
||||
--Roof/Gables
|
||||
|
||||
minetest.register_node("swaz:roof_slope_red", {
|
||||
description = S("Red Roof Slope"),
|
||||
drawtype= "mesh",
|
||||
mesh = "swaz_roof_slope.b3d",
|
||||
tiles = {"swaz_red_roof.png"},
|
||||
is_ground_content = false,
|
||||
paramtype2 = "facedir",
|
||||
groups = {cracky = 3, stone = 1},
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
{-0.5, -0.5, -0.5, 0.5, 0, 0.5},
|
||||
{-0.5, 0, 0, 0.5, 0.5, 0.5},
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_node("swaz:red_roof_corner", {
|
||||
description = S("Red Roof Corner"),
|
||||
drawtype= "mesh",
|
||||
mesh = "swaz_roof_corner.b3d",
|
||||
tiles = {"swaz_red_roof.png"},
|
||||
paramtype2 = "facedir",
|
||||
is_ground_content = false,
|
||||
groups = {cracky = 3, stone = 1},
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("swaz:roof_flat_red", {
|
||||
description = S("Red Flat Roof"),
|
||||
tiles = {"swaz_red_gables.png", "swaz_adobe.png"},
|
||||
is_ground_content = false,
|
||||
paramtype2 = "facedir",
|
||||
groups = {cracky = 3, stone = 1},
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
if minetest.get_modpath("stairs")~=nil then
|
||||
|
||||
stairs.register_stair_and_slab(
|
||||
|
@ -595,4 +700,14 @@ if minetest.get_modpath("stairs")~=nil then
|
|||
S("Mudbrick Slab"),
|
||||
default.node_sound_stone_defaults()
|
||||
)
|
||||
|
||||
stairs.register_stair_and_slab(
|
||||
"adobe_brick",
|
||||
"swaz_brick_wall",
|
||||
{cracky = 2, stone = 1},
|
||||
{"swaz_brick_wall.png"},
|
||||
S("Bricked Stair"),
|
||||
S("Bricked Slab"),
|
||||
default.node_sound_stone_defaults()
|
||||
)
|
||||
end
|
||||
|
|
|
@ -16,3 +16,12 @@ Adobe Slab=Losa de adobe
|
|||
Mudbrick=Ladrillos de adobe
|
||||
Mudbrick Stair=Escaleras de ladrillos adobe
|
||||
Mudbrick Slab=Losa de ladrillos adobe
|
||||
Brick Wall=Muro de ladrillos
|
||||
Mixed Brick Wall=Muro de ladrillos mixto
|
||||
Sandy Brick Wall=Muro de ladrillos arenoso
|
||||
Cemented Brick Wall=Muro de ladrillos cementado
|
||||
Red Roof Slope=Cuña de tejado rojo
|
||||
Red Roof Corner=Esquina de tejado rojo
|
||||
Red Flat Roof=Plano de tejado rojo
|
||||
Bricked Stair=Escaleras de ladrillos tejar
|
||||
Bricked Slab=Losa de ladrillos tejar
|
||||
|
|
4
mod.conf
4
mod.conf
|
@ -1,3 +1,3 @@
|
|||
name = swaz
|
||||
depends = default, flowers, baldcypress, willow, farming
|
||||
optional_depends = stairs
|
||||
depends = default, flowers, baldcypress, willow, farming, dye
|
||||
optional_depends = stairs, basic_materials
|
||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
After Width: | Height: | Size: 2.7 KiB |
Binary file not shown.
After Width: | Height: | Size: 5.5 KiB |
Binary file not shown.
After Width: | Height: | Size: 10 KiB |
Binary file not shown.
After Width: | Height: | Size: 2.7 KiB |
Binary file not shown.
After Width: | Height: | Size: 5.8 KiB |
Binary file not shown.
After Width: | Height: | Size: 10 KiB |
Loading…
Reference in New Issue