summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorAaron Marks <nymacro@gmail.com>2005-05-10 12:16:24 +0000
committerAaron Marks <nymacro@gmail.com>2005-05-10 12:16:24 +0000
commit1c4cd4a4008470a537e9cfbc2906972daa2b9126 (patch)
tree7a6a7a71c4a9bb02647d4fef8c9a4329e0e93a64 /docs
parent846784f652e9b30b67c04bfa800be1448c8a15e7 (diff)
downloadmanaserv-1c4cd4a4008470a537e9cfbc2906972daa2b9126.tar.gz
manaserv-1c4cd4a4008470a537e9cfbc2906972daa2b9126.tar.xz
manaserv-1c4cd4a4008470a537e9cfbc2906972daa2b9126.zip
Added basic draft scripting specification documentation.
Diffstat (limited to 'docs')
-rw-r--r--docs/scripting.txt46
1 files changed, 46 insertions, 0 deletions
diff --git a/docs/scripting.txt b/docs/scripting.txt
new file mode 100644
index 0000000..ab57952
--- /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