diff options
author | Aaron Marks <nymacro@gmail.com> | 2005-05-10 12:16:24 +0000 |
---|---|---|
committer | Aaron Marks <nymacro@gmail.com> | 2005-05-10 12:16:24 +0000 |
commit | 1c4cd4a4008470a537e9cfbc2906972daa2b9126 (patch) | |
tree | 7a6a7a71c4a9bb02647d4fef8c9a4329e0e93a64 /docs | |
parent | 846784f652e9b30b67c04bfa800be1448c8a15e7 (diff) | |
download | manaserv-1c4cd4a4008470a537e9cfbc2906972daa2b9126.tar.gz manaserv-1c4cd4a4008470a537e9cfbc2906972daa2b9126.tar.bz2 manaserv-1c4cd4a4008470a537e9cfbc2906972daa2b9126.tar.xz manaserv-1c4cd4a4008470a537e9cfbc2906972daa2b9126.zip |
Added basic draft scripting specification documentation.
Diffstat (limited to 'docs')
-rw-r--r-- | docs/scripting.txt | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/docs/scripting.txt b/docs/scripting.txt new file mode 100644 index 00000000..ab57952a --- /dev/null +++ b/docs/scripting.txt @@ -0,0 +1,46 @@ +The Mana World Scripting Specification - DRAFT + +Generic scripting interfaces for various in-game objects. + +SUBTOPIC DESCRIPTIONS: + Interface Functions + Interface functions are functions provided by the script + handler. These could range from getting information about + a player to increasing a players health. + + Functions: + Functions provided by the script for the game to call. + + +Item Scripting: + Interface Functions: + Functions: + use() - Called when player uses the item. + + Variables: + int type - Type of item (weapon, armor, usable, etc.) + + *Special Properties* + int attack - Attack addition. + int defense - Defense addition. + int luck - Luck addition. + int vitality- Vitality addition. + (These will add to the players statistical properties when equipped) + ... + + +Skill Scripting: + Interface Functions: + Functions: + use() - Called when player uses skill. + + Variables: + + +Being Scripting: + Interface Functions: + Functions: + Variables: + + +- nym
\ No newline at end of file |