inital fork from jordan4ibanez
commit
c561cac125
|
@ -0,0 +1,6 @@
|
|||
By: jordan4ibanez
|
||||
Forum Page: http://minetest.net/forum/viewtopic.php?id=1683
|
||||
|
||||
Description:
|
||||
|
||||
You use the flint and steel to light fires, giving some real purpose for fire.
|
|
@ -0,0 +1 @@
|
|||
default
|
|
@ -0,0 +1,17 @@
|
|||
minetest.register_craftitem("flint_and_steel:flint_and_steel", {
|
||||
inventory_image = "flint_and_steel.png",
|
||||
stack_max = 1,
|
||||
liquids_pointable = false,
|
||||
on_use = function(itemstack, user, pointed_thing)
|
||||
n = minetest.env:get_node(pointed_thing)
|
||||
if pointed_thing.type == "node" then
|
||||
minetest.env:add_node(pointed_thing.above, {name="fire:basic_flame"})
|
||||
end
|
||||
end,
|
||||
})
|
||||
|
||||
minetest.register_craftitem("flint_and_steel:flint", {
|
||||
inventory_image = "flint.png",
|
||||
stack_max = 99,
|
||||
liquids_pointable = false,
|
||||
})
|
Binary file not shown.
After Width: | Height: | Size: 278 B |
Binary file not shown.
After Width: | Height: | Size: 402 B |
Loading…
Reference in New Issue