Added mesebox, fixed cabinets.

master
Nathan Salapat 2020-11-06 05:51:52 -06:00
parent f2d4960ca5
commit 366340aee6
41 changed files with 1875 additions and 10 deletions

View File

@ -6,7 +6,7 @@ local INTERVAL = 15
local MINDIST = 0.4
-- If player does not move within this time, 'sit' player (in seconds) and label them as afk.
local TIMEOUT = 30
local TIMEOUT = 900
local time_afk = {} -- a table indexed by plname that indicates the approximate time since last moved
local last_pos = {} -- a table of position vectors that are indexed by plname

View File

@ -16,9 +16,14 @@ minetest.register_node('furniture:fence_1_a', {
fixed = {-.5, -.5, -.0625, .5, .5, .0625},
},
groups = {oddly_breakable_by_hand = 2, choppy=3, stainable=1},
on_rightclick = function(pos, node)
minetest.set_node(pos, {name='furniture:fence_1_d', param2 = node.param2})
end,
on_rightclick = function(pos, node, clicker)
local name = clicker:get_player_name()
if minetest.is_protected(pos, name) then
minetest.record_protection_violation(pos, name)
else
minetest.set_node(pos, {name='furniture:fence_1_d', param2 = node.param2})
end
end
})
minetest.register_node('furniture:fence_1_b', {
@ -98,7 +103,96 @@ minetest.register_node('furniture:fence_1_d', {
}
},
groups = {oddly_breakable_by_hand = 2, choppy=3, stainable=1, not_in_creative_inventory=1},
on_rightclick = function(pos, node)
minetest.set_node(pos, {name='furniture:fence_1_a', param2 = node.param2})
on_rightclick = function(pos, node, clicker)
local name = clicker:get_player_name()
if minetest.is_protected(pos, name) then
minetest.record_protection_violation(pos, name)
else
minetest.set_node(pos, {name='furniture:fence_1_a', param2 = node.param2})
end
end,
})
minetest.register_node('furniture:fence_1_e', {
description = 'Double Fence',
drawtype = 'mesh',
mesh = 'furniture_fence_1_e.obj',
tiles = {'furniture_fence.png'},
paramtype = 'light',
paramtype2 = 'colorfacedir',
palette = 'furniture_stain_palette.png',
selection_box = {
type = 'fixed',
fixed = {
{1.375, -0.5, -0.0625, 1.5, 0.5, 0.0625},
{-0.5, -0.5, -0.0625, -0.375, 0.5, 0.0625},
{-0.375, -0.5, -0.0625, 1.375, 0.375, 0.0625}
}
},
collision_box = {
type = 'fixed',
fixed = {
{1.375, -0.5, -0.0625, 1.5, 0.5, 0.0625},
{-0.5, -0.5, -0.0625, -0.375, 0.5, 0.0625},
{-0.375, -0.5, -0.0625, 1.375, 0.375, 0.0625}
}
},
groups = {oddly_breakable_by_hand = 2, choppy=3, stainable=1},
after_place_node = function(pos, placer, itemstack)
if not epic.space_to_side(pos) then
minetest.remove_node(pos)
return itemstack
end
end,
after_dig_node = function(pos, oldnode, oldmetadata, digger)
epic.remove_side_node(pos, oldnode)
end,
on_rightclick = function(pos, node, clicker)
local name = clicker:get_player_name()
if minetest.is_protected(pos, name) then
minetest.record_protection_violation(pos, name)
else
minetest.set_node(pos, {name='furniture:fence_1_f', param2 = node.param2})
end
end,
})
minetest.register_node('furniture:fence_1_f', {
description = 'Double Gate',
drawtype = 'mesh',
mesh = 'furniture_fence_1_f.obj',
tiles = {'furniture_fence.png'},
paramtype = 'light',
paramtype2 = 'colorfacedir',
palette = 'furniture_stain_palette.png',
selection_box = {
type = 'fixed',
fixed = {
{1.375, -0.5, -0.0625, 1.5, 0.5, 0.0625},
{-0.5, -0.5, -0.0625, -0.375, 0.5, 0.0625},
{-0.375, -0.5, -0.0625, -0.25, 0.375, 0.75},
{1.375, -0.5, 0.0625, 1.25, 0.375, 0.75}
}
},
collision_box = {
type = 'fixed',
fixed = {
{1.375, -0.5, -0.0625, 1.5, 0.5, 0.0625},
{-0.5, -0.5, -0.0625, -0.375, 0.5, 0.0625},
{-0.375, -0.5, -0.0625, -0.25, 0.375, 0.75},
{1.375, -0.5, 0.0625, 1.25, 0.375, 0.75}
}
},
groups = {oddly_breakable_by_hand = 2, choppy=3, stainable=1, not_in_creative_inventory=1},
on_rightclick = function(pos, node, clicker)
local name = clicker:get_player_name()
if minetest.is_protected(pos, name) then
minetest.record_protection_violation(pos, name)
else
minetest.set_node(pos, {name='furniture:fence_1_e', param2 = node.param2})
end
end,
after_dig_node = function(pos, oldnode, oldmetadata, digger)
epic.remove_side_node(pos, oldnode)
end,
})

View File

@ -1,4 +1,4 @@
# Blender v2.82 (sub 7) OBJ File: 'furniture.blend'
# Blender v2.90.0 Beta OBJ File: 'furniture.blend'
# www.blender.org
o Cabinet_counter_Cube.008
v -0.500000 -0.375000 0.500000
@ -113,11 +113,19 @@ vt 0.156250 0.109375
vt 0.468750 0.109375
vt 0.468750 0.375000
vt 0.156250 0.375000
vt 0.500000 0.937500
vt -0.000000 0.937500
vt 0.500000 0.562500
vt 1.000000 0.562500
vt 1.000000 0.937500
vt 0.500000 0.500000
vt 1.000000 0.500000
vn -1.0000 0.0000 0.0000
vn 0.0000 0.0000 -1.0000
vn 1.0000 0.0000 0.0000
vn 0.0000 -1.0000 0.0000
vn 0.0000 1.0000 0.0000
vn 0.0000 0.0000 1.0000
s off
f 21/1/1 22/2/1 4/3/1 3/4/1
f 3/5/2 4/6/2 8/7/2 7/8/2
@ -149,3 +157,6 @@ f 37/63/4 35/64/4 40/59/4 41/62/4
f 36/65/5 38/66/5 42/61/5 39/60/5
f 35/67/1 36/68/1 39/60/1 40/59/1
f 38/69/3 37/70/3 41/62/3 42/61/3
f 9/19/6 2/71/6 6/72/6 12/20/6
f 1/73/6 5/74/6 6/75/6 2/71/6
f 5/74/6 1/73/6 27/76/6 28/77/6

View File

