24 Commits

Author SHA1 Message Date
Aaron Suen
c34bc39530 Soil leaching now requires raked soils
This is a design compromise to knock out the
worst offender in ABM cost, by requiring a node
that must be created by player action instead
of ubiquitous naturally-occuring nodes that all
need to be checked.

Leaching is really meant to be more of a minor
gameplay element anyway, for either skyblock
purposes, or for people who are bored enough
that they want to take on a challenge like a
neutral eco footprint; most normal players just
gather the materials from mapgen and hardly
bother with leaching recipes anyway.
2021-12-11 11:25:18 -05:00
Aaron Suen
40e8d23a16 Proof of concept sand-raking nodes 2021-07-02 15:40:52 -04:00
Aaron Suen
18b01c1ae7 Redistribute hints into each mod
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.
2020-09-04 19:07:45 -04:00
Aaron Suen
34259f12fa Back out stylus for now
The stylus is not ready for use, BUT the
changes already in are worth merging.
2020-06-28 16:08:44 -04:00
Aaron Suen
61b7fffd15 Create charcoal stylus item 2020-06-28 14:11:09 -04:00
Aaron Suen
32ab8b775a Refactor writing code 2020-06-28 13:55:43 -04:00
Aaron Suen
2d1f61ee97 Touchtips support "touch thru" API
Allow the "above" node to override the "under"
node's description.  Use this mechanism to
append charcoal glyph descriptions to the
touchtips, but only when punching a face that
has a glyph on it.
2020-06-28 12:38:14 -04:00
Aaron Suen
787d548e3b Make filenames consistent with new names 2020-06-28 12:13:41 -04:00
Aaron Suen
e2b2e0acc7 New names for charcoal glyphs 2020-06-28 12:10:58 -04:00
Aaron Suen
f514990ea4 Merge more issues from discord. 2020-06-20 10:45:44 -04:00
Aaron Suen
e0156b4742 Add profiler instrumentation metadata everywhere
N.B. the MT built-in profiler doesn't yet actually support reading
labels from bare-function registrations, so a builtin hack is
needed.
2020-06-15 07:21:39 -04:00
Aaron Suen
c6b3836e6b Fix a couple more non-16x-TP-non-comapt textures. 2020-01-22 23:22:16 -05:00
Aaron Suen
c7a90debcb Fix scaling and charcoal writing.
Making hand dig everything broke logic that was
depending on things being "not hand diggable".
Continue to treat things as not-hand-diggable if they
would take a long enough time to dig.
2019-12-29 13:57:49 -05:00
Aaron Suen
ddfbd8e863 Another z-fighting regression... 2019-12-09 20:50:57 -05:00
Aaron Suen
7050568938 Dammit dammit z-fighting hacks.
- Unbake the scaling tweak from models, apply it
  using mesh scaling in MT instead.
- Standardize ratio definition in one place.
- Default all nodeboxes to winning z-fights.
2019-12-08 23:14:56 -05:00
Aaron Suen
3d11536b81 Fix ugly frames/ladders/staves/rods.
Automatic z-fighting prevention was causing some
nodes to fail to connect to neighbors due to the tiny
gaps.  Allow certain nodes to "win" the z-fight instead
so they also connect to neighbors properly.
2019-12-08 17:19:47 -05:00
Aaron Suen
6e1f3fee94 Standardize intra-line spacing in code. 2019-12-01 11:08:12 -05:00
Aaron Suen
0904c78987 Retire unnecessary "blank" images. 2019-11-10 10:44:41 -05:00
Aaron Suen
6f3bb30825 Fix rake taking credit for hand-digging nodes.
When you have a thing in your hand that doesn't help
you dig a node, but you can dig that node by hand,
then apparently the after_use callback still seems to
trigger, causing the rake effect, and wear-out.
2019-10-31 21:33:53 -04:00
Aaron Suen
9dee17440e Cannot write on more surfaces.
Don't allow writing on surfaces of nodes that can transmit
light, which includes:
- Glass, which is too slick.
- Non-solids like frames, shelves, totes, which aren't flat enough.
2019-10-30 07:32:25 -04:00
Aaron Suen
42cc3a1632 Fix floating glyphs sticking to air. 2019-10-30 07:29:29 -04:00
Aaron Suen
0ed1c497fd Missing some coremod registrations...?! 2019-10-05 17:42:02 -04:00
Aaron Suen
955f41a578 Less tedious writing controls.
Once a writing node has been scrawled, hold your charcoal and...
- punch it to change between the 8 glyphs
- right-click it to change between 4 to 8 rotations
2019-10-01 22:49:12 -04:00
Aaron Suen
0066343fd6 Rename the mod to nc_writing.
Nicer to have nothing alphabetically above nc_api, even though
it's not realistic to expect dependency order to match lexical
order in the long run...
2019-10-01 20:56:50 -04:00