723 Commits

Author SHA1 Message Date
Aaron Suen
253ccad3e2 Infuse slower farther from the source. 2019-09-05 21:31:16 -04:00
Aaron Suen
97884bc58e Flux must flow OVER tool to infuse. 2019-09-05 21:14:24 -04:00
Aaron Suen
45cf7fe67d Yet another Discord note-to-self dump. 2019-09-05 21:10:13 -04:00
Aaron Suen
596eb1421c Move wishlist to root.
Now all public docs are in root, and docs dir is just
for dev stuff.
2019-09-05 19:54:55 -04:00
Aaron Suen
71469e3990 Fix a couple bugs/warnings. 2019-09-05 07:36:28 -04:00
Aaron Suen
39b3a1e89c Increase darkness required. 2019-09-04 23:45:16 -04:00
Aaron Suen
86d5a808c6 Only work in relative darkness. 2019-09-04 23:44:58 -04:00
Aaron Suen
2737b7847d Add fairly subtle cherenkov radiation effect. 2019-09-04 23:40:13 -04:00
Aaron Suen
d616c5ad66 Change how silktouch is defined.
- Leave it nil to use the default (5 levels over).
- Set it to false to disable (always drop_in_place).
- Set it to a custom set of groups to skip drop-in-place if the
  tool would be able to dig a node with those groups.
2019-09-04 20:33:37 -04:00
Aaron Suen
33d717b522 Docs update. 2019-09-04 19:12:16 -04:00
Aaron Suen
3dd2092945 Exempt a few materials from ever being silktouch-dug this way.
Stone should be made via concrete.  Tree stumps should only be
made by growing trees.
2019-09-04 19:09:42 -04:00
Aaron Suen
f74b7b3767 "Silk Touch" effect for tools 5+ levels over material.
Tools up to and including Tempered Lode should still behave the
same.  Lux tools should now be able to skip the "loose" stage of
some materials.
2019-09-04 19:04:19 -04:00
Aaron Suen
befd1c0b67 Remove debugging code. 2019-09-04 19:04:07 -04:00
Aaron Suen
d9ff4f0406 Add Lux Flux fluid and Lode tool infusion. 2019-09-04 18:44:08 -04:00
Aaron Suen
f0b4a9a686 Fix touchtip showing "Air" in client/server race.
Reported by MagikEh.
https://discordapp.com/channels/507234450615042048/530756875839340574/618628052066238495
2019-09-04 18:23:30 -04:00
Aaron Suen
3a4bfdb258 One last refactor to ambient sounds.
Make tree sounds managed by the mod that defines the nodes in
question using register_ambient, consistent with other things like
fluids.

nc_envsounds is now responsible for just the air moving and
cave dripping sounds made by air itself.

Common windiness logic moved into api layer.
2019-09-02 11:34:14 -04:00
Aaron Suen
25b2831826 Add cave dripping, rename environment sound mod one more time. 2019-09-02 11:24:03 -04:00
Aaron Suen
7e1dba5073 Remove debug drawtype. 2019-09-02 11:20:02 -04:00
Aaron Suen
1904805516 Crash fix. 2019-09-01 23:27:54 -04:00
Aaron Suen
ca0508a005 Fix cycle variation math, short-circuit y <= 0 2019-09-01 23:24:37 -04:00
Aaron Suen
c9035f55d8 Add open-air wind sounds, consolidate wind ambiance. 2019-09-01 23:18:53 -04:00
Aaron Suen
42744c9512 Added sounds to the wishlist. 2019-09-01 16:15:41 -04:00
Aaron Suen
f7e68d1eb7 Rebrand as "puzzle/adventure".
This game is pretty hard to classify.  In principle it's sort of
like those old classic point-and-click "adventure" games where you
wander an open world, getting things and trying to use things on
other things, until you find combinations that do something
interesting and useful.

