90 Commits

Author SHA1 Message Date
Aaron Suen
58d2be5410 Make some hot-potato items place on landing. 2019-12-01 12:57:35 -05:00
Aaron Suen
6e1f3fee94 Standardize intra-line spacing in code. 2019-12-01 11:08:12 -05:00
Aaron Suen
fdd881ae53 Active ItemStack Modifier overhaul.
AISM's now tick against stacks, including in piles, shelves,
and player inventories, (hopefully) efficiently compared to
the old way with separate ABMs.  Item entity support is also
possible, but not necessary yet.

This started out as a bugfix for being able to put a torch inside a
shelf, which didn't make much sense gameplay-wise.  It ended up
going quite a bit further.

- Aggregate now gets wet in stack form.  Swimming with dry
  concrete now has consequences.
- Lux reactions, radiation, and infusion should now behave more
  consistently.
- Sponges can now wet or dry in stack form, including inside
  containers.
- Torch ignition, quenching, and extinguishing is now more
  consistent regardless of context, and torches are now more
  dangerous, and can ignite things in more contexts.
2019-10-29 20:03:18 -04:00
Aaron Suen
96e653a5b3 Minor screenshot update, some image optimization. 2019-10-15 07:13:11 -04:00
Aaron Suen
749169a10b Subtlize and overall nerf radiation accumulation rate. 2019-10-14 19:52:19 -04:00
Aaron Suen
22f24f7444 Buff water attenuation, add attenuation for all other materials. 2019-10-14 06:19:45 -04:00
Aaron Suen
88292e402b Lower lux tool radiation rate significantly. 2019-10-14 06:13:48 -04:00
Aaron Suen
f9a1996811 Limit lux radiation distance, water attenuates significantly. 2019-10-14 06:11:50 -04:00
Aaron Suen
af1f808c68 Fix player health FX auto-scaling.
Guarantee 2 usable slots no matter how many different
injury effects accumulate.

Filled slots will be shared among different damage types
roughly proportionally.
2019-10-13 12:57:57 -04:00
Aaron Suen
af42914d86 Oops, fix missing dependency, texture name. 2019-10-13 11:39:00 -04:00
Aaron Suen
402f0150b7 Lux Radiation, and player healthfx API. 2019-10-13 11:37:36 -04:00
Aaron Suen
c147da4dde Convert from depends.txt to mod.conf 2019-10-05 11:24:16 -04:00
Aaron Suen
e48d306e98 Fix broken lux ore hard strata. 2019-09-15 07:32:06 -04:00
Aaron Suen
7e75fd149a Quote consistency. 2019-09-14 09:49:06 -04:00
Aaron Suen
dfecd6a99f Some more hint coverage. 2019-09-07 21:20:41 -04:00
Aaron Suen
92d0702e11 Make lux fluid NOT an igniter.
This is making managing a tool infusion system too tricky.
2019-09-07 12:44:52 -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
310ce1bc6c Treat NodeCore as a unified thing.
- Collapse all nodecore "core" mods in the /mods listing, so it's
  easier to find the actual add-on mods.
- Parameterize in-game branding to make renaming derivatives just
  a little easier.
2019-09-07 09:08:57 -04:00
Aaron Suen
3b25121324 Nerf lux tool durability.
3x the uses of lode was way too much.  1.5x before needing a
recharge sounds a little better.
2019-09-05 23:17:17 -04:00
Aaron Suen
cbf035e0d5 Finished Soaking API, converted trees and infusion to it. 2019-09-05 22:48:30 -04:00
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
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
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
7e1dba5073 Remove debug drawtype. 2019-09-02 11:20:02 -04:00
Aaron Suen
c17ab3cc1d One last minor reduction in new ore density. 2019-09-01 00:01:14 -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
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
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