69 Commits

Author SHA1 Message Date
Aaron Suen
59a16d44f2 Eggcorns deserve their own sounds... 2019-03-25 00:15:05 -04:00
Aaron Suen
a3d1487890 Shrink eggcorns down 25% (again). 2019-03-23 20:05:56 -04:00
Aaron Suen
367013941c Resimplify eggcorn planting.
- Allow applying dirt to eggcorns w/o sneak again.
- Allow dirting any face; basically just do the custom check
  directly.
- Back out the "shove eggcorns into placed dirt" recipe.
2019-03-23 16:56:02 -04:00
Aaron Suen
a8dbfb221f EggCorn Overhaul!
- Place EggCorns as items, not as nodes.
- Tweak visual scales, thicken them up a bit.
- Allow planting eggcorns into dirt, as well as throwing dirt
  over eggcorns, to make planting easier.
2019-03-23 13:01:31 -04:00
Aaron Suen
4f600d046f Make leave sounds swishy. 2019-03-16 11:23:37 -04:00
Aaron Suen
a20c5401d2 No, "log" doesn't work for a GROWING tree trunk. 2019-03-14 21:59:56 -04:00
Aaron Suen
7eb26b5511 Simplify some names. 2019-03-14 21:58:30 -04:00
Aaron Suen
9607bcc6a6 Start working on sounds, plus minor refinements.
- Clean up registered_* usage patterns.
- Reduce tendancy of leaves to create stack nodes.
  Now they tend to stack up properly in-world more often.
- Tweak damage system to create "headroom" where minor
  damage doesn't cost inv slots immediately.
- Make player hand skin color match model skin.
- Cleanup/unify grass abm logic.
- Start installing new sounds by MagikEh

Sound source:
  https://github.com/MagikEh/SoundsOfWarr
2019-03-13 23:51:59 -04:00
Aaron Suen
fd94d67389 Fix awkwardness with leaf digging prediction. 2019-03-10 00:23:54 -05:00
Aaron Suen
0f0377da52 Make lens/prism light pass thru sunlight_propagates nodes.
This also prevents the lens from igniting them.

Made stick and staff at least as transarent as frames/ladders.
2019-03-09 19:46:52 -05:00
Aaron Suen
332f42bdc7 Rename a thing. 2019-03-07 21:06:53 -05:00
Aaron Suen
611733d7d8 Naming refinements. 2019-03-06 21:52:53 -05:00
Aaron Suen
2231d1dffe Add wield description HUD.
Swap it out with the breath bar, since the breath bar won't be
displaying most of the time, so we can afford to not read what an
item is until we come up for air to look at it.

Also, "eggcorn" is a single word.
2019-03-04 00:52:21 -05:00
Aaron Suen
98b235511c Standardize use of include function. 2019-03-02 20:39:08 -05:00
Aaron Suen
5aed5449ad Tweak tree-gen, making them a little easier to find.
Had multiple complaints from players that trees are hard to find.
The possiblity of needing some exploration is reasonable, and we
don't want the world to be too uniform for aesthetic reasons, but
there shouldn't be much harm in making trees less frustrating
to find.
2019-02-24 23:49:24 -05:00
Aaron Suen
9fe3f296b9 Tree stumps can finally be ground up by lode axes. 2019-02-24 16:36:53 -05:00
Aaron Suen
726f385e52 Add player natural healing.
- Players heal over time at variable speed, depending on subtle
  environmental factors.
- This frees us up to work on the death mechanic, since it's no
  longer the only way to restore health and prevent an untimely
  death.
2019-02-23 13:14:09 -05:00
Aaron Suen
63d587cf8b Missed files in prev commit. 2019-02-21 14:59:41 -05:00
Aaron Suen
c5ebe7f35a Fix stick firestarting.
Wasn't working when wielding more than one stick/staff, due to
implied count check added to fix log-stack-splitting issue.
2019-02-21 14:27:06 -05:00
Aaron Suen
a2f00b3c30 Fix fire-starting wield bug. 2019-02-21 09:35:31 -05:00
Aaron Suen
4b972b4d3b More recipe conversion, bugfixing. 2019-02-10 00:20:55 -05:00
Aaron Suen
35d814fb43 Fix suspected infinite loop in nodefall. 2019-02-09 23:35:16 -05:00
Aaron Suen
b02af51b20 Efficiency for heavily-used abm. 2019-02-09 23:00:38 -05:00
Aaron Suen
05d4d52eb4 Survey of how we're using pummels right now. 2019-02-08 21:12:10 -05:00
Aaron Suen
1ba1d13fcc Craft eggcorn dirt instead of abming it. 2019-02-04 20:21:33 -05:00
Aaron Suen
33cbce23e5 Merge branch 'master' into refac1 2019-02-04 20:16:54 -05:00
Aaron Suen
a8009f4c0c Make eggcorns "attached" instead of "falling".
Functionally, When they land, they'll land as an item stack instead
of placing as a node.  Visually, they won't look huge as they fall
anymore.
2019-02-03 13:22:43 -05:00
Aaron Suen
08a27aaae2 Downscale eggcorn inventory/falling image. 2019-02-03 13:20:19 -05:00
Aaron Suen
d67f736ac5 Merge node_is into match. 2019-02-03 12:44:33 -05:00
Aaron Suen
e78ba700a1 Some more adjustments.
Started flattening recipes.
2019-02-03 11:24:06 -05:00
Aaron Suen
ef8a756f8e Workaround https://github.com/minetest/minetest/issues/7020 2019-02-03 09:47:42 -05:00
Aaron Suen
0627c22101 More tree nerfs. Too many leaves. 2019-02-01 22:17:06 -05:00
Aaron Suen
03fd234f44 MORE tree nerfing. 2019-02-01 21:39:46 -05:00
Aaron Suen
7de5a4d7e3 Nerf tree growth rates.
- Trees now take a long time to develop after planting.
- Environmental factors are important.  Growth is aide by access
  to dirt for roots, and extra moisture from nearby water sources.
