157 Commits

Author SHA1 Message Date
Yaman Qalieh
a8147e9875 Add levels to log messages 2020-05-27 14:04:00 -04:00
Aaron Suen
94129d5067 Hack to let TP authors override inv/wield images 2020-04-05 20:35:51 -04:00
Aaron Suen
0012c2673b More scaling time definitions
Also, scaling_time completely overrides
group-based scaling time logic.
2020-03-29 08:13:41 -04:00
Aaron Suen
e7846c9348 Refac HUD api, reduce chat_send usage 2020-03-25 08:49:34 -04:00
Aaron Suen
0cb72f7f2b Updated code standards. 2020-02-27 19:11:12 -05:00
Aaron Suen
6db8d9fc26 Adjust things to work in twilight.
- Lenses no longer produce light from sun at all;
  artificial light is always needed.
- Grass and trees survive, don't do dual-time check.
- Breeze sounds work in twilight.
- Sponge drying only requires twilight, now also can
  happen under artificial light.
- Peat to grass happens under twilight.
2020-02-22 16:55:42 -05:00
Aaron Suen
c7a322941e Experimental new natural light system.
- No day/night cycle, no sun/moon.
- Get rid of clouds too.
- Skybox is now 100% texture-packable.
- Natural light diminishes with depth.

Night-time no longer disrupts gameplay topside, but
skylights are no longer useful to an infinite depth and
artificial light is necessary for all deep mining.
2020-02-22 10:38:03 -05:00
Aaron Suen
2c91f8f95d Make the log top a little less extremely square. 2020-02-20 02:21:33 -05:00
Aaron Suen
e19c9a8283 Reoptimize image. 2020-02-18 22:12:38 -05:00
Aaron Suen
bb85c4679f Misalignment. 2020-02-18 22:12:14 -05:00
Aaron Suen
484c1a337f More subdued look for molten glass, image opt. 2020-02-18 20:10:08 -05:00
Aaron Suen
2ac5403149 The last few texture tweaks. 2020-02-18 19:57:30 -05:00
Aaron Suen
df2bb58793 Finish tree + terrain textures, new "rusty" lode look. 2020-02-18 06:30:43 -05:00
Aaron Suen
bc5708b343 Bold new look for lode! 2020-02-18 00:07:59 -05:00
Aaron Suen
80ed908b6b Fix grass eating tree sprouts (again). 2020-02-16 16:11:49 -05:00
Aaron Suen
06a94e4ffb Fix leech->leach spelling 2020-02-14 21:25:25 -05:00
Aaron Suen
db5ff04b1c Composting spread catchup too. 2020-02-08 15:16:41 -05:00
Aaron Suen
3848488a30 Offline catchup for grass spreading. 2020-02-08 15:02:43 -05:00
Aaron Suen
9deb64526e Offline tree growth tweaks.
- No tick delays during tree growth.
- Tree growth near unloaded areas will be delayed
  until the areas are loaded.
2020-02-08 14:23:45 -05:00
Aaron Suen
e3f7aee3e5 Peat rarely ferments to grass under sunlight. 2020-02-07 18:48:48 -05:00
Aaron Suen
c6b3836e6b Fix a couple more non-16x-TP-non-comapt textures. 2020-01-22 23:22:16 -05:00
Aaron Suen
21874672f1 Fix bad code indentation. 2020-01-21 21:37:08 -05:00
Aaron Suen
35475ab56d Fix tree growth hint. 2020-01-21 20:49:31 -05:00
Aaron Suen
7a90dab2b3 Make /growtrees work on leaves too. 2020-01-20 07:05:00 -05:00
Aaron Suen
73d2c4b5e8 Tree refinements, visible planted eggcorn.
- Make planted eggcorns evident via visual and
  description; it was too easy for new players to
  think they screwed up the recipe.
