14 Commits

Author SHA1 Message Date
Fernando Carmona Varo
00b72c4a0e Default: Destroy flammable items when in fire or lava
The check for igniters (fire/lava) will be performed every 10 secs
if the item is flammable.

if the item is found to be in lava it will then burn up and
disappear in a smoke puff.

If a non-lava igniter node is found, a combination of `flammable`
value of the item and `igniter` group value of the node will be used
to determine the chance for the item to be removed.
2016-10-23 03:48:37 +01:00
Pinky Snow
ed4c728c4e Default: Eliminate redundant 'get modpath' calls 2016-08-29 00:31:18 +01:00
Auke Kok
ff6652a628 Default: Convert saplings to use node timers
Each sapling is given a single node timer that is between
2 and 4 days of game play time (40-80 minutes). If you walk out
of the zone, and come back later, the tree will always grow
to full if the timer has elapsed.

Because trees.lua is all functions, it needs to be parsed before
nodes.lua, since that references some of its functions. Hence,
change the order of parsing here. Otherwise saplings would not
grow to full.
2016-05-25 03:27:08 +01:00
Amaz
12fc7bbb10 Add the listring functionality c977fbd928 2015-06-23 19:17:57 +02:00
Craig Davison
08151fcbaa Fix typo in survival formspec & create legacy file 2015-02-12 22:18:22 +01:00
PilzAdam
82196b43e3 Remove weird constants in default 2015-01-10 15:47:30 +01:00
PilzAdam
b1a7829a17 Rewrite furnace
* Move furnace related code into furnace.lua
* Move duplicated code into functions
* Rewrite ABM:
	* Easier to follow strcuture (no returns in the middle)
	* No unnecessary calls to get_craft_result
	* Split logic and "visual feedback" (a bit)
	* Fewer calls to meta:set and meta:get
	* Better feedback on the current state of the furnace
2014-12-06 21:18:02 +01:00
BlockMen
f76b9d4f85 Make gui part of default 2014-07-05 16:06:16 +02:00
BlockMen
508bc82e17 More new Textures, Clean up a bit 2014-07-05 16:03:06 +02:00
BlockMen
0e437a902e Remove legacy, move aliases to default 2014-07-05 16:02:01 +02:00
BlockMen
238073ca21 Add fancy inventories 2014-07-05 15:57:35 +02:00
BlockMen
2239fd0a71 Fix tree growing and jungle sapling growth rate 2013-11-07 00:13:51 +01:00
PilzAdam
7bb8804365 Split init.lua into several files 2013-05-19 18:43:04 +02:00
PilzAdam
3ad0a627f2 Move all common mods back to minetest_game 2013-05-18 16:05:16 +02:00