Commit Graph

42 Commits

Author SHA1 Message Date
Vanessa Ezekowitz
0063598f22 fix nil refs caused by a renamed function 2013-11-08 04:59:19 -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
Vanessa Ezekowitz
b483733540 Move table copy function out of signs lib and into init.lua, make it global. 2013-10-27 22:51:56 -04: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
07fa9d5583 oops, S() needs to stay in init.lua 2013-10-16 10:30:41 -04:00
Vanessa Ezekowitz
1ab5263a55 fix nil function call in ownership code. 2013-10-16 09:59:19 -04: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
92d8a53f5b [10-09 20:14] <ShadowNinja> VanessaE: homedecor.debug can't be local
since it is in a global table.
2013-10-09 20:14:52 -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
kaeza
53e9690679 Fix disabled signs. 2013-08-16 13:52:19 -03:00
kaeza
3c34a04605 Make signslib optional via configuration variable 2013-08-13 04:42:14 -03:00
Diego Martínez
77d192aa5f Add ability to register furnace-like nodes from other mods. 2013-07-12 18:37:47 -03:00
Vanessa Ezekowitz
aedbcf5fde Add decorative window-unit air conditioner
also, renamed nodes.lua -> misc_nodes.lua
2013-06-29 01:38:37 -04:00
Diego Martínez
493abe720d Add support for Zeg9's protector mod 2013-05-20 15:15:41 -03:00
Vanessa Ezekowitz
8df6442311 Hand-merged "slopes" branch, with minor recipe changes.
Also changed all single quotes ' to double quotes " in crafts.lua
2013-05-07 01:49:22 -04:00
Vanessa Ezekowitz
8fd34a9dc6 Several changes (see below)
Dropped support for punching doors to open them - only right-click now.

Moved gates out of fences and into doors file, renamed that file to
doors_and_gates.lua.

Changed gates to also use right click to open, and in the process
completely rewrote how gates are defined and managed; this necessitated
creating some duplicate textures.  Some of them are blank, and texture
pack authors may find the extra filenames useful anyway.

Node names for all gates have changed, aliases are provided for backward
compatibility.
2013-04-20 00:11:31 -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
Diego Martínez
38f3ee8ac7 Added Microwave Oven 2013-04-05 07:10:02 -03:00
Diego Martínez
7ee8311934 Added recipes 2013-03-26 22:13:48 -03:00
Diego Martínez
256b80a22a Merged 3dforniture 2013-03-26 21:27:25 -03:00
Vanessa Ezekowitz
9cfc7a9411 Split most of nodes.lua off into separate files by category.
Also fixed a screwed up register_craftitem that was overriding a register_node
call for the same object (wooden table legs).  Got rid of the old "mkII" wooden
table legs.
2013-03-17 19:09:42 -04:00
Diego Martínez
6133234771 Added localization support 2013-03-05 05:18:56 -02:00
Diego Martínez
e8f0051699 Added locked store-able nodes 2013-02-25 15:03:09 -02:00
Vanessa Ezekowitz
aa04eac212 made signs check for node ownership/protection before allowing placement. 2013-02-10 19:23:29 -05:00
Vanessa Ezekowitz
178386ee53 Added the ability to place a sign onto a brass or wrought iron fence
uses code from PilzAdam's rework of thexyz's signs mod.
2013-02-08 02:31:40 -05:00
Vanessa Ezekowitz
94af6653fd completely rewrote all doors code to condense them
into two files - one with the nodebox models, and one with the
actual node definitions.

In the process, cleaned up the code that handles node_ownership
and protection mods.

Also made the mod automatically enable either left-click or right-click to
open/close a door, depending on whether the game supports it (actually it
checks for the existance of an unrelated function that happened to be added at
the same time as the new right-click function).

