10 Commits

Author SHA1 Message Date
Aaron Suen
fe2c153f9e Clean up all lua code style.
Formatting rules based on Paul Kulchenko's perl-based formatter...
http://notebook.kulchenko.com/programming/lua-beautifier-in-55-lines-of-perl
...using a single tab for indent.

Mostly pure whitespace changes.
2019-08-27 19:14:51 -04:00
Aaron Suen
14b45a3b1b Cheaper, but more complex, doors.
Wooden doors now use a cheap wooden axle (though
you still need lode to chisel them).  All doors must now
be lubricated with graphite (coal) before driving in the
hinge pin.
2019-08-24 06:44:36 -04:00
Aaron Suen
fd52006a7a Image optimizations. 2019-08-19 22:31:00 -04:00
Aaron Suen
7a47f9d61c Add stone doors, tweak descriptions.
The alternate_loose/dig_in_place logic for cobble is interfering
with how stone doors work when dug, but it's still playable and
lossless, even though it's a bit tedious.  I'd like to understand
why it's happening this way and I can't seem to bypass it easily,
but it may be justifiable to leave it this way.
2019-08-14 18:36:22 -04:00
Aaron Suen
15941ba35c Add door operating sounds. 2019-08-14 00:47:18 -04:00
Aaron Suen
32ea24ec50 Image optimization. 2019-08-13 23:01:32 -04:00
Aaron Suen
e5343addd2 Double doors and gears. Update docs. 2019-08-13 22:53:20 -04:00
Aaron Suen
05ac51dafc Fixed description. 2019-08-13 22:09:12 -04:00
Aaron Suen
7431453ad7 Door rotation logic.
Shockingly it WORKS.

Does not yet interact reasonably with a lot of terrain (should
arguably push liquids, falling nodes, items, etc.) or entities
a(i.e. should arguably push players).
2019-08-13 22:02:02 -04:00
Aaron Suen
86cc55c12b Basic door node setup and recipes.
- Craft door panels by chiseling with a rod.
- Rotate door panels.
- Hammer in rod to act as hinge pin.
- Dig out hinge pin, dig up panel.
2019-08-13 21:06:13 -04:00