2447 Commits

Author SHA1 Message Date
Aaron Suen
7dcbf273ee Add door catapult sounds 2021-12-10 07:16:00 -05:00
Aaron Suen
4aee5a8972 Fix missing door convey fall check 2021-12-10 00:16:37 -05:00
Aaron Suen
86707af8ae Nerf rush growth rate
Seems like it's too easy to farm wicker in
comparison to farming thatch
2021-12-10 00:10:43 -05:00
Aaron Suen
328e52d68d More pronounced door tool anim
Was hard to see on MP servers
2021-12-09 22:37:26 -05:00
Aaron Suen
6fb5ff1980 Animation for door dig/pummel 2021-12-09 22:30:39 -05:00
Aaron Suen
c6de6a5a52 Thatch and wicker shouldn't be so hard to dig 2021-12-09 21:58:49 -05:00
Aaron Suen
0b3271d2da Significantly simplify ambiance dequeueing
These are just going into the after() queue now so
all the rate-limiting stuff is no longer needed.
2021-12-08 23:43:31 -05:00
Aaron Suen
a15dab698a Fix tarstone hint using thrown item 2021-12-08 23:31:03 -05:00
Aaron Suen
44b439ff74 Update issues lists 2021-12-08 23:20:42 -05:00
Aaron Suen
80b7160366 Earth raking hints 2021-12-08 23:12:22 -05:00
Aaron Suen
d0f50dd11a Falling nodes crush raked earth back to normal 2021-12-08 22:37:00 -05:00
Aaron Suen
7db1beee70 Add raked dirt and humus
These also function as "farmland", as raking enhances
the nutrient bioavailiability.
2021-12-08 22:30:50 -05:00
Aaron Suen
57ded7744d Humus is not interchangeable with dirt
This probably breaks using humus as a substitute for
dirt in making adobe, which is probably fine.
2021-12-08 22:06:24 -05:00
Aaron Suen
08593e7132 Allow tarring aggregate via thrown items
This makes agg tarring automatable by catapulting
coal lumps into we aggregate pools.
2021-12-07 23:21:46 -05:00
Aaron Suen
3e262c0a17 Avoid soaking cache collisions
It's possible multiple soaking ABMs are registered
against a single node, and if this happens, make sure
that the qty and time fields in the cache are kept
separate the same way they are in the node meta.
2021-12-07 23:01:14 -05:00
Aaron Suen
25e0219ad8 Desynchronize node ambient sounds
- Removes repeating patterns, creates a richer and
  fuller sound experience
- Larger areas fill sound volume out better instead of
  just repeating more loudly
- Spread network traffic across multiple ticks better
  to reduce packet spikes

Each node position has a set delay, between 0 and 1
second, that's fixed for that pos but varies more or
less randomly between positions.  This ensures that
sounds loop with the same frequency and alignment
for a given single node, but desync across nodes.
2021-12-07 00:57:33 -05:00
Aaron Suen
ffadef37fc Fix misisng grass group 2021-12-07 00:41:29 -05:00
Aaron Suen
1e0b9dbbaa Disallow wind from passing thru solids 2021-12-07 00:35:02 -05:00
Aaron Suen
3ea2ce8827 Much more palpable wind sounds
Instead of statically-positioned wind sounds, many
of which are often outside of hearing range,
attach sounds to moving entities which often tend
to move across the player's position.
2021-12-07 00:11:15 -05:00
Aaron Suen
f0a3c7151b Tote fixes and improvements
- Fix item loss when totes ignite
- Slots used / total in description
2021-12-06 23:40:54 -05:00
Aaron Suen
13abe9a45b Add hard stone support for anvils
Deeper strata can be used, and each is twice as
resistant to weakening as the one above.
2021-12-06 22:26:57 -05:00
Aaron Suen
ada9e11987 Support probabilistic craft node replacement 2021-12-06 22:25:03 -05:00
Aaron Suen
6a6e6e420b Update ideas doc 2021-12-05 16:02:33 -05:00
Aaron Suen
f1c43f0594 Handle open-bottom storeboxes on tote place
When using forms with totes, if the items in forms
are not supported, they should fall.
2021-12-05 15:25:08 -05:00
Aaron Suen
a0d4f20566 More notes and some reorg 2021-12-05 14:52:13 -05:00
Aaron Suen
106b405589 More notes 2021-12-05 14:46:47 -05:00
Aaron Suen
af5056ce54 Looktip for fire, more notes 2021-12-05 14:45:16 -05:00
Aaron Suen
3e22c73aeb Note about slow sponge growth issue 2021-12-05 14:39:50 -05:00
Aaron Suen
ad8bf99800 Reduce sponge colony growth load 2021-12-05 14:30:11 -05:00
Aaron Suen
ca694993c9 Un-delay inverted ABMs
Instead of queueing inverted ABMs and then running
them out-of-band, run them inside the normal ABM
schedule time.  This should:
- Prevent ABM mux lookup problems caused by nodes
  changing after a delayed inverted ABM schedule and
  the action actually running