@ -0,0 +1,613 @@
# Blender v2.90.0 Beta OBJ File: 'furniture.blend'
# www.blender.org
o Fence_1_e_Cube.017
v -0.828125 0.406250 -0.000000
v -0.890625 0.406250 -0.000000
v -0.828125 0.406250 -0.062500
v -0.890625 0.406250 -0.062500
v -0.828125 -0.468750 -0.000000
v -0.890625 -0.468750 -0.000000
v -0.828125 -0.468750 -0.062500
v -0.890625 -0.468750 -0.062500
v -1.500000 -0.500000 0.062500
v -1.500000 0.500000 0.062500
v -1.500000 -0.500000 -0.062500
v -1.500000 0.500000 -0.062500
v -1.375000 -0.500000 0.062500
v -1.375000 0.500000 0.062500
v -1.375000 -0.500000 -0.062500
v -1.375000 0.500000 -0.062500
v -0.796875 -0.468750 -0.062500
v -0.734375 -0.468750 -0.062500
v -0.796875 -0.468750 -0.000000
v -0.734375 -0.468750 -0.000000
v -0.796875 0.406250 -0.062500
v -0.734375 0.406250 -0.062500
v -0.796875 0.406250 -0.000000
v -0.734375 0.406250 -0.000000
v -1.203125 0.406250 0.000000
v -1.265625 0.406250 0.000000
v -1.203125 0.406250 -0.062500
v -1.265625 0.406250 -0.062500
v -1.203125 -0.468750 0.000000
v -1.265625 -0.468750 0.000000
v -1.203125 -0.468750 -0.062500
v -1.265625 -0.468750 -0.062500
v -0.609375 -0.468750 -0.062500
v -0.546875 -0.468750 -0.062500
v -0.609375 -0.468750 -0.000000
v -0.546875 -0.468750 -0.000000
v -0.609375 0.406250 -0.062500
v -0.546875 0.406250 -0.062500
v -0.609375 0.406250 -0.000000
v -0.546875 0.406250 -0.000000
v -1.375000 0.312500 0.031250
v -1.375000 0.250000 0.031250
v -1.375000 0.312500 -0.031250
v -1.375000 0.250000 -0.031250
v -0.525000 0.312500 0.031250
v -0.525000 0.250000 0.031250
v -0.525000 0.312500 -0.031250
v -0.525000 0.250000 -0.031250
v -1.359375 -0.468750 -0.062500
v -1.296875 -0.468750 -0.062500
v -1.359375 -0.468750 0.000000
v -1.296875 -0.468750 0.000000
v -1.359375 0.406250 -0.062500
v -1.296875 0.406250 -0.062500
v -1.359375 0.406250 0.000000
v -1.296875 0.406250 0.000000
v -0.525000 -0.250000 0.031250
v -0.525000 -0.312500 0.031250
v -0.525000 -0.250000 -0.031250
v -0.525000 -0.312500 -0.031250
v -1.375000 -0.312500 -0.031250
v -1.375000 -0.250000 -0.031250
v -1.375000 -0.312500 0.031250
v -1.375000 -0.250000 0.031250
v -1.015625 0.406250 0.000000
v -1.078125 0.406250 0.000000
v -1.015625 0.406250 -0.062500
v -1.078125 0.406250 -0.062500
v -1.015625 -0.468750 -0.000000
v -1.078125 -0.468750 -0.000000
v -1.015625 -0.468750 -0.062500
v -1.078125 -0.468750 -0.062500
v -0.921875 0.406250 -0.000000
v -0.984375 0.406250 -0.000000
v -0.921875 0.406250 -0.062500
v -0.984375 0.406250 -0.062500
v -0.921875 -0.468750 -0.000000
v -0.984375 -0.468750 -0.000000
v -0.921875 -0.468750 -0.062500
v -0.984375 -0.468750 -0.062500
v -1.171875 -0.468750 -0.062500
v -1.109375 -0.468750 -0.062500
v -1.171875 -0.468750 -0.000000
v -1.109375 -0.468750 0.000000
v -1.171875 0.406250 -0.062500
v -1.109375 0.406250 -0.062500
v -1.171875 0.406250 0.000000
v -1.109375 0.406250 0.000000
v -0.703125 -0.468750 -0.062500
v -0.640625 -0.468750 -0.062500
v -0.703125 -0.468750 -0.000000
v -0.640625 -0.468750 -0.000000
v -0.703125 0.406250 -0.062500
v -0.640625 0.406250 -0.062500
v -0.703125 0.406250 -0.000000
v -0.640625 0.406250 -0.000000
v 0.171875 0.406250 -0.000000
v 0.109375 0.406250 -0.000000
v 0.171875 0.406250 -0.062500
v 0.109375 0.406250 -0.062500
v 0.171875 -0.468750 -0.000000
v 0.109375 -0.468750 -0.000000
v 0.171875 -0.468750 -0.062500
v 0.109375 -0.468750 -0.062500
v -0.453125 -0.468750 -0.062500
v -0.390625 -0.468750 -0.062500
v -0.453125 -0.468750 -0.000000
v -0.390625 -0.468750 -0.000000
v -0.453125 0.406250 -0.062500
v -0.390625 0.406250 -0.062500
v -0.453125 0.406250 -0.000000
v -0.390625 0.406250 -0.000000
v 0.203125 -0.468750 -0.062500
v 0.265625 -0.468750 -0.062500
v 0.203125 -0.468750 -0.000000
v 0.265625 -0.468750 -0.000000
v 0.203125 0.406250 -0.062500
v 0.265625 0.406250 -0.062500
v 0.203125 0.406250 -0.000000
v 0.265625 0.406250 -0.000000
v -0.203125 0.406250 -0.000000
v -0.265625 0.406250 -0.000000
v -0.203125 0.406250 -0.062500
v -0.265625 0.406250 -0.062500
v -0.203125 -0.468750 -0.000000
v -0.265625 -0.468750 -0.000000
v -0.203125 -0.468750 -0.062500
v -0.265625 -0.468750 -0.062500
v 0.375000 0.500000 -0.062500
v 0.375000 -0.500000 -0.062500
v 0.500000 0.500000 -0.062500
v 0.500000 -0.500000 -0.062500
v 0.375000 0.500000 0.062500
v 0.375000 -0.500000 0.062500
v 0.500000 0.500000 0.062500
v 0.500000 -0.500000 0.062500
v -0.475000 0.312500 0.031250
v -0.475000 0.250000 0.031250
v -0.475000 0.312500 -0.031250
v -0.475000 0.250000 -0.031250
v 0.375000 0.312500 0.031250
v 0.375000 0.250000 0.031250
v 0.375000 0.312500 -0.031250
v 0.375000 0.250000 -0.031250
v -0.359375 -0.468750 -0.062500
v -0.296875 -0.468750 -0.062500
v -0.359375 -0.468750 -0.000000
v -0.296875 -0.468750 -0.000000
v -0.359375 0.406250 -0.062500
v -0.296875 0.406250 -0.062500
v -0.359375 0.406250 -0.000000
v -0.296875 0.406250 -0.000000
v 0.375000 -0.250000 0.031250
v 0.375000 -0.312500 0.031250
v 0.375000 -0.250000 -0.031250
v 0.375000 -0.312500 -0.031250
v -0.475000 -0.312500 -0.031250
v -0.475000 -0.250000 -0.031250
v -0.475000 -0.312500 0.031250
v -0.475000 -0.250000 0.031250
v -0.015625 0.406250 -0.000000
v -0.078125 0.406250 -0.000000
v -0.015625 0.406250 -0.062500
v -0.078125 0.406250 -0.062500
v -0.015625 -0.468750 -0.000000
v -0.078125 -0.468750 -0.000000
v -0.015625 -0.468750 -0.062500
v -0.078125 -0.468750 -0.062500
v 0.078125 0.406250 -0.000000
v 0.015625 0.406250 -0.000000
v 0.078125 0.406250 -0.062500
v 0.015625 0.406250 -0.062500
v 0.078125 -0.468750 -0.000000
v 0.015625 -0.468750 -0.000000
v 0.078125 -0.468750 -0.062500
v 0.015625 -0.468750 -0.062500
v -0.171875 -0.468750 -0.062500
v -0.109375 -0.468750 -0.062500
v -0.171875 -0.468750 -0.000000
v -0.109375 -0.468750 -0.000000
v -0.171875 0.406250 -0.062500
v -0.109375 0.406250 -0.062500
v -0.171875 0.406250 -0.000000
v -0.109375 0.406250 -0.000000
v 0.296875 -0.468750 -0.062500
v 0.359375 -0.468750 -0.062500
v 0.296875 -0.468750 -0.000000
v 0.359375 -0.468750 -0.000000
v 0.296875 0.406250 -0.062500
v 0.359375 0.406250 -0.062500
v 0.296875 0.406250 -0.000000
v 0.359375 0.406250 -0.000000
vt 1.000000 0.515625
vt 1.000000 0.546875
vt 0.562500 0.546875
vt 0.562500 0.515625
vt 0.000000 0.000000
vt 0.500000 0.000000
vt 0.500000 0.062500
vt 0.000000 0.062500
vt 0.531250 0.031250
vt 0.531250 0.000000
vt 0.562500 0.000000
vt 0.562500 0.031250
vt 0.000000 0.187500
vt 0.500000 0.187500
vt 0.500000 0.250000
vt 0.000000 0.250000
vt 0.031250 0.968750
vt 0.468750 0.968750
vt 0.468750 1.000000
vt 0.031250 1.000000
vt 0.562500 0.093750
vt 1.000000 0.093750
vt 1.000000 0.125000
vt 0.562500 0.125000
vt 0.562500 0.406250
vt 1.000000 0.406250
vt 1.000000 0.437500
vt 0.562500 0.437500
vt 0.531250 0.343750
vt 0.531250 0.312500
vt 0.562500 0.312500
vt 0.562500 0.343750
vt 1.000000 0.312500
vt 1.000000 0.343750
vt 0.000000 0.906250
vt 0.000000 0.875000
vt 0.031250 0.875000
vt 0.031250 0.906250
vt 0.468750 0.875000
vt 0.468750 0.906250
vt 1.000000 0.375000
vt 0.562500 0.375000
vt 1.000000 0.937500
vt 1.000000 0.968750
vt 0.562500 0.968750
vt 0.562500 0.937500
vt 1.000000 0.234375
vt 1.000000 0.265625
vt 0.562500 0.265625
vt 0.562500 0.234375
vt 1.000000 0.796875
vt 1.000000 0.828125
vt 0.562500 0.828125
vt 0.562500 0.796875
vt 0.562500 0.765625
vt 1.000000 0.765625
vt 0.562500 0.734375
vt 1.000000 0.734375
vt 0.531250 0.765625
vt 0.531250 0.734375
vt 1.000000 0.859375
vt 0.562500 0.859375
vt 0.500000 0.125000
vt 0.000000 0.125000
vt 0.562500 0.000000
vt 0.562500 0.062500
vt 0.421875 0.593750
vt 0.421875 0.625000
vt 0.000000 0.625000
vt 0.000000 0.593750
vt 0.421875 0.718750
vt 0.000000 0.718750
vt 0.000000 0.687500
vt 0.421875 0.687500
vt 0.000000 0.656250
vt 0.421875 0.656250
vt 0.468750 0.937500
vt 0.031250 0.937500
vt 0.562500 0.687500
vt 1.000000 0.687500
vt 1.000000 0.718750
vt 0.562500 0.718750
vt 0.531250 0.625000
vt 0.531250 0.593750
vt 0.562500 0.593750
vt 0.562500 0.625000
vt 1.000000 0.593750
vt 1.000000 0.625000
vt 1.000000 0.656250
vt 0.562500 0.656250
vt 0.421875 0.812500
vt 0.000000 0.812500
vt 0.000000 0.781250
vt 0.421875 0.781250
vt 0.421875 0.750000
vt 0.000000 0.750000
vt 0.000000 0.718750
vt 0.421875 0.718750
vt 0.000000 0.843750
vt 0.421875 0.843750
vt 0.562500 0.203125
vt 1.000000 0.203125
vt 0.562500 0.171875
vt 1.000000 0.171875
vt 0.531250 0.203125
vt 0.531250 0.171875
vt 1.000000 0.296875
vt 0.562500 0.296875
vt 0.468750 0.937500
vt 0.468750 0.968750
vt 0.031250 0.968750
vt 0.031250 0.937500
vt 0.031250 0.906250
vt 0.468750 0.906250
vt 0.031250 0.875000
vt 0.468750 0.875000
vt 0.000000 0.906250
vt 0.000000 0.875000
vt 0.468750 1.000000
vt 0.031250 1.000000
vt 1.000000 0.578125
vt 0.562500 0.578125
vt 0.531250 0.484375
vt 0.531250 0.453125
vt 0.562500 0.453125
vt 0.562500 0.484375
vt 1.000000 1.000000
vt 0.562500 1.000000
vt 0.531250 0.906250
vt 0.531250 0.875000
vt 0.562500 0.875000
vt 0.562500 0.906250
vt 1.000000 0.875000
vt 1.000000 0.906250
vt 1.000000 0.062500
vt 0.562500 0.062500
vt 1.000000 0.031250
vt 1.000000 0.000000
vt 1.000000 0.484375
vt 1.000000 0.453125
vt 1.000000 0.515625
vt 1.000000 0.546875
vt 0.562500 0.546875
vt 0.562500 0.515625
vt 0.562500 0.265625
vt 1.000000 0.265625
vt 1.000000 0.296875
vt 0.562500 0.296875
vt 0.531250 0.031250
vt 0.531250 0.000000
vt 0.562500 0.000000
vt 0.562500 0.031250
vt 0.531250 0.203125
vt 0.531250 0.171875
vt 0.562500 0.171875
vt 0.562500 0.203125
vt 0.000000 0.500000
vt 0.500000 0.500000
vt 0.500000 0.562500
vt 0.000000 0.562500
vt 0.562500 0.093750
vt 1.000000 0.093750
vt 1.000000 0.125000
vt 0.562500 0.125000
vt 0.562500 0.406250
vt 1.000000 0.406250
vt 1.000000 0.437500
vt 0.562500 0.437500
vt 0.531250 0.343750
vt 0.531250 0.312500
vt 0.562500 0.312500
vt 0.562500 0.343750
vt 1.000000 0.312500
vt 1.000000 0.343750
vt 0.000000 0.312500
vt 0.500000 0.312500
vt 0.500000 0.375000
vt 0.000000 0.375000
vt 0.000000 0.437500
vt 0.500000 0.437500
vt 1.000000 0.375000
vt 0.562500 0.375000
vt 1.000000 0.937500
vt 1.000000 0.968750
vt 0.562500 0.968750
vt 0.562500 0.937500
vt 1.000000 0.234375
vt 1.000000 0.265625
vt 0.562500 0.265625
vt 0.562500 0.234375
vt 1.000000 0.796875
vt 1.000000 0.828125
vt 0.562500 0.828125
vt 0.562500 0.796875
vt 0.562500 0.765625
vt 1.000000 0.765625
vt 0.562500 0.734375
vt 1.000000 0.734375
vt 0.531250 0.765625
vt 0.531250 0.734375
vt 1.000000 0.859375
vt 0.562500 0.859375
vt 1.000000 0.171875
vt 1.000000 0.203125
vt 1.000000 0.234375
vt 0.562500 0.234375
vt 0.421875 0.593750
vt 0.421875 0.625000
vt 0.000000 0.625000
vt 0.000000 0.593750
vt 0.421875 0.718750
vt 0.000000 0.718750
vt 0.000000 0.687500
vt 0.421875 0.687500
vt 0.000000 0.656250
vt 0.421875 0.656250
vt 0.562500 0.312500
vt 0.562500 0.375000
vt 0.562500 0.687500
vt 1.000000 0.687500
vt 1.000000 0.718750
vt 0.562500 0.718750
vt 0.531250 0.625000
vt 0.531250 0.593750
vt 0.562500 0.593750
vt 0.562500 0.625000
vt 1.000000 0.593750
vt 1.000000 0.625000
vt 1.000000 0.656250
vt 0.562500 0.656250
vt 0.421875 0.812500
vt 0.000000 0.812500
vt 0.000000 0.781250
vt 0.421875 0.781250
vt 0.421875 0.750000
vt 0.000000 0.750000
vt 0.000000 0.718750
vt 0.421875 0.718750
vt 0.000000 0.843750
vt 0.421875 0.843750
vt 0.562500 0.203125
vt 1.000000 0.203125
vt 0.562500 0.171875
vt 1.000000 0.171875
vt 0.531250 0.203125
vt 0.531250 0.171875
vt 1.000000 0.296875
vt 0.562500 0.296875
vt 0.468750 0.937500
vt 0.468750 0.968750
vt 0.031250 0.968750
vt 0.031250 0.937500
vt 0.031250 0.906250
vt 0.468750 0.906250
vt 0.031250 0.875000
vt 0.468750 0.875000
vt 0.000000 0.906250
vt 0.000000 0.875000
vt 0.468750 1.000000
vt 0.031250 1.000000
vt 1.000000 0.578125
vt 0.562500 0.578125
vt 0.531250 0.484375
vt 0.531250 0.453125
vt 0.562500 0.453125
vt 0.562500 0.484375
vt 1.000000 1.000000
vt 0.562500 1.000000
vt 0.531250 0.906250
vt 0.531250 0.875000
vt 0.562500 0.875000
vt 0.562500 0.906250
vt 1.000000 0.875000
vt 1.000000 0.906250
vt 1.000000 0.062500
vt 0.562500 0.062500
vt 1.000000 0.031250
vt 1.000000 0.000000
vt 1.000000 0.484375
vt 1.000000 0.453125
vt 0.453125 0.656250
vt 0.453125 0.687500
vt 0.031250 0.718750
vt 0.000000 0.687500
vt 0.031250 0.687500
vt 0.000000 0.812500
vt 0.031250 0.812500
vt 0.031250 0.843750
vt 0.453125 0.843750
vt 0.453125 0.812500
vt 0.421875 0.812500
vn -0.0000 -0.0000 1.0000
vn 1.0000 0.0000 0.0000
vn 0.0000 1.0000 0.0000
vn -0.0000 0.0000 -1.0000
vn -1.0000 -0.0000 0.0000
vn 0.0000 -1.0000 0.0000
s off
f 83/1/1 84/2/1 88/3/1 87/4/1
f 15/5/2 16/6/2 14/7/2 13/8/2
f 2/9/3 1/10/3 3/11/3 4/12/3
f 11/13/4 12/14/4 16/15/4 15/16/4
f 40/17/2 36/18/2 34/19/2 38/20/2
f 1/21/2 5/22/2 7/23/2 3/24/2
f 24/25/2 20/26/2 18/27/2 22/28/2
f 23/29/3 24/30/3 22/31/3 21/32/3
f 21/32/4 22/31/4 18/33/4 17/34/4
f 39/35/3 40/36/3 38/37/3 37/38/3
f 37/38/4 38/37/4 34/39/4 33/40/4
f 19/41/5 23/42/5 21/32/5 17/34/5
f 19/41/1 20/26/1 24/25/1 23/42/1
f 91/43/1 92/44/1 96/45/1 95/46/1
f 70/47/1 69/48/1 65/49/1 66/50/1
f 30/51/1 29/52/1 25/53/1 26/54/1
f 30/51/5 26/54/5 28/55/5 32/56/5
f 28/55/4 27/57/4 31/58/4 32/56/4
f 26/59/3 25/60/3 27/57/3 28/55/3
f 25/53/2 29/52/2 31/61/2 27/62/2
f 13/8/1 14/7/1 10/63/1 9/64/1
f 16/6/3 12/65/3 10/66/3 14/7/3
f 9/64/5 10/63/5 12/14/5 11/13/5
f 46/67/1 45/68/1 41/69/1 42/70/1
f 46/71/6 42/72/6 44/73/6 48/74/6
f 44/73/4 43/75/4 47/76/4 48/74/4
f 35/77/5 39/78/5 37/38/5 33/40/5
f 41/69/3 45/68/3 47/76/3 43/75/3
f 56/79/2 52/80/2 50/81/2 54/82/2
f 55/83/3 56/84/3 54/85/3 53/86/3
f 53/86/4 54/85/4 50/87/4 49/88/4
f 51/89/5 55/90/5 53/86/5 49/88/5
f 51/89/1 52/80/1 56/79/1 55/90/1
f 64/91/3 57/92/3 59/93/3 62/94/3
f 35/77/1 36/18/1 40/17/1 39/78/1
f 61/95/4 62/94/4 59/93/4 60/96/4
f 58/97/6 63/98/6 61/95/6 60/96/6
f 58/99/1 57/92/1 64/91/1 63/100/1
f 70/47/5 66/50/5 68/101/5 72/102/5
f 68/101/4 67/103/4 71/104/4 72/102/4
f 66/105/3 65/106/3 67/103/3 68/101/3
f 65/49/2 69/48/2 71/107/2 67/108/2
f 78/109/1 77/110/1 73/111/1 74/112/1
f 78/109/5 74/112/5 76/113/5 80/114/5
f 76/113/4 75/115/4 79/116/4 80/114/4
f 74/117/3 73/118/3 75/115/3 76/113/3
f 73/111/2 77/110/2 79/119/2 75/120/2
f 88/3/2 84/2/2 82/121/2 86/122/2
f 87/123/3 88/124/3 86/125/3 85/126/3
f 96/45/2 92/44/2 90/127/2 94/128/2
f 95/129/3 96/130/3 94/131/3 93/132/3
f 93/132/4 94/131/4 90/133/4 89/134/4
f 91/43/5 95/46/5 93/132/5 89/134/5
f 6/135/1 5/22/1 1/21/1 2/136/1
f 6/135/5 2/136/5 4/12/5 8/137/5
f 4/12/4 3/11/4 7/138/4 8/137/4
f 83/1/5 87/4/5 85/126/5 81/139/5
f 85/126/4 86/125/4 82/140/4 81/139/4
f 179/141/1 180/142/1 184/143/1 183/144/1
f 112/145/2 108/146/2 106/147/2 110/148/2
f 98/149/3 97/150/3 99/151/3 100/152/3
f 111/153/3 112/154/3 110/155/3 109/156/3
f 134/157/5 133/158/5 129/159/5 130/160/5
f 97/161/2 101/162/2 103/163/2 99/164/2
f 120/165/2 116/166/2 114/167/2 118/168/2
f 119/169/3 120/170/3 118/171/3 117/172/3
f 117/172/4 118/171/4 114/173/4 113/174/4
f 130/175/4 129/176/4 131/177/4 132/178/4
f 136/179/1 135/180/1 133/158/1 134/157/1
f 115/181/5 119/182/5 117/172/5 113/174/5
f 115/181/1 116/166/1 120/165/1 119/182/1
f 187/183/1 188/184/1 192/185/1 191/186/1
f 166/187/1 165/188/1 161/189/1 162/190/1
f 126/191/1 125/192/1 121/193/1 122/194/1
f 126/191/5 122/194/5 124/195/5 128/196/5
f 124/195/4 123/197/4 127/198/4 128/196/4
f 122/199/3 121/200/3 123/197/3 124/195/3
f 121/193/2 125/192/2 127/201/2 123/202/2
f 109/156/4 110/155/4 106/203/4 105/204/4
f 107/205/5 111/206/5 109/156/5 105/204/5
f 107/205/1 108/146/1 112/145/1 111/206/1
f 142/207/1 141/208/1 137/209/1 138/210/1
f 142/211/6 138/212/6 140/213/6 144/214/6
f 140/213/4 139/215/4 143/216/4 144/214/4
f 129/176/3 133/217/3 135/218/3 131/177/3
f 137/209/3 141/208/3 143/216/3 139/215/3
f 152/219/2 148/220/2 146/221/2 150/222/2
f 151/223/3 152/224/3 150/225/3 149/226/3
f 149/226/4 150/225/4 146/227/4 145/228/4
f 147/229/5 151/230/5 149/226/5 145/228/5
f 147/229/1 148/220/1 152/219/1 151/230/1
f 160/231/3 153/232/3 155/233/3 158/234/3
f 132/178/2 131/177/2 135/180/2 136/179/2
f 157/235/4 158/234/4 155/233/4 156/236/4
f 154/237/6 159/238/6 157/235/6 156/236/6
f 154/239/1 153/232/1 160/231/1 159/240/1
f 166/187/5 162/190/5 164/241/5 168/242/5
f 164/241/4 163/243/4 167/244/4 168/242/4
f 162/245/3 161/246/3 163/243/3 164/241/3
f 161/189/2 165/188/2 167/247/2 163/248/2
f 174/249/1 173/250/1 169/251/1 170/252/1
f 174/249/5 170/252/5 172/253/5 176/254/5
f 172/253/4 171/255/4 175/256/4 176/254/4
f 170/257/3 169/258/3 171/255/3 172/253/3
f 169/251/2 173/250/2 175/259/2 171/260/2
f 184/143/2 180/142/2 178/261/2 182/262/2
f 183/263/3 184/264/3 182/265/3 181/266/3
f 192/185/2 188/184/2 186/267/2 190/268/2
f 191/269/3 192/270/3 190/271/3 189/272/3
f 189/272/4 190/271/4 186/273/4 185/274/4
f 187/183/5 191/186/5 189/272/5 185/274/5
f 102/275/1 101/162/1 97/161/1 98/276/1
f 102/275/5 98/276/5 100/152/5 104/277/5
f 100/152/4 99/151/4 103/278/4 104/277/4
f 179/141/5 183/144/5 181/266/5 177/279/5
f 181/266/4 182/265/4 178/280/4 177/279/4
f 47/76/2 45/281/2 46/282/2 48/74/2
f 140/283/5 138/212/5 137/284/5 139/285/5
f 58/99/2 60/286/2 59/287/2 57/288/2
f 160/289/5 158/290/5 157/291/5 159/240/5

