cool craftings
This commit is contained in:
@@ -79,6 +79,8 @@ minetest.register_craftitem("amogus_items:amogus", {
|
||||
5, -- max_hear_distance
|
||||
2.0 -- pitch
|
||||
)
|
||||
|
||||
itemstack:take_item()
|
||||
end
|
||||
return itemstack
|
||||
end
|
||||
@@ -391,6 +393,8 @@ minetest.register_tool("amogus_items:dynamite", {
|
||||
if pointed_thing.type == "node" then
|
||||
local pos = pointed_thing.above
|
||||
minetest.add_entity(pos, "amogus_items:dynamite_entity")
|
||||
-- remove one item from the itemstack
|
||||
itemstack:take_item()
|
||||
end
|
||||
return itemstack
|
||||
end
|
||||
@@ -418,7 +422,7 @@ minetest.register_entity("amogus_items:dynamite_entity", {
|
||||
maxexptime = 3,
|
||||
minsize = 1,
|
||||
maxsize = 2,
|
||||
texture = "plasma_effect.png",
|
||||
texture = "capacitor.png",
|
||||
})
|
||||
self.object:remove()
|
||||
end
|
||||
|
||||
BIN
mods/amogus_items/textures/iron_ingot.png
Normal file
BIN
mods/amogus_items/textures/iron_ingot.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 259 B |
Reference in New Issue
Block a user