723 Commits

Author SHA1 Message Date
Aaron Suen
b078ebbc20 Merge branch 'master' into 'master'
Add swim animation and increase size of head overlay

See merge request sztest/nodecore!1
2019-09-14 19:11:07 +00:00
LoneWolfHT
310206dd4e Add swim animation and increase size of head overlay 2019-09-14 11:23:00 -07:00
Aaron Suen
8a0f073592 Simplify item settling, make instant.
The old method was designed for 0.4 compatibility.  Since 5.0
there appears to be a flag we can just check to see if the item
is still moving according to physics or settled.
2019-09-12 21:56:06 -04:00
Aaron Suen
a9b049db2c Fix delayed visual updates. 2019-09-12 21:12:14 -04:00
Aaron Suen
626ec23ea9 Close the issue. 2019-09-12 21:10:00 -04:00
Aaron Suen
0d82595a80 Support MagikEh's Pez Dispensers.
When removing a stack, if there is a stack above, move it
immediately into place of the removed stack.  This works
recursively, so stack nodes never have a chance to break out
into item entities, fall to the bottom and make a huge mess.

Unfortunately there isn't a very good visual for the stack
shifting down yet, but at least the gameplay is there.
2019-09-12 21:07:57 -04:00
Aaron Suen
72e35ce9ab Rudimentary cleanup of falling leaf node issues.
When a leaf node is displaced by crushing by a falling node,
instead of ejecting an item, try to place the node itself within
a reasonable distance.

This shoudl reduce the number of stack nodes generated from tree
canopy decay, and should alleviate the inconsistency of leaves
falling sometimes as nodes and sometimes as stacks.
2019-09-12 20:56:51 -04:00
Aaron Suen
05c60e031a Attach wielded item sounds to moving player. 2019-09-12 20:20:59 -04:00
Aaron Suen
4f7a31dbd9 Tiniest formatting fix. 2019-09-12 20:05:05 -04:00
Aaron Suen
bf60379f8d Support spectator/creative mod(s). 2019-09-12 19:30:05 -04:00
Aaron Suen
25d6d63707 Information about translations. 2019-09-11 07:44:55 -04:00
Aaron Suen
6270a94f55 One more round of hint tidying.
Make new voice consistent, use some space to hint at actual
recipes, be more specific about completion criteria.
2019-09-11 07:30:08 -04:00
Aaron Suen
1dca9d8cdf Restructure this story. 2019-09-11 07:04:28 -04:00
Aaron Suen
9617c2e5ed Hint system overhaul to try to make translations saner. 2019-09-11 06:38:56 -04:00
Aaron Suen
07239de73c Scaling overhaul as a "navigate caves by feel" system.
- Make handhold nodes glow, to visually simulate the player
  character's now "familarity" with them by feel.  We have to
  represent it synesthetically because the game only gives us
  sight and sound to work with.
- Make floors "scalable" so that they glow, even though they
  don't affect maneuverability.

The effect of this is to allow a player who has fallen into a dark
cavern to navigate, slowly, by feel, allowing more extensive
self-rescue possibilities.
2019-09-09 08:14:07 -04:00
Aaron Suen
9e20b3ce66 Sneaking actually makes player make less sound. 2019-09-09 08:11:06 -04:00
Aaron Suen
a99ba82831 Remember to clear queue. 2019-09-09 07:05:31 -04:00
Aaron Suen
52de19a28c Unified falling check, check after craft. 2019-09-09 07:05:01 -04:00
Aaron Suen
b414d7f5c0 Unify gravel in aggregate recipe. 2019-09-09 06:58:57 -04:00
Aaron Suen
1c52be1b0d Require priv for the /pulverize command. 2019-09-09 06:52:32 -04:00
Aaron Suen
26b4bc1f62 Update notes from discord. 2019-09-09 06:47:33 -04:00
Aaron Suen
b67327922b Fix wrong scaling-pummel particles on ceilings. 2019-09-08 13:46:03 -04:00
Aaron Suen
580c2f205d Re-optimize breath HUD overlay. 2019-09-08 13:30:34 -04:00
Aaron Suen
6c650e85c7 New drowning HUD that's easier to see in already-dark environs. 2019-09-08 13:24:12 -04:00
Aaron Suen
92be21a5dc Allow tree trunks to grow through other trees' leaves. 2019-09-08 12:56:51 -04:00
Aaron Suen
f6b5d88e16 Complete hint coverage for new content (I think). 2019-09-08 09:51:09 -04:00
Aaron Suen
1bc41db769 Simplify and clarify completed hint syntax.
Sorry for the extra busy-work, translators...
2019-09-08 09:35:49 -04:00
Aaron Suen
e51590507a Fix a hint popping up too soon... 2019-09-07 23:36:33 -04:00
Aaron Suen
dfecd6a99f Some more hint coverage. 2019-09-07 21:20:41 -04:00
Aaron Suen
0a50fc455d Show completed hints too, if room.
Suggested by Stix (a.k.a. cahr) for players who haven't done
something in a long time and forgot that it was possible.
2019-09-07 20:44:19 -04:00
Aaron Suen
0186fd7650 Docs. 2019-09-07 20:00:31 -04:00
Aaron Suen
19e20e4406 Add wrought annealed lode storage crates.
These are similar to wooden shelves, except:
- They are not flammable and protect all contents from fire.
- They can be accessed from the top as well, so can be used for
  e.g. floor storage.
