change torch duration to between 20 and 30 mins
This commit is contained in:
parent
92612d2966
commit
b1fd716ee1
4
init.lua
4
init.lua
@ -4,8 +4,8 @@
|
|||||||
real_torch = {}
|
real_torch = {}
|
||||||
|
|
||||||
-- check for timer settings or use defaults
|
-- check for timer settings or use defaults
|
||||||
real_torch.min_duration = tonumber(minetest.settings:get("torch_min_duration")) or 480
|
real_torch.min_duration = tonumber(minetest.settings:get("torch_min_duration")) or 1200
|
||||||
real_torch.max_duration = tonumber(minetest.settings:get("torch_min_duration")) or 600
|
real_torch.max_duration = tonumber(minetest.settings:get("torch_min_duration")) or 1800
|
||||||
|
|
||||||
|
|
||||||
-- check which torch(es) are available in minetest version
|
-- check which torch(es) are available in minetest version
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
Real Torch by TenPlus1
|
Real Torch by TenPlus1
|
||||||
|
|
||||||
This mod changes minetest torches so that they have a life of 8-10 minutes which
|
This mod changes minetest torches so that they have a life of 20-30 minutes which
|
||||||
is configurable using the torch_min_duration and torch_max_duration settings.
|
is configurable using the torch_min_duration and torch_max_duration settings.
|
||||||
|
|
||||||
- 2x coal lumps can be crafted into 12x coal powder
|
- 2x coal lumps can be crafted into 12x coal powder
|
||||||
|
Loading…
x
Reference in New Issue
Block a user