756 Commits

Author SHA1 Message Date
Aaron Suen
79419dd10a Simplify composting logic.
- Leaves no longer decay into air.
- Leaves compost over longer time, following tree growth logic
  (i.e. based on moisture and soil) when not exposed to air.
2019-10-01 18:23:12 -04:00
Aaron Suen
bc90850a0e Notes. 2019-09-28 08:56:09 -04:00
Aaron Suen
b7f6d3c7cb Sponge mapgen spawning tweak.
Reinstate sponges spawning as mature colonies, and match mapgen
colonies to expected end-state of natural regrowth.  This should
make it harder to distinguish an "old growth" area where players
have been hanging around a long time from pristine sponges.
2019-09-23 21:46:23 -04:00
Aaron Suen
cc30c80069 Sponge cultivation overhaul.
- Inhibit sponge colony growth beyond a maximum size.  Players
  will have to prune colonies (or, smarter yet, split them) to
  grow more sponges.

- Allow sponge colony transplantation.  Sponges near the "core"
  of a colony (i.e. surrounded by more sponges) are more viable
  and more able to survive the player's crude harvesting.
2019-09-23 21:28:48 -04:00
Aaron Suen
d61f5c8c52 Make sure what we have is a player before loading player stats. 2019-09-23 20:01:14 -04:00
Aaron Suen
54cc3445d3 Further shelf placement fixes. 2019-09-21 12:12:52 -04:00
Aaron Suen
2a3e0cc3ca Fix vertical shelf building.
Placing a shelf against the side of another shelf was possible
with a simple right-click, but placing one against the top or
bottom of another shelf didn't work.  This fixes that.
2019-09-21 09:50:26 -04:00
Aaron Suen
88cf7be08c Don't trigger a craft upon dropping a stack.
This was causing dropping a stack of sticks against the side of a
staff to craft a ladder, and destroy any excess sticks.
2019-09-21 09:06:53 -04:00
Aaron Suen
6536276430 Non-loose nodes inherit crush damage from loose alternatives. 2019-09-21 08:38:16 -04:00
Aaron Suen
3b16be70d4 Fix mattock crafting issue. 2019-09-21 08:33:59 -04:00
Aaron Suen
58b4e09bab Merge notes from discord again. 2019-09-19 07:34:03 -04:00
Aaron Suen
8f12b3aa80 Update issue now that it has an official ID. 2019-09-18 22:41:29 -04:00
Aaron Suen
9e0efb4840 Fix hint breakage discovered by GreenDimond. 2019-09-15 20:38:20 -04:00
Aaron Suen
9bfe902634 Try nerfing composting rates by 5x. 2019-09-15 07:38:38 -04:00
Aaron Suen
e48d306e98 Fix broken lux ore hard strata. 2019-09-15 07:32:06 -04:00
Aaron Suen
8d850980d1 Try removing sparks on collision.
Didn't look right with sparks going through glass, and still
didn't look right having sparks hit glass and go sliding off
to the side at constant velocity.
2019-09-14 19:11:54 -04:00
Aaron Suen
974f0c2672 Having sparks go through solid glass is a bit distracting. 2019-09-14 19:06:22 -04:00
Aaron Suen
afc4d408c7 For now, remove direction bias of fire sparks.
After much discussion about things like wind velocity, it was
concluded that many fires are indoors or underground, and the
check to see if they're out in the open is not worth the cost.
2019-09-14 19:03:40 -04:00
Aaron Suen
35f96fb571 Merge improved fire visuals by GreenXenith. 2019-09-14 18:28:35 -04:00
Aaron Suen
82c012fb1e Add attribution for GreenXenith. 2019-09-14 18:28:20 -04:00
Aaron Suen
9b9b14b173 Standard battery of auto formatting and optimizing. 2019-09-14 18:27:06 -04:00
GreenXenith
da9dea607c Add fire spark particles 2019-09-14 14:42:29 -07:00
GreenXenith
2d63bdba43 Improve fire texture 2019-09-14 14:42:03 -07:00
Aaron Suen
6e345816ad Stack overflow that builds up over time... 2019-09-14 17:09:13 -04:00
Aaron Suen
222b511de2 Barring rebalance needs, this is done now. 2019-09-14 15:37:16 -04:00
Aaron Suen
8270724c07 Stumps now drop sticks instead of dirt.
There is now a "dirt cycle" in NodeCore ecology.  Trees consume
dirt, and stumps now no longer return it.  Players need to compost
leaves by burying them away from light near dirt, which will then
allow them to create new dirt.

This is one step closer to viable skyblock gameplay.
2019-09-14 15:34:27 -04:00
Aaron Suen
40d1c672b9 Merge remote-tracking branch 'origin/master' into dev 2019-09-14 15:11:38 -04:00
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
57b032d062 Initial work on leaf composting.
- Leaves left in the sun decay to nothing.
- Leaves deprived of air decay into dirt.

TODO:
- Decay out of stack nodes, half-life qty?
- Dig particle effects for node destruction; create API and
  apply to other places?
2019-09-14 10:33:02 -04:00
Aaron Suen
0ae0172edd Fix crash on to many falling leaves. 2019-09-14 10:16:42 -04:00
Aaron Suen
7e75fd149a Quote consistency. 2019-09-14 09:49:06 -04:00
Aaron Suen
77d9f37408 Sponge drying sounds. 2019-09-13 22:35:30 -04:00
Aaron Suen
08aaacd303 Make sure actual pummel recipes beat scaling. 2019-09-13 22:31:03 -04:00
Aaron Suen
77cc5d603e Thrown items also cause crush damage while falling.
- Make some adjustments to player entity location finding.
- Genericize crush damage logic to apply to item entities too.
- Item ents cause only 20% crushing damage.
2019-09-13 22:26:47 -04: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