summaryrefslogtreecommitdiff
path: root/doc/script_commands.txt
diff options
context:
space:
mode:
authorInkfish <Inkfish@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-07-25 20:55:35 +0000
committerInkfish <Inkfish@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-07-25 20:55:35 +0000
commit34b37179c0895f0b0acc4377bf2bfe5edfcff9ce (patch)
treed650d9bc108404fa0949d5ec2754d96cde31926b /doc/script_commands.txt
parenta93b8b9c2537bd8359d647ae23e90d084d019535 (diff)
downloadhercules-34b37179c0895f0b0acc4377bf2bfe5edfcff9ce.tar.gz
hercules-34b37179c0895f0b0acc4377bf2bfe5edfcff9ce.tar.bz2
hercules-34b37179c0895f0b0acc4377bf2bfe5edfcff9ce.tar.xz
hercules-34b37179c0895f0b0acc4377bf2bfe5edfcff9ce.zip
Rewrote Quest Log system.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13959 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'doc/script_commands.txt')
-rw-r--r--doc/script_commands.txt54
1 files changed, 54 insertions, 0 deletions
diff --git a/doc/script_commands.txt b/doc/script_commands.txt
index 3b2fab576..880167797 100644
--- a/doc/script_commands.txt
+++ b/doc/script_commands.txt
@@ -130,6 +130,8 @@
//= Extended the behaviour of duplicates (warps/shops/cashshops). [FlavioJS]
//= 3.26.20090702
//= Replaced 'bonusautoscript' by 'autobonus'. [Inkfish]
+//= 3.27.20090725
+//= Added Quest Log related commands. [Inkfish]
//=========================================================
This document is a reference manual for all the scripting commands and functions
@@ -6527,5 +6529,57 @@ instance times out while inactive.
---------------------------------------
+========================
+|8.- Quest Log commands.|
+========================
+---------------------------------------
+
+*setquest <ID>;
+
+Place quest of <ID> in the users quest log, the state of which is "active".
+
+---------------------------------------
+
+*completequest <ID>;
+
+Change the state for the given quest <ID> to "complete" and remove from the users quest log.
+
+---------------------------------------
+
+*erasequest <ID>;
+
+Remove the quest of the given <ID> from the user's quest log.
+
+---------------------------------------
+
+*changequest <ID>,<ID2>;
+
+Remove quest of the given <ID> from the user's quest log, and change state to "complete".
+Add quest of the <ID2> to the the quest log, and the state is "active".
+
+---------------------------------------
+
+checkquest(<ID>{,PLAYTIME|HUNTING});
+
+If no additonal argument supplied, return the state of the quest:
+ -1 = Quest not started (not in quest log)
+ 0 = Quest has been given, but the state is "inactive"
+ 1 = Quest has been given, and the state is "active"
+ 2 = Quest comepleted
+
+If parameter "PLAYTIME" is supplied:
+ -1 = Quest not started (not in quest log)
+ 0 = the time limit has not yet been reached
+ 1 = the time limit has not been reached but the quest is marked as complete
+ 2 = the time limit has been reached
+
+If parameter "HUNTING" is supplied:
+ -1 = Quest not started (not in quest log)
+ 0 = you haven't killed all of the target monsters and the time limit has not been reached.
+ 1 = you haven't killed all of the target monsters but the time limit has been reached.
+ 2 = you've killed all of the target monsters
+
+---------------------------------------
+
Whew.
That's about all of them.