Commit Graph

19 Commits

Author SHA1 Message Date
Vanessa Dannenberg
a8729575ab switch to colored itemstacks
with full crafting recipes
(requires Unified Dyes commit 2a816534 or later)

known issues:

standing lamp bypasses vertical stack check
bed expansion changes the color of the first-placed bed
to match the second when creating a king bed.
2018-08-22 05:09:55 -04:00
Vanessa Ezekowitz
4eaf265e65 allow sleeping in beds!
fixed by using some code from mt_game, with changes
2017-09-29 01:03:05 -04:00
Vanessa Ezekowitz
9693d9dd46 Disable sleeping in beds (again) 2017-06-25 03:12:23 -04:00
AntumDeluge
67ddc87d2c Re-enable sleeping in beds 2017-06-25 03:11:41 -04:00
Vanessa Ezekowitz
1eb1e87f08 use unified dyes auto-colorization feature
also fixed some bugs in bed handling
also got rid of the old, obsolete "placeholder" node, aliased it to air.
2017-06-25 03:10:59 -04:00
Vanessa Ezekowitz
6c0dd2d31a use unified dyes' rotation correction functions 2017-02-17 23:07:25 -05:00
Vanessa Ezekowitz
e9477dd45d don't run LBM at every load 2017-02-16 16:59:19 -05:00
Diego Martínez
2df6dbcad9 Fix warnings issued by luacheck. 2017-02-15 23:53:52 -03:00
Vanessa Ezekowitz
a493933105 unified dyes uses on_use now, instead of on_rightclick 2017-02-04 19:41:36 -05:00
Vanessa Ezekowitz
5f264bc484 local-ize a variable 2017-02-01 11:55:17 -05:00
Vanessa Ezekowitz
3969f1a198 disable sleeping due to crashing inside minetest_game 2017-01-31 11:53:40 -05:00
Vanessa Ezekowitz
f6aa12aef9 convert beds to param2 colorization
as a side effect, this also fixes the bug where you couldn't
stack beds to form "bunk" beds.

Place a bed, right-click it with dye to color it.

Place two beds side by side and they'll form a king-size bed, which
you can right right-click with dye to color.

Place a regular bed, then right-click it while wielding another
regular bed (i.e. as if you were trying to place it) and, if there
is room above the first bed, the second will be placed on top and
the bedposts on the bottom one will extend to reach it.  Color
either of the two by right-clicking with dye.

Shift-right-click forces placement of a regular bed without trying
to stack it into bunks.

Right-click while NOT wielding a bed or dye will attempt to let you
sleep (via default beds code).
2017-01-30 23:22:47 -05: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
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
337dc05e70 Always return the ItemStack for on_rightclick to comply with the API. 2016-07-31 13:07:21 +02: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
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
382eba6860 combine beds and nighstands into a bedroom category 2015-08-16 18:02:12 +02:00