- Allow the ABM scheduler to better account for the
  time spent running inverted ABM actions, to ensure
  that they properly count against the default 0.2s
  ABM runtime budget and can't spike lag up higher.
2021-12-05 14:11:01 -05:00
Aaron Suen
bf744aab8b Fix excess meta writes in soaking API
It didn't seem to affect many test cases, but avoid
excess calls to meta:set_*() due to 0/nil disagreement.
2021-12-05 09:10:43 -05:00
Aaron Suen
d99e8ca55c Dirt leaching ABM nano-optimization
Slightly accelerate the most common case, of dirt
not exposed to water at all.
2021-12-05 09:04:59 -05:00
Aaron Suen
f412b7f570 More extensive ABM statistic reporting 2021-12-05 09:04:17 -05:00
Aaron Suen
5d1833c983 Hints for each anvil process type 2021-12-04 21:46:11 -05:00
Aaron Suen
98d5a1a8e9 Notes 2021-12-04 21:33:49 -05:00
Aaron Suen
d0132e4127 Flowers will survive but NOT spread on grass 2021-12-04 21:33:40 -05:00
Aaron Suen
5398d4daf6 Document grass/stump/sprout texture sameyness 2021-12-04 21:31:18 -05:00
Aaron Suen
8edd665b68 Revert "Make grass node undersides subtly distinguishable from dirt"
This reverts commit b1661c976e3a6420c3917a5322ee72e0dd9ddb6d.

This was done inconsistently and the problem extends to a number
of nodes, which should probably all be fixed at the same time.
2021-12-04 21:31:08 -05:00
Aaron Suen
53427e326d Add a bunch of stuff to the TODON'T list
It occurred to me that I still hear commonly repeated
requests for some things not already documented, so
include them.
2021-12-04 11:09:07 -05:00
Aaron Suen
7f5155f91d Glowing lens slow-start
Lenses enter a "glowing" state to propagate signal
immediately as before, but now they don't actually
produce light until powered steadily for 2 seconds.

This should mitigate the risk of "strobe" circuits that
cause excess lighting recalculations and irritate some
sensitive players.
2021-12-03 23:04:58 -05:00
Aaron Suen
8bf23e6f0a Fix DNTs not being reset on node replace
Invalidate DNT cache when nodes are changed and
force it to be re-read from meta, as meta was also
likely cleared during that operation.
2021-12-03 23:02:31 -05:00
Aaron Suen
8d38fe5421 Make mature sedges easier to spot
Use a taller, fully square selection box for them,
adding 1 extra level worth of box height (from 4/8
to 6/8 instead of 4/8 to 5/8).
2021-12-03 22:41:39 -05:00
Aaron Suen
b1661c976e Make grass node undersides subtly distinguishable from dirt
Add grass root texture to underside (and visible part of dirt
on sides) of grass node.  The difference in node sounds but same
visuals was always an inconsistency, and since touchtips became
looktips, players being able to distinguish grass from dirt from
the underside didn't make sense without an actual visual
difference.
2021-12-03 08:15:56 -05:00
Aaron Suen
34a2562964 Polyfill for player:get_velocity, clean up other hooks
This gets rid of the 5.4+ "deprecated get_player_velocity" warning
and modernizes the code to use get_velocity() everywhere, while
still remaining compatible with 5.3 for now (tested).  The polyfill
had to be on joinplayer because the nc_player_pickup auto-one-time
method of using after() won't reliably patch the player before some
other globalstep tries to read player velocity.

When MT 5.5 is released and 5.3 support ends, the polyfill just
needs to be removed to clean it up.

Also tidied up and consistentized the logging for other hooks.
2021-12-03 08:09:57 -05:00
Aaron Suen
bfd509c9e7 More notes 2021-12-02 22:12:59 -05:00
Aaron Suen
7aaf383f70 Annealed lode forms 2021-12-02 22:07:13 -05:00
Aaron Suen
a861cb7cba Wet things also suffocate grass
Wet or living sponges on top of grass will not allow
air in and will suffocate grass.
2021-12-02 18:39:34 -05:00
Aaron Suen
0f0f4efbff Make leaves and other non-walkables press-diggable
Check for a dig recipe first before attempting to
catapult item through the node.  This should make all
non-solid nodes diggable including loose leaves,
sedges, rushes, flowers, etc.
2021-12-02 18:33:24 -05:00
Aaron Suen
13e71e5c53 Disallow forms inside other storeboxes
Consistent with other shelves
2021-12-02 18:28:14 -05:00
Aaron Suen
af44989f7a Add simple "current tab" indicator 2021-12-02 07:33:01 -05:00