Auke Kok
41eec2c7bd
Create API for fence.register, and use it.
...
This converts the call to minetest.register() for the default
fence node, so it can be called by other mods to quickly
setup other fences.
Since this creates an API, insert it into the game_api.txt.
The api looks like minetest.register(name, {def}), and has two
uncommon fields: "texture" and "material". Any normal nodedef
property can be passed through, except "drawtype". The "fence"
group will always be added.
The default fence recipe is modified to be as follows:
wood, stick, wood
wood, stick, wood
This recipe yields 4 fence nodes.
This allows us to create according recipes for acacia, pine,
aspen, and junglewood fences without adding new stick types:
pine wood, stick, pine wood
pine wood, stick, pine wood
This is a from-scratch implementation, written by heart but inspired
by (#665 - Add many wooden fences).
Stick and fences nodes are named in a consistent way.
2016-02-03 19:33:19 +00:00
paramat
4e147a3636
Default, fire: Disable catch-up in some ABMs
...
To avoid processing spikes where catch-up is non-essential
Disable in: Lavacooling, grass growing, grass removal
and all fire mod ABMs
2015-11-14 04:49:03 +00:00
paramat
caa8ec9dbe
Default/functions: ABM for mossycobble replacing cobble next to water
2015-10-25 23:11:29 +00:00
paramat
bb127d6a0b
Papyrus: Grow on dirt and grass only, remove from desert ocean
2015-10-05 01:47:37 +01:00
paramat
ca715d752c
Default: Allow papyrus growing on default:sand
...
Mgv5/mgv7 papyrus schematic now has sand nodes as a base
Add sand beach to mgv5/mgv7 deserts
2015-08-31 22:58:33 +01:00
paramat
fd4015ef16
Default/functions: Reduce lavacooling ABM/sound overload
2015-08-04 01:01:25 +01:00
paramat
30666b0890
Default: Add savanna nodes, textures, crafting and fuels
2015-07-12 22:41:59 +01:00
paramat
fe677bbc66
Default/functions: Fix cactus growing by rotation again. Cleanup code
2015-06-08 00:32:40 +01:00
paramat
6f919a6852
Default/functions: Fix cacti not growing when rotation is 1-3
2015-06-07 04:39:25 +01:00
HybridDog
6663d5b27a
allow overriding papyrus and cactus grow functions
...
dont grow cactus on a lying one
use minetest.get_node 2 times less
do a bit what ShadowNinja wrote
add comment
return true if the plant is set
2015-04-27 01:09:32 +01:00
Craig Davison
08151fcbaa
Fix typo in survival formspec & create legacy file
2015-02-12 22:18:22 +01:00
PilzAdam
d8d93a9635
Restructure default/nodes.lua
2015-01-10 15:47:30 +01:00
PilzAdam
1f4b902f9b
Remove useless, empty callbacks
2015-01-10 15:47:29 +01:00
PilzAdam
2ee7dd61c5
Set param2 to 1 if player places leaves
2014-12-06 20:36:20 +01:00
PilzAdam
9db07f8c3b
Move leafdecay doc to game_api.txt
2014-12-06 20:36:20 +01:00
Craig Davison
1943d43985
Fix some undeclared global variables
2014-11-30 18:02:33 +01:00
ShadowNinja
1d97a31a27
Clean up treegen code
2014-09-16 18:38:11 +02:00
Calinou
fca64974a6
Make sand and some leaves sounds quieter
2014-08-22 11:52:51 +02:00
Casimir
8b2c433fff
Dig upwards for papyrus and cactus
2014-07-05 15:56:07 +02:00
PilzAdam
952bcf803e
Fix indentation, use log() instead of print() and use get_item_group() in tree growing ABM
2013-11-17 11:46:41 +01:00
4Evergreen4
117895df94
Add 6d facedir to logs.
2013-11-07 20:16:54 -05:00
BlockMen
2239fd0a71
Fix tree growing and jungle sapling growth rate
2013-11-07 00:13:51 +01:00
HybridDog
a08564aca2
Add lavacooling sounds
2013-07-11 02:28:36 +02:00
PilzAdam
218b946f15
Use louder footstep sound as dug_node
2013-06-13 14:36:11 +00:00
Mitori Itoshiki
5d045c7eb7
New sounds
2013-06-12 22:38:40 +00:00
PilzAdam
898da968ff
Replace minetest.env: with minetest.
2013-05-25 00:40:03 +02:00
PilzAdam
28cad30175
Let apples fall when the tree is decaying
2013-05-21 18:50:39 +02:00
PilzAdam
7bb8804365
Split init.lua into several files
2013-05-19 18:43:04 +02:00