View File

@ -0,0 +1,613 @@
# Blender v2.90.0 Beta OBJ File: 'furniture.blend'
# www.blender.org
o Fence_1_f_Cube.019
v 0.340626 0.406250 0.303906
v 0.340626 0.406250 0.366406
v 0.278126 0.406250 0.303906
v 0.278126 0.406250 0.366406
v 0.340626 -0.468750 0.303906
v 0.340626 -0.468750 0.366406
v 0.278126 -0.468750 0.303906
v 0.278126 -0.468750 0.366406
v -1.500000 -0.500000 0.062500
v -1.500000 0.500000 0.062500
v -1.500000 -0.500000 -0.062500
v -1.500000 0.500000 -0.062500
v -1.375000 -0.500000 0.062500
v -1.375000 0.500000 0.062500
v -1.375000 -0.500000 -0.062500
v -1.375000 0.500000 -0.062500
v 0.278126 -0.468750 0.272656
v 0.278126 -0.468750 0.210156
v 0.340626 -0.468750 0.272656
v 0.340626 -0.468750 0.210156
v 0.278126 0.406250 0.272656
v 0.278126 0.406250 0.210156
v 0.340626 0.406250 0.272656
v 0.340626 0.406250 0.210156
v 0.340626 0.406250 0.678906
v 0.340626 0.406250 0.741406
v 0.278126 0.406250 0.678906
v 0.278126 0.406250 0.741406
v 0.340626 -0.468750 0.678906
v 0.340626 -0.468750 0.741406
v 0.278126 -0.468750 0.678906
v 0.278126 -0.468750 0.741406
v 0.278126 -0.468750 0.085156
v 0.278126 -0.468750 0.022656
v 0.340626 -0.468750 0.085156
v 0.340626 -0.468750 0.022656
v 0.278126 0.406250 0.085156
v 0.278126 0.406250 0.022656
v 0.340626 0.406250 0.085156
v 0.340626 0.406250 0.022656
v 0.371876 0.312500 0.850781
v 0.371876 0.250000 0.850781
v 0.309376 0.312500 0.850781
v 0.309376 0.250000 0.850781
v 0.371876 0.312500 0.000781
v 0.371876 0.250000 0.000781
v 0.309376 0.312500 0.000781
v 0.309376 0.250000 0.000781
v 0.278126 -0.468750 0.835156
v 0.278126 -0.468750 0.772656
v 0.340626 -0.468750 0.835156
v 0.340626 -0.468750 0.772656
v 0.278126 0.406250 0.835156
v 0.278126 0.406250 0.772656
v 0.340626 0.406250 0.835156
v 0.340626 0.406250 0.772656
v 0.371876 -0.250000 0.000781
v 0.371876 -0.312500 0.000781
v 0.309376 -0.250000 0.000781
v 0.309376 -0.312500 0.000781
v 0.309376 -0.312500 0.850781
v 0.309376 -0.250000 0.850781
v 0.371876 -0.312500 0.850781
v 0.371876 -0.250000 0.850781
v 0.340626 0.406250 0.491406
v 0.340626 0.406250 0.553906
v 0.278126 0.406250 0.491406
v 0.278126 0.406250 0.553906
v 0.340626 -0.468750 0.491406
v 0.340626 -0.468750 0.553906
v 0.278126 -0.468750 0.491406
v 0.278126 -0.468750 0.553906
v 0.340626 0.406250 0.397656
v 0.340626 0.406250 0.460156
v 0.278126 0.406250 0.397656
v 0.278126 0.406250 0.460156
v 0.340626 -0.468750 0.397656
v 0.340626 -0.468750 0.460156
v 0.278126 -0.468750 0.397656
v 0.278126 -0.468750 0.460156
v 0.278126 -0.468750 0.647656
v 0.278126 -0.468750 0.585156
v 0.340626 -0.468750 0.647656
v 0.340626 -0.468750 0.585156
v 0.278126 0.406250 0.647656
v 0.278126 0.406250 0.585156
v 0.340626 0.406250 0.647656
v 0.340626 0.406250 0.585156
v 0.278126 -0.468750 0.178906
v 0.278126 -0.468750 0.116406
v 0.340626 -0.468750 0.178906
v 0.340626 -0.468750 0.116406
v 0.278126 0.406250 0.178906
v 0.278126 0.406250 0.116406
v 0.340626 0.406250 0.178906
v 0.340626 0.406250 0.116406
v -1.340624 0.406250 0.647656
v -1.340624 0.406250 0.585156
v -1.278124 0.406250 0.647656
v -1.278124 0.406250 0.585156
v -1.340624 -0.468750 0.647656
v -1.340624 -0.468750 0.585156
v -1.278124 -0.468750 0.647656
v -1.278124 -0.468750 0.585156
v -1.278124 -0.468750 0.022656
v -1.278124 -0.468750 0.085156
v -1.340624 -0.468750 0.022656
v -1.340624 -0.468750 0.085156
v -1.278124 0.406250 0.022656
v -1.278124 0.406250 0.085156
v -1.340624 0.406250 0.022656
v -1.340624 0.406250 0.085156
v -1.278124 -0.468750 0.678906
v -1.278124 -0.468750 0.741406
v -1.340624 -0.468750 0.678906
v -1.340624 -0.468750 0.741406
v -1.278124 0.406250 0.678906
v -1.278124 0.406250 0.741406
v -1.340624 0.406250 0.678906
v -1.340624 0.406250 0.741406
v -1.340624 0.406250 0.272656
v -1.340624 0.406250 0.210156
v -1.278124 0.406250 0.272656
v -1.278124 0.406250 0.210156
v -1.340624 -0.468750 0.272656
v -1.340624 -0.468750 0.210156
v -1.278124 -0.468750 0.272656
v -1.278124 -0.468750 0.210156
v 0.375000 0.500000 -0.062500
v 0.375000 -0.500000 -0.062500
v 0.500000 0.500000 -0.062500
v 0.500000 -0.500000 -0.062500
v 0.375000 0.500000 0.062500
v 0.375000 -0.500000 0.062500
v 0.500000 0.500000 0.062500
v 0.500000 -0.500000 0.062500
v -1.371874 0.312500 0.000781
v -1.371874 0.250000 0.000781
v -1.309374 0.312500 0.000781
v -1.309374 0.250000 0.000781
v -1.371874 0.312500 0.850781
v -1.371874 0.250000 0.850781
v -1.309374 0.312500 0.850781
v -1.309374 0.250000 0.850781
v -1.278124 -0.468750 0.116406
v -1.278124 -0.468750 0.178906
v -1.340624 -0.468750 0.116406
v -1.340624 -0.468750 0.178906
v -1.278124 0.406250 0.116406
v -1.278124 0.406250 0.178906
v -1.340624 0.406250 0.116406
v -1.340624 0.406250 0.178906
v -1.371874 -0.250000 0.850781
v -1.371874 -0.312500 0.850781
v -1.309374 -0.250000 0.850781
v -1.309374 -0.312500 0.850781
v -1.309374 -0.312500 0.000781
v -1.309374 -0.250000 0.000781
v -1.371874 -0.312500 0.000781
v -1.371874 -0.250000 0.000781
v -1.340624 0.406250 0.460156
v -1.340624 0.406250 0.397656
v -1.278124 0.406250 0.460156
v -1.278124 0.406250 0.397656
v -1.340624 -0.468750 0.460156
v -1.340624 -0.468750 0.397656
v -1.278124 -0.468750 0.460156
v -1.278124 -0.468750 0.397656
v -1.340624 0.406250 0.553906
v -1.340624 0.406250 0.491406
v -1.278124 0.406250 0.553906
v -1.278124 0.406250 0.491406
v -1.340624 -0.468750 0.553906
v -1.340624 -0.468750 0.491406
v -1.278124 -0.468750 0.553906
v -1.278124 -0.468750 0.491406
v -1.278124 -0.468750 0.303906
v -1.278124 -0.468750 0.366406
v -1.340624 -0.468750 0.303906
v -1.340624 -0.468750 0.366406
v -1.278124 0.406250 0.303906
v -1.278124 0.406250 0.366406
v -1.340624 0.406250 0.303906
v -1.340624 0.406250 0.366406
v -1.278124 -0.468750 0.772656
v -1.278124 -0.468750 0.835156
v -1.340624 -0.468750 0.772656
v -1.340624 -0.468750 0.835156
v -1.278124 0.406250 0.772656
v -1.278124 0.406250 0.835156
v -1.340624 0.406250 0.772656
v -1.340624 0.406250 0.835156
vt 1.000000 0.515625
vt 1.000000 0.546875
vt 0.562500 0.546875
vt 0.562500 0.515625
vt 0.000000 0.000000
vt 0.500000 0.000000
vt 0.500000 0.062500
vt 0.000000 0.062500
vt 0.531250 0.031250
vt 0.531250 0.000000
vt 0.562500 0.000000
vt 0.562500 0.031250
vt 0.000000 0.187500
vt 0.500000 0.187500
vt 0.500000 0.250000
vt 0.000000 0.250000
vt 0.031250 0.968750
vt 0.468750 0.968750
vt 0.468750 1.000000
vt 0.031250 1.000000
vt 0.562500 0.093750
vt 1.000000 0.093750
vt 1.000000 0.125000
vt 0.562500 0.125000
vt 0.562500 0.406250
vt 1.000000 0.406250
vt 1.000000 0.437500
vt 0.562500 0.437500
vt 0.531250 0.343750
vt 0.531250 0.312500
vt 0.562500 0.312500
vt 0.562500 0.343750
vt 1.000000 0.312500
vt 1.000000 0.343750
vt 0.000000 0.906250
vt 0.000000 0.875000
vt 0.031250 0.875000
vt 0.031250 0.906250
vt 0.468750 0.875000
vt 0.468750 0.906250
vt 1.000000 0.375000
vt 0.562500 0.375000
vt 1.000000 0.937500
vt 1.000000 0.968750
vt 0.562500 0.968750
vt 0.562500 0.937500
vt 1.000000 0.234375
vt 1.000000 0.265625
vt 0.562500 0.265625
vt 0.562500 0.234375
vt 1.000000 0.796875
vt 1.000000 0.828125
vt 0.562500 0.828125
vt 0.562500 0.796875
vt 0.562500 0.765625
vt 1.000000 0.765625
vt 0.562500 0.734375
vt 1.000000 0.734375
vt 0.531250 0.765625
vt 0.531250 0.734375
vt 1.000000 0.859375
vt 0.562500 0.859375
vt 0.500000 0.125000
vt 0.000000 0.125000
vt 0.562500 0.000000
vt 0.562500 0.062500
vt 0.421875 0.593750
vt 0.421875 0.625000
vt 0.000000 0.625000
vt 0.000000 0.593750
vt 0.421875 0.718750
vt 0.000000 0.718750
vt 0.000000 0.687500
vt 0.421875 0.687500
vt 0.000000 0.656250
vt 0.421875 0.656250
vt 0.468750 0.937500
vt 0.031250 0.937500
vt 0.562500 0.687500
vt 1.000000 0.687500
vt 1.000000 0.718750
vt 0.562500 0.718750
vt 0.531250 0.625000
vt 0.531250 0.593750
vt 0.562500 0.593750
vt 0.562500 0.625000
vt 1.000000 0.593750
vt 1.000000 0.625000
vt 1.000000 0.656250
vt 0.562500 0.656250
vt 0.421875 0.812500
vt 0.000000 0.812500
vt 0.000000 0.781250
vt 0.421875 0.781250
vt 0.421875 0.750000
vt 0.000000 0.750000
vt 0.000000 0.718750
vt 0.421875 0.718750
vt 0.000000 0.843750
vt 0.421875 0.843750
vt 0.562500 0.203125
vt 1.000000 0.203125
vt 0.562500 0.171875
vt 1.000000 0.171875
vt 0.531250 0.203125
vt 0.531250 0.171875
vt 1.000000 0.296875
vt 0.562500 0.296875
vt 0.468750 0.937500
vt 0.468750 0.968750
vt 0.031250 0.968750
vt 0.031250 0.937500
vt 0.031250 0.906250
vt 0.468750 0.906250
vt 0.031250 0.875000
vt 0.468750 0.875000
vt 0.000000 0.906250
vt 0.000000 0.875000
vt 0.468750 1.000000
vt 0.031250 1.000000
vt 1.000000 0.578125
vt 0.562500 0.578125
vt 0.531250 0.484375
vt 0.531250 0.453125
vt 0.562500 0.453125
vt 0.562500 0.484375
vt 1.000000 1.000000
vt 0.562500 1.000000
vt 0.531250 0.906250
vt 0.531250 0.875000
vt 0.562500 0.875000
vt 0.562500 0.906250
vt 1.000000 0.875000
vt 1.000000 0.906250
vt 1.000000 0.062500
vt 0.562500 0.062500
vt 1.000000 0.031250
vt 1.000000 0.000000
vt 1.000000 0.484375
vt 1.000000 0.453125
vt 1.000000 0.515625
vt 1.000000 0.546875
vt 0.562500 0.546875
vt 0.562500 0.515625
vt 0.562500 0.265625
vt 1.000000 0.265625
vt 1.000000 0.296875
vt 0.562500 0.296875
vt 0.531250 0.031250
vt 0.531250 0.000000
vt 0.562500 0.000000
vt 0.562500 0.031250
vt 0.531250 0.203125
vt 0.531250 0.171875
vt 0.562500 0.171875
vt 0.562500 0.203125
vt 0.000000 0.500000
vt 0.500000 0.500000
vt 0.500000 0.562500
vt 0.000000 0.562500
vt 0.562500 0.093750
vt 1.000000 0.093750
vt 1.000000 0.125000
vt 0.562500 0.125000
vt 0.562500 0.406250
vt 1.000000 0.406250
vt 1.000000 0.437500
vt 0.562500 0.437500
vt 0.531250 0.343750
vt 0.531250 0.312500
vt 0.562500 0.312500
vt 0.562500 0.343750
vt 1.000000 0.312500
vt 1.000000 0.343750
vt 0.000000 0.312500
vt 0.500000 0.312500
vt 0.500000 0.375000
vt 0.000000 0.375000
vt 0.000000 0.437500
vt 0.500000 0.437500
vt 1.000000 0.375000
vt 0.562500 0.375000
vt 1.000000 0.937500
vt 1.000000 0.968750
vt 0.562500 0.968750
vt 0.562500 0.937500
vt 1.000000 0.234375
vt 1.000000 0.265625
vt 0.562500 0.265625
vt 0.562500 0.234375
vt 1.000000 0.796875
vt 1.000000 0.828125
vt 0.562500 0.828125
vt 0.562500 0.796875
vt 0.562500 0.765625
vt 1.000000 0.765625
vt 0.562500 0.734375
vt 1.000000 0.734375
vt 0.531250 0.765625
vt 0.531250 0.734375
vt 1.000000 0.859375
vt 0.562500 0.859375
vt 1.000000 0.171875
vt 1.000000 0.203125
vt 1.000000 0.234375
vt 0.562500 0.234375
vt 0.421875 0.593750
vt 0.421875 0.625000
vt 0.000000 0.625000
vt 0.000000 0.593750
vt 0.421875 0.718750
vt 0.000000 0.718750
vt 0.000000 0.687500
vt 0.421875 0.687500
vt 0.000000 0.656250
vt 0.421875 0.656250
vt 0.562500 0.312500
vt 0.562500 0.375000
vt 0.562500 0.687500
vt 1.000000 0.687500
vt 1.000000 0.718750
vt 0.562500 0.718750
vt 0.531250 0.625000
vt 0.531250 0.593750
vt 0.562500 0.593750
vt 0.562500 0.625000
vt 1.000000 0.593750
vt 1.000000 0.625000
vt 1.000000 0.656250
vt 0.562500 0.656250
vt 0.421875 0.812500
vt 0.000000 0.812500
vt 0.000000 0.781250
vt 0.421875 0.781250
vt 0.421875 0.750000
vt 0.000000 0.750000
vt 0.000000 0.718750
vt 0.421875 0.718750
vt 0.000000 0.843750
vt 0.421875 0.843750
vt 0.562500 0.203125
vt 1.000000 0.203125
vt 0.562500 0.171875
vt 1.000000 0.171875
vt 0.531250 0.203125
vt 0.531250 0.171875
vt 1.000000 0.296875
vt 0.562500 0.296875
vt 0.468750 0.937500
vt 0.468750 0.968750
vt 0.031250 0.968750
vt 0.031250 0.937500
vt 0.031250 0.906250
vt 0.468750 0.906250
vt 0.031250 0.875000
vt 0.468750 0.875000
vt 0.000000 0.906250
vt 0.000000 0.875000
vt 0.468750 1.000000
vt 0.031250 1.000000
vt 1.000000 0.578125
vt 0.562500 0.578125
vt 0.531250 0.484375
vt 0.531250 0.453125
vt 0.562500 0.453125
vt 0.562500 0.484375
vt 1.000000 1.000000
vt 0.562500 1.000000
vt 0.531250 0.906250
vt 0.531250 0.875000
vt 0.562500 0.875000
vt 0.562500 0.906250
vt 1.000000 0.875000
vt 1.000000 0.906250
vt 1.000000 0.062500
vt 0.562500 0.062500
vt 1.000000 0.031250
vt 1.000000 0.000000
vt 1.000000 0.484375
vt 1.000000 0.453125
vt 0.453125 0.656250
vt 0.453125 0.687500
vt 0.031250 0.718750
vt 0.000000 0.687500
vt 0.031250 0.687500
vt 0.000000 0.812500
vt 0.031250 0.812500
vt 0.031250 0.843750
vt 0.453125 0.843750
vt 0.453125 0.812500
vt 0.421875 0.812500
vn 1.0000 0.0000 0.0000
vn 0.0000 1.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
s off
f 83/1/1 84/2/1 88/3/1 87/4/1
f 15/5/1 16/6/1 14/7/1 13/8/1
f 2/9/2 1/10/2 3/11/2 4/12/2
f 11/13/3 12/14/3 16/15/3 15/16/3
f 40/17/3 36/18/3 34/19/3 38/20/3
f 1/21/3 5/22/3 7/23/3 3/24/3
f 24/25/3 20/26/3 18/27/3 22/28/3
f 23/29/2 24/30/2 22/31/2 21/32/2
f 21/32/4 22/31/4 18/33/4 17/34/4
f 39/35/2 40/36/2 38/37/2 37/38/2
f 37/38/4 38/37/4 34/39/4 33/40/4
f 19/41/5 23/42/5 21/32/5 17/34/5
f 19/41/1 20/26/1 24/25/1 23/42/1
f 91/43/1 92/44/1 96/45/1 95/46/1
f 70/47/1 69/48/1 65/49/1 66/50/1
f 30/51/1 29/52/1 25/53/1 26/54/1
f 30/51/5 26/54/5 28/55/5 32/56/5
f 28/55/4 27/57/4 31/58/4 32/56/4
f 26/59/2 25/60/2 27/57/2 28/55/2
f 25/53/3 29/52/3 31/61/3 27/62/3
f 13/8/5 14/7/5 10/63/5 9/64/5
f 16/6/2 12/65/2 10/66/2 14/7/2
f 9/64/4 10/63/4 12/14/4 11/13/4
f 46/67/1 45/68/1 41/69/1 42/70/1
f 46/71/6 42/72/6 44/73/6 48/74/6
f 44/73/4 43/75/4 47/76/4 48/74/4
f 35/77/5 39/78/5 37/38/5 33/40/5
f 41/69/2 45/68/2 47/76/2 43/75/2
f 56/79/3 52/80/3 50/81/3 54/82/3
f 55/83/2 56/84/2 54/85/2 53/86/2
f 53/86/4 54/85/4 50/87/4 49/88/4
f 51/89/5 55/90/5 53/86/5 49/88/5
f 51/89/1 52/80/1 56/79/1 55/90/1
f 64/91/2 57/92/2 59/93/2 62/94/2
f 35/77/1 36/18/1 40/17/1 39/78/1
f 61/95/4 62/94/4 59/93/4 60/96/4
f 58/97/6 63/98/6 61/95/6 60/96/6
f 58/99/1 57/92/1 64/91/1 63/100/1
f 70/47/5 66/50/5 68/101/5 72/102/5
f 68/101/4 67/103/4 71/104/4 72/102/4
f 66/105/2 65/106/2 67/103/2 68/101/2
f 65/49/3 69/48/3 71/107/3 67/108/3
f 78/109/1 77/110/1 73/111/1 74/112/1
f 78/109/5 74/112/5 76/113/5 80/114/5
f 76/113/4 75/115/4 79/116/4 80/114/4
f 74/117/2 73/118/2 75/115/2 76/113/2
f 73/111/3 77/110/3 79/119/3 75/120/3
f 88/3/3 84/2/3 82/121/3 86/122/3
f 87/123/2 88/124/2 86/125/2 85/126/2
f 96/45/3 92/44/3 90/127/3 94/128/3
f 95/129/2 96/130/2 94/131/2 93/132/2
f 93/132/4 94/131/4 90/133/4 89/134/4
f 91/43/5 95/46/5 93/132/5 89/134/5
f 6/135/1 5/22/1 1/21/1 2/136/1
f 6/135/5 2/136/5 4/12/5 8/137/5
f 4/12/4 3/11/4 7/138/4 8/137/4
f 83/1/5 87/4/5 85/126/5 81/139/5
f 85/126/4 86/125/4 82/140/4 81/139/4
f 179/141/4 180/142/4 184/143/4 183/144/4
f 112/145/5 108/146/5 106/147/5 110/148/5
f 98/149/2 97/150/2 99/151/2 100/152/2
f 111/153/2 112/154/2 110/155/2 109/156/2
f 134/157/4 133/158/4 129/159/4 130/160/4
f 97/161/5 101/162/5 103/163/5 99/164/5
f 120/165/5 116/166/5 114/167/5 118/168/5
f 119/169/2 120/170/2 118/171/2 117/172/2
f 117/172/1 118/171/1 114/173/1 113/174/1
f 130/175/3 129/176/3 131/177/3 132/178/3
f 136/179/5 135/180/5 133/158/5 134/157/5
f 115/181/3 119/182/3 117/172/3 113/174/3
f 115/181/4 116/166/4 120/165/4 119/182/4
f 187/183/4 188/184/4 192/185/4 191/186/4
f 166/187/4 165/188/4 161/189/4 162/190/4
f 126/191/4 125/192/4 121/193/4 122/194/4
f 126/191/3 122/194/3 124/195/3 128/196/3
f 124/195/1 123/197/1 127/198/1 128/196/1
f 122/199/2 121/200/2 123/197/2 124/195/2
f 121/193/5 125/192/5 127/201/5 123/202/5
f 109/156/1 110/155/1 106/203/1 105/204/1
f 107/205/3 111/206/3 109/156/3 105/204/3
f 107/205/4 108/146/4 112/145/4 111/206/4
f 142/207/4 141/208/4 137/209/4 138/210/4
f 142/211/6 138/212/6 140/213/6 144/214/6
f 140/213/1 139/215/1 143/216/1 144/214/1
f 129/176/2 133/217/2 135/218/2 131/177/2
f 137/209/2 141/208/2 143/216/2 139/215/2
f 152/219/5 148/220/5 146/221/5 150/222/5
f 151/223/2 152/224/2 150/225/2 149/226/2
f 149/226/1 150/225/1 146/227/1 145/228/1
f 147/229/3 151/230/3 149/226/3 145/228/3
f 147/229/4 148/220/4 152/219/4 151/230/4
f 160/231/2 153/232/2 155/233/2 158/234/2
f 132/178/1 131/177/1 135/180/1 136/179/1
f 157/235/1 158/234/1 155/233/1 156/236/1
f 154/237/6 159/238/6 157/235/6 156/236/6
f 154/239/4 153/232/4 160/231/4 159/240/4
f 166/187/3 162/190/3 164/241/3 168/242/3
f 164/241/1 163/243/1 167/244/1 168/242/1
f 162/245/2 161/246/2 163/243/2 164/241/2
f 161/189/5 165/188/5 167/247/5 163/248/5
f 174/249/4 173/250/4 169/251/4 170/252/4
f 174/249/3 170/252/3 172/253/3 176/254/3
f 172/253/1 171/255/1 175/256/1 176/254/1
f 170/257/2 169/258/2 171/255/2 172/253/2
f 169/251/5 173/250/5 175/259/5 171/260/5
f 184/143/5 180/142/5 178/261/5 182/262/5
f 183/263/2 184/264/2 182/265/2 181/266/2
f 192/185/5 188/184/5 186/267/5 190/268/5
f 191/269/2 192/270/2 190/271/2 189/272/2
f 189/272/1 190/271/1 186/273/1 185/274/1
f 187/183/3 191/186/3 189/272/3 185/274/3
f 102/275/4 101/162/4 97/161/4 98/276/4
f 102/275/3 98/276/3 100/152/3 104/277/3
f 100/152/1 99/151/1 103/278/1 104/277/1
f 179/141/3 183/144/3 181/266/3 177/279/3
f 181/266/1 182/265/1 178/280/1 177/279/1
f 47/76/3 45/281/3 46/282/3 48/74/3
f 140/283/3 138/212/3 137/284/3 139/285/3
f 58/99/3 60/286/3 59/287/3 57/288/3
f 160/289/3 158/290/3 157/291/3 159/240/3

