1047 Commits

Author SHA1 Message Date
Aaron Suen
aee03be096 Better grass ABM dispersal. 2020-02-08 15:04:52 -05:00
Aaron Suen
3848488a30 Offline catchup for grass spreading. 2020-02-08 15:02:43 -05:00
Aaron Suen
9deb64526e Offline tree growth tweaks.
- No tick delays during tree growth.
- Tree growth near unloaded areas will be delayed
  until the areas are loaded.
2020-02-08 14:23:45 -05:00
Aaron Suen
8bf696d73f Buff radiant heat pass-thru a bit. 2020-02-08 14:04:34 -05:00
Aaron Suen
c1bf3e173f No optics hints until appropriate tools. 2020-02-07 18:49:07 -05:00
Aaron Suen
e3f7aee3e5 Peat rarely ferments to grass under sunlight. 2020-02-07 18:48:48 -05:00
Aaron Suen
911955d470 Make aggregate leaching more preventable. 2020-02-05 18:52:20 -05:00
Aaron Suen
fafe9d266c Merge branch 'ore-renew' into dev 2020-02-05 09:04:59 -05:00
Aaron Suen
68f1c34c3c Renew lode, given lux and some starting lode. 2020-02-05 08:55:13 -05:00
Aaron Suen
b141da2cb0 Tidy up hints, small issues. 2020-02-05 07:34:28 -05:00
Aaron Suen
65d8a97d83 Recipe for renewable lux. 2020-02-05 07:16:22 -05:00
Aaron Suen
9c1fee366d Make lode ore hint visible from start. 2020-02-01 19:16:13 -05:00
Aaron Suen
a07cd9f6da Remove the lode stratum hint.
As per Copenhagen Bram, it doesn't really make sense
to give the player credit for finding something if the
player is likely not to have even noticed.
2020-02-01 19:15:14 -05:00
Aaron Suen
6502bca517 Merge branch 'dev' into 'dev'
Fix hand uv, resize player a little, and fix swim anim

See merge request sztest/nodecore!7
2020-02-01 02:36:16 +00:00
LoneWolfHT
36d8a173e4 Fix hand UV and improve swim anims 2020-01-31 18:22:42 -08:00
Aaron Suen
c294ae3ec5 Revert stone chipping recipe change.
- Be more consistent with other similar recipes.
- Changes to item ent mechanics may have rendered
  the original problem obsolete anyway.
2020-01-31 19:49:55 -05:00
Aaron Suen
ec2454d592 Lode tool breakage is now lossy.
Players have an incentive to be careful with lode tools
and collect worn ones to melt down for recycling instead
of just letting them break naturally.
2020-01-31 08:17:51 -05:00
Aaron Suen
e3599fb4cf Belt-and-suspenders for wield-light.
It seems there are a couple of scenarios in which MT
doesn't correctly run wield light timers to remove the
wield light; use an ABM to catch anything left over.
2020-01-31 07:25:30 -05:00
Aaron Suen
317e9404ba Reinstate "anvil" hint. 2020-01-29 22:48:12 -05:00
Aaron Suen
28200a2399 Fix lode chopping hint.
Need at least a tempered lode hatchet before the
recipe is possible to complete.

Technically it can also be completed with an infused
annealed lode hatchet, but I don't have a way of doing
arbitrary combinational logic in hints yet...
2020-01-29 22:44:45 -05:00
Aaron Suen
55eec8e011 Don't pre-scatter ejected items.
Supposedly some stacks are clipping through the nodes
surrounding them when ejected; this is theoretically
possible if the stacks are full enough, based on the
X/Z offsets and the collisionbox sizes.

Always start items near the center of the ejecting node
position, to minimize (in theory, eliminate) this risk.
2020-01-29 18:24:04 -05:00
Aaron Suen
2bd26f790e Don't stack-as-node unless falling_repose=1.
...except for fluids and hot potatoes.
2020-01-29 08:50:04 -05:00
Aaron Suen
b220480f35 Wooden frames should not stack-as-node. 2020-01-29 08:47:59 -05:00
Aaron Suen
d6fec17207 Mattocks count for the tempering hint. 2020-01-26 23:41:01 -05:00
Aaron Suen
534a95e445 Fix lode hints bugs...? 2020-01-26 23:33:00 -05:00
Aaron Suen
eac1285a3a Fix auto-run math bug 2020-01-26 16:37:37 -05:00
Aaron Suen
31e659b90d Animation speed fixes
- Adjust animation speed to walking speed.
- Fix fwd+back and left+right cancellation.
2020-01-26 16:34:13 -05:00
Aaron Suen
24c8984dbe Remove itemstack drop shadow.
- Further simplifies their appearance and
  registration code
