- Apr 04, 2016
-
-
Auke Kok authored
We properly checked top half already, just not the top half target location. Assure both checked positions are not unknown nodes. Fixes #991
-
- Mar 21, 2016
-
-
Auke Kok authored
- disallow placing beds in protected areas - fix rotation of beds(broken after 41c2b2ae) - allow using others' beds, but don't change spawn location Fixes #953. #943 isn't something I think was ever implemented, and this does a fair job of addressing the main concern (spawning in others' houses)
-
- Mar 18, 2016
-
-
Auke Kok authored
Tested with nodebreaker, fire. If called from lua, minetest.remove_node() calls on_destruct() callbacks before the map is actually updated. This means that we can't look at the map data to determine if we're done cleaning up adjacent nodes, and we have to stop recursing some other way. There's no data we can pass around through functions that would survive scope to a secondary on_destruct() callback, so we have to maintain local state somewhere in the mod namespace. In this case, we keep a bitflag. The bitflag is set to "true" by default. On the first half removal, the flag is flipped and afterwards we remove the other half node. When the on_destruct for the other half is running, it's value is false and we flip it back to true without removing the other half node. This thus prevents recursing. To facilitate easier finding of the bed partner, we tell our on_destruct whether we're a top or bottom half node through a passed flag. Now that the top is diggable, we just need to assure that it drops a bottom bed part.
-
- Mar 09, 2016
-
-
paramat authored
-
- Nov 14, 2015
- Oct 20, 2015
-
-
Marcin authored
-
- Oct 01, 2015
-
-
paramat authored
Rename in game.conf and documentation Update game_api.txt documentation for bucket API and tree functions Fix tab, space and comment formatting in game_api.txt Rename in mod READMEs
-
- Sep 29, 2015
-
-
LeMagnesium authored
Add option to disable bed's night skip - Solve second point of #512 by adding a setting, `enable_bed_night_skip` , with default value of `true`.
-
- Sep 15, 2015
-
-
Craig Davison authored
- beds/Changelog.txt probably won't be updated because http://dev.minetest.net/Changelog is used instead - The information in farming/API.txt is already documented in game_api.txt
-
- Jun 18, 2015
-
-
paramat authored
Remove line if set to the default of 'true'
-
- May 14, 2015
- Mar 06, 2015
- Feb 24, 2015