24
mods/mesebox/CHANGELOG.md Normal file
View File

@ -0,0 +1,24 @@
# Changelog
All notable changes to this project will be documented in this file.
## [0.2] - 2020-10-27
### Changed
- Make variables local.
- Remove use of deprecated API.
- Refactor parts of code.
### Added
- This changelog.
- Option to change Mesebox name in interface.
## [0.1.2] - 2020-10-25
### Fixed
- Fix bug in crafting colored box.
## [0.1.1] - 2020-10-15
### Fixed
- Update infotext correctly when crafting with dye.
## [0.1] - 2020-10-12
### Added
- First working version.

21
mods/mesebox/LICENSE Normal file
View File

@ -0,0 +1,21 @@
MIT License
Copyright (c) 2020 Johannes Lundberg
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

41
mods/mesebox/README.md Normal file
View File

@ -0,0 +1,41 @@
# Mesebox
A mod for Minetest that provides a mobile storage called Mesebox.
## Background
There are still many mysteries surrounding Mese, the ore that can be found deep underground. Some say even it's of alien origin. Recently, however, scientists have unlocked one of its mysteries and invented the Mesebox. The power of Mese combined with a storage box creates a storage that can be dug and carried without losing its content. Truly revolutionary! The original recipe crafts a Mese-colored Mesebox and if combined with dye, Meseboxes of various colors can be crafted.
## Showcase
They come in 8 distinct colors that are easy to distinguish.
![Meseboxes](/doc/meseboxes.png)
The infotext show how many slots of inventory are occupied.
![Meseboxes](/doc/infotext.png)
Ready for Pipeworks! Can be placed by a deployer and picked up by a node breaker for easy automation.
![Meseboxes](/doc/pipeworks.png)
## Crafting
The crafting recipe crafts a Yellow Mesebox
![Crafting mesebox](/doc/crafting1.png)
## Color variations
The other possible variations can be crafted with any Mesebox and corresponding dye.
- Black Mesebox - Any Mesebox + black dye
- White Mesebox - Any Mesebox + white dye
- Red Mesebox - Any Mesebox + red dye
- Blue Mesebox - Any Mesebox + blue dye
- Green Mesebox - Any Mesebox + green dye
- Orange Mesebox Any Mesebox + orange dye
- Violet Mesebox - Any Mesebox + violet dye
- Yellow Mesebox - Any Mesebox + yellow dye
![Crafting colored mesebox](/doc/crafting2.png)

