Commit Graph

14 Commits

Author SHA1 Message Date
Vanessa Dannenberg 12bdbd6684 use basic_materials padlock instead of steel ingot
for lockable items.
2018-10-31 12:16:50 -04:00
frodon1 d18bee7fa0 Fix calls to check_player_privs with player name instead of player userdata
Fixes #357
2017-02-27 21:56:16 +01:00
Diego Martínez dc7b60c11f Split I18N stuff into its own submod. 2017-01-29 21:51:07 -03:00
Diego Martínez 0d3da0c328 Use new intllib API. 2017-01-25 00:09:18 -03:00
Foz a14722eb98 Add support for protection_bypass priv.
Closes #330
2017-01-06 21:05:58 -08:00
Tim 9e7ddd4a40 add listring support to homedecor inventories 2016-08-27 21:10:43 +02: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
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 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 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 8a91865d82 allow chaining of on_construct instead of overwriting in registration function 2015-08-19 17:30:37 +02:00
Tim 2ed7ae6a56 move inventory registration functions into dedicated handler file 2015-08-19 16:14:17 +02:00