2019-09-07 14:34:16 -04:00
Aaron Suen
612f67983e Lode block needs to be hot to chop up now. 2019-09-07 14:34:09 -04:00
Aaron Suen
92d0702e11 Make lux fluid NOT an igniter.
This is making managing a tool infusion system too tricky.
2019-09-07 12:44:52 -04:00
Aaron Suen
1ae768bc33 Remove debugging code. 2019-09-07 12:26:55 -04:00
Aaron Suen
952912b5f6 Allow either kind of sand for glassmaking. 2019-09-07 12:05:23 -04:00
Aaron Suen
1ebdaa6162 Fix falling glowing lode nodes. 2019-09-07 12:02:17 -04:00
Aaron Suen
d43b8cbcda All lode cooking recipes work on nodes in placed form too. 2019-09-07 12:00:33 -04:00
Aaron Suen
9a75f4c87a More flexible burning API.
Stone, lode, and lux tools now all have their handles burn, and
eject the non-flammable portions of the tool.

Now using a unified on_ignite hook for when flammable things catch
fire.  The call is made BEFORE the node is replaced, and has an
opportunity to look at node metadata and eject anything
non-flammable.

It can be a function, e.g. for shelves, or a static value in the
same format that the function would return (e.g. for lode tools
which need string values for temper substitutions).

If it returns a string or itemstack, it will eject that from the
position where the node burned.  If it returns a table it will
eject all the values of that table.
2019-09-07 11:28:51 -04:00
Aaron Suen
6385ce9843 Allow picking stone chips out of non-loose cobble too. 2019-09-07 10:56:43 -04:00
Aaron Suen
0921e9991c More issue cleanup.
Comb through issues.  Shelve some of them.  Fix a couple.
Add some ideas and reorganize/recombine others.

Lux tools should infuse in any open container, so shelves should
work fine too.
2019-09-07 10:11:23 -04:00
Aaron Suen
247bebe417 Finally break up the nc_items monstrosity. 2019-09-07 09:44:30 -04:00
Aaron Suen
0c9544d6b5 Some scaling/particle cleanup, make scaling particles distinct. 2019-09-07 09:32:36 -04:00
Aaron Suen
310ce1bc6c Treat NodeCore as a unified thing.
- Collapse all nodecore "core" mods in the /mods listing, so it's
  easier to find the actual add-on mods.
- Parameterize in-game branding to make renaming derivatives just
  a little easier.
2019-09-07 09:08:57 -04:00
Aaron Suen
a74829cf5c Make this a public API. 2019-09-06 19:26:39 -04:00
Aaron Suen
3b25121324 Nerf lux tool durability.
3x the uses of lode was way too much.  1.5x before needing a
recharge sounds a little better.
2019-09-05 23:17:17 -04:00
Aaron Suen
07d381624e Tree growth noises.
If trees are gonna suddenly blast out of the ground, then they
should make a sound worthy of that.
2019-09-05 23:01:06 -04:00
Aaron Suen
7f9c9bef1e Cleanup docs. 2019-09-05 22:49:40 -04:00
Aaron Suen
0bf2e6923e Remove debugging code. 2019-09-05 22:49:07 -04:00
Aaron Suen
cbf035e0d5 Finished Soaking API, converted trees and infusion to it. 2019-09-05 22:48:30 -04:00