The game is mostly focused on "exploration" but not necessarily the
"traveling long distances over land" kind, but often the "exploring
the working principles of things" kind.
2019-09-01 13:48:10 -04:00
Aaron Suen
996ff95836 Freshen screenshot, shrink packaged screenshot.png. 2019-09-01 12:26:22 -04:00
Aaron Suen
007ccf081d Fix smoke API for external mods (nc_reative crash). 2019-09-01 12:18:13 -04:00
Aaron Suen
ae4003b6de Remove debugging code. 2019-09-01 10:18:22 -04:00
Aaron Suen
46c8a6d555 Add wind ambiance to trees, varying with altitude. 2019-09-01 10:07:48 -04:00
Aaron Suen
c17ab3cc1d One last minor reduction in new ore density. 2019-09-01 00:01:14 -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
28efc0cbce Wishlist cleanup... 2019-08-31 15:26:24 -04:00
Aaron Suen
ce80cf7a19 Make sure we don't accept t = 0 as a valid start time. 2019-08-31 10:32:07 -04:00
Aaron Suen
859b70fab5 Track tree-growth while player is distant.
As long as the game clock is running, even if the area is not
loaded and processing ABMs, tree growth will "catch up" when the
area gets loaded.

I was hoping to build a time-integrated "soaking API" to deal with
this and short-circuit the box-mueller calculation to do model the
soak as time-continuous in O(1) time, but this is good enough to
get the expected behavior for now.

If I add more long-term time-integrated stochastic processes (i.e.
not just cooking recipes) then I can do the refac at that time.
2019-08-31 10:27:29 -04:00
Aaron Suen
442a6f89ef Cosmetic text change.
Feels like this chapter name should be longer to be
consistent with the other ones.
2019-08-31 10:04:15 -04:00
Aaron Suen
665c62e2f8 Add some guidelines (non-binding) to contrib. 2019-08-31 09:51:36 -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
939f544eaf Code format cleanup. 2019-08-31 08:27:59 -04:00
Aaron Suen
80a2f8277c Be even more conservative about using stackfamily merge logic. 2019-08-31 08:02:06 -04:00
Aaron Suen
a570cb51a6 Doc cleanup. 2019-08-31 00:10:34 -04:00
Aaron Suen
f24c308eaf Fix crash. 2019-08-30 23:54:33 -04:00
Aaron Suen
ae801ce047 Lux is now working correctly again, reenable! 2019-08-30 23:49:09 -04:00
Aaron Suen
7d1d1e9602 Fix a long-standing race condition bug in limited_abm processing.
ABM action calls are delayed until a background timer picks them
up, but it passes in the original args and assumes that the nodes
haven't changed.  In addition, it bypasses our bug #8378 hack,
because that check is done in the abm action call but NOT the
background worker timer.

Do a check in the worker to make sure the node to be acted on has
not changed since the call was queued, and just let the call miss
and waste in that case.

Note that this automatically implicitly handles any #8378 issues
that may still be present since it has to force a fresh check of
the node to be operated on anyway.
2019-08-30 23:49:00 -04:00
Aaron Suen
4334f18abc Disable lux reactions due to engine bug.
Minetest abm node changes race with node
digging/placing by player.  This was somewhat
noticeable with fire sometimes deleting nodes
used to snuff the fire, but with lux it's much more
damaging, since it allows a player to very easily
duplicate lux.
2019-08-30 23:07:18 -04:00
Aaron Suen
3c5d7e200b "Family" stacking API
If items have a common "stackfamily" property in definition, then
they combine stacks; name and metadata are effectively ignored and
any name is considered acceptable for the combined stack name.

This is used by Lux to allow it to stack naturally instead of the
player having to lay them out spaced on the ground to "cool" them
all to the same level, since all Lux changes dynamically anyway.
2019-08-30 22:36:44 -04:00
Aaron Suen
f877dcf08b Lux reacts to neighbors in carried and stack form too. 2019-08-30 21:35:43 -04:00
Aaron Suen
cd1b9d377a Lux reacting to neighbors. 2019-08-30 20:58:19 -04:00
Aaron Suen
0947c3ea27 Add just one more level of lux cobble to even out numbers... 2019-08-30 20:36:53 -04:00
Aaron Suen
5600b1da43 Add Lux ore (basics), update notes. 2019-08-30 20:32:14 -04:00
Aaron Suen
ee3679661f Image optimization. 2019-08-29 20:20:59 -04:00
Aaron Suen
d8b8b6a35d Fix ASCII logo. :-) 2019-08-29 07:12:06 -04:00
Aaron Suen
b564333e16 CDB cleaned up. 2019-08-29 06:32:25 -04:00