Don't forget, you can log in with your Play.net account

Lich script development: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
(Add common-healing)
(Adding info for sorter.lic)
Line 188: Line 188:
|children=
|children=
}}
}}

=== sorter ===
{{Lich script
|description=A script that converts inventories into sorted categories.
|usage=
|args=
|settings={{Lich setting|name=width|desc=Specify how many characters wide your game window is, and the script will display container contents in columns.}}^{{Lich setting|name=ignore|desc=Categories from base-items.yaml to ignore. Enter in regex format. Default is <nowiki>lootables|trash</nowiki>}}
|uservars=
|children=
}}



===spellmonitor===
===spellmonitor===

Revision as of 10:04, 10 July 2019


Lich script libraries

These are lich scripts, but do not accomplish a task. Rather, they provide functionality that other scripts can take advantage of.

bootstrap


common

A large set of helper functions for common actions shared by many scripts.


common-arcana

A large set of helper functions for common actions related to spell casting, ability activation, etc.


common-crafting

A large set of helper functions for common actions related to crafting.


common-healing

A large set of helper functions for common actions related to health, wounds, and healing.


common-items

A large set of helper functions for common actions related to manipulating items.


common-money

A large set of helper functions for common actions related to money and coins.


common-summoning

A large set of helper functions for common actions related to summoning weapons.


common-travel

A large set of helper functions for common actions related to travel.


dependency


drinfomon

Updated info tracking for use in other scripts in DragonRealms


events

Flags are simple true/false string detectors.


sorter

A script that converts inventories into sorted categories.


spellmonitor


Development tools

create_symlinks.bat

Useful if you are doing development on Windows. Set the LICH_SCRIPTS environment variable to the path to your lich/scripts/ directory.

create_symlinks.sh

Useful if you are doing development on OSX or Linux. Pass it an argument of the path to your lich/scripts/ directory.

util/calculate_new_loot.rb

Compares profiles/*-setup.yaml files against profiles/base.yaml to determine proper loot_additions and loot_subtractions settings.