1
0
mirror of https://github.com/minetest/minetest_game.git synced 2024-11-05 17:50:26 +01:00
minetest_game/mods
Auke Kok b998ab1b3a Add a simple, but stylish fence gate.
This fence gate builds on NDT_CONNECTED by assuming fence nodes will
automatically connect to it's sides properly. The fence gate will
open and close just like doors, with sounds, but it only opens one
way. The gate sticks out quite a bit and can be bumped into, so the
fence may be used as some sort of path switch.

The fence gate offers no form of protection and can be opened and
closed by anyone. This is done on purpose - the fencegate isn't
meant to provide protection from players, as fences can be
trivially jumped over. Instead, these fences should be used for
protecting crops from hungry sheep, or keeping rabbits in their
pen, or just decoration. Mods can also modify the mod to add
protection, of course.

A recipe is added to make these. It's 4 sticks and 2 wood (any)
as follows:

  stick  wood  stick
  stick  wood  stick

The collision box of the open gate is such that if two gates are
connected but mirrored (making an M shape) then you can walk a large
entity that's larger than 1.0 wide through the opening. The gate of
an opened fence can also be stood upon or bumped into.

I've mixed together some sounds to provide a somewhat light sound
experience, one that one would expect from a small gate latching open
and close.

This change requires #873, otherwise it doesn't connect to fences.
2016-03-13 04:11:03 +00:00
..
beds Beds: Fix code style issues 2016-03-09 02:44:32 +00:00
boats Follow naming conventions of textures and models in boats 2016-02-03 19:33:46 +00:00
bones Allow non-players to dig bones. 2016-03-03 00:37:01 +00:00
bucket Rename to Minetest Game 2015-09-30 23:33:12 +01:00
creative Creative: Rename fields with correct naming convention to avoid possible conflicts 2016-02-21 15:31:37 +00:00
default Convert fences to NDT_CONNECTED. 2016-03-13 04:10:51 +00:00
doors Add a simple, but stylish fence gate. 2016-03-13 04:11:03 +00:00
dye Rename to Minetest Game 2015-09-30 23:33:12 +01:00
farming Consolidate ABMs 2016-02-14 05:22:20 +00:00
fire Add an on_burn callback. 2016-03-11 15:27:57 +00:00
flowers Consolidate ABMs 2016-02-14 05:22:20 +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 Consolidate ABMs 2016-02-14 05:22:20 +00:00
tnt added timer to tnt:tnt_burning for explosions 2016-02-18 13:56:57 +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 Add steel ladder 2016-03-06 01:31:36 +00:00