Vanessa Ezekowitz
54431d5880
fix crash in old lights conversion abm
2013-11-09 20:52:01 -05:00
Vanessa Ezekowitz
c8be033292
Rewrite lighting to use engine's 6d facedir prediction code
...
changed the names of a couple of internal functions to compensate.
this makes lib_6d.lua obsolete.
2013-11-07 21:22:16 -05:00
kaeza
10cef3dda1
Use a single `intllib.Getter' for all the texts.
...
Just a minimal code reduction, but big reduction in code
duplication. This could help if in the future, support for
different "internationalization" mods will be added, or in
case Minetest supports I18N/L10N internally in the engine.
2013-10-21 22:31:54 -02:00
Vanessa Ezekowitz
e4c02a82d6
Split ownership checking and 6d facedir into separate files. Changed
...
related functions to use homedecor: and lib_6d: namespaces, as
necessary, instead of simple "homedecor_" name prefixes.
2013-10-13 13:20:42 -04:00
Vanessa Ezekowitz
e04a0e5e4f
changed all "homedecor_" variable and function names to "homedecor."
...
(underscore -> period). Similarly for intllib calls and the DEBUG variable.
2013-10-09 12:47:22 -04:00
Vanessa Ezekowitz
2550672352
Replaced most uses of get_modpath() with variables cached at the top of init.lua
2013-10-09 12:27:49 -04:00
Vanessa Ezekowitz
03f441ae0c
minor tweak to slab and quarter-slab glowlights - better top/bottom textures
2013-07-01 00:51:18 -04:00
Vanessa Ezekowitz
2efa203185
Phased out all deprecated minetest.env:* uses in favor of minetest.*
2013-06-30 23:55:07 -04:00
Vanessa Ezekowitz
cf717ce73f
Fixed missing check for ownership/node protection in lights
...
made lights check for buildable_to instead of just air
2013-06-07 14:14:13 -04:00
Vanessa Ezekowitz
1e6ba1103b
fixed missing itemstack fields in on_rightclick calls in lights/doors
2013-06-07 13:33:37 -04:00
Vanessa Ezekowitz
f8ba120425
fix duplication bug in lighting (forgot to return itemstack)
2013-06-07 13:15:54 -04:00
Vanessa Ezekowitz
4a1ded8528
Convert glowlights/glowcubes to 6d facedir
2013-04-24 12:30:21 -04:00
Vanessa Ezekowitz
04999af13d
Moved detection of infinite creative-mode stacks to init.lua, changed lights and tables to use it. Fixed tables properly. Fixed missing drops in large square tables. Fixed incorrect texture placement on on-side small square glass and wood tables.
2013-04-17 03:14:09 -04:00
Vanessa Ezekowitz
44dd0bd82d
Fixed item duplication bugs in tables and glowlights.
2013-04-17 02:47:49 -04:00
Vanessa Ezekowitz
d0c62410f8
Added additional autoplace code for wall lights to turn them into ceiling
...
lights where appropriate. Added a number of alternate crafting recipes to
split thick wall lights into thin regular ones or into cubes, and to recycle
excess cubes.
2013-04-14 16:22:08 -04:00
Vanessa Ezekowitz
0c0ee930f9
glowlights and glowcubes now automatically place floor, ceiling, wall
...
varieties depending on whether you are pointing at the floor, ceiling,
or a wall.
Removed cross-crafting recipes, took excess lighting nodes out of
creative inventory, added drops for excess models to point them back to
floor or ceiling versions, as appropriate.
This change does not affect old maps or inventories.
2013-04-14 15:45:21 -04:00
Diego Martínez
b0947a4fdf
Changed sounds from leaves to wood
2013-03-16 20:46:30 -03:00
Diego Martínez
6133234771
Added localization support
2013-03-05 05:18:56 -02:00
Vanessa Ezekowitz
ce59c7f130
added wall-mounted regular and thin glow lights in yellow and white.
2012-10-03 18:53:17 -04:00
Vanessa Ezekowitz
842a571b60
Added ceiling-mounted glow cube. The regular and ceiling ones can be exchanged
...
by placing either into the crafting glid. Works for both colors.
2012-10-01 21:06:10 -04:00
Vanessa Ezekowitz
05e7b9f8e3
Changed nodename of yellow lighting to clearly specify that (recipes are still
...
the same). Added white lighting.
2012-10-01 19:22:54 -04:00