Skip to content

Commit

Permalink
Exterior: add vase without handles. Closes #1870
Browse files Browse the repository at this point in the history
  • Loading branch information
alek13 committed Dec 20, 2024
1 parent f94fb80 commit 16dd8dd
Show file tree
Hide file tree
Showing 8 changed files with 268 additions and 20 deletions.
2 changes: 2 additions & 0 deletions mods/lord/Tools/lord_vessels/locale/lord_vessels.en.tr
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,7 @@ Bowl=Bowl

Steel Can=Steel Can

Raw Ceramic Vase=Raw Ceramic Vase
Ceramic Vase=Ceramic Vase
Raw Ceramic Vase with Handles=Raw Ceramic Vase with Handles
Ceramic Vase with Handles=Ceramic Vase with Handles
2 changes: 2 additions & 0 deletions mods/lord/Tools/lord_vessels/locale/lord_vessels.ru.tr
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,7 @@ Bowl=Миска

Steel Can=Железный Бидон

Raw Ceramic Vase=Сырая Керамическая Ваза
Ceramic Vase=Керамическая Ваза
Raw Ceramic Vase with Handles=Сырая Керамическая Ваза с Ручками
Ceramic Vase with Handles=Керамическая Ваза с Ручками
Binary file not shown.
228 changes: 228 additions & 0 deletions mods/lord/Tools/lord_vessels/models/lord_vessels_vase_1.obj
Original file line number Diff line number Diff line change
@@ -0,0 +1,228 @@
# Blender 4.2.3 LTS
# www.blender.org
o lord_vessels_vase_1
v -0.250000 -0.437500 0.250000
v -0.250000 0.125000 0.250000
v -0.250000 -0.437500 -0.250000
v -0.250000 0.125000 -0.250000
v 0.250000 -0.437500 0.250000
v 0.250000 0.125000 0.250000
v 0.250000 -0.437500 -0.250000
v 0.250000 0.125000 -0.250000
v -0.312500 -0.437500 -0.312500
v -0.312500 -0.437500 0.312500
v 0.312500 -0.437500 -0.312500
v 0.312500 -0.437500 0.312500
v -0.250000 -0.500000 -0.250000
v -0.250000 -0.500000 0.250000
v 0.250000 -0.500000 -0.250000
v 0.250000 -0.500000 0.250000
v -0.312500 0.125000 0.312500
v -0.312500 0.125000 -0.312500
v 0.312500 0.125000 -0.312500
v 0.312500 0.125000 0.312500
v -0.125000 0.187500 0.125000
v -0.125000 0.187500 -0.125000
v 0.125000 0.187500 -0.125000
v 0.125000 0.187500 0.125000
v -0.250000 0.187500 0.250000
v -0.250000 0.187500 -0.250000
v 0.250000 0.187500 -0.250000
v 0.250000 0.187500 0.250000
v -0.125000 0.375000 0.125000
v -0.125000 0.375000 -0.125000
v 0.125000 0.375000 -0.125000
v 0.125000 0.375000 0.125000
v -0.187500 0.312500 -0.187500
v 0.062500 0.312500 -0.062500
v 0.062500 0.312500 0.062500
v -0.187500 0.312500 0.187500
v -0.187500 0.375000 -0.187500
v -0.062500 0.312500 0.062500
v -0.062500 0.312500 -0.062500
v -0.187500 0.375000 0.187500
v 0.187500 0.375000 -0.187500
v 0.187500 0.375000 0.187500
v 0.187500 0.312500 -0.187500
v 0.187500 0.312500 0.187500
v -0.125000 0.312500 -0.125000
v 0.125000 0.312500 -0.125000
v 0.125000 0.312500 0.125000
v -0.125000 0.312500 0.125000
v -0.062500 0.062500 -0.062500
v 0.062500 0.062500 -0.062500
v 0.062500 0.062500 0.062500
v -0.062500 0.062500 0.062500
vn -1.0000 -0.0000 -0.0000
vn -0.0000 -0.0000 -1.0000
vn 1.0000 -0.0000 -0.0000
vn -0.0000 -0.0000 1.0000
vn -0.0000 -1.0000 -0.0000
vn -0.0000 1.0000 -0.0000
vt 1.000000 0.458333
vt 1.000000 0.833333
vt 0.750000 0.833333
vt 0.750000 0.458333
vt 0.500000 0.833333
vt 0.500000 0.458333
vt 0.250000 0.833333
vt 0.250000 0.458333
vt 0.000000 0.833333
vt 0.000000 0.458333
vt 0.225000 0.458333
vt 0.025000 0.458333
vt 0.025000 0.416667
vt 0.225000 0.416667
vt 0.525000 0.833333
vt 0.725000 0.833333
vt 0.725000 0.875000
vt 0.525000 0.875000
vt 0.025000 0.375000
vt 0.025000 0.041667
vt 0.000000 0.000000
vt 0.000000 0.416667
vt 0.225000 0.375000
vt 0.250000 0.416667
vt 0.225000 0.041667
vt 0.250000 0.000000
vt 0.725000 0.458333
vt 0.525000 0.458333
vt 0.525000 0.416667
vt 0.725000 0.416667
vt 0.475000 0.458333
vt 0.275000 0.458333
vt 0.275000 0.416667
vt 0.475000 0.416667
vt 0.975000 0.458333
vt 0.775000 0.458333
vt 0.775000 0.416667
vt 0.975000 0.416667
vt 0.275000 0.041667
vt 0.275000 0.375000
vt 0.475000 0.375000
vt 0.500000 0.416667
vt 0.475000 0.041667
vt 0.500000 0.000000
vt 0.625000 0.208333
vt 0.625000 0.375000
vt 0.650000 0.416667
vt 0.650000 0.166667
vt 0.275000 0.833333
vt 0.475000 0.833333
vt 0.475000 0.875000
vt 0.275000 0.875000
vt 0.775000 0.833333
vt 0.975000 0.833333
vt 0.975000 0.875000
vt 0.775000 0.875000
vt 0.025000 0.833333
vt 0.225000 0.833333
vt 0.225000 0.875000
vt 0.025000 0.875000
vt 0.325000 0.125000
vt 0.325000 0.291667
vt 0.425000 0.291667
vt 0.425000 0.125000
vt 0.650000 0.250000
vt 0.675000 0.416667
vt 0.675000 0.250000
vt 0.450000 0.333333
vt 0.300000 0.333333
vt 0.300000 0.958333
vt 0.450000 0.958333
vt 0.450000 1.000000
vt 0.300000 1.000000
vt 0.075000 0.875000
vt 0.175000 0.875000
vt 0.175000 0.958333
vt 0.075000 0.958333
vt 0.300000 0.083333
vt 0.825000 0.875000
vt 0.925000 0.875000
vt 0.925000 0.958333
vt 0.825000 0.958333
vt 0.325000 0.875000
vt 0.425000 0.875000
vt 0.425000 0.958333
vt 0.325000 0.958333
vt 0.525000 0.375000
vt 0.525000 0.208333
vt 0.500000 0.166667
vt 0.800000 0.958333
vt 0.950000 0.958333
vt 0.950000 1.000000
vt 0.800000 1.000000
vt 0.575000 0.875000
vt 0.675000 0.875000
vt 0.675000 0.958333
vt 0.575000 0.958333
vt 0.450000 0.083333
vt 0.050000 0.958333
vt 0.200000 0.958333
vt 0.200000 1.000000
vt 0.050000 1.000000
vt 0.550000 0.958333
vt 0.700000 0.958333
vt 0.700000 1.000000
vt 0.550000 1.000000
vt 0.550000 0.166667
vt 0.550000 0.000000
vt 0.350000 0.250000
vt 0.400000 0.250000
vt 0.400000 0.166667
vt 0.350000 0.166667
s 0
f 10/1/1 17/2/1 18/3/1 9/4/1
f 9/4/2 18/3/2 19/5/2 11/6/2
f 11/6/3 19/5/3 20/7/3 12/8/3
f 12/8/4 20/7/4 17/9/4 10/10/4
f 5/11/4 1/12/4 14/13/4 16/14/4
f 8/15/2 4/16/2 26/17/2 27/18/2
f 3/19/5 1/20/5 10/21/5 9/22/5
f 7/23/5 3/19/5 9/22/5 11/24/5
f 5/25/5 7/23/5 11/24/5 12/26/5
f 1/20/5 5/25/5 12/26/5 10/21/5
f 13/19/5 15/23/5 16/25/5 14/20/5
f 3/27/2 7/28/2 15/29/2 13/30/2
f 7/31/3 5/32/3 16/33/3 15/34/3
f 1/35/1 3/36/1 13/37/1 14/38/1
f 2/39/6 4/40/6 18/24/6 17/26/6
f 4/40/6 8/41/6 19/42/6 18/24/6
f 8/41/6 6/43/6 20/44/6 19/42/6
f 6/43/6 2/39/6 17/26/6 20/44/6
f 47/45/5 46/46/5 43/47/5 44/48/5
f 6/49/3 8/50/3 27/51/3 28/52/3
f 4/53/1 2/54/1 25/55/1 26/56/1
f 2/57/4 6/58/4 28/59/4 25/60/4
f 21/61/6 22/62/6 26/40/6 25/39/6
f 22/62/6 23/63/6 27/41/6 26/40/6
f 23/63/6 24/64/6 28/43/6 27/41/6
f 24/64/6 21/61/6 25/39/6 28/43/6
f 32/65/1 31/47/1 46/66/1 47/67/1
f 30/62/6 31/63/6 41/68/6 37/69/6
f 44/70/3 43/71/3 41/72/3 42/73/3
f 21/74/4 24/75/4 47/76/4 48/77/4
f 29/61/6 30/62/6 37/69/6 40/78/6
f 22/79/1 21/80/1 48/81/1 45/82/1
f 24/83/3 23/84/3 46/85/3 47/86/3
f 45/87/5 48/88/5 36/89/5 33/42/5
f 33/90/1 36/91/1 40/92/1 37/93/1
f 23/94/2 22/95/2 45/96/2 46/97/2
f 31/63/6 32/64/6 42/98/6 41/68/6
f 36/99/4 44/100/4 42/101/4 40/102/4
f 32/64/6 29/61/6 40/78/6 42/98/6
f 48/88/5 47/45/5 44/48/5 36/89/5
f 43/103/2 33/104/2 37/105/2 41/106/2
f 46/46/5 45/87/5 33/42/5 43/47/5
f 32/47/2 47/66/2 48/67/2 29/65/2
f 29/65/3 48/67/3 45/66/3 30/47/3
f 30/65/4 45/67/4 46/66/4 31/47/4
f 35/89/1 34/107/1 50/108/1 51/44/1
f 39/109/6 34/110/6 46/63/6 45/62/6
f 35/111/6 38/112/6 48/61/6 47/64/6
f 38/112/6 39/109/6 45/62/6 48/61/6
f 34/110/6 35/111/6 47/64/6 46/63/6
f 49/109/6 52/112/6 51/111/6 50/110/6
f 38/89/2 35/107/2 51/108/2 52/44/2
f 39/107/3 38/89/3 52/44/3 49/108/3
f 34/107/4 39/89/4 49/44/4 50/108/4
56 changes: 36 additions & 20 deletions mods/lord/Tools/lord_vessels/src/vases.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3,25 +3,26 @@ local S = minetest.get_mod_translator()

