Commit Graph

733 Commits

Author SHA1 Message Date
Diego Martínez
1ea19fd12f Activate faucets for locked cabinets too. 2017-01-07 04:51:20 -03:00
Foz
a14722eb98 Add support for protection_bypass priv.
Closes #330
2017-01-06 21:05:58 -08:00
Muhammad Nur Hidayat Yasuyoshi
4e439c34cb Malay translation 2017-01-05 01:02:27 -03:00
Foz
bf0c918d4e Fix variable name.
Fixes #334.
2017-01-02 01:40:50 -03:00
Auke Kok
923198a2dd Fix most luacheck issues.
There are 3 false positives remaining after this patch, so
the bulk of the issues are fixed now.
2016-12-31 12:33:46 -08:00
Auke Kok
138e078f1b Whitespace damage fixes.
This is cleaned up by `cleanfile` (from the linux kernel tree
tool set).
2016-12-31 12:33:46 -08:00
Tucker Bamberg
50c0eaf436 Allow user to pick up globe by hand. 2016-12-29 18:38:53 -05:00
Foz
f9f0947457 Resolve undeclared globals in calls to flip_gate.
Fixes minetest-mods/homedecor_modpack #324
2016-11-02 17:26:06 -09:00
placki
653f8f8b60 add shift-click support to ovens/microwaves 2016-09-29 12:45:34 +02:00
Tim
9e7ddd4a40 add listring support to homedecor inventories 2016-08-27 21:10:43 +02:00
Megaf
726f87131c Add missing alias for refrigerator locked.
minetest.register_alias("homedecor:refrigerator_locked", "homedecor:refrigerator_white_locked")
2016-08-21 21:48:37 +01:00
Tim
df84e62798 LIGHT_MAX -> default.LIGHT_MAX 2016-07-31 13:07:25 +02:00
Tim
337dc05e70 Always return the ItemStack for on_rightclick to comply with the API. 2016-07-31 13:07:21 +02:00
Emon
b33428b907 Italian locale (#311)
Translation complete
2016-05-18 15:05:35 -07:00
Amaz
5d0c6c3515 Add name of item moved to all inventories. Fixes https://github.com/minetest-mods/homedecor_modpack/issues/307 2016-05-05 07:37:31 -07:00
Vanessa Ezekowitz
5d88c3d25c remove some bogus aliases 2015-10-23 13:05:16 -04:00
Vanessa Ezekowitz
7ac5e9e815 use mesh nodes for chainlink and barbed wire fences and corners
(so that I can give them custom collision boxes)
2015-10-04 10:06:30 -04:00
Vanessa Ezekowitz
e3f3df7508 fixed wrong texture filename 2015-09-25 09:10:15 -04:00
Vanessa Ezekowitz
7b37c66b78 use mesh nodes for shrubbery 2015-09-25 09:00:22 -04:00
Vanessa Ezekowitz
fcf8ecfd35 simplify shrubbery collision/selection box 2015-09-25 07:48:07 -04:00
Vanessa Ezekowitz
5fccd3234f make spiral stairs diggable with a pick, not an axe
also, shrink the wield scale down to something reasonable
2015-09-25 07:40:36 -04:00
crazyginger72
70758559cc reduced textures in lrfurn mod and added a full color range to lrfurn and beds 2015-09-23 01:29:06 -04:00
Vanessa Ezekowitz
181c746bbf tweaked "plain" door models to avoid z-fighting with the glass variant. 2015-09-13 20:00:49 -04:00
Tim
3555a6ae57 add placement hinting to the swing (currently used during smoketesting to avoid false positives) 2015-09-10 10:29:00 +02:00
Tim
ffeac9a1bd fix books and swing's on_place to handle CONTENT_IGNORE and CONTENT_UNKNOWN and to always return their itemstacks 2015-09-10 09:43:04 +02:00
Tim
aa0519b13b let is_buildable_to take any number of positions 2015-09-08 17:29:17 +02:00
Tim
2896f48ed1 let selection and buildable_to checks test for content_ignore; also fixes some border cases for banisters and replacing of unknown nodes 2015-09-08 16:52:52 +02:00
Tim
d5fbfbf305 fix right click oddities of expansion nodes and make sure to always return the leftover itemstack 2015-09-08 16:24:15 +02:00
Tim
20f5afb624 fix the japanese open door to use homedecor registration, and make it and its closed version use placeholders 2015-09-08 10:16:31 +02:00
Tim
7d5287cc04 placeholder usage for decor, where useable 2015-09-08 09:51:51 +02:00
Tim
fb1b620316 add placeholders as not-buildable_to nodes, that can be set to prevent other nodes to build or expanded into expansions
this fixes #292
2015-09-08 09:26:40 +02:00
Tim
26a874d919 set defaults for limiting rotations on expanded nodes 2015-09-08 09:10:25 +02:00
Tim
98c10fb18f allow the swing to be placed with proper facedir 2015-09-07 11:49:15 +02:00
Tim
3dc94b67cc label abms for profiling purposes
see https://github.com/t4im/profiler/#labeling
2015-08-20 14:52:01 +02:00
Tim
d7c56bfcdb clean up furnace code a bit by removing duplicate or replacing obsolete code 2015-08-20 14:27:28 +02:00
Tim
fc8621da41 manage all handler inits in their own init file 2015-08-19 22:38:10 +02:00
Tim
908b408248 register the furnaces internally via homedecor.register as well, getting rid of the last dependency on deprecated lock-code 2015-08-19 22:30:27 +02:00
Tim
9773d63e8e only set main list size if size field is given, to allow using the locked/lockable features with different listnames 2015-08-19 22:02:04 +02:00
Tim
088269a85e streamline locked description/infotext setting; avoid double brackets "Node (Locked) (owned by .. )" 2015-08-19 20:28:47 +02:00
Tim
25c2262750 make desks lockable, as they commonly are 2015-08-19 20:21:56 +02:00
Tim
b6512b3add let the custom on_place of the expansion code call after_place_node to make sure infotexts and owners of locked nodes are being set 2015-08-19 20:20:58 +02:00
Tim
29f61bb899 spawn lockable nodes for "inventory = { lockable = true }", and migrate all lockable nodes to this mechanism, but the furnaces 2015-08-19 19:30:03 +02:00
Tim
cc79b5fc03 register a copy of the def instead of the passed def, this allows us later to spawn supporting nodes from the same original def 2015-08-19 18:48:50 +02:00
Tim
9420e9136c use the simplified inventory format for the wardrobe, where applicable 2015-08-19 18:03:05 +02:00
Tim
4d5975d407 allow inventories to be locked (not just have a locked version of it being spawned later, but be locked by registration)
the code will also be used later to replace locked.lua that spawns a locked version from an unlocked version
2015-08-19 18:00:45 +02:00
Tim
a6ffd1f3c6 simplify trash can code and limit the inventory size to the displayed one 2015-08-19 17:37:18 +02:00
Tim
8a91865d82 allow chaining of on_construct instead of overwriting in registration function 2015-08-19 17:30:37 +02:00
Tim
2d433f9652 remove debug statements 2015-08-19 17:09:50 +02:00
Tim
7402f30c3a simplify calendar construction 2015-08-19 17:02:01 +02:00
Tim
2ed7ae6a56 move inventory registration functions into dedicated handler file 2015-08-19 16:14:17 +02:00