you can start fires again.
parent
6449a9a9cf
commit
bd2f730e4e
|
@ -5,8 +5,6 @@
|
||||||
local MOD_PATH = minetest.get_modpath(MOD_NAME)
|
local MOD_PATH = minetest.get_modpath(MOD_NAME)
|
||||||
local Vec3 = dofile(MOD_PATH..'/lib/Vec3_1-0.lua')
|
local Vec3 = dofile(MOD_PATH..'/lib/Vec3_1-0.lua')
|
||||||
|
|
||||||
more_fire = {}
|
|
||||||
|
|
||||||
minetest.register_craftitem('more_fire:molotov_cocktail', {
|
minetest.register_craftitem('more_fire:molotov_cocktail', {
|
||||||
description = 'Molotov Cocktail',
|
description = 'Molotov Cocktail',
|
||||||
inventory_image = 'more_fire_molotov_cocktail.png',
|
inventory_image = 'more_fire_molotov_cocktail.png',
|
||||||
|
|
|
@ -258,6 +258,7 @@ minetest.register_node('more_fire:embers_contained', {
|
||||||
local inv = meta:get_inventory()
|
local inv = meta:get_inventory()
|
||||||
inv:set_size('fuel', 4)
|
inv:set_size('fuel', 4)
|
||||||
timer:start(190)
|
timer:start(190)
|
||||||
|
print 'called the on_construct function.'
|
||||||
end,
|
end,
|
||||||
can_dig = function(pos, player)
|
can_dig = function(pos, player)
|
||||||
local meta = minetest.get_meta(pos);
|
local meta = minetest.get_meta(pos);
|
||||||
|
@ -469,7 +470,7 @@ minetest.register_node('more_fire:oil_lamp_table_off', {
|
||||||
light_source = 1,
|
light_source = 1,
|
||||||
selection_box = {
|
selection_box = {
|
||||||
type = 'fixed',
|
type = 'fixed',
|
||||||
fixed = {-.2, -.4, -0.1, 0.2, .35, .5},
|
fixed = {-.2, -.5, -0.2, 0.2, .25, .2},
|
||||||
},
|
},
|
||||||
on_construct = function(pos)
|
on_construct = function(pos)
|
||||||
local meta = minetest.env:get_meta(pos)
|
local meta = minetest.env:get_meta(pos)
|
||||||
|
|
|
@ -5,8 +5,6 @@
|
||||||
local MOD_PATH = minetest.get_modpath(MOD_NAME)
|
local MOD_PATH = minetest.get_modpath(MOD_NAME)
|
||||||
local Vec3 = dofile(MOD_PATH..'/lib/Vec3_1-0.lua')
|
local Vec3 = dofile(MOD_PATH..'/lib/Vec3_1-0.lua')
|
||||||
|
|
||||||
more_fire = {}
|
|
||||||
|
|
||||||
minetest.register_craftitem('more_fire:smokebomb', {
|
minetest.register_craftitem('more_fire:smokebomb', {
|
||||||
description = 'Smoke Bomb',
|
description = 'Smoke Bomb',
|
||||||
inventory_image = 'more_fire_smokebomb.png',
|
inventory_image = 'more_fire_smokebomb.png',
|
||||||
|
|
Loading…
Reference in New Issue