Commit Graph

45 Commits (master)

Author SHA1 Message Date
Vanessa Dannenberg 8c2b9d8445 Don't allow engine to add the implicit "Proceed" button
(this change makes it possible to theme the formspec)
2021-02-25 02:12:59 -05:00
VanessaE a9ee19704d add minimum minetest version key for contentdb 2020-06-03 13:00:21 -04:00
Vanessa Dannenberg 51a462584e fix the 'fix' 2019-09-19 20:55:55 -04:00
Vanessa Dannenberg 85604e2a7c only try to process a light message if it's a string 2019-09-19 19:23:50 -04:00
Vanessa Dannenberg 2d32784112 use Unified Dyes on_dig where needed - requires Unified Dyes commit 9ff40a7f or later 2019-07-18 02:16:13 -04:00
Vanessa Dannenberg 35ca9abf16 allow numeric messages
allow lights to respond to "off", "low", "med", "hi", "max"/"on"
strings as in homedecor

lights behave identical to homedecor non-dimmables:
a number > 3 or the strings "med", "hi", "max", or "on" turn the light on
a number < 4 or the strings "off" and "low" turn the light off
2019-06-01 23:10:15 -04:00
Vanessa Dannenberg 6398d89b80 lighten "off" bulb a bit (way too dark) 2019-05-31 15:38:17 -04:00
Vanessa Dannenberg 48df25e38e leave "off" light out of creative inv 2019-05-30 06:20:08 -04:00
Vanessa Dannenberg e2986ee632 add various on/off features:
* right click toggles on/off
* respond to mesecons
* respond to digilines messages "on"/"off" (shift-punch to set the channel)

Lights turn ON on-place, remain on until explicitly turned off by
one of the above, like most Home Decor lights.
2019-05-30 02:26:05 -04:00
Vanessa Dannenberg 330083de16 Switch to LGPL v3 for code, CC-by-SA 4.0 for media 2018-11-09 17:28:24 -05:00
Vanessa Dannenberg 5a4cc58943 switch to colored itemstacks
with full crafting recipes
(requires Unified Dyes commit 2a816534 or later)
2018-08-22 20:42:58 -04:00
Vanessa Ezekowitz fa085fdcce Merge pull request #4 from AntumMT/intllib_update
Replace deprecated function 'intllib.Getter'
2017-07-20 01:46:17 -04:00
AntumDeluge d7f4f7e270 Replace deprecated function 'intllib.Getter':
- Check first for 'intllib.make_gettext_pair', otherwise continue using
old function.
2017-07-08 22:20:18 -07:00
AntumDeluge 09eaddbba6 Call 'global_exists' in place of 'get_modpath' for 'intllib' check 2017-07-08 22:18:25 -07:00
Vanessa Ezekowitz 7060243f74 Merge pull request #3 from AntumDeluge/settings
Replace deprecated method 'setting_getbool' with 'settings:get_bool'
2017-05-18 05:43:05 -04:00
AntumDeluge 9f4d0bb33d Replace deprecated method 'setting_getbool' with 'settings:get_bool' 2017-05-12 23:57:10 -07:00
Vanessa Ezekowitz b1f7ccf16d use unified dyes auto-color feature 2017-03-18 05:54:16 -04:00
Vanessa Ezekowitz 99e11b555d use unified dyes' rotation correction function 2017-02-17 23:08:01 -05:00
Vanessa Ezekowitz 96bbbb29e3 don't run LBM at every load 2017-02-16 17:00:08 -05:00
Vanessa Ezekowitz 70145d3e4d unified dyes uses on_use now, instead of on_rightclick 2017-02-04 19:41:28 -05:00
Vanessa Ezekowitz 1548a8e013 convert mod over to dynamic param2 colorization 2017-01-30 13:28:02 -05:00
Vanessa Ezekowitz 707a0c308f Use node texture colorization
Uses "color = <foo>" in the tile image def instead
of compositing with ^[colorize.  Saves RAM.
2017-01-25 04:28:17 -05:00
Vanessa Ezekowitz d4b71c991e Merge pull request #1 from minetest-mods/sofar-patch-1
Max light source is 14.
2016-09-16 00:19:44 -04:00
Auke Kok e94fc56e86 Max light source is 14. 2016-09-15 10:44:48 -07:00
Auke Kok d5f6900b5a Add standard mod files. 2016-03-27 21:15:06 -07:00
SmallJoker 44125c7ce8 the cage looks better with a dark texture. 2015-05-23 11:28:49 -04:00
Vanessa Ezekowitz c71b6f88ed give the model an internal bulb, make the lens transparent
colorize the bulb, reduce the coloring on the lens to only a small effect.
2015-05-19 23:11:56 -04:00
Vanessa Ezekowitz 9c02a9fbc2 smooth faces on the model 2015-05-19 22:21:36 -04:00
Vanessa Ezekowitz 37bfe34069 split model into multiple materials, use [colorize to create the lens colors 2015-05-19 22:15:20 -04:00
Vanessa Ezekowitz 2c169e8438 replace old nodebox model with a fresh, new mesh node 2015-03-14 03:08:35 -04:00
Vanessa Ezekowitz ca77db8fd5 OPTIMIZE _ALL_ THE TEXTURES! \:D/ 2015-01-23 14:09:21 -05:00
Vanessa Ezekowitz 2491e64723 use current intllib API 2014-12-27 01:01:11 -05:00
Vanessa Ezekowitz abe2abe5cf remove old ownership code in favor of the ownership code in Minetest 2014-01-30 16:17:02 -05:00
Vanessa Ezekowitz 861788a6a9 fix crash 2013-11-14 16:06:36 -05:00
Vanessa Ezekowitz 8d4ff14928 Make lights use minetest's 6d facedir prediction code
via a small wrapper routine that also checks for protection and infinite stacks
2013-11-07 21:33:36 -05:00
DanDuncombe d846f33e54 Merge pull request #2 from VanessaE/master
various fixes
2013-10-16 09:20:12 -07:00
Vanessa Ezekowitz 6eafd7da6d fix nil function call in ownership code 2013-10-16 10:01:34 -04:00
Vanessa Ezekowitz e613e96360 thin out the lights' wires a bit, add a selection box
also some minor formatting changes
2013-10-15 19:52:26 -04:00
DanDuncombe 7d7469059d deleted obsolete textures 2013-10-15 19:16:34 +01:00
DanDuncombe 6505a7d208 New Texture System 2013-10-15 19:07:06 +01:00
DanDuncombe 01117b85d8 Made lights look slightly better 2013-10-15 18:32:35 +01:00
DanDuncombe 713865a4df Merge pull request #1 from VanessaE/master
Add full 6dfacedir compatibility
2013-10-13 10:57:45 -07:00
Vanessa Ezekowitz 3bec84cd84 Add full 6dfacedir compatibility
Also add protecting checking, infinite stack checking, and
more complex recipe with a higher yield.
2013-10-13 13:58:07 -04:00
Daniel b5ed4e6b01 Initial Commit 2013-10-13 17:07:06 +01:00
DanDuncombe 99e46da133 Initial commit 2013-10-13 09:04:38 -07:00