Placing a shelf against the side of another shelf was possible
with a simple right-click, but placing one against the top or
bottom of another shelf didn't work. This fixes that.
Stone, lode, and lux tools now all have their handles burn, and
eject the non-flammable portions of the tool.
Now using a unified on_ignite hook for when flammable things catch
fire. The call is made BEFORE the node is replaced, and has an
opportunity to look at node metadata and eject anything
non-flammable.
It can be a function, e.g. for shelves, or a static value in the
same format that the function would return (e.g. for lode tools
which need string values for temper substitutions).
If it returns a string or itemstack, it will eject that from the
position where the node burned. If it returns a table it will
eject all the values of that table.
- Clean up registered_* usage patterns.
- Reduce tendancy of leaves to create stack nodes.
Now they tend to stack up properly in-world more often.
- Tweak damage system to create "headroom" where minor
damage doesn't cost inv slots immediately.
- Make player hand skin color match model skin.
- Cleanup/unify grass abm logic.
- Start installing new sounds by MagikEh
Sound source:
https://github.com/MagikEh/SoundsOfWarr
Can't get HUDs to align right on high-DPI/android at all. Give up
on the combination breath/wield bar, switch back to a much earlier
version of the code for that.
For wield names, add a new tooltip to the center of the screen, and
show it transiently so that it doesn't disrupt all gameplay.
As a bonus, this is also a logical place to put a "what am I
touching" display, so hook this up for punching. Now you can
tell what you're touching even when you can't dig it. This is
like a WAILA mod, but doesn't require tracing.
Since the recipe output count matches frame count, this is more
consistent with design intent.
Shelves can also be crafted in place this way for use in a tote.
When picked up, it carries up to 8 surrounding shelves with it,
allowing significant inventory compression into one slot. Needs
to be placed somewhere everything fits to access the inventory
again.
- As a general rule, we're disallowing nesting of containers for
now. Only bare stack nodes may contain containers.
- Overhaul docs. Ideas are getting out of hand, shoved a lot of
stuff into the icebox for now.
- Remove debugging code.
- We don't really need to be able to reach through shelves, but
we don't want to miss when trying to access them, so make
shelf hitboxes solid for now.