2019-02-01 18:34:03 -05:00
Aaron Suen
2d3b468c65 Knock out a bunch of small low-hanging issues.
- Eggcorn cleanup.  They look a little better falling out of the
  tree, and we don't have so many now.
- Crushing damage fixes.  Crushing is nuanced now, and most things
  don't smush you, and many do reduced damage.  A few may do more.
- Item stack convenience.  Items landing on a stack or right-
  clicked onto one attempt to merge into it.
- Ladders now fall (they don't connect to sides).  Use the new
  full-scale frames for ones that don't.
2019-01-29 20:41:29 -05:00
Aaron Suen
e4dc398b3a Start work on usage survey.
- Refactor player knowledge into player mod, to declutter API.
- Move player knowledge into mod storage so players don't need to
  be connected to access.  Old knowledge will be reset, but I
  doubt there was very much of it to lose.
- Start gathering some basic stats.
  - Main glaring omission is player moving and idle time.
2019-01-26 16:39:07 -05:00
Aaron Suen
8a7dbfe255 Remove debug code. 2019-01-26 16:18:21 -05:00
Aaron Suen
8e47b687d0 TOOL CAPABILITIES / LEVELS OVERHAUL
Try to standardize the way we handle tools, materials, digtimes.
- Levels start at 1 and work upwards.
  - Level 1 is for "hand" or "primitive" tools.
  - Levels 2+ are wood, stone, metal, etc.
- Link dig times, tool levels, and durability together.
- Material groups now define standard "base dig times" which
  are the main thing that makes e.g. stone harder to dig than dirt.

The speed of digging almost everything will probably have changed,
in some cases not for the better; much testing will be needed.
2019-01-24 22:08:05 -05:00
Aaron Suen
464a0e1d89 Finite fire rework.
- There are now 6 degrees of embers.  Better fuel sources will
  make better embers.
- Embers differ only in lifespan; each class lasts twice as long
  as the previous.  Top-grade fuels may last 15 minutes or
  longer.
- Embers decay stochastically.
- Embers decay 16x as fast when smothered, but still go through
  the same lifecycle.

Also:
- Plain ash now reposes.

There are no infinite fuel sources, nor are any specifically
planned at this time.
2019-01-17 00:01:00 -05:00
Aaron Suen
d968be62ee Squelch excess limited ABM warnings. 2019-01-12 20:53:02 -05:00
Aaron Suen
983f698f2c Refacs, start on iron ore.
Iron ore is distributed in sheets.  The ore itself will not be
exposed to the air (or any other material other than stone) but
can be detected by the rusty tint it gives nearby rocks.

Iron ore is a stone that yields cobble infused with iron.

Smelting processes to produce steels are TBD.
2019-01-08 02:03:18 -05:00
Aaron Suen
f9abfc5e22 Fire refinements.
- Make some more materials flammable.

- Flammable items in stack form burn up too.

- Some items burn away without converting into fuel.
2019-01-06 14:51:09 -05:00
Aaron Suen
4440e1f0b8 Sticks burn up in presence of fire. 2019-01-06 14:26:27 -05:00
Aaron Suen
6a50eb33b9 Burn up sticks instead of just deleting.
This actually makes it a little easier to start a fire, in case
the node we picked to send sparks to isn't flammable enough; the
fire here may last long enough that, depending on ABM timing,
nearby tinder may catch fire anyway.
2019-01-06 13:11:51 -05:00
Aaron Suen
915cd773e2 Stricter fire starting: node must be max flammability. 2019-01-06 13:05:51 -05:00
Aaron Suen
62f0db49e0 Fire mod is now basically functional.
"Qualitative" fire now works, spreads, etc.

Rub 2 sticks/staves together to start a fire in nearby flammables.
2019-01-06 13:04:07 -05:00
Aaron Suen
7d29907ab2 Some API refactors.
- Clean up utils into multiple files.

- Standardize limited ABM.

- Standardize debug trace handling.  Instead of using chat_send_all
  to debug, and then having to remember to remove before release,
  allow privileged players to receive all server debug messages.
2019-01-06 12:02:37 -05:00
Aaron Suen
e2dd2de5ba Leaf decay, woodcraft wears tools. 2019-01-05 23:11:38 -05:00
Aaron Suen
82d88b2e42 Make tree logs choppable! 2019-01-04 20:36:46 -05:00
Aaron Suen
78f4c8bd74 Fix crafting, move staff to woodworking. 2018-12-30 18:44:28 -05:00