956 Commits

Author SHA1 Message Date
Aaron Suen
1fbad4ad70 Buff torch firestarting ability. 2019-10-06 11:29:46 -04:00
Aaron Suen
d0ef7ab3ad Use torches for super-easy firestarting. 2019-10-06 11:26:30 -04:00
Aaron Suen
fb0aecaaea Make all loose nodes self-repack over time. 2019-10-06 11:22:56 -04:00
Aaron Suen
54e6ef9019 Fix door digging issue. 2019-10-06 10:37:15 -04:00
Aaron Suen
e4dba54be3 Lode smelting rework.
Separate ore melting and draining processes, to
ease the cognitive leap necessary to figure out
lode smelting.  Players now get feedback when
they have figured out the heating part of the
process, and the visual for cobble with molten
lode in it hints at the draining process.
2019-10-06 10:31:58 -04:00
Aaron Suen
02b05d70c2 Composting is good enough for now.
The current implementation is simpler than the
original plan, but feels balanced enough.
2019-10-06 09:32:59 -04:00
Aaron Suen
90dd2c259b Fix and clean up tree growth and composting. 2019-10-06 09:26:18 -04:00
Aaron Suen
d453df0bb8 New dirt cycle.
- Pack 8 leaves into 1 peat node.
- Leave peat nodes near soil and moisture to decompose further
  into humus.
- Humus is a high-quality soil that works like dirt in most
  ways, but grows trees quite a bit faster.
- Humus converts to dirt via grass (and eventually maybe other
  plant cultivation activities).
2019-10-06 00:08:59 -04:00
Aaron Suen
b8d340587e Deprecated function cleanup. 2019-10-05 17:49:16 -04:00
Aaron Suen
0ed1c497fd Missing some coremod registrations...?! 2019-10-05 17:42:02 -04:00
Aaron Suen
c147da4dde Convert from depends.txt to mod.conf 2019-10-05 11:24:16 -04:00
Aaron Suen
9e551f7694 Make dirt cycle plans a lot more interesting. 2019-10-05 10:40:25 -04:00
Aaron Suen
983cd7c4b5 One more idea... 2019-10-05 10:29:47 -04:00
Aaron Suen
0d2cfca4c1 Update issues from discord. 2019-10-05 10:28:38 -04:00
Aaron Suen
956b02b82e Fix underwater tree growth, add tree debugging.
Special tree growing command, requires debug privs.
2019-10-05 10:17:47 -04:00
Aaron Suen
ce9e68fa9b Fix item duplication bug. 2019-10-05 10:07:12 -04:00
Aaron Suen
0c494955ef Setup weblate sync tools, and pull a snapshot. 2019-10-04 19:27:56 -04:00
Aaron Suen
6a012aeacb Move all src dirs to subdirs of output targets.
This should make organization a little more consistent, and more
specific.
2019-10-04 19:13:30 -04:00
Aaron Suen
27e9a218b0 Don't retranslate any mod's translated strings, not just ours. 2019-10-02 07:40:14 -04:00
Aaron Suen
b24211c2ce Remove redundant translation entry. 2019-10-01 23:10:16 -04:00
Aaron Suen
955f41a578 Less tedious writing controls.
Once a writing node has been scrawled, hold your charcoal and...
- punch it to change between the 8 glyphs
- right-click it to change between 4 to 8 rotations
2019-10-01 22:49:12 -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
0066343fd6 Rename the mod to nc_writing.
Nicer to have nothing alphabetically above nc_api, even though
it's not realistic to expect dependency order to match lexical
order in the long run...
2019-10-01 20:56:50 -04:00
Aaron Suen
5c37e4351d Merge branch 'dev' into writing 2019-10-01 20:05:31 -04:00
Aaron Suen
3e5a3b5f8c Remove the now-incorrect "torches are not a thing" tip.
We may need to provide some more information about torches later,
but for now, we simply won't disclaim their existence.
2019-10-01 19:27:43 -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
Aaron Suen
02057cf612 Allow on_ignite handler to bail early.
For igniter logic where the node handles its own ignition process
in its entirety and doesn't use the base logic.
2019-10-01 18:26:29 -04:00
Aaron Suen
8aa95d1f61 Merge branch 'dev' into torch 2019-10-01 18:24:39 -04:00
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
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