Commit graph

76 commits

Author SHA1 Message Date
MowFord
9ffaa29574
Update casket loot to use lootGroup helper 2025-10-08 08:13:11 -05:00
MowFord
dbc4d7b01a
Cleanup some magic numbers in caskets.lua 2025-09-29 09:58:22 -05:00
Xaver-DaRed
3ea9810d4f Casket logic and tables cleanup 2025-08-17 17:16:36 +02: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
WinterSolstice8
511f89721f [lua] Small FoV treasure casket adjustments
* Allow for "no" and "do not want item" option
* Fix despawn not working
2025-01-17 22:38:44 -07:00
Flibe
43ca421aa1 Made math.randoms more explicit 2024-12-19 21:39:00 -05:00
Umeboshi
38a8e36a46 [lua] Fix Casket Drop Rate Prowess 2024-11-03 16:02:47 -08:00
claywar
d066a186a3
Fix or Ignore remaining Lua Language Server warnings and errors
* Separated Cruor Prospector tables with different data structures
* Remove unnecessary bit.bor call with missing parameter
* Nil check manaclipper nextEvent variable
* Nil check Lower Jeuno Treasure Coffer 'prize' variable
* Add LLS exception for __eq and new for missions and hidden quests
* Nil check dynamis 'te' variable
* Change default table data type for caskets timeTable
* Nil check logInfo in setMissionStatus GM Command
* Define variables on need, remove debug print in avatar code
* Add TODOs and exceptions for remaining LLS errors and warnings
2024-08-20 14:11:00 -04:00
Xaver-DaRed
509e5d4465 Enum FOURCC animation codes
Co-authored-by: LoxleyXI <LoxleyXI@users.noreply.github.com>
2024-03-08 20:07:42 +01:00
claywar
aa87e30e4d
[chore] Replace double-quote strings with single-quotes 2023-08-28 21:02:36 -04:00
claywar
64e78aff26
Rename xi.items enum to xi.item, update references 2023-08-21 17:36:27 -04:00
claywar
e78f81f68c
[chore] Remove unnecessary comments and newlines
Additional newlines removed, fix roe references


Fix multiple newlines
2023-08-07 13:57:37 -04:00
claywar
eb9f522fa9
[ci] Add magic number checks for some npcUtil functions
npcUtil.tradeHasExactly
npcUtil.giveItem
2023-07-19 07:52:00 -04:00
claywar
5e3211a2b0
[chore] Remove all requires for scripts/globals/msg
Fix lines from search and replace


Fix last line length
2023-07-15 10:41:03 -04:00
claywar
478d95fd11
[chore] Remove status global requires
Part one of the removal, to be continued

