17 Commits

Author SHA1 Message Date
Aaron Suen
b9e2f822f8 New flexible find_nodes_around api. 2019-11-30 10:28:35 -05:00
Aaron Suen
6013583e4c Item dispersal tweaks/cleanup. 2019-11-28 11:40:28 -05:00
Aaron Suen
9afeebe215 Standardize item dispersal. 2019-11-28 11:29:21 -05:00
Aaron Suen
1d545903ec Agg sinks/disperses when submerged. 2019-11-28 09:28:51 -05:00
Aaron Suen
102fca3816 Fix a couple more aggregate misbehaviors. 2019-11-24 08:17:13 -05:00
Aaron Suen
dbf26466f0 Aggregate is good to the last drop but NOT beyond. 2019-11-24 08:08:58 -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
c147da4dde Convert from depends.txt to mod.conf 2019-10-05 11:24:16 -04:00
Aaron Suen
7e75fd149a Quote consistency. 2019-09-14 09:49:06 -04:00
Aaron Suen
b414d7f5c0 Unify gravel in aggregate recipe. 2019-09-09 06:58:57 -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
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
fe2c153f9e Clean up all lua code style.
Formatting rules based on Paul Kulchenko's perl-based formatter...
http://notebook.kulchenko.com/programming/lua-beautifier-in-55-lines-of-perl
...using a single tab for indent.

Mostly pure whitespace changes.
2019-08-27 19:14:51 -04:00
Aaron Suen
349e8a0a35 Fix wet agg drawtype to appear correct when next to water. 2019-08-24 06:55:25 -04:00
Aaron Suen
dcb5c8b8a1 Water also prevents curing. 2019-08-23 23:20:05 -04:00
Aaron Suen
0c02eec17f Rework concrete curing to work a lot more like glass. 2019-08-23 23:16:59 -04:00
Aaron Suen
f4aa27299e New concrete mod provides access to smooth-stone.
Bash gravel down into ash to produce dry aggregate.

Dampen the aggregate to produce wet aggregate.  The ash chemically
reacts with gravel to produce a cement.

Let the wet aggregate dry and it will cure into smooth-stone.
It will tend to flow and wander if left uncontained though.
2019-08-23 22:45:08 -04:00