player_api/mods
Auke Kok 2f39cad09b 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
..
beds Beds: Re-add commas at list ends 2015-11-14 05:18:11 +00:00
boats Boats: Check player attached object 2015-10-29 23:06:01 +00:00
bones Rename to Minetest Game 2015-09-30 23:33:12 +01:00
bucket Rename to Minetest Game 2015-09-30 23:33:12 +01:00
creative Fix blank page in creative in some rare case and keep crafting tab's size stationary 2016-01-20 22:17:38 +00:00
default Create API for fence.register, and use it. 2016-02-03 19:33:19 +00:00
doors Better trapdoor side appearance. 2016-01-20 22:17:25 +00:00
dye Rename to Minetest Game 2015-09-30 23:33:12 +01:00
farming Rename to Minetest Game 2015-09-30 23:33:12 +01:00
fire Default, fire: Disable catch-up in some ABMs 2015-11-14 04:49:03 +00:00
flowers Replace aliased fertile mushrooms. 2016-01-08 00:24:05 +00:00
give_initial_stuff Remove / replace all print() calls 2013-11-17 11:55:46 +01:00
screwdriver Verify node type is facedir. 2015-12-25 15:37:17 +00:00
sethome Fix some undeclared global variables 2014-11-30 18:02:33 +01:00
stairs Stair and Slab groups. 2016-01-26 21:33:17 +00:00
tnt Fix TNT drops being placed inside nodes 2016-01-05 23:28:59 +00:00
vessels Rename to Minetest Game 2015-09-30 23:33:12 +01:00
wool ability to dye coloured wool white 2016-01-29 03:50:07 +00:00
xpanes Rename to Minetest Game 2015-09-30 23:33:12 +01:00