75 Commits

Author SHA1 Message Date
Aaron Suen
d0ef7ab3ad Use torches for super-easy firestarting. 2019-10-06 11:26:30 -04:00
Aaron Suen
b8d340587e Deprecated function cleanup. 2019-10-05 17:49:16 -04:00
Aaron Suen
c147da4dde Convert from depends.txt to mod.conf 2019-10-05 11:24:16 -04:00
Aaron Suen
7fd1da272e Wield light effect works on thrown/dropped torches too. 2019-10-01 21:30:20 -04:00
Aaron Suen
2314097781 Tweak torch wield texture, extend avg life 50%. 2019-10-01 21:14:14 -04:00
Aaron Suen
0a29fd34e9 Clean up sound handling, fix floating point timers. 2019-10-01 19:24:39 -04:00
Aaron Suen
8a65ab5367 Torch logic refactors.
- Unify burn-out logic to just always become ash.
- Reduce logic depth a bit on wield tick, but look for some
  early bail-outs.
- Combine ABM's.
2019-10-01 19:01:06 -04:00
Aaron Suen
77de117ea1 Place certain stacks as nodes.
If a node is specially tagges with the stack_as_node group, and
the stack size is exactly 1, place as a real node instead of a
stack node.

This reinstates logic from WAY back in the super-early pre-alpha
days, except only for nodes explicitly tagged this way.

This should be applied only to nodes that aren't transformed in
any non-desirable way when placed as nodes instead of stacks, and
can be dug the same ways as stacks (i.e. snappy = 1 or
crumbly = 1).

Currently applied to sticks, staves, leaves, ladders/frames,
and torches.  Ladder/frame placement offers some interesting
possibilities in terms of throwing ladders to rappel down holes.
2019-10-01 18:59:53 -04:00
Aaron Suen
a193b966a2 Code reorg, texture optimization.
Use the upstream coal textures from the fire mod, since that's
already a dependency, and we can make sure our textures are
consistent with the upstream ones.  Make the burning torch tip
look embery and not just coaly.
2019-10-01 18:52:05 -04:00
Aaron Suen
b17845f949 Auto-format/check, including some bugs found and fixed. 2019-10-01 18:30:15 -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