429
mods/mesebox/init.lua Normal file
View File

@ -0,0 +1,429 @@
-- Mesebox
local mesebox = {}
mesebox.open_meseboxs = {}
mesebox.variants = {
white = "White Mesebox",
black = "Black Mesebox",
red = "Red Mesebox",
blue = "Blue Mesebox",
green = "Green Mesebox",
yellow = "Yellow Mesebox",
orange = "Orange Mesebox",
violet = "Violet Mesebox",
}
local pipeworks_enabled = minetest.get_modpath("pipeworks") ~= nil
function mesebox.get_mesebox_formspec(pos)
local meta = minetest.get_meta(pos)
local spos = pos.x .. "," .. pos.y .. "," .. pos.z
local alias = meta:get_string("alias") and meta:get_string("alias") or meta:get_string("description")
local formspec = "size[8,8.5]" ..
"field[0.3,0.1;4,1;alias;;" .. alias .. "]"..
"button_exit[4,-0.2;2,1;save;Update Name]"..
"list[nodemeta:" .. spos .. ";main;0,0.8;8,3;]" ..
"label[0,4.0;"..minetest.formspec_escape(minetest.colorize("#fff", "Inventory")).."]"..
"list[current_player;main;0,4.5;8,1;]"..
default.get_hotbar_bg(0,4.5,8,1)..
"list[current_player;main;0,5.7;8,3;8]"..
default.get_hotbar_bg(0,5.7,8,3)..
"listring[nodemeta:" .. spos .. ";main]" ..
"listring[current_player;main]"
return formspec
end
function mesebox.mesebox_lid_close(pn)
local mesebox_open_info = mesebox.open_meseboxs[pn]
local pos = mesebox_open_info.pos
local sound = mesebox_open_info.sound
local swap = mesebox_open_info.swap
mesebox.open_meseboxs[pn] = nil
for k, v in pairs(mesebox.open_meseboxs) do
if v.pos.x == pos.x and v.pos.y == pos.y and v.pos.z == pos.z then
return true
end
end
local node = minetest.get_node(pos)
minetest.after(0.2, minetest.swap_node, pos, { name = swap,
param2 = node.param2 })
minetest.sound_play(sound, {gain = 0.3, pos = pos,
max_hear_distance = 10}, true)
end
function mesebox.can_open(pos)
local dirs = {}
dirs.n = {x = pos.x, y = pos.y, z = pos.z+1}
dirs.s = {x = pos.x, y = pos.y, z = pos.z-1}
dirs.w = {x = pos.x-1, y = pos.y, z = pos.z}
dirs.e = {x = pos.x+1, y = pos.y, z = pos.z}
local blocked = 0
for _,dir in pairs(dirs) do
local def = minetest.registered_nodes[minetest.get_node(dir).name]
-- allow ladders, signs, wallmounted things and torches to not obstruct
if def and (def.drawtype == "airlike" or
def.drawtype == "signlike" or
def.drawtype == "torchlike" or
(def.drawtype == "nodebox" and def.paramtype2 == "wallmounted")) then
else
blocked = blocked +1
end
end
return blocked < 4
end
minetest.register_on_player_receive_fields(function(player, formname, fields)
if formname ~= "mesebox:mesebox" then
return
end
if not player or not fields.quit then
return
end
local pn = player:get_player_name()
if not mesebox.open_meseboxs[pn] then
return
end
if fields.alias and fields.alias ~= "" then
local mesebox_open_info = mesebox.open_meseboxs[pn]
local pos = mesebox_open_info.pos
local meta = minetest.get_meta(pos)
meta:set_string("alias", fields.alias)
mesebox.update_ratio(meta)
mesebox.update_infotext(meta)
end
mesebox.mesebox_lid_close(pn)
return true
end)
minetest.register_on_leaveplayer(function(player)
local pn = player:get_player_name()
if mesebox.open_meseboxs[pn] then
mesebox.mesebox_lid_close(pn)
end
end)
function mesebox.update_ratio(meta)
-- update ratio
local inv = meta:get_inventory()
local size = 24
local count = 0
for i = 1, size do
if not inv:get_stack("main", i):is_empty() then count = count + 1 end
end
meta:set_string("ratio", "["..count.."/"..size.."]")
end
function mesebox.update_infotext(meta)
-- update infotext
meta:set_string("infotext", meta:get_string("alias") .. " " .. meta:get_string("ratio"))
end
function mesebox.register_mesebox(name, color, desc)
local def = {}
def.description = desc
def.paramtype = "light"
def.paramtype2 = "facedir"
def.is_ground_content = false
def.sunlight_propagates = false
def.groups = { choppy = 2, oddly_breakable_by_hand = 3, tubedevice = 1,
tubedevice_receiver = 1, mesebox = 1 }
def.sounds = default.node_sound_wood_defaults()
def.sound_open = "mesebox_open"
def.sound_close = "mesebox_close"
def.stack_max = 1
def.drop = ""
-- Called every time the item is placed in the world, before 'after_place_node'.
def.on_construct = function(pos)
-- Nothing to do here, everything is initialized in
-- 'after_place_node'
end
def.on_rightclick = function(pos, node, clicker)
-- XXX: The Scanner is currently blocking from opening so don't do this for now.
-- if not mesebox.can_open(pos) then
-- return
-- end
minetest.sound_play(def.sound_open, {gain = 0.5, pos = pos,
max_hear_distance = 10}, true)
minetest.swap_node(pos, { name = name .. "_open",
param2 = node.param2 })
minetest.after(0.2, minetest.show_formspec,
clicker:get_player_name(),
"mesebox:mesebox", mesebox.get_mesebox_formspec(pos))
mesebox.open_meseboxs[clicker:get_player_name()] = {
pos = pos, sound = def.sound_close, swap = name
}
end
def.on_blast = function(pos)
local drops = {}
mesebox.get_inventory_drops(pos, "main", drops)
drops[#drops+1] = name
minetest.remove_node(pos)
return drops
end
def.allow_metadata_inventory_put = function(pos, listname, index, stack, player)
local name = player:get_player_name()
if minetest.is_protected(pos, name) then
minetest.record_protection_violation(pos, name)
return 0
end
local group = minetest.get_item_group(stack:get_name(), "mesebox")
if group == 0 or group == nil then
return stack:get_count()
else
return 0
end
end
def.allow_metadata_inventory_take = function(pos, listname, index, stack, player)
local name = player:get_player_name()
if minetest.is_protected(pos, name) then
minetest.record_protection_violation(pos, name)
return 0
else
return 99
end
end
def.on_metadata_inventory_put = function(pos, listname, index, stack, player)
local meta = minetest.get_meta(pos)
mesebox.update_ratio(meta)
mesebox.update_infotext(meta)
end
def.on_metadata_inventory_take = function(pos, listname, index, stack, player)
local meta = minetest.get_meta(pos)
mesebox.update_ratio(meta)
mesebox.update_infotext(meta)
end
def.tube = {
insert_object = function(pos, node, stack, direction)
local meta = minetest.get_meta(pos)
local inv = meta:get_inventory()
return inv:add_item("main", stack)
end,
can_insert = function(pos, node, stack, direction)
local meta = minetest.get_meta(pos)
local inv = meta:get_inventory()
if meta:get_int("splitstacks") == 1 then
stack = stack:peek_item(1)
end
return inv:room_for_item("main", stack)
end,
input_inventory = "main",
connect_sides = {left = 1, right = 1, front = 1, back = 1, bottom = 1, top = 1}
}
local def_opened = table.copy(def)
local def_closed = table.copy(def)
local pipes = ""
-- XXX: Was gonna use alternative textures for pipeworks but trying a single
-- more discrete design instead that indicates that pipes are supported.
-- if pipeworks_enabled then
-- pipes = "_pipes"
-- end
def_opened.tiles = {
-- top, bottom, side, side, side, side
color.."_mesebox_top"..pipes..".png",
color.."_mesebox_top"..pipes..".png",
color.."_mesebox_side_open.png",
color.."_mesebox_side_open.png",
color.."_mesebox_side_open.png",
color.."_mesebox_side_open.png",
}
def_closed.tiles = {
-- top, bottom, side, side, side, side
color.."_mesebox_top"..pipes..".png",
color.."_mesebox_top"..pipes..".png",
color.."_mesebox_side"..pipes..".png",
color.."_mesebox_side"..pipes..".png",
color.."_mesebox_side"..pipes..".png",
color.."_mesebox_side"..pipes..".png",
}
def_opened.drop = name
def_opened.groups.not_in_creative_inventory = 1
def_opened.groups.not_in_craft_guide = 1
def_opened.can_dig = function()
return false
end
def_opened.on_blast = function() end
def_closed.after_place_node = function(pos, placer, itemstack, pointed_thing)
local nmeta = minetest.get_meta(pos)
local ninv = nmeta:get_inventory()
local imeta = itemstack:get_meta()
-- Need to re-construct the Node's inventory each time it's placed.
ninv:set_size("main", 8*3)
local data_str = imeta:get_string("data")
if data_str == "" then
-- This Mesebox is placed for the first time, set valid defaults.
nmeta:set_string("alias", desc)
nmeta:set_string("ratio", "[0/24]")
else
local data = minetest.deserialize(data_str)
-- Move inventory from ItemStack to Node.
ninv:set_list("main", data.items)
-- Copy internal variables.
for k,v in pairs(data.fields) do
nmeta:set_string(k,v)
end
end
mesebox.update_infotext(nmeta)
if pipeworks_enabled then
pipeworks.after_place(pos)
end
if minetest.settings:get_bool("creative_mode") then
if not ninv:is_empty("main") then
return nil
else
return itemstack
end
else
return nil
end
end
def_closed.after_dig_node = function(pos, oldnode, oldmetatbl, digger)
-- NOTE: oldmeta is in table format
if not digger then
return
end
local inv = oldmetatbl.inventory.main
-- These can be nil if the mesebox we're picking up is an older version.
-- Default to reasonable values instead of crashing.
if not oldmetatbl.fields or not oldmetatbl.fields.ratio or not oldmetatbl.fields.alias then
oldmetatbl.fields = {
ratio = "",
alias = desc,
}
end
local ratio = oldmetatbl.fields.ratio
local alias = oldmetatbl.fields.alias
-- Move items from the Node to the ItemStack.
local items = {}
for i,v in ipairs(inv) do
items[i] = v:to_string()
end
-- Copy our internal state variables.
local fields = {}
for k,v in pairs(oldmetatbl.fields) do
fields[k] = v
end
local data = {
items = items,
fields = fields,
}
local istack = ItemStack("mesebox:"..color.."_mesebox")
local imeta = istack:get_meta()
imeta:set_string("description", alias.." "..ratio)
-- Serialize and store the Node's inventory and internal variables
-- in the ItemStack's metadata so it can be retrieved later when
-- it is again placed in the world.
imeta:set_string("data", minetest.serialize(data))
local dinv = digger:get_inventory()
if dinv:room_for_item("main", istack) then
dinv:add_item("main", istack)
else
minetest.add_item(pos, istack)
end
if pipeworks_enabled then
pipeworks.after_dig(pos)
end
end
minetest.register_node(name, def_closed)
minetest.register_node(name .. "_open", def_opened)
end
for color, desc in pairs(mesebox.variants) do
local name = "mesebox:" .. color .. "_mesebox"
mesebox.register_mesebox(name, color, desc)
minetest.register_craft({
type = "shapeless",
output = "mesebox:"..color.."_mesebox",
recipe = { "group:mesebox", "dye:"..color }
})
end
minetest.register_craft({ --Make this more expensive.
output = "mesebox:yellow_mesebox 1",
recipe = {
{ "default:mese", "furniture:lock", "default:mese" },
{ "group:wood", "default:mese", "group:wood" },
{ "default:mese", "furniture:hinge", "default:mese" },
}
})
-- Keep inventory of mesebox when changing color by crafting
minetest.register_on_craft(
function(itemstack, player, old_craft_grid, craft_inv)
local new = itemstack:get_name()
if minetest.get_item_group(itemstack:get_name(), "mesebox") ~= 1 then
return
end
-- Search for an existing Mesebox in the crafting grid and store in 'old'.
local old
for i = 1, #old_craft_grid do
local item = old_craft_grid[i]:get_name()
if minetest.get_item_group(item, "mesebox") == 1 then
old = old_craft_grid[i]
break
end
end
if old then
-- Crafting Mesebox with dye
local ometa = old:get_meta()
local imeta = itemstack:get_meta()
local data = minetest.deserialize(ometa:get_string("data"))
if data then
-- Update name with name from new Mesebox and transfer table.
local new_desc = itemstack:get_description()
data.fields.alias = new_desc
ometa:set_string("data", minetest.serialize(data))
imeta:from_table(ometa:to_table())
imeta:set_string("description", new_desc.." "..data.fields.ratio)
else
-- No 'data' means this Mesebox has never been placed.
-- We set defaults in 'after_place_node' when the Mesebox is placed
-- into the world for the first time so leave as is here.
imeta:from_table(ometa:to_table())
end
else
-- Couldn't find existing Mesebox in the crafting grid which
-- means we're crafting a new one.
-- We set defaults in 'after_place_node' when the Mesebox is placed
-- into the world for the first time so leave as is here.
end
return itemstack
end
)

6
mods/mesebox/mod.conf Normal file
View File

@ -0,0 +1,6 @@
name = mesebox
description = Mobile storage box powered by Mese
depends = default
optional_depends = pipeworks
author = johalun
title = Mesebox Mobile Storage

Binary file not shown.

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 286 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 240 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 286 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 438 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 375 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 433 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 320 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 293 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 323 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 398 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 352 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 400 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 451 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 375 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 437 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 464 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 389 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 462 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 412 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 337 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 416 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 378 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 325 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 376 B

View File

@ -84,9 +84,9 @@ mobs:register_mob('mobs_monster:lava_flan', {
mobs:spawn({
name = 'mobs_monster:lava_flan',
nodes = {'default:lava_source', 'nether:lava_source'},
nodes = {'default:lava_source', 'nether:lava_source', 'nether:lava_crust'},
chance = 1500,
active_object_count = 1,
active_object_count = 10,
max_height = 0,
})

View File

@ -16,7 +16,6 @@ minetest.register_chatcommand('spawn', {
minetest.register_chatcommand('interact', {
description = 'Gives player interact',
params = 'keyword',
privs = {home=true},
func = function(name, params)
if params == 'strawhat' then

View File

@ -1,7 +1,13 @@
local news = {
'11/5/20',
'Added the mesebox mod.',
'Kitchen cabinets now have a face on the back wall.',
'Added double gate.',
'',
'10/31/20',
'AFK timeout increased to 15 minutes.',
'AFK players are no longer counted when trying to skip the night.',
'You can now show rules to player without interact, use /rules <playername>',
'',
'10/28/20',
'Removed the side space check for the flour mill, should not have been there.',

View File

@ -138,6 +138,13 @@ stations.dual_register_recipe('woodworking', {
output = 'furniture:fence_1_c',
})
stations.dual_register_recipe('woodworking', {
input = {
['group:wood'] = 2,
},
output = 'furniture:fence_1_e',
})
local colors = {
'grey', 'dark_grey', 'black', 'violet', 'blue', 'cyan', 'dark_green', 'green',

View File

@ -186,6 +186,7 @@ mobs:register_mob('zombies:normal', {
minetest.chat_send_player(player, '[Zombie] Braaaaaiiiiiiiiiinnnnnnnssssssssssssss')
self.owner = player
self.order = 'stand'
self.light_damage = 0
item:take_item(1)
clicker:set_wielded_item(item)
end