player_api/mods
Auke Kok 9de43cdf7d Doors: Allow falling nodes to fall onto doors.
We were cleverly attempting to use an airlike node as the
top half of the doors, but as airlike nodes are not walkable,
falling nodes would not stop falling and thus remain an entity
stuck on top of a door.

After inspecting the builtin/game/falling.lua code, I considered
the remaining options: (a) revert doors such that the top part is
actually the door, (b) play with nodedef fields and see if other
flags may work, or (c) modify the hidden door part to another
drawtype that properly prevents this issue.

(a) seemed way over the top for now, although it would solve the
issue, it would cause a rewrite of most of the code including the
old-door-conversion.

(b) turned up nothing.

(c) turned out to be relatively simple.

So, here's the implementation where I turn the hidden door top
into a tiny, non-targetable but walkable nodebox that is entirely
inside the door hinge. It's entirely transparent, so you still
can't see it, can't hit it, nor can you place anything in it or
make liquids flow through it. The top part is placed in the right
position on placement and not touched further.

Falling nodes will properly stop on top of these doors. I've
adjusted the door conversion code to properly account for the
issue as well, so the only thing remaining is people who have
been running a git branch - those can upgrade by re-placing the
door.
2016-03-21 06:17:27 +00:00
..
beds Allow both sides of the bed to be digged up. 2016-03-18 02:35:07 +00:00
boats Follow naming conventions of textures and models in boats 2016-02-03 19:33:46 +00:00
bones Rename argument to priv check 2016-03-18 02:35:38 +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 Re-export character.b3d without texture linkage. 2016-03-18 02:35:14 +00:00
doors Doors: Allow falling nodes to fall onto doors. 2016-03-21 06:17:27 +00:00
dye Dye: Add global table of dye names and descriptions 2016-03-13 04:49:03 +00:00
farming Consolidate ABMs 2016-02-14 05:22:20 +00:00
fire Fire: Optimize spreading ABM. 2016-03-15 16:22:50 +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 Fix bug rotating unknown node 2016-03-13 04:49:15 +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
walls Walls: Don't connect to group:cracky 2016-03-18 02:35:28 +00: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