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
Line 194: Line 194:
|usage=
|usage=
|args=
|args=
|settings={{Lich setting|name=width|desc=<nowiki>(0-9999)</nowiki> Specify how many characters wide your game window is, and the script will display container contents in columns.}}^{{Lich setting|name=mute_old_inventory|desc=<nowiki>(True|False)</nowiki> Will mute the normal output for inventory, so you don't get sorted version and the normal output}}^{{Lich setting|name=sort_inv_command|desc=<nowiki>(True|False)</nowiki> Sorts the output from command "inventory"}}^{{Lich setting|name=sort_look_items_command|desc=<nowiki>(True|False)</nowiki> Sorts the output from command "look item"}}^{{Lich setting|name=ignore_categories|desc=Categories from base-items.yaml to ignore. Enter in regex format. Default is <code><nowiki>lootables|trash</nowiki></code>}}
|settings={{Lich setting|name=width|desc=<nowiki>(0-9999)</nowiki> Specify how many characters wide your game window is, and the script will display container contents in columns.}}^{{Lich setting|name=mute_old_inventory|desc=<nowiki>(True|False)</nowiki> Will mute the normal output for inventory, so you don't get sorted version and the normal output}}^{{Lich setting|name=sort_inv_command|desc=<nowiki>(True|False)</nowiki> Sorts the output from command "inventory"}}^{{Lich setting|name=sort_look_others|desc=<nowiki>(True|False)</nowiki> Sorts the output looking at other players}}^{{Lich setting|name=sort_look_items_command|desc=<nowiki>(True|False)</nowiki> Sorts the output from command "look item"}}^{{Lich setting|name=ignore_categories|desc=Categories from base-items.yaml to ignore. Enter in regex format. Default is <code><nowiki>lootables|trash</nowiki></code>}}
|uservars=
|uservars=
|children=
|children=

Revision as of 21:37, 12 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.