summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
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 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