81 lines
1.9 KiB
Lua
81 lines
1.9 KiB
Lua
model_detail = minetest.settings:get("assets_warehouse_model_quality") or 3
|
|
minetest.register_node('assets_warehouse:greedy', {
|
|
drawtype = 'mesh',
|
|
mesh = 'greedyMD'..model_detail..'.obj',
|
|
tiles ={'greedy.png'},
|
|
description= 'Greedy character from Aperture Desk Job',
|
|
stack_max = 1,
|
|
groups = {choppy = 2, oddly_breakable_by_hand = 2},
|
|
paramtype2 = "facedir",
|
|
is_ground_content=true,
|
|
climbable=false,
|
|
buildable_to=false,
|
|
damage_per_second=0,
|
|
selection_box = {
|
|
type = "fixed",
|
|
fixed = {
|
|
{-0.5,0.8,-0.25,0.5,0,0.25},
|
|
|
|
},
|
|
},
|
|
collision_box = {
|
|
type = "fixed",
|
|
fixed = {
|
|
{-0.5,0.8,-0.25,0.5,0,0.25},
|
|
|
|
},
|
|
},
|
|
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:Aperture_Science_Toilet_turret', {
|
|
drawtype = 'mesh',
|
|
mesh = 'Aperture_Science_Toilet_turret.obj',
|
|
tiles ={'aperture_turret_toilet.png'},
|
|
description= 'A toilet turret made by Greedy',
|
|
stack_max = 1,
|
|
groups = {choppy = 2, oddly_breakable_by_hand = 2},
|
|
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:Aperture_Science_washing_turret', {
|
|
drawtype = 'mesh',
|
|
mesh = 'Aperture_Science_washing_turret.obj',
|
|
tiles ={'Aperture_Science_washing_turret.png'},
|
|
description= 'A evil washing machine made by envy people',
|
|
stack_max = 1,
|
|
groups = {choppy = 2, oddly_breakable_by_hand = 2},
|
|
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=false,
|
|
use_texture_alpha=false,
|
|
walkable=true,
|
|
pointable=true,
|
|
})
|