Commit Graph

101 Commits

Author SHA1 Message Date
Vanessa Dannenberg
fc781daca0 get rid of old 89->256 color LBMs 2018-09-12 23:03:41 -04:00
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
23d1365939 fix wrongly-colored plasma ball base 2017-06-25 03:12:18 -04:00
Vanessa Ezekowitz
9bb4222aa5 use soft overlays to re-create the subtle white glow that glowlights used to have
before param2 coloring went in.
2017-06-25 03:11:46 -04:00
Vanessa Ezekowitz
1f2676b8f6 use mesh node for cubical plasma lamp 2017-06-25 03:11:25 -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
0f1b8418a1 lighting: actually get meta before trying to use it :) 2017-02-27 17:02:20 -05:00
Vanessa Ezekowitz
0de4732f43 set meta "ext" flag when converting old nodes 2017-02-25 01:02:51 -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
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
a493933105 unified dyes uses on_use now, instead of on_rightclick 2017-02-04 19:41:36 -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
5dd5d3a14b convert desk lamps to param2 colorization 2017-01-31 19:01:47 -05:00
Diego Martínez
dc7b60c11f Split I18N stuff into its own submod. 2017-01-29 21:51:07 -03:00
Vanessa Ezekowitz
0e68696566 remove debug prints
localized a misc. variable
2017-01-29 04:36:39 -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
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
0d3da0c328 Use new intllib API. 2017-01-25 00:09:18 -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
5d88c3d25c remove some bogus aliases 2015-10-23 13:05:16 -04:00
Tim
7d5287cc04 placeholder usage for decor, where useable 2015-09-08 09:51:51 +02:00
Craig Davison
ed3aa1e88a Replace LIGHT_MAX with default.LIGHT_MAX 2015-08-01 10:24:43 -04:00
kilbith
e374b83bc0 Disallow partially or entirely some items to rotate with the screwdriver 2015-05-14 12:41:11 +02:00
Vanessa Ezekowitz
791f58d790 fix plasma globe material ordering
so that the glass renders properly and the base appears behind it.
2015-05-08 23:21:57 -04:00
Vanessa Ezekowitz
f6cc071483 rework oil lamp to make the wick in the center visible 2015-05-08 23:15:52 -04:00
Vanessa Ezekowitz
27652c4401 add inv image for plasma ball 2015-05-07 23:25:29 -04:00
Vanessa Ezekowitz
db38184ff2 add plasma ball
also enable textute alpha on the cubical plasma lamp
2015-05-07 22:31:14 -04:00
kilbith
e115b34873 Phase out excess desk lamp inv images 2015-05-07 14:46:11 -04:00
kilbith
81bb309bc6 Fix broken recipes and missing aliases (again) 2015-05-05 19:26:38 +02:00
kilbith
5f9928d027 Fix missing aliases 2015-05-05 15:34:55 +02:00
kilbith
5cfc2a12c6 Phase out redundant standing/table inv. images 2015-05-04 10:56:07 +02:00
Vanessa Ezekowitz
597471d439 phase out some oil lamp textures
use colorized generic black metal instead
2015-05-04 00:08:19 -04:00
Vanessa Ezekowitz
853cc4904c use default gold block for plasma_lamp 2015-05-03 23:52:48 -04:00
Vanessa Ezekowitz
5041ae2cdd phase out brown and white plastic images
use a colorized dark "black" one as the base.
2015-05-03 19:08:58 -04:00
Vanessa Ezekowitz
d6cdff41aa phase out the generic red, green, white and neutral metals
generic black metal is used for all of these now, colorized.
also, added a bit of noise to the texture.
2015-05-03 18:58:16 -04:00
kilbith
492780e59a Better UV-maps for desk lamps 2015-05-03 23:39:28 +02:00
kilbith
fab1a56f32 Better UV-maps for wall lamp 2015-05-03 12:22:49 -04:00