From d6111c5b5b9ba92a94d2a898dbbafdac26ddb31c Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 14 Dec 2014 17:51:53 +0300 Subject: Update docs from upstream. --- doc/item_db.txt | 1 + doc/mob_db_mode_list.txt | 4 +- doc/sample/npc_test_quest.txt | 8 +- doc/script_commands.txt | 202 +++++++++++++++++++++++++++--------------- 4 files changed, 137 insertions(+), 78 deletions(-) (limited to 'doc') diff --git a/doc/item_db.txt b/doc/item_db.txt index ce2a248c..6b34b8da 100644 --- a/doc/item_db.txt +++ b/doc/item_db.txt @@ -36,6 +36,7 @@ item_db: ( BindOnEquip: true/false (boolean, defaults to false) BuyingStore: true/false (boolean, defaults to false) Delay: Delay to use item (int, defaults to 0) + KeepAfterUse: true/false (boolean, defaults to false) Trade: { (defaults to no restrictions) override: GroupID (int, defaults to 100) nodrop: true/false (boolean, defaults to false) diff --git a/doc/mob_db_mode_list.txt b/doc/mob_db_mode_list.txt index 17f25d9b..08abf800 100644 --- a/doc/mob_db_mode_list.txt +++ b/doc/mob_db_mode_list.txt @@ -26,7 +26,7 @@ MD_ANGRY | 0x0800 | 2048 MD_CHANGETARGET_MELEE | 0x1000 | 4096 MD_CHANGETARGET_CHASE | 0x2000 | 8192 MD_TARGETWEAK | 0x4000 | 16384 -MD_RANDOMTARGET | 0x8000 | 32768 +MD_RANDOMTARGET | 0x8000 | 32768 (not implemented) Explanation for modes: ------------------------------------------------------------------------------- @@ -75,7 +75,7 @@ Target Weak: Allows aggressive monsters to only be aggressive against For example, a monster of level 104 will not pick fights with a level 99. Random Target: Picks a new random target in range on each attack / skill. - + (not implemented) Aegis Mob Types: ------------------------------------------------------------------------------- diff --git a/doc/sample/npc_test_quest.txt b/doc/sample/npc_test_quest.txt index fcf6b2a8..90659aa1 100644 --- a/doc/sample/npc_test_quest.txt +++ b/doc/sample/npc_test_quest.txt @@ -13,7 +13,7 @@ // 70000,0,1002,3,0,0,0,0,"3 Splats Please!" prontera,90,95,1 script Jelly 2_F_MAGICMASTER,{ - if(checkquest(70000) == -1) { + if (!questprogress(70000)) { // Quest not yet started. mes "[Jelly]"; mes "Hey there! Would you help me?"; @@ -30,7 +30,7 @@ prontera,90,95,1 script Jelly 2_F_MAGICMASTER,{ setquest 70000; // Adds the quest to your Quest Window. close; } - } else if(checkquest(70000,HUNTING) == 2) { + } else if (questprogress(70000,HUNTING) == 2) { // All monsters killed. mes "[Jelly]"; mes "Awesome! Thank you!"; @@ -38,12 +38,12 @@ prontera,90,95,1 script Jelly 2_F_MAGICMASTER,{ dispbottom "You have been rewarded with 10,000 Base Exp."; completequest 70000; // Sets quest status to "complete". close; - } else if(checkquest(70000) == 1) { + } else if (questprogress(70000) == 1) { // Quest is active. mes "[Jelly]"; mes "Keep going, almost there!"; close; - } else if(checkquest(70000) == 2) { + } else if (questprogress(70000) == 2) { // Quest finished. mes "[Jelly]"; mes "Thanks again for doing that for me!"; diff --git a/doc/script_commands.txt b/doc/script_commands.txt index ec827471..3467a536 100644 --- a/doc/script_commands.txt +++ b/doc/script_commands.txt @@ -2056,28 +2056,6 @@ else if () { --------------------------------------- -*jump_zero (),