101 Commits

Author SHA1 Message Date
Aaron Suen
ac77b41af5 Revert "Scaling overhaul."
While this makes scaling a little easier to do, it still doesn't
fix the fundamental problem of scaling being distracting and too
easy to trigger accidentally.

The "pummel" version of scaling caused some confusion when one
player accidentally triggered it trying to figure out how to get
lode out of lode ore.  The current one triggers accidentally all
the time just from tabbing out of a game with it running (e.g. it
isn't paused in multiplayer) leaving the character staring at a
wall.  While such a player WOULD have opportunity to find
handholds in the wall, we aren't differentiating between a player
who's scrutinizing a surface from one staring off into space.

The scaling needs to be made harder to trigger accidentally, like
reinstating the need for an empty hand.  Using a right-click
action may also help distinguish it from pummelng recipes.

Removing this from the alpha branch so players don't get too
accustomed to this functionality and then have it change AGAIN.

This reverts commit 943604cf9588a316dce19e0a60a4219b52c4d905.
2019-10-24 20:16:37 -04:00
Aaron Suen
943604cf95 Scaling overhaul.
- Remove pummel recipes.  Now find handholds just by
  staring at a particular spot.  Being closer or better focused
  helps.
- Use only particles instead of a facedir node, so facedir
  isn't a problem when adjacent to multiple walls/ceilings.
- Automatically upgrade "wall" climbing to "overhang" climbing
  when a ceiling is present.
2019-10-22 01:31:09 -04:00
Aaron Suen
ec723ea6d2 Tree growth requires adequate light and space. 2019-10-19 11:00:18 -04:00
Aaron Suen
d490573659 Update docs. 2019-10-18 07:27:52 -04:00
Aaron Suen
1e2edf3f95 Make totes recyclable.
Fix minor tote recipe bug, too (make it work with
metal crates too).
2019-10-16 20:02:03 -04:00
Aaron Suen
fc0ef548e5 Doors prefer centrifugal movement. 2019-10-13 13:10:42 -04:00
Aaron Suen
6092e3f20e Close issue. 2019-10-13 13:05:10 -04:00
Aaron Suen
402f0150b7 Lux Radiation, and player healthfx API. 2019-10-13 11:37:36 -04:00
Aaron Suen
2a77e6a852 More liberal lux cobble hint detection. 2019-10-13 10:21:30 -04:00
Aaron Suen
3701e54c81 More notes from discord. 2019-10-12 18:58:23 -04:00
Aaron Suen
bc198c3b50 Clean up some resolved stuff from docs. 2019-10-11 20:04:38 -04:00
Aaron Suen
d1259b7272 Update notes.
Door system now cleared quite a lot of long-term goals.
2019-10-11 08:59:30 -04:00
Aaron Suen
54e6ef9019 Fix door digging issue. 2019-10-06 10:37:15 -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
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
0d2cfca4c1 Update issues from discord. 2019-10-05 10:28:38 -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
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
e48d306e98 Fix broken lux ore hard strata. 2019-09-15 07:32:06 -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
626ec23ea9 Close the issue. 2019-09-12 21:10:00 -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
1dca9d8cdf Restructure this story. 2019-09-11 07:04:28 -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
b414d7f5c0 Unify gravel in aggregate recipe. 2019-09-09 06:58:57 -04:00
Aaron Suen
1c52be1b0d Require priv for the /pulverize command. 2019-09-09 06:52:32 -04:00
Aaron Suen
26b4bc1f62 Update notes from discord. 2019-09-09 06:47:33 -04:00
Aaron Suen
f6b5d88e16 Complete hint coverage for new content (I think). 2019-09-08 09:51:09 -04:00
Aaron Suen
dfecd6a99f Some more hint coverage. 2019-09-07 21:20:41 -04:00
Aaron Suen
0a50fc455d Show completed hints too, if room.
Suggested by Stix (a.k.a. cahr) for players who haven't done
something in a long time and forgot that it was possible.
2019-09-07 20:44:19 -04:00
Aaron Suen
0186fd7650 Docs. 2019-09-07 20:00:31 -04:00
Aaron Suen
d43b8cbcda All lode cooking recipes work on nodes in placed form too. 2019-09-07 12:00:33 -04:00
Aaron Suen
9a75f4c87a More flexible burning API.
Stone, lode, and lux tools now all have their handles burn, and
eject the non-flammable portions of the tool.

Now using a unified on_ignite hook for when flammable things catch
fire.  The call is made BEFORE the node is replaced, and has an
opportunity to look at node metadata and eject anything
non-flammable.

It can be a function, e.g. for shelves, or a static value in the
same format that the function would return (e.g. for lode tools
which need string values for temper substitutions).

If it returns a string or itemstack, it will eject that from the
position where the node burned.  If it returns a table it will
eject all the values of that table.
2019-09-07 11:28:51 -04:00
Aaron Suen
6385ce9843 Allow picking stone chips out of non-loose cobble too. 2019-09-07 10:56:43 -04:00
Aaron Suen
0921e9991c More issue cleanup.
Comb through issues.  Shelve some of them.  Fix a couple.
Add some ideas and reorganize/recombine others.

Lux tools should infuse in any open container, so shelves should
work fine too.
2019-09-07 10:11:23 -04:00
Aaron Suen
247bebe417 Finally break up the nc_items monstrosity. 2019-09-07 09:44:30 -04:00
Aaron Suen
0c9544d6b5 Some scaling/particle cleanup, make scaling particles distinct. 2019-09-07 09:32:36 -04:00
Aaron Suen
7f9c9bef1e Cleanup docs. 2019-09-05 22:49:40 -04:00
Aaron Suen
cbf035e0d5 Finished Soaking API, converted trees and infusion to it. 2019-09-05 22:48:30 -04:00
Aaron Suen
45cf7fe67d Yet another Discord note-to-self dump. 2019-09-05 21:10:13 -04:00
Aaron Suen
2737b7847d Add fairly subtle cherenkov radiation effect. 2019-09-04 23:40:13 -04:00
Aaron Suen
a771c2d2fe Don't care about specific player in scaling; any player will do. 2019-08-31 22:17:38 -04:00
Aaron Suen
39dea8a2ae MAJOR: Code quality audit using luacheck.
- Removed lots of unused variables, a few shadowed identifiers.
- Removed a few sections of dead code.
2019-08-31 09:26:53 -04:00
Aaron Suen
5600b1da43 Add Lux ore (basics), update notes. 2019-08-30 20:32:14 -04:00
Aaron Suen
b564333e16 CDB cleaned up. 2019-08-29 06:32:25 -04:00
Aaron Suen
c5cb298bd1 Documentation overhaul.
- Move design principles back into docs (needs cleanup).
- New player-oriented README content.
- Clean up issue/wishlist docs a bit (some things are no longer
  relevant).
2019-08-29 06:19:39 -04:00