Added media
parent
94a6524221
commit
497d20e5d4
|
@ -0,0 +1 @@
|
|||
|
|
@ -0,0 +1,18 @@
|
|||
minetest.register_node("portaltest:gun", {
|
||||
drawtype = "mesh",
|
||||
visual_scale = 0.5,
|
||||
tiles = {"portaltest_gun.png"},
|
||||
mesh = "portaltest_gun.b3d",
|
||||
description = "Portal Gun",
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
sunlight_propagates = true,
|
||||
collision_box = {0, 0, 0, 0, 0, 0},
|
||||
selection_box = {0, 0, 0, 0, 0, 0},
|
||||
on_construct = function(pos)
|
||||
return nil
|
||||
end,
|
||||
on_place = function(itemstack, placer, pointed_thing)
|
||||
return nil
|
||||
end
|
||||
})
|
|
@ -0,0 +1,3 @@
|
|||
local modpath = minetest.get_modpath("portaltest")
|
||||
|
||||
dofile(modpath .. "/gun.lua")
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1 @@
|
|||
|
Binary file not shown.
After Width: | Height: | Size: 1.7 KiB |
Binary file not shown.
After Width: | Height: | Size: 471 B |
Loading…
Reference in New Issue