Fix comment alignment
2023-06-01 18:33:34 -04:00
claywar
0747d7e44e
[chore] Remove padding after function and unused vars 2022-11-29 10:39:29 -05:00
claywar
d0ea013126
[chore] Add newline after end at same indent level (2) 2022-11-22 14:42:58 -05:00
claywar
e857df9b0f
[chore] Use multiple lines for long conditions (1) 2022-11-13 10:54:35 -05:00
claywar
1b5abbf911
[chore] Format Lua scripts to use 4-space indents (1) 2022-11-05 17:18:51 -04:00
claywar
ec149919db
[chore] Remove outer parens from Lua conditions (2) 2022-11-03 06:17:34 -04:00
claywar
ea4fa8290e
[chore] Update multiline conditionals to conform with CI 2022-10-23 17:59:41 -04:00
claywar
15605fd49c
[chore] Add required padding for operators and comparators 2022-10-23 14:13:26 -04:00
claywar
d552b9d333
[lua] Format tables from CI - 4 2022-09-17 14:07:38 -04:00
Zach Toogood
277a3938d1 [lua] Replace hard-coded casket npc lookups with dynamic lookups by name 2022-07-19 13:54:32 +03:00
claywar
f955f7bd6d
[luacheck] Simplify caskets global to satisfy CI 2022-06-30 20:08:47 -04:00
Zach Toogood
7419ecee66 [lua] Hook up scripts/globals/settings and xi.settings.main 2022-06-26 21:22:30 +03:00
claywar
1311906a47
[chore] Remove commented debug prints, and general comment cleanup 2022-06-13 07:05:54 -04:00
TeoTwawki
51779c9078 Move loading common.lua to core side and handle a few missed settings references to fix some require issues.. 2021-08-18 18:27:35 -04:00
TeoTwawki
2acf79b4d1 update requires to match new intended location. 2021-08-18 00:01:43 -04:00
claywar
9c4ca8e682
Lua: Update settings references for other globals 2021-07-07 20:54:50 -04:00
Kreidos
098418867d [RoE] Fix blue caskets not counting towards Crack Caskets record
Confirmed by user Metal during Return to Vanadiel that blue
caskets should be counted as well.
2021-06-29 17:57:08 -07:00
claywar
8cc29114b6
Luacheck: Globals Blue Magic through Crafting
Comment out unused variable
2021-05-30 08:30:02 -04:00
wrenffxi
0359170333 standardize dividers 2021-05-05 14:12:27 -04:00
Ixion
c460a89139 Ixion is Come!
- Rebranding.
- Migrate to GitLab.
- Add support for database updates when using Docker.
- Give purpose to version.h (adjust minor version with client updates).
- Add an in-game `!ver` command.
- Remove references to AGPL.
2021-04-17 18:24:14 -04:00
TeoTwawki
c858fa3c75 soooo maybe there's like....a max number of mass change at once limit I wasn't aware of.. OOPS 2021-04-02 17:02:22 -04:00
TeoTwawki
09d90643fa Remove "branding" from all lua. 2021-04-01 15:10:15 -04:00
wrenffxi
da60303814 use set constructor in common.lua 2021-02-07 07:04:30 -05:00
claywar
ab198d5296 Fix data type passed to messageSpecial, remove unused local 2021-01-30 09:39:12 -05:00
wrenffxi
0d4d46151e [sol refactor] remove trailing whitespace 2021-01-18 13:32:17 -05:00
wrenffxi
88452780fb [sol refactor] scripts/globals standardize headings 2021-01-18 13:22:37 -05:00
Zach Toogood
149e081a7a Merge branch 'release' into sol_refactor 2021-01-14 17:45:31 +02:00
Flam99
cc6007072d Handling caskets and treasures correctly
And adding comments
2021-01-12 18:08:16 -05:00
wrenffxi
e56aef1c70 ROE lua reorganization
add missing requires
remove unused requires
remove circular dependencies
2021-01-12 15:49:38 -05:00
Flam99
33f2b5ce0b Additional fixes to sneak trades
- HELM now correctly removes invisible
- Trading Caskets and Treasures now correctly removes both Sneak and Invis
2021-01-10 23:18:36 -05:00
Zach Toogood
9000cf3ccb LuaRefactor: vector -> sol::table, pairs conversion, shared_ptr -> optional 2021-01-03 09:09:59 +02:00
wrenffxi
2a2eb5c2bf [lua] convert more pairs/ipairs 2021-01-02 04:14:40 -05:00
claywar
d089bdb1d5 LuaRefactor: Additional pairs() references 2021-01-01 11:27:22 -05:00
Zach Toogood
29641b91b8 Merge branch 'release' into sol_refactor 2020-12-30 06:46:22 +02:00
FlamXI
76581a91fd
fix: sneak mining to work as intended (#2300)
* fix: prevent trading if invisible and keep stealth on trade complete

* fix: trading caskets should remove sneak

* fix: trading treasures should remove sneak

* fix: remove extra closing parens

* fix: improve error message and also handle Hide ability
2020-12-29 20:41:43 +02:00
claywar
afbce6595e LuaRefactor: Fix lua references for get/set AnimationSub change 2020-12-29 11:52:33 -05:00