From 1c4cd4a4008470a537e9cfbc2906972daa2b9126 Mon Sep 17 00:00:00 2001 From: Aaron Marks Date: Tue, 10 May 2005 12:16:24 +0000 Subject: Added basic draft scripting specification documentation. --- docs/scripting.txt | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 docs/scripting.txt (limited to 'docs') 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 -- cgit v1.2.3-70-g09d2