Commit graph

19 commits

Author SHA1 Message Date
claywar
a2906c343e
Fix or disable issues reported from Global additions 2024-08-26 23:05:01 -04:00
claywar
55de6a5440
Fix issues reported in command scripts
Additional nil checks
2024-08-25 12:01:53 -04:00
claywar
1af0cee384
[type] Add Command type, command script annotations 2024-08-25 10:54:45 -04: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
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
TeoTwawki
79616d1f1d Fix GM commands (missed a few in prior commit) 2023-08-15 12:40:21 -04:00
claywar
5a517f5c95
[chore] Remove underscores from local var declarations 2022-12-03 09:20:16 -05:00
claywar
f536f4ede9
[lua] Format tables from CI - 6 2022-09-17 18:57:08 -04:00
Zach Toogood
7e93e972f7 [lua] Various linting changes 2021-05-28 17:49:13 +03:00
TeoTwawki
09d90643fa Remove "branding" from all lua. 2021-04-01 15:10:15 -04:00
wrenffxi
0ed5cb8f59 [sol refactor] scripts/commands headings 2021-01-18 13:34:00 -05:00
Zach Toogood
9ddba57610 Roll back tpz.core global function binding 2021-01-09 08:01:35 +02:00
Zach Toogood
eb44c9a638 LuaRefactor: GetPlayerByName, GetPlayerByID 2020-12-28 16:37:20 +02:00
Mark Klara
c52431e2c4
Remove trailing whitespace from script/ files. (#426)
Commands used (on Mac):
```
  export LC_CTYPE=C
  export LANG=C
  find . -not \( -name .svn -prune -o -name .git -prune \) -type f -print0 | xargs -0 sed -i '' -E "s/[[:space:]]*$//"
```
2020-03-20 01:41:42 +00:00
MrHappyAsthma
36fdb3ea7e Bulk remove semicolons from Lua scripts/commands.
This may not actually be every file, but I did the best I could.

Command applied:
    find . -type f -name "*.lua" | xargs -d '\n' sed -i 's/;//g'

Semicolons are not appropriate in Lua per the style guidelines:
    https://github.com/project-topaz/topaz/blob/master/CONTRIBUTING.md
2020-02-19 21:42:47 -08:00
ibm2431
80c3b8ddf2 Code shrinkage + additional checks for check/set local var command 2020-01-24 01:06:13 -08:00
David Norris
428afde726 add command setlocalvar and checklocalvar 2020-01-23 10:57:25 -06:00