diff options
author | Taylor Locke <kisuka@kisuka.com> | 2014-10-18 01:22:28 -0700 |
---|---|---|
committer | Taylor Locke <kisuka@kisuka.com> | 2014-10-18 01:32:57 -0700 |
commit | 4ac673941714032ada6d26fb60936ec510bbe496 (patch) | |
tree | 21e0aa8b626640428d7554a30762b8392be0ef1e /doc | |
parent | cc8dfc2f45d0c5405cc628393e846e94e1e7a812 (diff) | |
download | hercules-4ac673941714032ada6d26fb60936ec510bbe496.tar.gz hercules-4ac673941714032ada6d26fb60936ec510bbe496.tar.bz2 hercules-4ac673941714032ada6d26fb60936ec510bbe496.tar.xz hercules-4ac673941714032ada6d26fb60936ec510bbe496.zip |
Some Quality of Life Changes
checkquest deprecated; Use questprogress instead for a more logical
quest log checking command.
getbrokencount command added to get amount of broken equipment.
setdragon and setmadogear deprecated; use setriding instead.
setriding now handles all combat mounts.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/script_commands.txt | 79 |
1 files changed, 70 insertions, 9 deletions
diff --git a/doc/script_commands.txt b/doc/script_commands.txt index 0af9644dd..7efcc77ad 100644 --- a/doc/script_commands.txt +++ b/doc/script_commands.txt @@ -2788,6 +2788,13 @@ such item is found. --------------------------------------- +*getbrokencount() + +This function will return the total amount of broken equipment on the +invoking character. + +--------------------------------------- + *getequipisequiped(<equipment slot>) This functions will return 1 if there is an equipment placed on the @@ -3816,22 +3823,47 @@ falcon and 0 if they don't. *checkriding() If <flag> is 0 this command will remove the mount from the character. -Otherwise it gives the invoking character a PecoPeco (if they are a Knight -series class), a GrandPeco (if they are a Crusader series class), or -a Gryphon (if they are a Royal Guard). Unlike 'setfalcon' and 'setcart' -this will not work at all if they aren't of a class which can ride. -Note: the character needs to have the skill KN_RIDING to gain a mount. + +Otherwise it gives the invoking character a combat mount specific to their +class. + + - PecoPeco (Knight series class) + + - GrandPeco (Crusader series class) + + - Dragon (Rune Knight) + The color of the dragon can be passed through the flag value using + either values 1 ~ 5 or the following constants: + DRAGON_GREEN + DRAGON_BROWN + DRAGON_GRAY + DRAGON_BLUE + DRAGON_RED + + - Gryphon (Royal Guard) + + - Warg (Ranger) + + - Mado Gear (Mechanic) + +Unlike 'setfalcon' and 'setcart' this will not work at all if they aren't of a +class which can ride a mount. + +Note: The character needs to have the specific skill for their mount. The accompanying function will return 1 if the invoking character is -riding a bird and 0 if they aren't. +on a mount and 0 if they aren't. - if (checkriding()) mes "PLEASE leave your bird outside! No riding birds on the floor here!"; + if (checkriding()) + mes "Leave your mount outside! No riding mounts on the floor here!"; --------------------------------------- *setdragon {<color>}; *checkdragon() +[ DEPRECATED - Please use setriding] + The 'setdragon' function toggles mounting a dragon for the invoking character. It will return 1 if successful, 0 otherwise. @@ -3853,6 +3885,8 @@ riding a dragon and 0 if they aren't. *setmadogear {<flag>}; *checkmadogear() +[ DEPRECATED - Please use setriding] + If <flag> is 0 this command will remove the mount from the character. Otherwise it gives the invoking character a Mado (if they are a Mechanic). @@ -8284,17 +8318,23 @@ If *questinfo is set, and the same ID is specified here, the icon will be cleare --------------------------------------- -*completequest <ID>; +*completequest <ID>{,<ID2>}; Change the state for the given quest <ID> to "complete" and remove from the users quest log. +If a second quest id of greater value is specified, all quests between the two +will be completed. + --------------------------------------- -*erasequest <ID>; +*erasequest <ID>{,<ID2>}; Remove the quest of the given <ID> from the user's quest log. +If a second quest id of greater value is specified, all quests between the two +will be erased. + --------------------------------------- *changequest <ID>,<ID2>; @@ -8306,6 +8346,8 @@ Add quest of the <ID2> to the the quest log, and the state is "active". *checkquest(<ID>{,PLAYTIME|HUNTING}) +DEPRECATED - use questprogress instead. + If no additional 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" @@ -8329,6 +8371,25 @@ If parameter "HUNTING" is supplied: --------------------------------------- +*questprogress(<ID>{,PLAYTIME|HUNTING}) + +If no additional argument supplied, return the state of the quest: + 0 = Quest not started (not in quest log) + 1 = Quest has been given + 2 = Quest completed + +If parameter "PLAYTIME" is supplied: + 0 = Quest not started (not in quest log) + 1 = The time limit has not yet been reached + 2 = The time limit has been reached + +If parameter "HUNTING" is supplied: + 0 = Quest not started (not in quest log) + 1 = Player hasn't killed all of the target monsters + 2 = Player has killed all of the target monsters + +--------------------------------------- + *showevent <icon>{,<mark color>} Show an emotion on top of a NPC, and optionally, |