10 Commits

Author SHA1 Message Date
Aaron Suen
65d8a97d83 Recipe for renewable lux. 2020-02-05 07:16:22 -05:00
Aaron Suen
22cbe8c430 Nerf lux reaction to require real cobble.
Starting up a reactor required 15 lux, but it could
be sustained using only ONE.  This was far too
exploity.
2019-12-08 23:27:54 -05:00
Aaron Suen
b180912f0e Run AISMs inside totes. 2019-12-04 08:30:37 -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
2737b7847d Add fairly subtle cherenkov radiation effect. 2019-09-04 23:40:13 -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
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