Compare commits
5 Commits
ccd56855e6
...
2e15e8fd6b
Author | SHA1 | Date |
---|---|---|
starninjas | 2e15e8fd6b | |
starninjas | 525af870ac | |
starninjas | 275aa7a16a | |
starninjas | 56812bbf11 | |
starninjas | 5fd4f0e15c |
|
@ -1,2 +1,4 @@
|
||||||
default
|
default
|
||||||
tnt?
|
tnt?
|
||||||
|
doors?
|
||||||
|
farming?
|
||||||
|
|
7
init.lua
7
init.lua
|
@ -142,6 +142,7 @@ function xgadgets_register_throwable(name, descr, def)
|
||||||
minetest.register_craftitem("xgadgets:"..name.."_bottle", {
|
minetest.register_craftitem("xgadgets:"..name.."_bottle", {
|
||||||
description = descr,
|
description = descr,
|
||||||
physical = true,
|
physical = true,
|
||||||
|
stack_max = 1,
|
||||||
inventory_image = "xgadgets_" ..name.."_bottle.png",
|
inventory_image = "xgadgets_" ..name.."_bottle.png",
|
||||||
on_use = function(itemstack, placer, pointed_thing)
|
on_use = function(itemstack, placer, pointed_thing)
|
||||||
--weapons_shot(itemstack, placer, pointed_thing, def.velocity, name)
|
--weapons_shot(itemstack, placer, pointed_thing, def.velocity, name)
|
||||||
|
@ -341,12 +342,10 @@ minetest.register_entity("xgadgets:smoke", {
|
||||||
)
|
)
|
||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
minetest.register_node("xgadgets:smoke_bottle", {
|
minetest.register_craftitem("xgadgets:smoke_bottle", {
|
||||||
description = "Smoke Bottle",
|
description = "Smoke Bottle",
|
||||||
drawtype = "plantlike",
|
inventory_image = "xgadgets_smoke_bottle.png",
|
||||||
tiles = {"xgadgets_smoke_bottle.png"},
|
|
||||||
wield_image = "xgadgets_smoke_bottle.png",
|
wield_image = "xgadgets_smoke_bottle.png",
|
||||||
paramtype = "light",
|
|
||||||
stack_max = 1,
|
stack_max = 1,
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
walkable = false,
|
walkable = false,
|
||||||
|
|
|
@ -7,6 +7,7 @@ It adds:
|
||||||
-Net Bottle - Creates a trap of sticky nets, use this to slow down and confuse your opponent.
|
-Net Bottle - Creates a trap of sticky nets, use this to slow down and confuse your opponent.
|
||||||
-Net Trap - A sticky trap, use this during battle or a trap to protect your base.
|
-Net Trap - A sticky trap, use this during battle or a trap to protect your base.
|
||||||
-Phantom Stone - A type of stone that you are able to go through... Like a ghost! Use this to make secret doors or traps.
|
-Phantom Stone - A type of stone that you are able to go through... Like a ghost! Use this to make secret doors or traps.
|
||||||
|
-Hidden Trapdoor - Made with just some grass and a trapdoor, this blends in perfect with grassy landsacpes, use this for a hidden base hatch.
|
||||||
Hope you enjoy this mod!
|
Hope you enjoy this mod!
|
||||||
--- LICENSE ---
|
--- LICENSE ---
|
||||||
<starninjas> CC0 <2020>
|
<starninjas> CC0 <2020>
|
||||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 545 B |
Binary file not shown.
After Width: | Height: | Size: 414 B |
Loading…
Reference in New Issue