Commit Graph

1274 Commits

Author SHA1 Message Date
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
ac9927d035 I18N fixes.
* Make xgettext not output line numbers
* Remove line numbers from existing catalogs.
* Re-add missing localizations.
2017-01-30 21:40:42 -03:00
Vanessa Ezekowitz
6cadc7cf26 convert lrfurn to use param2 colorization
To maximize the palette, this uses the colorwallmounted param2 style,
which necessitated modifying the models to make wallmounted look like
normal facedir.  This means couches and chairs can now only ever be
placed upright, facing one of N/S/E/W like a couch or chair normally
would, but since the screwdriver was already disabled, it was basically
impossible to rotate them to any other orientation anyway.

Since this is colorwallmounted, it uses the 32-color abridged Unified Dyes
palette.
2017-01-30 17:10:01 -05:00
Diego Martínez
3e585ec482 Add a few missing translations. 2017-01-29 23:49:09 -03:00
Diego Martínez
c806807171 Update translations. 2017-01-29 21:57:37 -03:00
Diego Martínez
27e1175fb0 Add missing translations. 2017-01-29 21:57:15 -03: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
f96f8ac86b lavalamp depends on unifieddyes 2017-01-29 11:44:47 -05:00
Vanessa Ezekowitz
0e68696566 remove debug prints
localized a misc. variable
2017-01-29 04:36:39 -05:00
Vanessa Ezekowitz
59ae86ec0f convert lavalamps to use param2 coloring
Side effect:  Now all of Unified Dyes' colors can be applied.
2017-01-29 04:32:26 -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
d35ebe8c00 fix colores of white and black sofas 2017-01-26 09:44:00 -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
Vanessa Ezekowitz
bb06cfd6f6 Merge pull request #338 from FozLand/desk_fan_fix
Avoid crashes due to missing desk_fan entity.
2017-01-15 22:30:03 -05: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
Vanessa Ezekowitz
6256427ce7 Merge pull request #332 from FozLand/globe
Allow user to pick up globe by hand.
2016-12-29 19:45:04 -05:00
Tucker Bamberg
50c0eaf436 Allow user to pick up globe by hand. 2016-12-29 18:38:53 -05:00
Auke Kok
cdf2c0ff90 Add luacheck config file.
Run `luacheck .` in the toplevel folder and it'll check all
the code. There are plenty of warnings out there to fix atm.
2016-12-15 13:20:32 -08:00
Vanessa Ezekowitz
7429d86dc9 Merge pull request #329 from FozLand/maxwear
Replace deprecated field
2016-11-04 20:59:12 -04:00
Foz
90b9f90c0c replace deprecated field 2016-11-04 07:49:18 -09:00
Vanessa Ezekowitz
f1d74ffaea Merge pull request #328 from FozLand/server
Fix server rack texture
2016-11-04 12:24:45 -04:00