- Makes stacks on ground consistent with stacks
  on shelves.
- Makes stacks-on-stacks look a litlte less silly.
- Eliminates spurious implication that stack
  nodes might block light, which they don't
  necessarily do.
2020-01-26 16:06:27 -05:00
Aaron Suen
bd45313ff4 Tweak and parameterize autorun/zoom.
Auto-run acceleration starts at the same time but now
takes twice as long to complete (~8.3 seconds to max).

Anyone know enough calculus to figure out how much
distance is required for a "running start" for a maximum
long-jump now?
2020-01-26 10:23:41 -05:00
Aaron Suen
aaa66958a2 Fix auto-sprint while flying/falling. 2020-01-25 09:25:24 -05:00
Aaron Suen
47b09a78e2 Keep auto-sprint while swimming downwards. 2020-01-25 09:13:55 -05:00
Aaron Suen
65f3993272 Auto-sprint and player movement overhaul.
- Players start out at a brisk walk, accelerate to a run
  if moving continuously forward.
- Clean up and consolidate various player movement
  code, including footsteps, freefall, and zoom focus.
2020-01-25 09:08:13 -05:00
Aaron Suen
f5a3911ddf Fix tote handle UV mapping. 2020-01-25 08:25:29 -05:00
Aaron Suen
25f4a19761 Let's try another walking speed buff.
Walking is a big part of gameplay, and builds tend to be
big and clunky; this will shave of a bit of the boredom.
2020-01-24 21:05:42 -05:00
Aaron Suen
8417236d42 Experimental lode forging rework.
- You can now forge hot lode using either tempered OR
  annealed anvil.
- This creates a gameplay path for accessing annealed
  lode without having the resources (i.e. water/sponges)
  to access tempered yet.
- Cold-working is still more efficient for being able to
  pick up the excess prills from the process.
- Cold working, and then heating afterwards, is still likely
  the only reasonable way to make mattocks.
2020-01-24 19:28:41 -05:00
Aaron Suen
95bef1c074 Attempt to fix zoom focus mechanic... 2020-01-23 21:49:29 -05:00
Aaron Suen
42c8e21cd2 Experimental zoom control.
Player can zoom in more by standing still and holding sneak.
2020-01-23 21:07:02 -05:00
Aaron Suen
e836d310f3 Allow players to refresh hints 5x faster. 2020-01-23 06:51:39 -05:00
Aaron Suen
76c0a813e5 Switch player guide to use read-only texteareas.
According to the lua_api.txt doc blame, these were improved
around the time of the 5.0 release.  Since we've dropped 0.4
support long ago, we can use these now.

The appearance is roughly unchanged on "normal" large screens,
but on small screens where text used to clip, it should now
wrap (usually, except for long URLs) and have scrollbars if
necessary.
2020-01-23 06:48:03 -05:00
Aaron Suen
c6b3836e6b Fix a couple more non-16x-TP-non-comapt textures. 2020-01-22 23:22:16 -05:00
Aaron Suen
38595cf79a Update translation source. 2020-01-21 21:46:06 -05:00
Aaron Suen
21874672f1 Fix bad code indentation. 2020-01-21 21:37:08 -05:00
Aaron Suen
e575cb9b26 Some more hint bugfixes. 2020-01-21 21:36:05 -05:00
Aaron Suen
e2a5581085 Hint updates! 2020-01-21 21:19:30 -05:00
Aaron Suen
35475ab56d Fix tree growth hint. 2020-01-21 20:49:31 -05:00
Aaron Suen
ce1200e135 Hint refactors, chat alert upon completion.
The new chat stream message is an experimental
feature; it MAY be too intrusive for some players, so
may have to be disabled by default or removed.
2020-01-21 20:41:20 -05:00
Aaron Suen
17a105d658 Be sure to clear player names on quit. 2020-01-21 20:39:37 -05:00
Aaron Suen
dda8a58bae Make the base model anim data public too.
This allows overriding the data to use the same
logic but a different model, overriding the function
to use the same data but different logic, or both.
2020-01-20 21:32:59 -05:00
Aaron Suen
1c914568c0 Fully API-ify player model.
Mods can now override all player visuals, including
animations, model, scale, etc.  Full functionality
via overriding API methods.  Simpler overrides for
skin and mesh by setting player meta attrs.
2020-01-20 21:25:56 -05:00
Aaron Suen
7a90dab2b3 Make /growtrees work on leaves too. 2020-01-20 07:05:00 -05:00