This reverts commit 253c2282917ecade5b8356d592edab40b1d517f5.
Apparently this warning is full of crap. Explicitly
setting use_texture_alpha in the node def does
something DIFFERENT than what the engine says
it's doing enabling it internally. use_texture_alpha
enables alpha BLENDING, which is what we
don't want with interpolation filters, whereas
leaving it off enables alpha THRESHOLDING which
is exactly what we want.
- Add reset command
- Reset alerts on resetting state
- Add option to hide hints
- Add option to add custom hint attrs
- Add option to pass in an already-fully-formed
hint object and skip construction helpers
- Tidy up terrain hints a bit
ContentDB's .gitattributes export-subst support
has been broken for a while now, and apparently
won't be fixed (it's depending on an upstream
that is similarly ignoring the issue).
We need to account for the fact that what looks
like a dev version might actually be a CDB
version that's simply not tagged right.
This allows a texturepack to support both the
original hotbar (for release edition) and the new
hotbar (for the alpha edition) at the same time,
while giving us time to test out the alpha version
and roll out the new release when it's ready, and
without forcing TP authors to trade off support.
Names are also lexically consistent and more
consistent with internal names.
We still change the background, but only depend
on the state of the slot, not on wield index. Go
back to a traditional slot selection ring for the
selection index.
Slot backgrounds are a little bolder normally, and
when broken, especially bold around the broken
areas.
The selection ring itself is broken so that the
gaps in broken slots are still "open" to the outside
when the selection ring is in place.
Hints themselves have not been tided up
much, but this makes the project of fixing the
hints for each mod a little more manageable
and breaks up the hard-to-navigate single
monolithic hints file in the old guide mod.
The old guide mod has now been completely
retired. Hints are now a full-fledged API-layer
standard feature.
- Move hint handling down to API layer
- Simplify stat data; old nc_stats counting can
be moved out to a separate mod. We only
need whether the player has seen or not.
- Invert inventory tab responsibility.
- Merge witness system in from crafting.
TODO:
- Redistribute hint registration responsibility
to individual mods.
- Test external mod compat.
- Retire old nc_stats and nc_guide systems.
- Add a way to reset hints.
- Highlight behind item may lag behind the
new cursor, but the new cursor will show
which slot you're trying to select when
scrolling rapidly.
- Also fix the margins/centering for hotbar
image.
Will have to see how this plays on the actual
MP server, where there's notable RTT lag.
This was causing a texture from texture packs
to be reinterpreted differently, causing buggy-
looking hotbars, and TP authors would not
have been able to change the hotbar to work
with both versions.
Now before and after use different sets of
textures so a single TP can safely support
both before and after.
Since it's now possible to do the fancy hotbar using texturemods
in supported MT 5.2+, the old method of trying to reconstruct the
hotbar piecewise via custom HUDs is probably no longer relevant.
Since there are proper recycling recipes for
these to retemper or chop them into bars
and rods, we can impose a penalty for
wearing them down completely now.
This should fix "messy raking" issues where
the rake fails to pick up some things inside
its volume because they start falling due to
items below being dug first before the rake
hits them, making it more as if the rake is
actually simultaneously digging that volume.
Based on what's being dug, rakes can have
different dig volumes and checks.
Lode rake now has 3 modes depending on
what's being dug:
- Loose things, same as wooden rake
- 3x3x3 exfoliating
- 3x1x1 soil tilling/digging