918 Commits

Author SHA1 Message Date
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
GreenXenith
d3510d263a Add torch quirk note 2019-09-14 22:38:35 -07:00
GreenXenith
3a3eb976cd Torches depend on woodwork 2019-09-14 22:29:50 -07:00
GreenXenith
5c5de0813c Animate torch texture 2019-09-14 22:24:41 -07:00
GreenXenith
57dac2c808 Move torch blend file to src 2019-09-14 21:42:12 -07:00
GreenXenith
00b3e0f206 Snuff torches when underwater or quenched 2019-09-14 21:40:35 -07:00
GreenXenith
47e7ac505f Separate torch files 2019-09-14 20:35:58 -07:00
GreenXenith
86441e7179 Remove torch mtl file 2019-09-14 20:35:32 -07:00
GreenXenith
1ebe187cd1 Add torch wield light 2019-09-14 20:18:09 -07:00
GreenXenith
01438ca10b Make torch produce less light than fire 2019-09-14 19:49:27 -07:00
GreenXenith
688c750fe7 Adjust lit torch box 2019-09-14 19:48:26 -07:00
GreenXenith
c1d1243250 Only ignite torches if under air 2019-09-14 19:46:57 -07:00
GreenXenith
7b82a923ff Dont ignite materials underneath torch 2019-09-14 19:39:48 -07:00
GreenXenith
7f724fcb0a Fix re-placed expiration time 2019-09-14 18:29:52 -07:00
GreenXenith
833ae46716 Remove empty torch texture 2019-09-14 18:07:09 -07:00
GreenXenith
7647eb547a Add torches 2019-09-14 18:05:29 -07: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