1
0
mirror of https://github.com/mt-mods/homedecor_modpack.git synced 2024-11-16 23:30:37 +01:00
Commit Graph

14 Commits

Author SHA1 Message Date
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
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
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
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
Vanessa Ezekowitz
01b55f1a9a better prediction for placing diagonals at the top of the stack
better prediction for placing horizontals at the top and bottom of the
stack, particularly if they're placed within 1 node of the correct spot.
2015-05-11 20:14:02 -04:00
Vanessa Ezekowitz
10b859ba59 add a horizontal banister, rename the diagonals (+alias)
includes just enough code to try to auto-route them as they're placed.

the "root" node is now the horizontal one - if you have diagonals and
they don't place right, they should after you dig them and place again.
2015-05-11 18:03:21 -04:00
Vanessa Ezekowitz
c8633be1dc add banisters, placed on side of blocks
when placing, code will try to determine if the bannister should be
left- or right-sided.  Defaults to left-sided; hold shift while placing
to force right-sided.
2015-04-27 03:09:37 -04:00
Vanessa Ezekowitz
67d4da05f6 make king size placement work right-first as well as left-first 2015-04-22 04:50:49 -04:00
Vanessa Ezekowitz
5cb73ffa7e Add king-sized bed model
create it by placing two twins of the same color side by side, left first

also moved the bed extension functions into handlers/expansion.lua,
renamed them, and made a few other minor tweaks to that file accordingly.
2015-04-22 00:43:22 -04:00
Tim
db703e555d add sanity check to avoid cases in which expanded items would be placed against unknown nodes into other unknown nodes as pointed_think.above node
this resolves #205
2015-03-03 18:53:02 +01:00
Tim
5fb4bff628 move handlers into subdirectory to split them apart from the actual game content 2015-01-23 22:53:57 +01:00