local px = 1/16

--minetest.register_craftitem('lord_vessels:vase_1_raw', {
-- description = S('Raw Ceramic Vase'),
-- inventory_image = 'lord_vessels_vase_1.png',
--})
--
--minetest.register_node('lord_vessels:vase_1', {
-- description = S('Ceramic Vase'),
-- drawtype = 'mesh',
-- mesh = 'lord_vessels_vase_1.obj',
-- tiles = { 'lord_vessels_vase_1.png' },
-- selection_box = {
-- type = 'fixed',
-- fixed = { -4*px, -8*px, -4*px, 4*px, 8*px, 4*px }
-- },
-- paramtype2 = 'facedir',
-- walkable = true,
-- groups = { vessel = 1, oddly_breakable_by_hand = 3, cracky = 3, attached_node = 1, },
-- is_ground_content = false,
--})
minetest.register_craftitem('lord_vessels:vase_1_raw', {
description = S('Raw Ceramic Vase'),
inventory_image = 'lord_vessels_vase_1_raw_inv.png',
})

minetest.register_node('lord_vessels:vase_1', {
description = S('Ceramic Vase'),
inventory_image = 'lord_vessels_vase_1_inv.png',
drawtype = 'mesh',
mesh = 'lord_vessels_vase_1.obj',
tiles = { 'lord_vessels_vase_1.png' },
selection_box = {
type = 'fixed',
fixed = { -5*px, -8*px, -5*px, 5*px, 6*px, 5*px }
},
paramtype2 = 'facedir',
walkable = true,
groups = { vessel = 1, oddly_breakable_by_hand = 3, cracky = 3, attached_node = 1, },
is_ground_content = false,
})


