Lich script development: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
(bootstrap, dependency, drinfomon, events, spellmonitor)
No edit summary
Line 1: Line 1:
{{RTOC}}
{{RTOC}}


== bootstrap ==
== 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 ===
{{Lich script
{{Lich script
|description=
|description=
Line 11: Line 15:
}}
}}


== common ==
=== common ===
{{Lich script
{{Lich script
|description=A large set of helper functions for common actions shared by many scripts.
|description=A large set of helper functions for common actions shared by many scripts.
Line 21: Line 25:
}}
}}


== common-crafting ==
=== common-crafting ===
{{Lich script
{{Lich script
|description=A large set of helper functions for common actions related to crafting.
|description=A large set of helper functions for common actions related to crafting.
Line 31: Line 35:
}}
}}


== common-money ==
=== common-money ===
{{Lich script
{{Lich script
|description=A large set of helper functions for common actions related to money and coins.
|description=A large set of helper functions for common actions related to money and coins.
Line 41: Line 45:
}}
}}


== common-summoning ==
=== common-summoning ===
{{Lich script
{{Lich script
|description=A large set of helper functions for common actions related to summoning weapons.
|description=A large set of helper functions for common actions related to summoning weapons.
Line 51: Line 55:
}}
}}


== common-travel ==
=== common-travel ===
{{Lich script
{{Lich script
|description=A large set of helper functions for common actions related to travel.
|description=A large set of helper functions for common actions related to travel.
Line 61: Line 65:
}}
}}


== dependency ==
=== dependency ===
{{Lich script
{{Lich script
|description=
|description=
Line 71: Line 75:
}}
}}


== drinfomon ==
=== drinfomon ===
{{Lich script
{{Lich script
|description=
|description=
Line 81: Line 85:
}}
}}


== events ==
=== events ===
{{Lich script
{{Lich script
|description=
|description=
Line 91: Line 95:
}}
}}


==spellmonitor==
===spellmonitor===
{{Lich script
{{Lich script
|description=
|description=
Line 101: Line 105:
}}
}}


== create_symlinks.bat ==
== Development tools ==

Useful if you are doing development on Windows. Set the LICH_SCRIPTS environment variable to the path to your lich/scripts/ directory.
=== create_symlinks.bat ===
Useful if you are doing development on Windows. Set the LICH_SCRIPTS environment variable to the path to your <code>lich/scripts/</code> directory.

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


== create_symlinks.sh ==
=== util/calculate_new_loot.rb ===
Compares <code>profiles/*-setup.yaml</code> files against <code>profiles/base.yaml</code> to determine proper loot_additions and loot_subtractions settings.
Useful if you are doing development on OSX or Linux. Pass it an argument of the path to your lich/scripts/ directory.


{{cat|Lich scripts}}
{{cat|Lich scripts}}

Revision as of 18:44, 16 June 2016


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

Script usage:

Script arguments:

Settings used in this script:

UserVars used in this script:

Other scripts used by this script:


common

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

Script usage:

Script arguments:

Settings used in this script:

UserVars used in this script:

Other scripts used by this script:


common-crafting

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

Script usage:

Script arguments:

Settings used in this script:

UserVars used in this script:

Other scripts used by this script:


common-money

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

Script usage:

Script arguments:

Settings used in this script:

UserVars used in this script:

Other scripts used by this script:


common-summoning

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

Script usage:

Script arguments:

Settings used in this script:

UserVars used in this script:

Other scripts used by this script:


common-travel

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

Script usage:

Script arguments:

Settings used in this script:

UserVars used in this script:

Other scripts used by this script:


dependency

Script usage:

Script arguments:

Settings used in this script:

UserVars used in this script:

Other scripts used by this script:


drinfomon

Script usage:

Script arguments:

Settings used in this script:

UserVars used in this script:

Other scripts used by this script:


events

Script usage:

Script arguments:

Settings used in this script:

UserVars used in this script:

Other scripts used by this script:


spellmonitor

Script usage:

Script arguments:

Settings used in this script:

UserVars used in this script:

Other scripts used by this script:


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.