Commit Graph

12 Commits

Author SHA1 Message Date
a7777d588b Improved placement for slabs etc
Stairs+ nodes now check which side of the face (top/bottom for
horizontal, left/right for vertical placement) is being clicked to
decide on the orientation of the placed node. The aux key can be used
to place the node as if from the opposite side.

When the under node and placed node are the same category (e.g. slab to
slab) then by default the orientation of the under node is copied,
flippingit if placing above or below an upright or upside-down node. The
aux key can be used to place node according to the general (no aux, no
same-cat) rules.

(And yes, this means that it's not possible to place a stair+ node
against another stair+ node as if it were from the other side. Sorry, we
don't have enough special keys.)
2020-12-12 09:52:33 +01:00
b67028a417 Fix use_texture_alpha warnings since 5.4.0-dev 2020-08-16 10:14:18 +02:00
917a46014f Update copyright statements to 2020 2020-01-01 04:09:24 +01:00
72a6ee6032 Make Stairs+ nodes emit slightly less light compared to full nodes
This makes up for their smaller visual size.
2019-05-08 20:00:57 +02:00
8e8078e74b Refactor common.lua to simplify code and make locale strings searchable 2019-03-20 21:30:35 +01:00
76a00a5365 Update intllib support to avoid using deprecated functions 2019-03-03 20:02:40 +01:00
0e885283c0 Update copyright statements to 2019 2019-02-25 12:13:55 +01:00
b0cb1d325a Fix Stairs+ node rotation on placement
This closes #123.
2019-02-25 10:47:51 +01:00
b6f6bc8c71 Activate translation for stairplus descriptions 2019-02-25 10:30:24 +01:00
95155a3bc6 Add pre-commit hooks
See https://pre-commit.com/ for more information.
2019-02-21 23:10:58 +01:00
7d701da5b9 Move recipe definitions to a separate file and function. 2018-03-26 19:09:44 +02:00
c711946453 Move node registrations to a separate file 2018-03-26 19:09:44 +02:00