minetest.register_craftitem('lord_vessels:vase_2_raw', {
Expand All @@ -47,13 +48,28 @@ minetest.register_node('lord_vessels:vase_2', {
})

minetest.register_craft({
output = 'lord_vessels:vase_2_raw',
output = 'lord_vessels:vase_1_raw',
recipe = {
{ '' , 'lord_homedecor:terracotta_base', '' },
{ 'lord_homedecor:terracotta_base', '' , 'lord_homedecor:terracotta_base' },
{ 'lord_homedecor:terracotta_base', 'lord_homedecor:terracotta_base', 'lord_homedecor:terracotta_base' },
},
})
minetest.register_craft({
type = minetest.CraftType.COOKING,
output = 'lord_vessels:vase_1',
recipe = 'lord_vessels:vase_1_raw',
cooktime = 60,
})

minetest.register_craft({
output = 'lord_vessels:vase_2_raw',
recipe = {
{ '' , '' , '' },
{ 'lord_homedecor:terracotta_base', 'lord_vessels:vase_1_raw' , 'lord_homedecor:terracotta_base' },
{ '' , '' , '' },
},
})
minetest.register_craft({
type = minetest.CraftType.COOKING,
output = 'lord_vessels:vase_2',
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 16dd8dd

Please sign in to comment.