Commit Graph

1137 Commits

Author SHA1 Message Date
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
40431fc050 fix fence_with_signs check for content_ignore, prevent it to destroy unknown_nodes and always return the itemstack 2015-09-10 09:42:48 +02:00
Tim
d763840b47 assign custom on_place to the right fence definition, which makes sign posts work again 2015-09-10 09:42:48 +02:00
Tim
f384d73f70 quiet down sign_lib (_G warning and debug statements) 2015-09-10 09:42:48 +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
Tim
628c37e29e replace several explicit nodebox definitions with the function-version 2015-08-19 15:49:32 +02:00
Tim
91092d99be introduce nodebox abstractions used by fences, like corner nodeboxes, and indirectly slab_x; update fences accordingly 2015-08-19 15:32:19 +02:00
Tim
7d087815c8 fix slab_z nodebox direction inconsistencies 2015-08-19 15:06:53 +02:00
Tim
7d07e81a8c combine chimney, roof shingles and roof slopes into roofing.lua 2015-08-16 20:05:48 +02:00
Tim
518d1432f6 change more recipes to use groups instead of nodenames 2015-08-16 19:41:26 +02:00
Tim
faf6cefa99 use the default background for all automatic inventory formspecs 2015-08-16 19:06:44 +02:00
Tim
382eba6860 combine beds and nighstands into a bedroom category 2015-08-16 18:02:12 +02:00
Tim
2ff235d5f1 aggregate foyer themed nodes into dedicated file 2015-08-16 17:55:48 +02:00
Tim
1e7fb18b0b move office-themed nodes into an office-file 2015-08-16 17:41:44 +02:00
Tim
d2824c10e7 use the minetest provided table copy function 2015-08-16 17:26:33 +02:00
Tim
45aef81f55 simplify init.lua a little 2015-08-16 17:21:57 +02:00
Tim
799a652c91 rename misc-electrical -> electrics 2015-08-16 17:21:57 +02:00
Tim
94ac477d6a move gastronomical furniture and utilities into a dedicated file 2015-08-16 17:21:50 +02:00
Tim
e2db273048 ignore eclipse project files 2015-08-16 16:05:00 +02:00
Vanessa Ezekowitz
804ee36102 fix deduction of spiral staircase 2015-08-15 05:18:04 -04:00
tenplus1
7266b230aa Drop item when dug, abm issue
A quick edit to drop items from an itemframe or pedestal when dug instead of removing them, also a fix for the abm to update pedestals properly...
2015-08-05 15:29:30 +01:00
Craig Davison
ed3aa1e88a Replace LIGHT_MAX with default.LIGHT_MAX 2015-08-01 10:24:43 -04:00
Craig Davison
ade26437ee Remove references to group:wood_slab 2015-07-30 08:30:46 +01:00
Vanessa Ezekowitz
23a0af58ee add yellow and red shrubbery, crafted from green shrub + dye 2015-07-28 08:19:40 -04:00
Vanessa Ezekowitz
6aea902159 move shrubbery from gloopblocks to homedecor 2015-07-28 07:37:57 -04:00
Vanessa Ezekowitz
bc195552ed opt-depend on 3d_armor
should fix this issue:
https://forum.minetest.net/viewtopic.php?f=11&t=2041&start=625#p185494
2015-07-27 06:52:29 -04:00