1020 Commits

Author SHA1 Message Date
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
Aaron Suen
73d2c4b5e8 Tree refinements, visible planted eggcorn.
- Make planted eggcorns evident via visual and
  description; it was too easy for new players to
  think they screwed up the recipe.
- Leaves inherit growth rate of trunk.
- Growth particles at tip of growing trunk.
- Code cleanup, refactoring, break up large files.
- Minor texture adjustments.
2020-01-20 06:50:34 -05:00
Aaron Suen
1743f02536 Make growing leaves stand out a bit more. 2020-01-19 19:44:01 -05:00
Aaron Suen
2d1179c4ad Growing leaves are now visually distinct. 2020-01-19 09:20:48 -05:00
Aaron Suen
b2e49a15d4 Make leaf spreading a soaking process too.
It's now possible to push accelerated growth from
trunks into leaves, so catch-up growth works for
entire tree.
2020-01-19 09:15:39 -05:00
Aaron Suen
68e8f24a66 Soaking ABM "push" API for tree growth.
Trunks now "catch up" growth much faster, and
there's a unified API for pushing soaking value
into a node and running a near-immediate check.
2020-01-19 08:59:48 -05:00
Aaron Suen
7d24975fb3 Player damage from radiant heat. 2020-01-18 10:12:11 -05:00
Aaron Suen
2d73df30e7 New API to check if air passes thru node.
Can be used for things like sponge air exposure
or environmental exposure checks.
2020-01-18 09:57:39 -05:00
Aaron Suen
a1cef375cf Hopefully fix tree growing witness hint. 2020-01-17 23:57:16 -05:00
Aaron Suen
053f3b718f Fix glass tank hammering properly.
First class recipe, explcitly test for contents.
2020-01-17 23:45:00 -05:00
Aaron Suen
14b249a9f0 A couple more tree growth issues.
- Offline growth lost after sprouting.
- Trunks not growing through leaves.
2020-01-17 23:41:41 -05:00
Aaron Suen
750bb87b31 Disallow hammering glass tanks.
Hammering them to sand destroys their contents.
Instead, require burning away the binding.
2020-01-17 22:14:10 -05:00
Aaron Suen
55a68c844b Fix broken tote AISM hook. 2020-01-17 21:43:48 -05:00
Aaron Suen
9de5fcfb5a Fix tree growth intrusion.
- Tree trunk growth now stops if blocked.
- Fix eligibility check for /growtrees cmd.
- Tree trunk growth rate now API-ified.
2020-01-17 13:38:59 -05:00
Aaron Suen
085039acea Make amalgamation solid/loose pair.
Quenching to solid prevents falling into lava below.  Amalgamation
can be harvested from the surface with silk touch of Lux-tier
tools.

Attempting to collect with lower Lode-tier tools will likely cause
the loose amalgamation to fall into the lava below, possibly
displacing a source node (if the pool is shallow enough) upward to
fill its spot, then the amalgamation below will melt and the source
node above will quench, so no progress is made.

It's possible to harvest using lode tools, in practice, by
digging down the side of a lava pool and quenching as you go,
until you reach the bottom...
2020-01-17 07:15:16 -05:00
Aaron Suen
06d2594671 Tweak the display name a bit.
"Amalgam" may imply a mercury alloy, which is
not true in this case; we're using it in the
"combination" sense, i.e. an amalgamation of
molten and solid stone.
2020-01-16 23:39:30 -05:00
Aaron Suen
2c47a151cc Started new mechanic for molten rock transport.
Quench lava to amalgam and it can be moved
around like loose cobble.  The tricky bit is that it
needs to STAY quenched at ALL TIMES, and is
not (currently) stackable, so water channels need
to be setup to transport it, and limited amounts
can be moved at a time.

It's also an igniter and thus will dry out sponges
left to keep it cool.
2020-01-16 23:09:55 -05:00
Aaron Suen
7bc1a4ddad Standardize node placement sounds.
Add node placement sounds to processes
missing them, like tree growth.
2020-01-16 22:02:59 -05:00
Aaron Suen
ab754e6d6e Leaf decay fixes, reinstate /growtrees.
Make growing leaves decay the same way
that normal ones do if the trunk is removed
before leaves finish spreading.
2020-01-16 21:43:07 -05:00
Aaron Suen
dea880fc3f Oops, nerfed the wrong abm. 2020-01-15 23:36:05 -05:00
Aaron Suen
1c8c3298c6 Cleanup, better offline catch-up. 2020-01-15 23:10:18 -05:00
Aaron Suen
f9fe2027b8 Standardize leaf placement, fix bugs. 2020-01-15 23:01:11 -05:00
Aaron Suen
fb516e2ba6 Fix tree bud leaf decay. 2020-01-15 22:38:33 -05:00
Aaron Suen
288dddecd4 Working proof-of-concept tree growth. 2020-01-15 22:38:02 -05:00
Aaron Suen
6ebb08c146 Begin prototype for "growing" trees. 2020-01-15 21:27:12 -05:00
Aaron Suen
39f8abb703 Adzes can dig grass.
They act like a weak shovel now.  This should
ease some early game frustrations for new
players until they figure out proper tools.
2020-01-12 15:07:45 -05:00
Aaron Suen
c5a4f42359 Fix (C) year in translations. 2020-01-12 11:28:02 -05:00
Aaron Suen
e096958d24 Translaton update. 2020-01-12 11:21:02 -05:00