From 4ac673941714032ada6d26fb60936ec510bbe496 Mon Sep 17 00:00:00 2001 From: Taylor Locke Date: Sat, 18 Oct 2014 01:22:28 -0700 Subject: 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. --- doc/script_commands.txt | 79 +++++++++++++++++++++++++++++++++++++++++++------ 1 file changed, 70 insertions(+), 9 deletions(-) (limited to 'doc/script_commands.txt') 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() 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 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 {}; *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 {}; *checkmadogear() +[ DEPRECATED - Please use setriding] + If 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 ; +*completequest {,}; Change the state for the given quest 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 ; +*erasequest {,}; Remove the quest of the given 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 ,; @@ -8306,6 +8346,8 @@ Add quest of the to the the quest log, and the state is "active". *checkquest({,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({,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 {,} Show an emotion on top of a NPC, and optionally, -- cgit v1.2.3-70-g09d2