Commit Graph

76 Commits

Author SHA1 Message Date
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
942841ea67 fixed descriptions in plain wooden doors 2013-01-07 22:50:47 -05:00
Vanessa Ezekowitz
7ac917e4dc Updated to account for changes in behavior of mese 2012-12-20 21:25:11 -05:00
Vanessa Ezekowitz
a54db0a0a3 Made all doors have selection boxes that cover the whole door instead of just
half.
2012-12-03 05:41:31 -05:00
Vanessa Ezekowitz
e0c9cb66cd minor tweak to glass doors to allow for top- and bottom-half images on
the edges of the doors (so that the top and bottom corners can be
drawn in).
2012-12-03 05:20:20 -05:00
Vanessa Ezekowitz
e81d9714b2 changed junglegrass-based plastic recipe to use 3 grass and yield 6 plastic.
Resolves a conflict with throwing mod.  Dry shrubs changed also (3 yields 3
plastic) for consistency.
2012-10-11 23:10:34 -04:00
Vanessa Ezekowitz
2900014d0f Added support for glomie's node protection mod. Like the node_ownership mod,
you can only place doors on land that is either not protected, or is protected
by you (singleplayer mode is unaffected).
2012-10-10 23:49:39 -04:00
Vanessa Ezekowitz
1fa7be5643 testing... 2012-10-10 23:27:37 -04:00
Vanessa Ezekowitz
340cc7dfb1 The previous tests were a success, now to do the same thing for glomie's
protection mod.
2012-10-10 22:58:05 -04:00
Vanessa Ezekowitz
a7a2e11b7e All doors now check for the presence of node_ownership and, if present and
the area you place in is owned by someone else, and you don't have rights to
build there, the door will not be placed (you will receive a warning message
instead).
2012-10-09 05:57:24 -04:00
Vanessa Ezekowitz
ec21a17e7d testing almost done 2012-10-09 05:36:25 -04:00
Vanessa Ezekowitz
b04cae0161 testing... 2012-10-09 05:26:48 -04:00
Vanessa Ezekowitz
712caa8021 testing continues 2012-10-09 05:09:30 -04:00
Vanessa Ezekowitz
f5dc0cb014 another test 2012-10-09 04:55:03 -04:00
Vanessa Ezekowitz
8d9537628f another test 2012-10-09 04:45:30 -04:00
Vanessa Ezekowitz
ead549405e testing node ownership workaround for one of the doors. Others to follow. 2012-10-09 04:18:31 -04: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
acd10ee6e3 Fixed copy&paste errors in my aliases for fancy exterior doors 2012-10-05 04:57:54 -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
b70b3829cc just a tweak to a couple comment lines. 2012-10-05 02:46:08 -04:00
Vanessa Ezekowitz
511eec087f added recipes to make unified dyes titanium dioxide and white paint in the
event that UD isn't present.  Same recipes (plus a couple of alternates), same
item names, interchangeable/compatible with all other recipes that use the two
items in UD.
2012-10-05 02:41:24 -04:00
Vanessa Ezekowitz
b85f6dff59 Better exterior fancy door inventory textures. Deleted a debug.txt file that
didn't belong.
2012-10-04 07:45:29 -04:00
Vanessa Ezekowitz
2f26b03800 just deleting some obsolete files. 2012-10-04 07:27:27 -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
ce59c7f130 added wall-mounted regular and thin glow lights in yellow and white. 2012-10-03 18:53:17 -04:00
Vanessa Ezekowitz
701e5fdd52 Applied cornernote's fix for the previous check-for-space attempt. 2012-10-03 04:12:36 -04:00
Vanessa Ezekowitz
328633d60e Added a check to make sure there's room to place a fridge. 2012-10-03 03:44:57 -04:00
Vanessa Ezekowitz
a6643d48e3 better fridge inventory texture. 2012-10-03 00:41:06 -04:00
Vanessa Ezekowitz
77e74fd468 Fridge now takes up two nodes and has a single 10x5 (50 slot) inventory via
using nodeboxes.  Also has a 64px inventory image because of the detail needed
for it.
2012-10-03 00:36:25 -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
c5bab03146 Tweaked recipe for TV (now requires glowglass instead of plain glass) 2012-10-01 20:43:01 -04:00
Vanessa Ezekowitz
b5a349d5f8 Made terracotta base recipe give more lumps of the stuff. 2012-10-01 20:32:58 -04:00
Vanessa Ezekowitz
ca612fe3bf Added intermediate step to terracotta crafting - you must now mix up some
terracotta base material (think of it like red clay), and then smelt that.
2012-10-01 20:21:24 -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
da69aa2534 Just flattened some textures to reduce the filesized slightly. 2012-10-01 09:16:25 -04:00
Vanessa Ezekowitz
037089ddd5 Added picket fence gates (plain and white) 2012-09-30 22:27:28 -04:00
Vanessa Ezekowitz
87e5ed95a0 Added chainlink fence gate. Place a fence back into the crafting grid to get a
gate.  Place it, then click it to open/close.
2012-09-30 21:16:41 -04:00
Vanessa Ezekowitz
c6b2bde0a1 Added chainlink fence. 2012-09-30 18:49:12 -04:00
Vanessa Ezekowitz
5ff52052c3 forgot to give back the empty bucket on successful craft of white picket fence. 2012-09-30 18:19:30 -04:00
Vanessa Ezekowitz
d1a86d8a61 just deleting an obsolete image left over from testing. 2012-09-30 18:12:59 -04:00
Vanessa Ezekowitz
fcd9d457ab continued to tune fence textures and shapes. 2012-09-30 18:09:54 -04:00
Vanessa Ezekowitz
719916aa9c oops, forgot to set the drawtype for the fences. 2012-09-30 17:11:31 -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
42db4772c0 Bugfix - glass skylights were giving back too much on recycle. 2012-09-30 04:04:25 -04:00
Vanessa Ezekowitz
55b8959e65 another minor tweak. two of the recipes had leftover yields from a previous
version of this mod.
2012-09-30 03:54:15 -04:00
Vanessa Ezekowitz
328b023175 Minor recipe tweak to small round -> small square wood table 2012-09-30 03:51:50 -04:00
Vanessa Ezekowitz
77f8ea5aa4 (deleted dresser textures too) 2012-09-30 02:25:47 -04:00
Vanessa Ezekowitz
8cd069da59 deleted dressers - they're obsolete now. 2012-09-30 02:25:19 -04:00
Vanessa Ezekowitz
6a11677507 Minor tweak to positioning of inventory in half-height kitchen cabinets. 2012-09-30 02:06:05 -04:00