Commit graph

14 commits

Author SHA1 Message Date
Rosienaikanaro
40d0218e1a Refactor Moon Cycle Handling
- Better accounting for asymmetrical moon phases.
 - Creates enums and cleans up / replaces existing checks for capstone phase states.
 - Replace all existing uses of phase where cycle should have been checked instead.
2025-11-15 04:19:30 -05:00
Corey Sotiropoulos
dad360a72a
Replace os.date
Logic changes to mog bonanza, login campaign, and Zasshal (salvage).
Add Lua helpers utils.timeIsAfterOrEqual and utils.timeIsBefore.
2025-07-04 03:02:00 -04:00
Corey Sotiropoulos
1cb2d545ea
Replace os.time() with GetSystemTime()
Simple find/replace.
This will make sure everything is using the same clock (earth_time::clock).
2025-07-03 23:38:14 -04:00
Corey Sotiropoulos
f4fe6ae4cb
Adjust formatting/CI
Fix issue with AH pagination module.
Fix some clang tidy warnings.
Fix issue with escaped quotes getting picked up in Lua CI checks.
2025-05-01 15:01:55 -04:00
Corey Sotiropoulos
53165c20e8
Refactor time namespaces
Use chrono for (almost) everything.
2025-05-01 15:01:52 -04:00
Corey Sotiropoulos
4995c0efce
Adjust time use in scripts
Switch day checks to VanadielUniqueDay (a count of days since epoch).
VanadielDayOfTheYear is almost never the right function to use.
Use Vana'diel timestamp and time enums in some places instead of trying
to calculate how much time has passed by storing a bunch of variables.
2025-05-01 15:01:49 -04:00
Corey Sotiropoulos
071cfa10e7
Add Vana'diel clock class and time namespace
- Remove CVanaTime.
- Refactor world and map time servers.
- Remove option for custom Vana'diel epoch.
- !time GM/general purpose test command.
2025-05-01 14:57:19 -04:00
claywar
1af0cee384
[type] Add Command type, command script annotations 2024-08-25 10:54:45 -04:00
Zach Toogood
e98de08e90 [core, Lua] Rename PrintToPlayer and PrintToArea to lowercase 2023-12-09 23:54:00 +00:00
claywar
8d17652f97
[chore] Update command scripts to return table
Update remaining commands

Remove unused, and correct missing items
2023-09-02 07:01:35 -04:00
claywar
aa87e30e4d
[chore] Replace double-quote strings with single-quotes 2023-08-28 21:02:36 -04:00
claywar
af67820d01
[chore] Remove empty newlines after function declaration 2022-12-01 09:04:52 -05:00
wrenffxi
0ed5cb8f59 [sol refactor] scripts/commands headings 2021-01-18 13:34:00 -05:00
Corey Sotiropoulos
eb3d5efd36 Update timeoffset GM commands 2020-07-01 20:04:20 -04:00