[Collection] Syreldar's quest functions

  • 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:

    1. Fixed IntToRomanStr typo

    29/01/2023:

    1. Rewritten.
    2. Added some new stuff.
    3. Provided more examples and data for each func.

    My Lua Questing service:

    Bitte melden Sie sich an, um diesen Link zu sehen.

    46 Mal editiert, zuletzt von Syreldar () aus folgendem Grund: Update from 4 months ago.

  • Syreldar

    Hat den Titel des Themas von „[FUNCTIONS]Darisil's quest functions + Suggest your own quest function!“ zu „[Collection] Syreldar's quest functions“ geändert.
  • Dieses Thema enthält 10 weitere Beiträge, die nur für registrierte Benutzer sichtbar sind, bitte registrieren Sie sich oder melden Sie sich an um diese lesen zu können.