added concrete sidewalk node
basically concrete-topped dirt with some edge details
This commit is contained in:
parent
e492ae996a
commit
c71d8d8546
31
crafts.lua
31
crafts.lua
@ -334,3 +334,34 @@ if minetest.get_modpath("technic") then
|
||||
}
|
||||
})
|
||||
end
|
||||
|
||||
minetest.register_craft({
|
||||
output = "gloopblocks:concrete_sidewalk",
|
||||
type = "shapeless",
|
||||
recipe = {
|
||||
"streets:slab_concrete_2",
|
||||
"default:dirt",
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "gloopblocks:concrete_sidewalk 2",
|
||||
type = "shapeless",
|
||||
recipe = {
|
||||
"streets:slab_concrete_quarter",
|
||||
"default:dirt",
|
||||
"default:dirt"
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "gloopblocks:concrete_sidewalk 4",
|
||||
type = "shapeless",
|
||||
recipe = {
|
||||
"streets:slab_concrete",
|
||||
"default:dirt",
|
||||
"default:dirt",
|
||||
"default:dirt",
|
||||
"default:dirt"
|
||||
}
|
||||
})
|
||||
|
22
depends.txt
22
depends.txt
@ -1,22 +0,0 @@
|
||||
default
|
||||
basic_materials
|
||||
moreblocks?
|
||||
stairs?
|
||||
glooptest?
|
||||
gloopores?
|
||||
intllib?
|
||||
wool?
|
||||
xdecor?
|
||||
caverealms?
|
||||
technic?
|
||||
nyancat?
|
||||
usesdirt?
|
||||
worldedit?
|
||||
signs_lib?
|
||||
bakedclay?
|
||||
farming?
|
||||
wool?
|
||||
bushes_classic?
|
||||
dryplants?
|
||||
bedrock?
|
||||
cottages?
|
16
main.lua
16
main.lua
@ -130,6 +130,22 @@ minetest.register_node("gloopblocks:scaffolding", {
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("gloopblocks:concrete_sidewalk", {
|
||||
description = S("Concrete sidewalk"),
|
||||
tiles = {
|
||||
"basic_materials_concrete_block.png",
|
||||
"basic_materials_concrete_block.png^gloopblocks_concrete_sidewalk_overlay.png",
|
||||
"gloopblocks_packed_dirt.png"
|
||||
},
|
||||
drawtype = "mesh",
|
||||
mesh = "gloopblocks_sidewalk.obj",
|
||||
paramtype2 = "facedir",
|
||||
on_rotate = screwdriver.rotate_simple,
|
||||
groups = {cracky=2},
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
|
||||
minetest.register_alias("moreblocks:oerkkiblock", "gloopblocks:oerkki_block")
|
||||
minetest.register_alias("gloopblocks:obsidian", "default:obsidian")
|
||||
|
||||
|
2
mod.conf
2
mod.conf
@ -1,2 +1,4 @@
|
||||
name = gloopblocks
|
||||
min_minetest_version = 5.2.0
|
||||
depends = default, basic_materials
|
||||
optional_depends = screwdriver, stairs, wool, moreblocks, glooptest, gloopores, intllib, xdecor, caverealms, technic, nyancat, usesdirt, worldedit, signs_lib, bakedclay, farming, bushes_classic, dryplants, bedrock, cottages
|
||||
|
119
models/gloopblocks_sidewalk.obj
Normal file
119
models/gloopblocks_sidewalk.obj
Normal file
@ -0,0 +1,119 @@
|
||||
# Blender v2.83.5 OBJ File: 'gloopblocks sidewalk.blend'
|
||||
# www.blender.org
|
||||
o Cube_Cube.001
|
||||
v -0.500000 -0.500000 0.500000
|
||||
v -0.500000 -0.500000 -0.500000
|
||||
v 0.500000 -0.500000 0.500000
|
||||
v 0.500000 -0.500000 -0.500000
|
||||
v -0.500000 0.437500 -0.500000
|
||||
v -0.498047 0.445310 -0.498047
|
||||
v -0.500000 0.437500 0.500000
|
||||
v -0.498047 0.445310 0.498047
|
||||
v 0.500000 0.437500 0.500000
|
||||
v 0.498047 0.445310 0.498047
|
||||
v 0.498047 0.445310 -0.498047
|
||||
v 0.500000 0.437500 -0.500000
|
||||
v -0.498047 0.531250 -0.498047
|
||||
v -0.466425 0.562500 -0.466425
|
||||
v 0.466425 0.562500 -0.466425
|
||||
v 0.498047 0.531250 -0.498047
|
||||
v -0.466425 0.562500 0.466425
|
||||
v -0.498047 0.531250 0.498047
|
||||
v 0.498047 0.531250 0.498047
|
||||
v 0.466425 0.562500 0.466425
|
||||
vt 0.001953 0.968750
|
||||
vt 0.001953 0.882810
|
||||
vt 0.998046 0.882810
|
||||
vt 0.998046 0.968750
|
||||
vt 0.998046 0.968750
|
||||
vt 0.001953 0.968750
|
||||
vt 0.001953 0.882810
|
||||
vt 0.998046 0.882810
|
||||
vt 0.998047 0.882810
|
||||
vt 0.998047 0.968750
|
||||
vt 0.001953 0.968750
|
||||
vt 0.001953 0.882810
|
||||
vt 0.001954 0.998047
|
||||
vt 0.998047 0.998047
|
||||
vt 1.000000 1.000000
|
||||
vt 0.000000 1.000000
|
||||
vt 0.998047 0.001953
|
||||
vt 1.000000 0.000000
|
||||
vt 0.000000 0.000000
|
||||
vt 0.001954 0.001953
|
||||
vt 0.033575 0.966425
|
||||
vt 0.033575 0.033575
|
||||
vt 0.966425 0.033575
|
||||
vt 0.966425 0.966425
|
||||
vt 0.998047 0.998046
|
||||
vt 0.001953 0.998047
|
||||
vt 0.033575 0.966425
|
||||
vt 0.966425 0.966425
|
||||
vt 0.033575 0.966425
|
||||
vt 0.966425 0.966425
|
||||
vt 0.998047 0.998047
|
||||
vt 0.001953 0.998047
|
||||
vt 0.998046 0.968750
|
||||
vt 0.001953 0.968750
|
||||
vt 0.001953 0.882810
|
||||
vt 0.998046 0.882810
|
||||
vt 0.033575 0.966425
|
||||
vt 0.966425 0.966425
|
||||
vt 0.998047 0.998047
|
||||
vt 0.001953 0.998047
|
||||
vt 0.998047 0.998047
|
||||
vt 0.001954 0.998047
|
||||
vt 0.000000 0.000000
|
||||
vt 1.000000 0.000000
|
||||
vt 1.000000 0.937500
|
||||
vt 0.000000 0.937500
|
||||
vt 1.000000 0.000000
|
||||
vt 1.000000 1.000000
|
||||
vt 0.000000 1.000000
|
||||
vt 0.000000 0.000000
|
||||
vt 0.000000 0.000000
|
||||
vt 1.000000 0.000000
|
||||
vt 1.000000 0.937500
|
||||
vt 0.000000 0.937500
|
||||
vt 0.000000 0.000000
|
||||
vt 1.000000 0.937500
|
||||
vt 0.000000 0.937500
|
||||
vt 0.000000 0.937500
|
||||
vt 1.000000 0.000000
|
||||
vt 1.000000 0.937500
|
||||
vn -1.0000 0.0000 0.0000
|
||||
vn 1.0000 0.0000 0.0000
|
||||
vn 0.0000 0.0000 1.0000
|
||||
vn 0.0000 0.2426 -0.9701
|
||||
vn 0.9701 0.2426 0.0000
|
||||
vn 0.0000 0.2426 0.9701
|
||||
vn 0.0000 1.0000 0.0000
|
||||
vn -0.9701 0.2426 0.0000
|
||||
vn -0.7029 0.7113 0.0000
|
||||
vn 0.7029 0.7113 0.0000
|
||||
vn 0.0000 0.0000 -1.0000
|
||||
vn 0.0000 0.7113 0.7029
|
||||
vn 0.0000 0.7113 -0.7029
|
||||
vn 0.0000 -1.0000 0.0000
|
||||
g Cube_Cube.001_concrete_top
|
||||
s off
|
||||
f 13/1/1 6/2/1 8/3/1 18/4/1
|
||||
f 16/5/2 19/6/2 10/7/2 11/8/2
|
||||
f 10/9/3 19/10/3 18/11/3 8/12/3
|
||||
f 6/13/4 11/14/4 12/15/4 5/16/4
|
||||
f 11/14/5 10/17/5 9/18/5 12/15/5
|
||||
f 7/19/6 9/18/6 10/17/6 8/20/6
|
||||
f 14/21/7 17/22/7 20/23/7 15/24/7
|
||||
f 8/20/8 6/13/8 5/16/8 7/19/8
|
||||
f 13/25/9 18/26/9 17/27/9 14/28/9
|
||||
f 15/29/10 20/30/10 19/31/10 16/32/10
|
||||
f 13/33/11 16/34/11 11/35/11 6/36/11
|
||||
g Cube_Cube.001_concrete_edges
|
||||
f 20/37/12 17/38/12 18/39/12 19/40/12
|
||||
f 14/21/13 15/24/13 16/41/13 13/42/13
|
||||
g Cube_Cube.001_dirt
|
||||
f 1/43/3 3/44/3 9/45/3 7/46/3
|
||||
f 4/47/14 3/48/14 1/49/14 2/50/14
|
||||
f 4/51/11 2/52/11 5/53/11 12/54/11
|
||||
f 3/55/2 4/47/2 12/56/2 9/57/2
|
||||
f 5/58/1 2/50/1 1/59/1 7/60/1
|
BIN
textures/gloopblocks_concrete_sidewalk_overlay.png
Normal file
BIN
textures/gloopblocks_concrete_sidewalk_overlay.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 73 B |
BIN
textures/gloopblocks_packed_dirt.png
Normal file
BIN
textures/gloopblocks_packed_dirt.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 417 B |
Loading…
x
Reference in New Issue
Block a user