57 Commits

Author SHA1 Message Date
Aaron Suen
a5752fd9b6 Yet another emergency lighting redo
- Players no longer constantly glow in darkness.
- Players can now place light spots by scaling, faster
  than actual climbing spots.
- Climbing spots appear if player continues placement
  after light appears.
- Floor traversal mechanism is now obsolete.

This allows players to traverse dark caves reasonably
well, still, but only voluntarily, so darkness stealth
mechanics are possible again.
2020-05-30 19:00:22 -04:00
Aaron Suen
c62dc70194 Move hint completion from chat to HUD 2020-03-25 08:49:55 -04:00
Aaron Suen
5d465c7afb Fix lava hints. 2020-03-15 09:18:35 -04:00
Aaron Suen
06a94e4ffb Fix leech->leach spelling 2020-02-14 21:25:25 -05:00
Aaron Suen
c1bf3e173f No optics hints until appropriate tools. 2020-02-07 18:49:07 -05:00
Aaron Suen
b141da2cb0 Tidy up hints, small issues. 2020-02-05 07:34:28 -05:00
Aaron Suen
9c1fee366d Make lode ore hint visible from start. 2020-02-01 19:16:13 -05:00
Aaron Suen
a07cd9f6da Remove the lode stratum hint.
As per Copenhagen Bram, it doesn't really make sense
to give the player credit for finding something if the
player is likely not to have even noticed.
2020-02-01 19:15:14 -05:00
Aaron Suen
317e9404ba Reinstate "anvil" hint. 2020-01-29 22:48:12 -05:00
Aaron Suen
28200a2399 Fix lode chopping hint.
Need at least a tempered lode hatchet before the
recipe is possible to complete.

Technically it can also be completed with an infused
annealed lode hatchet, but I don't have a way of doing
arbitrary combinational logic in hints yet...
2020-01-29 22:44:45 -05:00
Aaron Suen
d6fec17207 Mattocks count for the tempering hint. 2020-01-26 23:41:01 -05:00
Aaron Suen
534a95e445 Fix lode hints bugs...? 2020-01-26 23:33:00 -05:00
Aaron Suen
8417236d42 Experimental lode forging rework.
- You can now forge hot lode using either tempered OR
  annealed anvil.
- This creates a gameplay path for accessing annealed
  lode without having the resources (i.e. water/sponges)
  to access tempered yet.
- Cold-working is still more efficient for being able to
  pick up the excess prills from the process.
- Cold working, and then heating afterwards, is still likely
  the only reasonable way to make mattocks.
2020-01-24 19:28:41 -05:00
Aaron Suen
e836d310f3 Allow players to refresh hints 5x faster. 2020-01-23 06:51:39 -05:00
Aaron Suen
e575cb9b26 Some more hint bugfixes. 2020-01-21 21:36:05 -05:00
Aaron Suen
e2a5581085 Hint updates! 2020-01-21 21:19:30 -05:00
Aaron Suen
ce1200e135 Hint refactors, chat alert upon completion.
The new chat stream message is an experimental
feature; it MAY be too intrusive for some players, so
may have to be disabled by default or removed.
2020-01-21 20:41:20 -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
e4ba14a2a5 Don't allow living sponges to dry out directly.
They have to die first, so anything that keeps them
alive must also be keeping them wet.
2019-12-18 20:27:56 -05:00
Aaron Suen
33a6a7ce55 Weblate updates, esp thanks to Terifo. 2019-11-21 20:50:39 -05:00
Aaron Suen
7b9d4c9815 Fix peat hint. 2019-11-17 08:51:45 -05:00
Aaron Suen
cd3300a72e Scaling hints. 2019-11-10 10:09:03 -05:00
Aaron Suen
ba32ab94db Fix broken charcoal writing hint. 2019-11-02 19:03:00 -04:00
Aaron Suen
8965ae23f7 Hint coverage update. 2019-10-27 10:25:54 -04:00
Aaron Suen
e5f54b49f6 Add witness system for cooking/soaking recipes. 2019-10-27 10:05:57 -04:00
Aaron Suen
82787786db Door recipe simplification.
- No graphite lubrication needed.
- Just insert pin instead of pounding it in.
- Pins must be inserted into end face.
- Node will not spin from using pin on wrong face.
2019-10-27 08:34:33 -04:00
Aaron Suen
2a77e6a852 More liberal lux cobble hint detection. 2019-10-13 10:21:30 -04:00
Aaron Suen
c147da4dde Convert from depends.txt to mod.conf 2019-10-05 11:24:16 -04:00
Aaron Suen
9e0efb4840 Fix hint breakage discovered by GreenDimond. 2019-09-15 20:38:20 -04:00
Aaron Suen
6270a94f55 One more round of hint tidying.
Make new voice consistent, use some space to hint at actual
recipes, be more specific about completion criteria.
2019-09-11 07:30:08 -04:00
Aaron Suen
9617c2e5ed Hint system overhaul to try to make translations saner. 2019-09-11 06:38:56 -04:00
Aaron Suen
f6b5d88e16 Complete hint coverage for new content (I think). 2019-09-08 09:51:09 -04:00
Aaron Suen
1bc41db769 Simplify and clarify completed hint syntax.
Sorry for the extra busy-work, translators...
2019-09-08 09:35:49 -04:00
Aaron Suen
e51590507a Fix a hint popping up too soon... 2019-09-07 23:36:33 -04:00
Aaron Suen
dfecd6a99f Some more hint coverage. 2019-09-07 21:20:41 -04:00
Aaron Suen
0a50fc455d Show completed hints too, if room.
Suggested by Stix (a.k.a. cahr) for players who haven't done
something in a long time and forgot that it was possible.
2019-09-07 20:44:19 -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
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
8a0319e7d1 Fix new player guide translations... 2019-08-26 01:01:58 -04:00
Aaron Suen
c439a46792 Allow translations of player guide GUI too. 2019-08-26 00:45:09 -04:00
Aaron Suen
5a82e823c6 Include crude glass in hints. 2019-04-07 18:43:11 -04:00
Aaron Suen
3614068263 Bug fixes, tidier craft excess handling. 2019-04-03 08:10:03 -04:00
Aaron Suen
4b1488ed3f Hints system overhaul.
- Included new content.
- Partially converted to base on recipes instead of just items.
- Added support for group and toolcap checks.

Fixed a number of small bugs elsewhere in the process.
2019-04-03 07:41:27 -04:00
Aaron Suen
268434950c Rename player mod that's no longer at all about inventory. 2019-03-24 18:24:08 -04:00
Aaron Suen
3b08a8ee9a Documentation updates, new player guide interface.
Also restructured the player_inv/player_setup thing AGAIN.
Now setup is all rules and inv is all interface.
2019-03-05 19:20:38 -05:00
Aaron Suen
c7ac1f63db Reorg all player mods, give them lexically grouped names. 2019-03-02 20:32:50 -05:00
Aaron Suen
a3a1f441c7 Tersify some hints. 2019-02-24 11:00:26 -05:00
Aaron Suen
72c2df452b Hints about sponges. 2019-02-23 20:46:17 -05:00
Aaron Suen
7771974371 Flesh out lode and shelf hints. 2019-02-23 20:45:00 -05:00