Renamed some textures, duplicated all of the _lr.png textures to make it
easier to register the textures in a loop and to allow for more flexible
texturing.
2013-01-23 05:45:42 -05:00
Vanessa Ezekowitz
b099d5717c Added plain wooden door without window - e.g. for bedroom/bathroom doors. 2012-10-05 20:41:39 -04:00
Vanessa Ezekowitz
9a84e967c3 Added white and mahogany variants of the wood-and-glass grid-style door. Same
properties as all the others.
2012-10-05 03:35:18 -04:00
Vanessa Ezekowitz
9798c4fa36 Wrote a whole new door routine, used it to add solid glass and glass-and-wood
doors, converted the others to use that new code, and all use nodeboxes now.
Folding doors are now called "closet" doors and will be converted via a handful
of aliases.  Tweaked crafting recipe for oak closet door to put the steel ingot
on the left.  Moves all doors' crafting recipes into crafts.lua.  This sweeps
away the old buggy zlpdoors-derived code.
2012-10-04 07:24:36 -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
Vanessa Ezekowitz
f3199d3541 Added wooden privacy fence, white and unpainted picket fences, barbed wire
fence, moved all fences to a separate file, minor code cleanups elsewhere.
2012-09-30 17:05:46 -04:00
Vanessa Ezekowitz
fc9f44317c added small glowing cube for use on top of short lampposts (e.g. yard lights).
Made using one stick above one moreblocks super glow glass (same sort of recipe
used for other microblocks, but this one's centered on the bottom face of the
node).
2012-09-30 04:59:14 -04:00
Vanessa Ezekowitz
8cd069da59 deleted dressers - they're obsolete now. 2012-09-30 02:25:19 -04:00
Vanessa Ezekowitz
150b50a487 Various changes
Recipe changes:

Brass and wrought iron poles, table legs, and fences/railings were too
expensive in practice.  Increased recipe outputs.

Small square glass table now comes from one small round table (instead of
three-to-two).  Large square glass comes from one small square insted of two.  Small round, small square, and large wooden tables follow the same pattern.

All glass tables can be recycled back into glass blocks via the Vessels mod's
recipes.  All are 3:1 with glass fragments (and thus, 3:1 with glass blocks),
so there's no glass wasted.

All wooden tables can be crafted into sticks by putting three of a given item
onto the crafting grid.  Any such craft yields 4 sticks, so there's no waste.

Other changes:

3d-ified nightstands, improved their textures somewhat.

New nodes:

* Added working oven (really just a furnace with new textures)
* Added mini-fridge that stores 24 slots
* Added kitchen cabinet that stores 24 slots
* Added half-size kitchen cabinet that stores 12 slots (6x2)
* Added kitchen sink with under-sink cabinet that stores 16 slots.
* Added slab-sized and half-slab-sized glowlights (e.g. ceiling fixtures)
* Added curtains in 6 colors:  red, green, blue, purple, pink, white

Notes:

This mod now requires Moreblocks for some recipes - namely fridge and oven.
2012-09-30 01:51:59 -04:00
Vanessa Ezekowitz
1ca119a557 Nightstands now offer small inventories - one-drawer units get 8 slots, while
two-drawer nightstands get 16 slots (8x2).  They're smaller than chests because
they're cheaper to make.
2012-09-27 22:16:28 -04:00
Vanessa Ezekowitz
961943019c Television has been moved to a separate file and now shows an 8-image
slideshow, similar to Jordach's old TV mod, but using the game's animated
texture feature and a vertical strip of images instead of an ABM.  Animation
time set for 80 seconds, so each of the 8 images shows for 10 seconds.
2012-09-25 18:33:25 -04:00
Vanessa Ezekowitz
23f0921b92 Removed a number of objects from the creative inventory (like parts of doors,
etc).  Now it should only have stuff from this which is actually useful.
2012-09-01 12:45:13 -04:00
Vanessa Ezekowitz
d0cf35e434 made skylight walkable. 2012-09-01 12:19:38 -04:00
Vanessa Ezekowitz
b6956f154d disable debug by default. 2012-07-31 11:37:24 -04:00
Vanessa Ezekowitz
fcca159f48 Noticed I technically had left/right textures swapped on a few blocks.
The textures were drawn to counteract this, without my realizing I was doing
just that. :-) Fixed.  Also replaced all "tile_images" references with "tiles",
since the former is deprecated in favor of the latter.
2012-07-28 03:28:14 -04:00
Vanessa Ezekowitz
2d969cb9bf first commit 2012-07-12 17:56:15 -04:00