summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/quest_variables.txt7
-rw-r--r--doc/whisper_sys.txt17
2 files changed, 8 insertions, 16 deletions
diff --git a/doc/quest_variables.txt b/doc/quest_variables.txt
index 8deb4d92a..d100895b1 100644
--- a/doc/quest_variables.txt
+++ b/doc/quest_variables.txt
@@ -7,36 +7,30 @@ variables. You can store up to 31 boolean value into a single
variable. [Lupus]
--------------------------------------------------------------
-
--------------------------------------------------------------
Variable: MISC_QUEST
-
Quest: Juice Maker Quest
Info: How to make juices. This bit keeps final state of the quest.
How to set: set MISC_QUEST,MISC_QUEST | 1;
How to check: if(MISC_QUEST & 1){}
-
Quest: Tempestra Quest
Info: Has you given a potion to Temperstra or not.
How to set: set MISC_QUEST,MISC_QUEST | 2;
How to check: if(MISC_QUEST & 2){}
-
Quest: Morgenstein Quest
Info: How to make Mixture & Counteragent. Also subquest for Alchemist Job
This bit keeps final state of the quest.
How to set: set MISC_QUEST,MISC_QUEST | 4;
How to check: if(MISC_QUEST & 4){}
-
Quest: Prontera Culvert Quest
Info: Could you enter the Prontera Culvert or not.
How to set: set MISC_QUEST,MISC_QUEST | 8;
How to check: if(MISC_QUEST & 8){}
-
Quest: Edgar's Offer
Info: Cheap ticket from Izlude to Alberta.
This bit keeps final state of the quest.
@@ -112,7 +106,6 @@ How to check: if(MISC_QUEST & 65536){}
--------------------------------------------------------------
Variable: MISC_QUEST2
-
Quest: ?
Info: ?
How to set: set MISC_QUEST,MISC_QUEST | ?;
diff --git a/doc/whisper_sys.txt b/doc/whisper_sys.txt
index e9353de75..115712eea 100644
--- a/doc/whisper_sys.txt
+++ b/doc/whisper_sys.txt
@@ -14,7 +14,7 @@ This piece of code to allows characters to execute events in NPCs by whispering
them up to ten parameters. The NPC must have an "OnWhisperGlobal" label, or an
"event not found" error will result.
- NPC:<NPC Name> <String>{#String 2{#...{#String 10}}}
+ NPC:<NPC Name> <String>{#String 2{#...{#String 10}}}
The whispered strings are separated by the "#" character, and are each stored
into separate temporary character string variables:
@@ -31,11 +31,10 @@ You whisper an NPC "NPCCommander" in-game with the following instructions:
The parameters are passed on to the "OnWhisperGlobal" label of the NPC, and can
be processed accordingly:
- - script NPCCommander -1,{
- OnWhisperGlobal:
- // The following code will inform player "Lordalfa" that he has been
- // reported for killstealing.
- if (@whispervar0$ == "Report")
- message @whispervar2$,"You have been reported for "+@whispervar1$+".";
- end;
- } \ No newline at end of file
+- script NPCCommander -1,{
+OnWhisperGlobal:
+ // Inform player "Lordalfa" that he has been reported for killstealing.
+ if (@whispervar0$ == "Report")
+ message @whispervar2$,"You have been reported for "+@whispervar1$+".";
+ end;
+} \ No newline at end of file