inital fork from jordan4ibanez

master
Brett O'Donnell 2012-10-01 21:14:51 +09:30
commit c561cac125
6 changed files with 24 additions and 0 deletions

6
README.txt Normal file
View File

@ -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.

View File

@ -0,0 +1 @@
default

17
flint_and_steel/init.lua Normal file
View File

@ -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

0
modpack.txt Normal file
View File