498 lines
15 KiB
Lua
498 lines
15 KiB
Lua
model_detail = minetest.settings:get("assets_warehouse_model_quality") or 2
|
|
texture_detail = minetest.settings:get("assets_warehouse_texture_quality") or 2
|
|
|
|
minetest.register_node('assets_warehouse:peppert_bedrom_chest', {
|
|
drawtype = 'mesh',
|
|
mesh = 'peppert_bedrom_chestMD'..model_detail..'.obj',
|
|
tiles ={'peppert_bedrom_chestTQ'..texture_detail..'.png'},
|
|
description= 'chest',
|
|
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.5,1.5,-0.5,0.25},
|
|
},
|
|
},
|
|
collision_box = {
|
|
type = "fixed",
|
|
fixed = {
|
|
{-0.5,0.5,-0.5,1.5,-0.5,0.25},
|
|
},
|
|
},
|
|
sunlight_propagates=false,
|
|
use_texture_alpha=false,
|
|
walkable=true,
|
|
pointable=true,
|
|
})
|
|
|
|
minetest.register_node('assets_warehouse:peppert_and_carrot_cristall_ball', {
|
|
drawtype = 'mesh',
|
|
mesh = 'peppert_and_carrot_cristall_ballMD'..model_detail..'.obj',
|
|
tiles ={'peppert_and_carrot_cristall_ball.png'},
|
|
description= 'A cristall ball',
|
|
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.2,0,-0.2,0.2,-0.5,0.2},
|
|
},
|
|
},
|
|
collision_box = {
|
|
type = "fixed",
|
|
fixed = {
|
|
{-0.2,0,-0.2,0.2,-0.5,0.2},
|
|
},
|
|
},
|
|
sunlight_propagates=true,
|
|
use_texture_alpha=false,
|
|
walkable=true,
|
|
pointable=true,
|
|
})
|
|
|
|
minetest.register_node('assets_warehouse:peppert_and_carrot_little_chair', {
|
|
drawtype = 'mesh',
|
|
mesh = 'peppert_and_carrot_little_chairMD'..model_detail..'.obj',
|
|
tiles ={'peppert_and_carrot_little_chairTQ'..texture_detail..'.png'},
|
|
description= 'A little chair',
|
|
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.05,-0.3,0.3,-0.5,0.3},
|
|
},
|
|
},
|
|
collision_box = {
|
|
type = "fixed",
|
|
fixed = {
|
|
{-0.3,-0.05,-0.3,0.3,-0.5,0.3},
|
|
},
|
|
},
|
|
sunlight_propagates=true,
|
|
use_texture_alpha=false,
|
|
walkable=true,
|
|
pointable=true,
|
|
})
|
|
|
|
minetest.register_node('assets_warehouse:peppert_and_carrot_table', {
|
|
drawtype = 'mesh',
|
|
mesh = 'peppert_and_carrot_table.obj',
|
|
tiles ={'peppert_and_carrot_tableTQ'..texture_detail..'.png'},
|
|
description= 'A table',
|
|
stack_max = 1,
|
|
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, bed = 1},
|
|
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.5,0.5,-0.5,1.5,-0.5,0.5},
|
|
},
|
|
},
|
|
collision_box = {
|
|
type = "fixed",
|
|
fixed = {
|
|
{-1.5,0.5,-0.5,1.5,-0.5,0.5},
|
|
},
|
|
},
|
|
sunlight_propagates=true,
|
|
use_texture_alpha=false,
|
|
walkable=true,
|
|
pointable=true,
|
|
})
|
|
|
|
minetest.register_node('assets_warehouse:peppert_and_and_carrot_floordeco', {
|
|
drawtype = 'mesh',
|
|
mesh = 'peppert_and_and_carrot_floordeco.obj',
|
|
tiles ={'peppert_and_and_carrot_floordecoTQ'..texture_detail..'.png'},
|
|
description= 'A deco for the floor based in those in peppert bedroom',
|
|
stack_max = 1,
|
|
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, bed = 1},
|
|
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,-5.5,5.5,-0.5,1.5},
|
|
},
|
|
},
|
|
sunlight_propagates=false,
|
|
use_texture_alpha=false,
|
|
walkable=true,
|
|
pointable=true,
|
|
})
|
|
|
|
minetest.register_node('assets_warehouse:peppert_and_carrot_mirror', {
|
|
drawtype = 'mesh',
|
|
mesh = 'peppert_and_carrot_mirrorMD'..model_detail..'.obj',
|
|
tiles ={'peppert_and_carrot_mirrorTQ'..texture_detail..'.png'},
|
|
description= 'A magic mirror who only functions whit magic',
|
|
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,1.5,-0.05,0.5,-0.5,0.05},
|
|
},
|
|
},
|
|
collision_box = {
|
|
type = "fixed",
|
|
fixed = {
|
|
{-0.5,1.5,-0.05,0.5,-0.5,0.05},
|
|
},
|
|
},
|
|
sunlight_propagates=true,
|
|
use_texture_alpha=false,
|
|
walkable=true,
|
|
pointable=true,
|
|
})
|
|
|
|
minetest.register_node('assets_warehouse:peppert_and_carrot_wardrobe', {
|
|
drawtype = 'mesh',
|
|
mesh = 'peppert_and_carrot_wardrobe.obj',
|
|
tiles ={'peppert_and_carrot_wardrobeTQ'..texture_detail..'.png'},
|
|
description= 'A wardrobe',
|
|
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.5,-1.5,-0.5,1.5,-0.5,0.5},
|
|
},
|
|
},
|
|
collision_box = {
|
|
type = "fixed",
|
|
fixed = {
|
|
{-1.5,-1.5,-0.5,1.5,-0.5,0.5},
|
|
},
|
|
},
|
|
sunlight_propagates=false,
|
|
use_texture_alpha=false,
|
|
walkable=true,
|
|
pointable=true,
|
|
})
|
|
|
|
minetest.register_node('assets_warehouse:peppert_and_carrot_broom', {
|
|
drawtype = 'mesh',
|
|
mesh = 'peppert_and_carrot_broomMD'..model_detail..'.obj',
|
|
tiles ={'peppert_and_carrot_broom.png'},
|
|
description= 'A magic broom who can fly whith rea or a potion of flight(or whit the code to do it)',
|
|
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.02,1.0,-0.02,0.02,-0.5,0.02},
|
|
{-0.1,1.1,-0.04,0.1,0.8,0.04},
|
|
},
|
|
},
|
|
collision_box = {
|
|
type = "fixed",
|
|
fixed = {
|
|
{-0.02,1.0,-0.02,0.02,-0.5,0.02},
|
|
{-0.1,1.1,-0.04,0.1,0.8,0.04},
|
|
},
|
|
},
|
|
sunlight_propagates=true,
|
|
use_texture_alpha=false,
|
|
walkable=true,
|
|
pointable=true,
|
|
})
|
|
|
|
assets_warehouse.item("peppert_and_carrot_potion_fire_dance",'peppert_and_carrot_potionMD'..model_detail..'.obj',
|
|
{'peppert_and_carrot_potion_fire_dance.png'},'peppert_and_carrot_potion_fire_dancepreview.png',
|
|
{type = "fixed",fixed = {{-0.1,-0.1,-0.1,0.1,-0.5,0.1},},},{fixed = {{-0.1,-0.2,-0.1,0.1,-0.5,0.1},},},"A potion good for baths and bad for big kitys")
|
|
|
|
assets_warehouse.item("peppert_and_carrot_potion_deep_ocean",'peppert_and_carrot_potionMD'..model_detail..'.obj',
|
|
{'peppert_and_carrot_potion_deep_ocean.png'},'peppert_and_carrot_potion_deep_oceanpreview.png',
|
|
{type = "fixed",fixed = {{-0.1,-0.1,-0.1,0.1,-0.5,0.1},},},{fixed = {{-0.1,-0.2,-0.1,0.1,-0.5,0.1},},},"A potion good for baths and and bad for stray kitys")
|
|
|
|
assets_warehouse.item("peppert_and_carrot_potion_nature",'peppert_and_carrot_potionMD'..model_detail..'.obj',
|
|
{'peppert_and_carrot_potion_nature.png'},'peppert_and_carrot_potion_naturepreview.png',
|
|
{type = "fixed",fixed = {{-0.1,-0.1,-0.1,0.1,-0.5,0.1},},},{fixed = {{-0.1,-0.2,-0.1,0.1,-0.5,0.1},},},"A potion good for baths")
|
|
|
|
|
|
assets_warehouse.item("peppert_and_carrot_potion_violent",'peppert_and_carrot_potionMD'..model_detail..'.obj',
|
|
{'peppert_and_carrot_potion_violent.png'},'peppert_and_carrot_potion_violentpreview.png',
|
|
{type = "fixed",fixed = {{-0.1,-0.1,-0.1,0.1,-0.5,0.1},},},{fixed = {{-0.1,-0.2,-0.1,0.1,-0.5,0.1},},},"A potion good for baths and bad for female kitys")
|
|
|
|
|
|
minetest.register_node('assets_warehouse:peppert_and_carrot_winner_ribborn', {
|
|
drawtype = 'mesh',
|
|
mesh = 'peppert_and_carrot_winner_ribbornMD'..model_detail..'.obj',
|
|
tiles ={'peppert_and_carrot_winner_ribborn.png'},
|
|
description= 'Medal for "win" the potion contest',
|
|
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.4,0.5,0.1,-0.5,0.4},
|
|
},
|
|
},
|
|
collision_box = {
|
|
type = "fixed",
|
|
fixed = {
|
|
{-0.1,0.4,0.5,0.1,-0.5,0.4},
|
|
},
|
|
},
|
|
sunlight_propagates=true,
|
|
use_texture_alpha=true,
|
|
walkable=true,
|
|
pointable=true,
|
|
})
|
|
|
|
assets_warehouse.item("peppert_and_and_carrot_book_Incantation_for_demonds_of_chaosa_vol1",'peppert_and_and_carrot_book_Incantation_for_demonds_of_chaosa_vol1.obj',
|
|
{'peppert_and_and_carrot_book_Incantation_for_demonds_of_chaosa_vol1.png'},'peppert_and_and_carrot_book_Incantation_for_demonds_of_chaosa_vol1preview.png',
|
|
{type = "fixed",fixed = {{-0.1,-0.4,-0.1,0.25,-0.5,0.25},},},{fixed = {{-0.1,-0.4,-0.1,0.25,-0.5,0.25},},},"This books lets a chaosa withc invoke demonds")
|
|
|
|
|
|
|
|
assets_warehouse.item("peppert_and_carrot_mountaint_signal",'peppert_and_carrot_mountaint_signalMD'..model_detail..'.obj',
|
|
{'peppert_and_carrot_mountaint_signal.png'},'peppert_and_carrot_mountaint_signalpreview.png',
|
|
{type = "fixed",fixed = {{-0.1,-0.4,-0.1,0.25,-0.5,0.25},},},{fixed = {{-0.1,-0.4,-0.1,0.25,-0.5,0.25},},},"Siganl of the rock creature")
|
|
|
|
assets_warehouse.item("peppert_and_carrot_forest_signal",'peppert_and_carrot_forest_signalMD'..model_detail..'.obj',
|
|
{'peppert_and_carrot_forest_signal.png'},'peppert_and_carrot_forest_signalpreview.png',
|
|
{type = "fixed",fixed = {{-0.1,-0.4,-0.1,0.25,-0.5,0.25},},},{fixed = {{-0.1,-0.4,-0.1,0.25,-0.5,0.25},},},"Siganl of the smiling tree")
|
|
|
|
assets_warehouse.item("peppert_and_carrot_clouds_signal",'peppert_and_carrot_clouds_signal.obj',
|
|
{'peppert_and_carrot_clouds_signal.png'},'peppert_and_carrot_clouds_signalpreview.png',
|
|
{type = "fixed",fixed = {{-0.1,-0.4,-0.1,0.25,-0.5,0.25},},},{fixed = {{-0.1,-0.4,-0.1,0.25,-0.5,0.25},},},"Siganl of the smiling tree")
|
|
|
|
|
|
|
|
minetest.register_node('assets_warehouse:peppert_and_carrot_mushroom', {
|
|
drawtype = 'mesh',
|
|
mesh = 'peppert_and_carrot_mushroomMD'..model_detail..'.obj',
|
|
tiles ={'peppert_and_carrot_mushroom.png'},
|
|
description= 'A mushroom who can be eated or nod?',
|
|
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.2,-0.3,0.2,0.2,-0.5,-0.2},
|
|
},
|
|
},
|
|
collision_box = {
|
|
type = "fixed",
|
|
fixed = {
|
|
{-0.2,-0.3,0.2,0.2,-0.5,-0.2},
|
|
},
|
|
},
|
|
sunlight_propagates=true,
|
|
use_texture_alpha=true,
|
|
walkable=true,
|
|
pointable=true,
|
|
})
|
|
|
|
|
|
assets_warehouse.item("peppert_and_carrot_coral_crown",'peppert_and_carrot_coral_crownMD'..model_detail..'.obj',
|
|
{'peppert_and_carrot_coral_crown.png'},'peppert_and_carrot_coral_crownpreview.png',
|
|
{type = "fixed",fixed = {{-0.1,-0.4,-0.1,0.25,-0.5,0.25},},},{fixed = {{-0.1,-0.4,-0.1,0.25,-0.5,0.25},},},"For the cat of the fish")
|
|
|
|
|
|
|
|
minetest.register_node('assets_warehouse:peppert_and_carrot_acren_symbol', {
|
|
drawtype = 'mesh',
|
|
mesh = 'peppert_and_carrot_acren_symbol.obj',
|
|
tiles ={'peppert_and_carrot_acren_symbol.png'},
|
|
description= 'Symbol of the Acren kindom',
|
|
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.35,0.5,-0.5,0.4},
|
|
},
|
|
},
|
|
collision_box = {
|
|
type = "fixed",
|
|
fixed = {
|
|
{-0.5,0.5,0.45,0.5,-0.5,0.5},
|
|
},
|
|
},
|
|
sunlight_propagates=true,
|
|
use_texture_alpha=true,
|
|
walkable=true,
|
|
pointable=true,
|
|
})
|
|
|
|
|
|
|
|
assets_warehouse.item("peppert_and_carrot_cat_helmet",'peppert_and_carrot_cat_helmet.obj',
|
|
{'peppert_and_carrot_cat_helmet.png'},'peppert_and_carrot_cat_helmetpreview.png',
|
|
{type = "fixed",fixed = {{-0.1,-0.4,-0.1,0.25,-0.5,0.25},},},{fixed = {{-0.1,-0.4,-0.1,0.25,-0.5,0.25},},},"For the cat of the dentist")
|
|
|
|
|
|
|
|
minetest.register_node('assets_warehouse:peppert_and_carrot_dentist_dragon_tool', {
|
|
drawtype = 'mesh',
|
|
mesh = 'peppert_and_carrot_dentist_dragon_tool.obj',
|
|
tiles ={'peppert_and_carrot_dentist_dragon_tool.png'},
|
|
description= 'For dragons',
|
|
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.15,0.25,-0.5,-0.15},
|
|
},
|
|
},
|
|
collision_box = {
|
|
type = "fixed",
|
|
fixed = {
|
|
{-0.25,0.5,0.15,0.25,-0.5,-0.15},
|
|
},
|
|
},
|
|
sunlight_propagates=true,
|
|
use_texture_alpha=true,
|
|
walkable=true,
|
|
pointable=true,
|
|
})
|
|
|
|
minetest.register_node('assets_warehouse:peppert_and_carrot_dragon_teeth', {
|
|
drawtype = 'mesh',
|
|
mesh = 'peppert_and_carrot_dragon_teeth.obj',
|
|
tiles ={'peppert_and_carrot_dragon_teeth.png'},
|
|
description= 'Dragons teeth',
|
|
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.5,2.0,-0.5,-0.5},
|
|
},
|
|
},
|
|
collision_box = {
|
|
type = "fixed",
|
|
fixed = {
|
|
{-0.5,0.5,0.5,2.0,-0.5,-0.5},
|
|
},
|
|
},
|
|
sunlight_propagates=true,
|
|
use_texture_alpha=true,
|
|
walkable=true,
|
|
pointable=true,
|
|
})
|
|
|
|
|
|
assets_warehouse.item("peppert_and_carrot_voting",'peppert_and_carrot_voting.obj',
|
|
{'peppert_and_carrot_voting.png'},'peppert_and_carrot_votingpreview.png',
|
|
{type = "fixed",fixed = {{-0.1,-0.4,-0.1,0.25,-0.5,0.25},},},{fixed = {{-0.1,-0.4,-0.1,0.25,-0.5,0.25},},},"For the cat of the dentist") |