Compare commits
5 Commits
ccd56855e6
...
2e15e8fd6b
Author | SHA1 | Date |
---|---|---|
|
2e15e8fd6b | |
|
525af870ac | |
|
275aa7a16a | |
|
56812bbf11 | |
|
5fd4f0e15c |
|
@ -1,2 +1,4 @@
|
|||
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", {
|
||||
description = descr,
|
||||
physical = true,
|
||||
stack_max = 1,
|
||||
inventory_image = "xgadgets_" ..name.."_bottle.png",
|
||||
on_use = function(itemstack, placer, pointed_thing)
|
||||
--weapons_shot(itemstack, placer, pointed_thing, def.velocity, name)
|
||||
|
@ -341,12 +342,10 @@ minetest.register_entity("xgadgets:smoke", {
|
|||
)
|
||||
end,
|
||||
})
|
||||
minetest.register_node("xgadgets:smoke_bottle", {
|
||||
minetest.register_craftitem("xgadgets:smoke_bottle", {
|
||||
description = "Smoke Bottle",
|
||||
drawtype = "plantlike",
|
||||
tiles = {"xgadgets_smoke_bottle.png"},
|
||||
inventory_image = "xgadgets_smoke_bottle.png",
|
||||
wield_image = "xgadgets_smoke_bottle.png",
|
||||
paramtype = "light",
|
||||
stack_max = 1,
|
||||
is_ground_content = 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 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.
|
||||
-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!
|
||||
--- LICENSE ---
|
||||
<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