- Leaves inherit growth rate of trunk.
- Growth particles at tip of growing trunk.
- Code cleanup, refactoring, break up large files.
- Minor texture adjustments.
2020-01-20 06:50:34 -05:00
Aaron Suen
1743f02536 Make growing leaves stand out a bit more. 2020-01-19 19:44:01 -05:00
Aaron Suen
2d1179c4ad Growing leaves are now visually distinct. 2020-01-19 09:20:48 -05:00
Aaron Suen
b2e49a15d4 Make leaf spreading a soaking process too.
It's now possible to push accelerated growth from
trunks into leaves, so catch-up growth works for
entire tree.
2020-01-19 09:15:39 -05:00
Aaron Suen
68e8f24a66 Soaking ABM "push" API for tree growth.
Trunks now "catch up" growth much faster, and
there's a unified API for pushing soaking value
into a node and running a near-immediate check.
2020-01-19 08:59:48 -05:00
Aaron Suen
2d73df30e7 New API to check if air passes thru node.
Can be used for things like sponge air exposure
or environmental exposure checks.
2020-01-18 09:57:39 -05:00
Aaron Suen
a1cef375cf Hopefully fix tree growing witness hint. 2020-01-17 23:57:16 -05:00
Aaron Suen
14b249a9f0 A couple more tree growth issues.
- Offline growth lost after sprouting.
- Trunks not growing through leaves.
2020-01-17 23:41:41 -05:00
Aaron Suen
9de5fcfb5a Fix tree growth intrusion.
- Tree trunk growth now stops if blocked.
- Fix eligibility check for /growtrees cmd.
- Tree trunk growth rate now API-ified.
2020-01-17 13:38:59 -05:00
Aaron Suen
7bc1a4ddad Standardize node placement sounds.
Add node placement sounds to processes
missing them, like tree growth.
2020-01-16 22:02:59 -05:00
Aaron Suen
ab754e6d6e Leaf decay fixes, reinstate /growtrees.
Make growing leaves decay the same way
that normal ones do if the trunk is removed
before leaves finish spreading.
2020-01-16 21:43:07 -05:00
Aaron Suen
dea880fc3f Oops, nerfed the wrong abm. 2020-01-15 23:36:05 -05:00
Aaron Suen
1c8c3298c6 Cleanup, better offline catch-up. 2020-01-15 23:10:18 -05:00
Aaron Suen
f9fe2027b8 Standardize leaf placement, fix bugs. 2020-01-15 23:01:11 -05:00
Aaron Suen
fb516e2ba6 Fix tree bud leaf decay. 2020-01-15 22:38:33 -05:00
Aaron Suen
288dddecd4 Working proof-of-concept tree growth. 2020-01-15 22:38:02 -05:00
Aaron Suen
6ebb08c146 Begin prototype for "growing" trees. 2020-01-15 21:27:12 -05:00
Aaron Suen
2c4e502c21 Soaking API requires explicit field name.
This guards against possible bugs caused by
running multiple conflicting processes on the
same thing.
2020-01-11 08:42:23 -05:00
Aaron Suen
ed95bc1f33 Convert Tree Trunk item stacks to Logs. 2020-01-09 23:01:03 -05:00
Aaron Suen
87e181720f Crush damage for tree trunks. 2020-01-05 15:13:01 -05:00
Aaron Suen
4d47ab2e75 NC API dependency simplification.
Treat all API mods as a "layer", and use the new
nc_api_all registration to indicate that a mod depends
on the NC API (which ALL NC mods assume they do).
This means that each non-API mod does not need to
worry about which API mods it really needs and which
it does not, nor will they need to be updated for any
internal API restructures.

This is a game, not a modpack, so all mods will be
loaded anyway, and we only care about order.  That
means that we don't really need to worry about
having excess dependencies because any mod we
don't actually need will be needed by something that's
loaded anyway.  If somebody wants to reuse a
component elsewhere, they're likely to need to do
some work to untangle it anyway, because of the
amount that NodeCore mechanics interact and
interdepend.
2020-01-05 12:59:12 -05:00
Aaron Suen
dcfc80b367 Remove explicit names in mod.confs. 2020-01-05 12:38:45 -05:00
Aaron Suen
89020e8340 Major rebuild of item_entity.
This created a ton of dependency inversions, which
necessitated moving a number of API functions up into
higher layers, and restructuring dependency lists for
a number of mods.

BOLO: non-deterministic load errors due to missed
dependencies.
2020-01-05 11:42:22 -05:00
Aaron Suen
aca630ee32 Fix leaves blocking eggcorn soaking. 2019-12-28 22:04:34 -05:00
Aaron Suen
585672c81b Dirt/humus leaching via soaking.
- Add humus->dirt leeching recipe.
- Use soaking API, track dirt leeching progress across
  offline time.
2019-12-27 10:09:00 -05:00
Aaron Suen
f50e0ab359 Fix leaves incorrectly not marked as no repack. 2019-12-18 19:25:17 -05:00