Tim
1799754a8f
Default: Prevent possible nil-crash on invalid book metadata
2016-10-05 22:23:49 +01:00
Tim
32f7051eb8
Fix sapling placement handling of on_rightclick and CONTENT_IGNORE
2016-10-05 22:22:15 +01:00
Tim
76211624ac
Use minetest instead of core namespace, discourage via luacheck
2016-08-09 03:47:27 +01:00
Tim
b408e9cce6
Let Travis-CI automatically run luacheck on the game
2016-08-09 03:47:11 +01:00
Tim
20fa037313
Screwdriver: disallow rotation with on_rotate = false
...
Other screwdriver mods, or mods that cause rotation, might operate without the screwdriver mod loaded and have `screwdriver.disallow` unavailable.
This allows nodes to default to full-disallow rather than full-rotation in such a situation.
2016-08-05 20:41:24 +01:00
Tim
60cf3f85b6
Doors: Allow the screwdriver to rotate doors around y-axis.
...
Keep other axis' disabled to prevent the hidden placeholder node to become irremovable to players.
2016-08-05 12:34:46 +02:00
Tim
00c2dde4ea
Doors: Fix potential crashes, code improvements
...
Fix crash when doors are placed under unknown nodes.
Share a can_dig among doors, that does not crash on nil-player.
Only set can_dig if we actually protect the door.
2016-08-01 01:21:57 +01:00
Tim
9524ff67a3
Clean up fire ABM parameters.
2016-07-15 21:58:49 +01:00
Tim
30b0a155fb
Stop shadowing upvalues and definitions.
2016-07-15 21:58:49 +01:00
Tim
4473627de0
Remove unused and clean up missused variable-value assignments.
...
* Unused variables
* Unused values (assigned to variables, but overwritten before use)
* Defining already defined variables instead of reassigning to them.
2016-07-15 21:58:49 +01:00
Tim
b74954969c
Doors: Fix missing node parameter passing
2016-07-13 14:45:18 +01:00
Tim
fcceec0e8c
Doors: Fix trapdoor crash on can_dig with nil-player (e.g. minetest.dig_node)
2016-07-10 21:07:17 +01:00
Tim
594365310d
Doors: Remove unnecessary node lookups
2016-07-09 16:34:28 +01:00
Tim
71c7e21669
Always return the leftover ItemStack for on_place and on_rightclick
2016-07-09 16:32:41 +01:00
Tim
5644ab4bd3
Bucket: Allow liquid placed against unknown nodes instead of aborting abnormally
2016-07-07 19:22:13 +01:00
Tim
fe450b4144
Bucket: Prevent crashing when placing liquid against a buildable node into an unknown node
2016-07-07 19:21:46 +01:00
Tim
cd5893db02
Gitignore: Update to ignore additional ide/editors
2016-06-26 06:10:49 +01:00
Tim
75ea7e3160
Bones mod fixes
...
1. don't delete protected nodes, 2. time out in loaded chunks, 3. don't crash when dying in certain nodes (like default doors or sign_lib signs)
2015-02-12 22:10:15 +01:00