Hello!
I had nothing to do, so i thought about posting a clean, simple and useful quest-functions collection for you guys.
Those are my quest functions, but you are free to suggest a quest function down here and i'll add it!
functions.lua:
24/08/2017:
- Polished up other functions.
- Added party_get_member_count,
- Added party_get_member_pids,
- Added clear_dungeon,
- Added table_get_keyword_index,
- Added table_is_any_subarray_containing_keyword,
- Added table_get_subarray_keyword_index
26/08/2017:
- Added table_shuffle.
30/04/2018:
- Reworked table_shuffle, since it was not working properly.
- Added InDungeon() [bool].
- Added ToDungeonIndex(map_index) [int].
01/06/2018:
- Added factorial (factorial(5) returns 120);
14/11/2019:
- (Did you miss me?) Updated the whole list, better code and even more functions!
25/12/2021:
- Added is_valid_number, is_integer_number. (safe funcs you should be using on numerical inputs)
- table_shuffle now creates a copy of the table and works on it instead of changing the table itself. The end result is the same, but the table passed as argument remains untouched.
- Reworked get_time_format.
- Renamed IsOdd to is_odd.
25/6/2022:
- Added get_gold_format
- Added BuildSkillListOfLevel
- Minor fixes.
25/10/2022:
- Fixed IntToRomanStr typo
29/01/2023:
- Rewritten.
- Added some new stuff.
- Provided more examples and data for each func.