17 Commits

Author SHA1 Message Date
Aaron Suen
76c0a813e5 Switch player guide to use read-only texteareas.
According to the lua_api.txt doc blame, these were improved
around the time of the 5.0 release.  Since we've dropped 0.4
support long ago, we can use these now.

The appearance is roughly unchanged on "normal" large screens,
but on small screens where text used to clip, it should now
wrap (usually, except for long URLs) and have scrollbars if
necessary.
2020-01-23 06:48:03 -05:00
Aaron Suen
93c59357fc Update copyright year.
We already had one revision this year that
wasn't recorded correctly...
2020-01-02 21:05:06 -05:00
Aaron Suen
f5bf7a5aa9 Add IRC to official in-game about screen. 2019-12-30 13:34:36 -05:00
Aaron Suen
2abf96f457 Update player's guide scaling tip. 2019-11-14 08:05:20 -05:00
Aaron Suen
3e5a3b5f8c Remove the now-incorrect "torches are not a thing" tip.
We may need to provide some more information about torches later,
but for now, we simply won't disclaim their existence.
2019-10-01 19:27:43 -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
442a6f89ef Cosmetic text change.
Feels like this chapter name should be longer to be
consistent with the other ones.
2019-08-31 10:04:15 -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
c5cb298bd1 Documentation overhaul.
- Move design principles back into docs (needs cleanup).
- New player-oriented README content.
- Clean up issue/wishlist docs a bit (some things are no longer
  relevant).
2019-08-29 06:19:39 -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
ac4a0be4b7 New experimental "tips" tab in guide.
Hopefully not too spoilery?

This should fulfill our need for a new player FAQ, and is based
on questions that I have actually been asked by new players.
2019-08-27 07:33:58 -04:00
Aaron Suen
9ac63cac09 Padding hack to prevent text cutoff. 2019-08-26 21:26:13 -04:00
Aaron Suen
5a07edbb5a Player Guide Translations
- Fix tab switching events for formspecs.
- Add padding to fix cutoff text rendering issue.
- Added more pt and pt_BR translations from Terifo.

Note that when you call translate() on a piece of
text, it merely adds translation tags around it to
request that it be translated client-side, but when
the client submits formspecs, the button values are
the actually translated text, which you can't
trivially access server-side.  That means that we
need to use different button fields, not just count on
different button name/values, for events.
2019-08-26 21:02:06 -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
7c19e0aa07 Remove the old sneak-dig hack.
It was superseded effectively by the new inventory management
system.  To split stacks, count out the items to transfer onto the
ground using sneak-drop, select the destination slot and pick them
back up.
2019-03-24 18:34:17 -04:00
Aaron Suen
268434950c Rename player mod that's no longer at all about inventory. 2019-03-24 18:24:08 -04:00