Commit Graph

859 Commits

Author SHA1 Message Date
Vanessa Ezekowitz
970636571e missed an alias for open books 2017-06-25 03:11:37 -04:00
Vanessa Ezekowitz
4ee5b6b87f revert a599b041d4 (param2 colorization of books)
The intention of this is to fix books in peoples' inventories that are
now inaccessible.  They can be placed, viewed, edited like normal now.

Side effect: all books that were already in-world and that have already
been converted to the param2 colorization before will be grey now, and
most will end up turned some wierd direction, but that can be fixed with
the screwdriver.

If you need to re-color one of the now-grey books, you'll need to craft
one of the desired color, place it, and copy and paste your text from
the grey book.

Newly-placed colored books will behave normally.
2017-06-25 03:11:31 -04:00
Vanessa Ezekowitz
1f2676b8f6 use mesh node for cubical plasma lamp 2017-06-25 03:11:25 -04:00
AntumDeluge
7925897748 Replace deprecated methods:
- 'setting_get' with 'settings:get'
- 'setting_getbool' with 'settings:get_bool'
2017-06-25 03:11:12 -04:00
Vanessa Ezekowitz
459c02548e don't crash if placing bed on top of bed when not in auto-color mode. 2017-06-25 03:11:05 -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
27eae09d93 use unified dyes on_construct handler
to set 256-color palette meta key on place
for those nodes that use it
2017-06-25 03:10:53 -04:00
Vanessa Ezekowitz
761b18c17e don't reference lrfurn chair colors in homedecor chair LBM
use a local copy instead
2017-06-25 02:29:53 -04:00
Thomas--S
763bcb2e95 Make Wrought Iron Fence 2 recipe more generous
And remove double craft definition
2017-03-11 19:39:16 +01:00
Vanessa Ezekowitz
2d0363f3ac add clawfoot tubs
(one with brass handles, one chrome)
2017-02-27 20:16:22 -05:00
Vanessa Ezekowitz
0f1b8418a1 lighting: actually get meta before trying to use it :) 2017-02-27 17:02:20 -05: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
Vanessa Ezekowitz
c05378f20f require white dye for "light" tiles recipe 2017-02-27 13:51:51 -05:00
Vanessa Ezekowitz
d61a990fc9 fix broken bathroom tiles recipes 2017-02-27 13:47:21 -05:00
Vanessa Ezekowitz
0de4732f43 set meta "ext" flag when converting old nodes 2017-02-25 01:02:51 -05:00
Vanessa Ezekowitz
bc9192a847 remove a debug print 2017-02-24 21:57:13 -05:00
Vanessa Ezekowitz
1ef6e9b69f do the same for the old static->param2 LBM 2017-02-24 21:27:22 -05:00
Vanessa Ezekowitz
efbc491245 use new Unified Dyes "extended" palette
for bathroom tiles, table lamps, and standing lamps
requires unified dyes commit d2819353 or newer
2017-02-24 20:14:21 -05:00
Vanessa Ezekowitz
8e6fa4cdff actually get some benefit from the consumed beer :P 2017-02-24 09:51:46 -05:00
Vanessa Ezekowitz
f7ccf20410 fix rotation of top/bottom textures of open gates 2017-02-22 18:55:05 -05:00
Vanessa Ezekowitz
0ff3013895 add white and plain wood "half doors" (registred as gates) 2017-02-22 18:51:07 -05:00
Vanessa Ezekowitz
e8981367d6 when consuming beer, return the empty glass
(drop the glass on the ground, if necessary)
2017-02-22 17:28:13 -05:00
Vanessa Ezekowitz
96d0084109 plain wooden kitchen chair is not supposed to be colorable 2017-02-21 11:28:43 -05:00
Vanessa Ezekowitz
f09481c3f0 switch over all punch-operated objects
to use on_rightclick instead, for consistency with other parts of minetest,
minetest_game, etc.
2017-02-20 18:30:59 -05:00
Vanessa Ezekowitz
18d2e492af use unified dyes' on_rotate handler for some nodes 2017-02-18 13:01:49 -05: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
Diego Martínez
9e2ebe373a Add missing translations. 2017-02-11 04:29:37 -03:00
Vanessa Ezekowitz
dafc731078 fix crash from bad "pink" translation reference 2017-02-09 09:44:44 -05:00
Vanessa Ezekowitz
7d3b2f921e perform the after-place-fix-rotation at the end of on_place 2017-02-07 00:17:06 -05:00
Vanessa Ezekowitz
f29e2fc698 remove debug prints 2017-02-06 09:34:21 -05:00
Vanessa Ezekowitz
a599b041d4 convert books to param2 colorization
requires unified dyes commit b0ccff16 or later
2017-02-06 09:31:31 -05:00
Vanessa Ezekowitz
846fe60be7 fix wrong texture ref on "medium" tiles 2017-02-06 07:54:40 -05:00
Vanessa Ezekowitz
51341671c7 remove debug print 2017-02-06 07:49:57 -05:00
Vanessa Ezekowitz
b3538e3941 convert bathroom tiles to param2 color
side effect:

