529 lines
12 KiB
Lua
529 lines
12 KiB
Lua
model_detail = minetest.settings:get("assets_warehouse_model_quality") or 3
|
|
minetest.register_node('assets_warehouse:care_bears_heart', {
|
|
drawtype = 'mesh',
|
|
mesh = 'care_bears_heartMD'..model_detail..'.obj',
|
|
tiles ={'care_bears_heart.png'},
|
|
description= 'A heart',
|
|
stack_max = 1,
|
|
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 3},
|
|
paramtype2 = "facedir",
|
|
is_ground_content=true,
|
|
climbable=false,
|
|
buildable_to=false,
|
|
damage_per_second=0,
|
|
diggable=true,
|
|
drowning=0,
|
|
floodable=false,
|
|
range=5.0,
|
|
selection_box = {
|
|
type = "fixed",
|
|
fixed = {
|
|
{-0.5,0.4,-0.09,0.5,-0.5,0.09},
|
|
},
|
|
},
|
|
collision_box = {
|
|
type = "fixed",
|
|
fixed = {
|
|
{-0.5,0.4,-0.09,0.5,-0.5,0.09},
|
|
},
|
|
},
|
|
sunlight_propagates=true,
|
|
use_texture_alpha=false,
|
|
walkable=true,
|
|
pointable=true,
|
|
})
|
|
minetest.register_node('assets_warehouse:care_bears_pole', {
|
|
drawtype = 'mesh',
|
|
mesh = 'care_bears_poleMD'..model_detail..'.obj',
|
|
tiles ={'care_bears_pole.png'},
|
|
description= 'A pole',
|
|
stack_max = 1,
|
|
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 3},
|
|
paramtype2 = "facedir",
|
|
is_ground_content=true,
|
|
climbable=false,
|
|
buildable_to=false,
|
|
damage_per_second=0,
|
|
diggable=true,
|
|
drowning=0,
|
|
floodable=false,
|
|
range=5.0,
|
|
selection_box = {
|
|
type = "fixed",
|
|
fixed = {
|
|
{-0.25,0.5,-0.25,0.25,-0.5,0.25},
|
|
},
|
|
},
|
|
collision_box = {
|
|
type = "fixed",
|
|
fixed = {
|
|
{-0.25,0.5,-0.25,0.25,-0.5,0.25},
|
|
},
|
|
},
|
|
|
|
sunlight_propagates=true,
|
|
use_texture_alpha=false,
|
|
walkable=true,
|
|
pointable=true,
|
|
})
|
|
|
|
|
|
minetest.register_node('assets_warehouse:care_bears_cloud_block', {
|
|
drawtype = 'mesh',
|
|
mesh = 'care_bears_cloud_blockMD'..model_detail..'.obj',
|
|
tiles ={'care_bears_cloud_block.png'},
|
|
description= 'A experiment',
|
|
stack_max = 1,
|
|
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 3},
|
|
paramtype2 = "facedir",
|
|
is_ground_content=true,
|
|
climbable=false,
|
|
buildable_to=false,
|
|
damage_per_second=0,
|
|
diggable=true,
|
|
drowning=0,
|
|
floodable=false,
|
|
range=5.0,
|
|
sunlight_propagates=true,
|
|
use_texture_alpha=false,
|
|
walkable=true,
|
|
pointable=true,
|
|
})
|
|
|
|
|
|
minetest.register_node('assets_warehouse:care_bears_star', {
|
|
drawtype = 'mesh',
|
|
mesh = 'care_bears_starMD'..model_detail..'.obj',
|
|
tiles ={'care_bears_star.png'},
|
|
description= 'A start',
|
|
stack_max = 1,
|
|
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 3},
|
|
paramtype2 = "facedir",
|
|
is_ground_content=true,
|
|
climbable=false,
|
|
buildable_to=false,
|
|
damage_per_second=0,
|
|
diggable=true,
|
|
drowning=0,
|
|
floodable=false,
|
|
range=5.0,
|
|
selection_box = {
|
|
type = "fixed",
|
|
fixed = {
|
|
{-0.5,0.5,-0.09,0.5,-0.5,0.09},
|
|
},
|
|
},
|
|
collision_box = {
|
|
type = "fixed",
|
|
fixed = {
|
|
{-0.5,0.5,-0.09,0.5,-0.5,0.09},
|
|
},
|
|
},
|
|
sunlight_propagates=true,
|
|
use_texture_alpha=false,
|
|
walkable=true,
|
|
pointable=true,
|
|
})
|
|
|
|
|
|
minetest.register_node('assets_warehouse:care_bears_heart_flowers', {
|
|
drawtype = 'mesh',
|
|
mesh = 'care_bears_heart_flowersMD'..model_detail..'.obj',
|
|
tiles ={'care_bears_heart_flowers.png'},
|
|
description= 'A flower whit a heart',
|
|
stack_max = 15,
|
|
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 3},
|
|
paramtype2 = "facedir",
|
|
is_ground_content=true,
|
|
climbable=false,
|
|
buildable_to=true,
|
|
damage_per_second=0,
|
|
diggable=true,
|
|
drowning=0,
|
|
floodable=true,
|
|
range=5.0,
|
|
selection_box = {
|
|
type = "fixed",
|
|
fixed = {
|
|
{-0.5,-0.4,-0.5,0.5,-0.5,0.5},
|
|
|
|
},
|
|
},
|
|
sunlight_propagates=true,
|
|
use_texture_alpha=false,
|
|
walkable=false,
|
|
pointable=true,
|
|
})
|
|
minetest.register_node('assets_warehouse:care_bears_heart_flower2', {
|
|
drawtype = 'mesh',
|
|
mesh = 'care_bears_heart_flower2MD'..model_detail..'.obj',
|
|
tiles ={'care_bears_heart_flower2.png'},
|
|
description= 'Bunch of tiny flowers whit the shape of hearts',
|
|
stack_max = 6,
|
|
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 3},
|
|
paramtype2 = "facedir",
|
|
is_ground_content=true,
|
|
climbable=false,
|
|
buildable_to=true,
|
|
damage_per_second=0,
|
|
diggable=true,
|
|
drowning=0,
|
|
floodable=true,
|
|
range=5.0,
|
|
selection_box = {
|
|
type = "fixed",
|
|
fixed = {
|
|
{-0.1,0.1,-0.1,0.1,-0.5,0.1},
|
|
},
|
|
},
|
|
sunlight_propagates=true,
|
|
use_texture_alpha=false,
|
|
walkable=false,
|
|
pointable=true,
|
|
})
|
|
|
|
minetest.register_node('assets_warehouse:care_bears_tree', {
|
|
drawtype = 'mesh',
|
|
mesh = 'care_bears_tree.obj',
|
|
tiles ={'care_bears_tree.png'},
|
|
description= 'A tree whit hearts',
|
|
stack_max = 1,
|
|
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 3},
|
|
paramtype2 = "facedir",
|
|
is_ground_content=true,
|
|
climbable=false,
|
|
buildable_to=false,
|
|
damage_per_second=0,
|
|
diggable=true,
|
|
drowning=0,
|
|
floodable=false,
|
|
range=5.0,
|
|
selection_box = {
|
|
type = "fixed",
|
|
fixed = {
|
|
{-0.5,4.5,-0.5,0.5,-0.5,0.5},
|
|
},
|
|
},
|
|
collision_box = {
|
|
type = "fixed",
|
|
fixed = {
|
|
{-0.5,1.0,-0.5,0.5,-0.5,0.5},
|
|
},
|
|
},
|
|
sunlight_propagates=true,
|
|
use_texture_alpha=false,
|
|
walkable=true,
|
|
pointable=true,
|
|
})
|
|
|
|
minetest.register_node('assets_warehouse:care_bears_fence', {
|
|
drawtype = 'mesh',
|
|
mesh = 'care_bears_fence.obj',
|
|
tiles ={'care_bears_fence.png'},
|
|
description= 'A fence whit hearts',
|
|
stack_max = 1,
|
|
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 3},
|
|
paramtype2 = "facedir",
|
|
is_ground_content=true,
|
|
climbable=false,
|
|
buildable_to=false,
|
|
damage_per_second=0,
|
|
diggable=true,
|
|
drowning=0,
|
|
floodable=false,
|
|
range=5.0,
|
|
selection_box = {
|
|
type = "fixed",
|
|
fixed = {
|
|
{-0.5,0.47,-0.1,0.5,-0.5,0.05},
|
|
},
|
|
},
|
|
collision_box = {
|
|
type = "fixed",
|
|
fixed = {
|
|
{-0.5,0.47,-0.1,0.5,-0.5,0.05},
|
|
},
|
|
},
|
|
sunlight_propagates=true,
|
|
use_texture_alpha=false,
|
|
walkable=true,
|
|
pointable=true,
|
|
})
|
|
|
|
minetest.register_node('assets_warehouse:care_bears_fence_corner', {
|
|
drawtype = 'mesh',
|
|
mesh = 'care_bears_fence_corner.obj',
|
|
tiles ={'care_bears_fence.png'},
|
|
description= 'A fence whit hearts',
|
|
stack_max = 1,
|
|
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 3},
|
|
paramtype2 = "facedir",
|
|
is_ground_content=true,
|
|
climbable=false,
|
|
buildable_to=false,
|
|
damage_per_second=0,
|
|
diggable=true,
|
|
drowning=0,
|
|
floodable=false,
|
|
range=5.0,
|
|
selection_box = {
|
|
type = "fixed",
|
|
fixed = {
|
|
{-0.1,0.47,-0.1,0.5,-0.5,0.05},
|
|
{-0.1,0.47,0.0,0.1,-0.5,0.5},
|
|
},
|
|
},
|
|
collision_box = {
|
|
type = "fixed",
|
|
fixed = {
|
|
{-0.1,0.47,-0.1,0.5,-0.5,0.05},
|
|
{-0.1,0.47,0.0,0.1,-0.5,0.5},
|
|
},
|
|
},
|
|
sunlight_propagates=true,
|
|
use_texture_alpha=false,
|
|
walkable=true,
|
|
pointable=true,
|
|
})
|
|
|
|
|
|
minetest.register_node('assets_warehouse:care_bears_popcornmachine', {
|
|
drawtype = 'mesh',
|
|
mesh = 'care_bears_popcornmachine.obj',
|
|
tiles ={'care_bears_popcornmachine.png'},
|
|
description= 'A popcornmachine hearts',
|
|
stack_max = 1,
|
|
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 3},
|
|
paramtype2 = "facedir",
|
|
is_ground_content=true,
|
|
climbable=false,
|
|
buildable_to=false,
|
|
damage_per_second=0,
|
|
diggable=true,
|
|
drowning=0,
|
|
floodable=false,
|
|
range=5.0,
|
|
selection_box = {
|
|
type = "fixed",
|
|
fixed = {
|
|
{-0.3,0.15,-0.15,0.3,-0.5,0.5},
|
|
},
|
|
},
|
|
collision_box = {
|
|
type = "fixed",
|
|
fixed = {
|
|
{-0.3,0.15,-0.15,0.3,-0.5,0.5},
|
|
},
|
|
},
|
|
sunlight_propagates=true,
|
|
use_texture_alpha=false,
|
|
walkable=true,
|
|
pointable=true,
|
|
})
|
|
|
|
|
|
minetest.register_node('assets_warehouse:care_bears_basquet', {
|
|
drawtype = 'mesh',
|
|
mesh = 'care_bears_basquetMD'..model_detail..'.obj',
|
|
tiles ={'care_bears_basquet.png'},
|
|
description= 'A basquet',
|
|
stack_max = 1,
|
|
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 3},
|
|
paramtype2 = "facedir",
|
|
is_ground_content=true,
|
|
climbable=false,
|
|
buildable_to=false,
|
|
damage_per_second=0,
|
|
diggable=true,
|
|
drowning=0,
|
|
floodable=false,
|
|
range=5.0,
|
|
selection_box = {
|
|
type = "fixed",
|
|
fixed = {
|
|
{-0.5,0.1,-0.5,0.5,-0.5,0.5},
|
|
},
|
|
},
|
|
collision_box = {
|
|
type = "fixed",
|
|
fixed = {
|
|
{-0.5,0.1,-0.5,0.5,-0.5,0.5},
|
|
},
|
|
},
|
|
sunlight_propagates=true,
|
|
use_texture_alpha=false,
|
|
walkable=true,
|
|
pointable=true,
|
|
})
|
|
|
|
minetest.register_node('assets_warehouse:care_bears_box', {
|
|
drawtype = 'mesh',
|
|
mesh = 'care_bears_box.obj',
|
|
tiles ={'care_bears_box.png'},
|
|
description= 'A box',
|
|
stack_max = 1,
|
|
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 3},
|
|
paramtype2 = "facedir",
|
|
is_ground_content=true,
|
|
climbable=false,
|
|
buildable_to=false,
|
|
damage_per_second=0,
|
|
diggable=true,
|
|
drowning=0,
|
|
floodable=false,
|
|
range=5.0,
|
|
selection_box = {
|
|
type = "fixed",
|
|
fixed = {
|
|
{-0.5,0,-0.25,0.5,-0.5,0.25},
|
|
},
|
|
},
|
|
collision_box = {
|
|
type = "fixed",
|
|
fixed = {
|
|
{-0.5,0,-0.25,0.5,-0.5,0.25},
|
|
},
|
|
},
|
|
sunlight_propagates=true,
|
|
use_texture_alpha=false,
|
|
walkable=true,
|
|
pointable=true,
|
|
})
|
|
|
|
minetest.register_node('assets_warehouse:care_bears_pie', {
|
|
drawtype = 'mesh',
|
|
mesh = 'care_bears_pie.obj',
|
|
tiles ={'care_bears_pie.png'},
|
|
description= 'A pie',
|
|
stack_max = 1,
|
|
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 3},
|
|
paramtype2 = "facedir",
|
|
is_ground_content=true,
|
|
climbable=false,
|
|
buildable_to=false,
|
|
damage_per_second=0,
|
|
diggable=true,
|
|
drowning=0,
|
|
floodable=false,
|
|
range=5.0,
|
|
selection_box = {
|
|
type = "fixed",
|
|
fixed = {
|
|
{-0.5,0,-0.5,0.5,-0.5,0.5},
|
|
},
|
|
},
|
|
collision_box = {
|
|
type = "fixed",
|
|
fixed = {
|
|
{-0.5,0,-0.5,0.5,-0.5,0.5},
|
|
},
|
|
},
|
|
sunlight_propagates=true,
|
|
use_texture_alpha=false,
|
|
walkable=true,
|
|
pointable=true,
|
|
})
|
|
|
|
minetest.register_node('assets_warehouse:care_bears_pie2', {
|
|
drawtype = 'mesh',
|
|
mesh = 'care_bears_pie2.obj',
|
|
tiles ={'care_bears_pie2.png'},
|
|
description= 'A pie',
|
|
stack_max = 1,
|
|
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 3},
|
|
paramtype2 = "facedir",
|
|
is_ground_content=true,
|
|
climbable=false,
|
|
buildable_to=false,
|
|
damage_per_second=0,
|
|
diggable=true,
|
|
drowning=0,
|
|
floodable=false,
|
|
range=5.0,
|
|
selection_box = {
|
|
type = "fixed",
|
|
fixed = {
|
|
{-0.5,0,-0.5,0.5,-0.5,0.5},
|
|
},
|
|
},
|
|
collision_box = {
|
|
type = "fixed",
|
|
fixed = {
|
|
{-0.5,0,-0.5,0.5,-0.5,0.5},
|
|
},
|
|
},
|
|
sunlight_propagates=true,
|
|
use_texture_alpha=false,
|
|
walkable=true,
|
|
pointable=true,
|
|
})
|
|
|
|
minetest.register_node('assets_warehouse:care_bears_table', {
|
|
drawtype = 'mesh',
|
|
mesh = 'care_bears_tableMD'..model_detail..'.obj',
|
|
tiles ={'care_bears_table.png'},
|
|
description= 'A table',
|
|
stack_max = 1,
|
|
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 3},
|
|
paramtype2 = "facedir",
|
|
is_ground_content=true,
|
|
climbable=false,
|
|
buildable_to=false,
|
|
damage_per_second=0,
|
|
diggable=true,
|
|
drowning=0,
|
|
floodable=false,
|
|
range=5.0,
|
|
selection_box = {
|
|
type = "fixed",
|
|
fixed = {
|
|
{-1.0,0.5,-1.0,1.0,-0.5,1.0},
|
|
},
|
|
},
|
|
collision_box = {
|
|
type = "fixed",
|
|
fixed = {
|
|
{-1.0,0.5,-1.0,1.0,-0.5,1.0},
|
|
},
|
|
},
|
|
sunlight_propagates=true,
|
|
use_texture_alpha=false,
|
|
walkable=true,
|
|
pointable=true,
|
|
})
|
|
|
|
minetest.register_node('assets_warehouse:care_bears_garden_umbrella', {
|
|
drawtype = 'mesh',
|
|
mesh = 'care_bears_garden_umbrella.obj',
|
|
tiles ={'care_bears_garden_umbrella.png'},
|
|
description= 'A big umbrella',
|
|
stack_max = 1,
|
|
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 3},
|
|
paramtype2 = "facedir",
|
|
is_ground_content=true,
|
|
climbable=false,
|
|
buildable_to=false,
|
|
damage_per_second=0,
|
|
diggable=true,
|
|
drowning=0,
|
|
floodable=false,
|
|
range=5.0,
|
|
selection_box = {
|
|
type = "fixed",
|
|
fixed = {
|
|
{-2.5,2.5,-2.5,2.0,2.0,2.5},
|
|
{-0.1,3.0,-0.1,0.1,-0.5,0.1},
|
|
},
|
|
},
|
|
collision_box = {
|
|
type = "fixed",
|
|
fixed = {
|
|
{-2.5,2.5,-2.5,2.5,2.0,2.5},
|
|
{-0.1,3.0,-0.1,0.1,-0.5,0.1},
|
|
},
|
|
},
|
|
sunlight_propagates=true,
|
|
use_texture_alpha=false,
|
|
walkable=true,
|
|
pointable=true,
|
|
}) |