I added a third shade of the formerly-white checker background
that alternates with the colored overlay.  The colored overlay
follows the standard full Unified Dyes palette.
2017-02-06 07:40:46 -05:00
Vanessa Ezekowitz
a493933105 unified dyes uses on_use now, instead of on_rightclick 2017-02-04 19:41:36 -05:00
Vanessa Ezekowitz
13059eb3a2 fix table recipe 2017-02-04 13:41:21 -05:00
Vanessa Ezekowitz
36dc31416e fix bed recipe 2017-02-03 14:21:26 -05:00
Vanessa Ezekowitz
2ce071ec16 fix crash in stack_sideways (typo) 2017-02-02 10:25:29 -05:00
Vanessa Ezekowitz
5f264bc484 local-ize a variable 2017-02-01 11:55:17 -05:00
Vanessa Ezekowitz
cad8a378c3 fix crash 2017-02-01 11:51:12 -05:00
Vanessa Ezekowitz
1fabeb3975 rename and re-decribe desk lamp LBM 2017-02-01 08:50:03 -05:00
Vanessa Ezekowitz
c683874904 revised crafting recipe for desk lamp 2017-01-31 19:08:21 -05:00
Vanessa Ezekowitz
5dd5d3a14b convert desk lamps to param2 colorization 2017-01-31 19:01:47 -05:00
Vanessa Ezekowitz
3969f1a198 disable sleeping due to crashing inside minetest_game 2017-01-31 11:53:40 -05:00
Vanessa Ezekowitz
7623b39a33 fix crash in door placement (copy&paste error) 2017-01-31 11:52:11 -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
Vanessa Ezekowitz
70ba7db599 convert shutters to param2 colorization
craft and place an oak shutter first, then right-click it with
dye to color it.  dig to get back the oak + dye.
2017-01-30 20:43:40 -05:00
Vanessa Ezekowitz
1ec16b5b53 add paramtype="light" to curtains 2017-01-30 19:59:35 -05:00
Vanessa Ezekowitz
1d41b5ee18 remove old paper-based table lamp recipes, fix broken ones,
added recipe that uses cottages:wool, to complement the one that uses
default white wool.
2017-01-30 19:59:35 -05:00
Vanessa Ezekowitz
dd0e26d95b use param2 colorization for homedecor kitchen chairs and armchairs
Note that the all-wood kitchen chair cannot be colored.
2017-01-30 19:59:35 -05:00
Diego Martínez
dc7b60c11f Split I18N stuff into its own submod. 2017-01-29 21:51:07 -03:00
BrunoMine
010c07f23a Update pt.po 2017-01-29 14:17:00 -03:00
Diego Martínez
cb48bfec98 Convert old translations to new format. 2017-01-29 14:17:00 -03:00
Vanessa Ezekowitz
4ae16c294e always pass pointed_thing along to on_rightclick 2017-01-29 12:15:14 -05:00
Vanessa Ezekowitz
e97cefa94c homedecor depends on unifieddyes 2017-01-29 11:48:06 -05:00
Vanessa Ezekowitz
0e68696566 remove debug prints
localized a misc. variable
2017-01-29 04:36:39 -05:00
Vanessa Ezekowitz
89e3353c5b more contrast on glowlight slab top 2017-01-29 03:53:20 -05:00
Vanessa Ezekowitz
722c1c6f89 fix wrong nodenames in on_rightclick replace code 2017-01-29 03:50:22 -05:00
Vanessa Ezekowitz
175724d53c add a function to correct for broken placement rotation
for wallmounted nodes (engine or _game bug), and put it
to use.
2017-01-29 03:45:58 -05:00
Vanessa Ezekowitz
79e501394a fix missing 6dfacedir -> wallmounted
in LBM code for glowlights
2017-01-29 03:31:02 -05:00
Vanessa Ezekowitz
800d9017dd convert glowlights, table lamps, and standing lamps
to use param2-base coloring.

Reworked crafting as needed to account for the node names.
2017-01-29 01:21:51 -05:00
Vanessa Ezekowitz
1ce7d2b24d removed obsolete glowlight ABMs 2017-01-28 22:11:18 -05:00
Vanessa Ezekowitz
428729a43d fix curtain recipes
add support for cottages:wool therein
2017-01-28 22:02:37 -05:00
Vanessa Ezekowitz
4ef2f83f07 remove some debug statements 2017-01-28 21:57:48 -05:00
Vanessa Ezekowitz
b9307f11ad Convert curtains to param2 coloring. 2017-01-28 21:51:29 -05:00
Vanessa Ezekowitz
dc903b16c8 fixed a few missed "black metal" -> static color lines 2017-01-25 17:53:45 -05:00
Vanessa Ezekowitz
4598cdca56 fix z-fighting on window shutters 2017-01-25 05:51:59 -05:00
Vanessa Ezekowitz
81db7f2c00 fix water in "open toilet" model
(flipped normals)
2017-01-25 05:47:02 -05:00
Vanessa Ezekowitz
73545c89af Use texture colorization where possible
Uses "color = <foo>" in the tile image def instead
of compositing with ^[colorize or ^[brighten.  Saves RAM.
2017-01-25 04:22:28 -05:00
Diego Martínez
8e467ef6b6 Spanish translation. 2017-01-25 00:14:29 -03:00
Diego Martínez
152c9029d9 Add simple script to aid in extracting messages. 2017-01-25 00:14:15 -03:00
Diego Martínez
c1223dc5d6 Remove old translations. 2017-01-25 00:09:28 -03:00
Diego Martínez
0d3da0c328 Use new intllib API. 2017-01-25 00:09:18 -03:00
Foz
06e47fba72 Avoid crashes due to missing desk_fan entity.
Fixes #337
2017-01-09 00:01:33 -05:00
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