summaryrefslogtreecommitdiff
path: root/npc/quests
AgeCommit message (Collapse)AuthorFilesLines
2017-11-12Add type constants for the getiteminfo()/setiteminfo() buildinsHaru1-2/+2
Replacements are as follows: 0 => ITEMINFO_BUYPRICE 1 => ITEMINFO_SELLPRICE 2 => ITEMINFO_TYPE 3 => ITEMINFO_MAXCHANCE 4 => ITEMINFO_SEX 5 => ITEMINFO_LOC 6 => ITEMINFO_WEIGHT 7 => ITEMINFO_ATK 8 => ITEMINFO_DEF 9 => ITEMINFO_RANGE 10 => ITEMINFO_SLOTS 11 (Subtype, for weapons and ammunitions) => ITEMINFO_SUBTYPE 11 (ViewSprite, for other item types) => ITEMINFO_VIEWSPRITE (NOT AVAILABLE YET) 12 => ITEMINFO_ELV 13 => ITEMINFO_WLV 14 => ITEMINFO_VIEWID 15 => ITEMINFO_MATK (NOT AVAILABLE YET - this was documented but never implemented) Calls to getiteminfo() and setiteminfo() have been replaced with the newly introduced constants. Other constants (such as W_ weapon subtypes) in related code have been replaced as well, to improve code readability. This fixes an issue in the Eden Tutorial script "Tutorial Goal", where ITEMINFO_ATK was accidentally used instead of ITEMINFO_WEIGHT. Note: calls to getiteminfo or setiteminfo with numeric type arguments in third party scripts must be replaced with the respective constants. The use of numeric literals is no longer recommended, and those values may change in the future without notice. See the getiteminfo documentation for details. Signed-off-by: Haru <haru@dotalux.com>
2017-09-12Fix several typos and grammar mistakesHaru18-223/+213
Signed-off-by: Haru <haru@dotalux.com>
2017-08-07Update Airship Quests (#1614)Asheraf1-2480/+2947
* Update airship quest * airship quest coding style fixes
2017-06-03add missing constants to specialeffect callsgumi1-2/+2
2017-06-03convert specialeffect calls with strings to use GIDgumi10-129/+129
2017-06-03remove specialeffect2 from npcsgumi32-295/+295
2017-05-12Optimize Uwe Kleine NPC, fix typos and an unintended fallthrough in quests_einskyleo1-2102/+618
Uwe Kleine NPC had a lot of repetition, solved by using functions. There was a case where you'd select the option "About Cooking" which only displays text when ein_cook % 2 == 1 and ein_cook < 10, for any other case it would fallthrough to the next option. Wrong grammar and typos have been corrected as well, some of them outside of the Uwe Kleine NPC.
2017-04-23Merge pull request #1548 from AtlantisRO/goto_removalRidley7-575/+578
Removed the usage of deprecated command goto from npc scripts (except custom folder)
2017-03-08Removed the usage of deprecated command goto from npc scripts (except custom ↵AtlantisRO7-575/+578
folder). Signed-off-by: Ragno <ragno@atlantis-ro.net>
2017-03-04Follow-up 1b708585b7c2ce3f093a2b352fd5a37ad0cef79a add the variable to clear ↵Asheraf1-0/+2
function
2017-03-04Change variable type on the sign questAsheraf1-5/+5
credit rathena/rathena@800f22b77bb63c2305d05956de8fbe5db0327ded
2017-02-12Merge pull request #1575 from Asheraf/questprogressRidley3-4/+4
remove useless check for questprogress
2017-02-11Merge pull request #1561 from Asheraf/moscoviaRidley1-7/+118
Add quest log for moscovia quests
2017-02-11remove useless check for questprogressAsheraf3-4/+4
2017-02-11Add quest log for moscovia questsAsheraf1-7/+118
2017-01-22Add quest log for Juperos Ruins History QuestAsheraf1-51/+59
* also change name of 2 variables to the official names - yuno_hist -> yuno_book - jupe_hist -> jupe_book partial merge of rathena/rathena@c488268d8c2fa74e1d16daf0c04a6bf2d36e2350
2017-01-05Fixed announces from Koschei the Immortal (Moscovia Quests) (#1542)landergate1-3/+3
2016-12-30Fixed incorrect OnTouch label in Crow of Destiny QuestAsheraf5-32/+1
Credit: rathena/rathena@a9faab82cbcfbdb3009c5584032505e8617310bd
2016-12-12Add a custom weight check in ring of the wise king questAsheraf1-0/+5
2016-11-22Fix wrong command usage at sign questAsheraf1-5/+5
disabled npc's do not show the effects
2016-11-20Replaced some unsupported symbols in AegisNames (step 2)Haru31-182/+182
This removes the remaining unsupported symbols (despite they being official names) in AegisNames: The apostrophe (`'`) sign is suppressed. The full replacement rules (cumulative with the step 1 commit) are thus: - Any apostrophe is suppressed. - Any non-`[A-Za-z0-9_]` character is replaced with an underscore (`_`). - If the replaced symbol is at a word boundary (beginning or end of the string, or next to another underscore), it is suppressed instead. - If the replacement causes an AegisName conflict, underscores are appended appropriately. Signed-off-by: Haru <haru@dotalux.com>
2016-11-20Replaced some unsupported symbols in AegisNames (step 1)Haru1-1/+1
This removes some unsupported symbols (despite they being official names) in AegisNames. The replacement rules used are: - Any non-`[A-Za-z0-9_']` character is replaced with an underscore (`_`). - If the replaced symbol is at a word boundary (beginning or end of the string, or next to another underscore), it is suppressed instead. - If the replacement causes an AegisName conflict, underscores are appended appropriately. Signed-off-by: Haru <haru@dotalux.com>
2016-10-18close2 in eye_of_hellion.txtRidley1-1/+1
followup 2f06704ee introduced in 6006bca05 when the script was rewritten.
2016-10-16Merge pull request #1473 from Ridley8819/0hpHaru7-22/+24
Fix cases were player were executed
2016-10-16Fixes cases where player were executedRidley7-26/+28
On Aegis players set their HP to 0 by script are still alive. Since we don't want to copy this, scripts that set HP to 0 and expects the player to stay alive are changed. Additionally some scripts where changed where the HP were set to 1% instead to 1 HP and also the percentheal -100 with intended death set into close2. In megingard_seal.txt a end; was missing.
2016-10-16Change *getcharid to use constantsAsheraf8-38/+38
2016-09-02change *strcharinfo to use constantsAsheraf55-2641/+2641
2016-08-29*strnpcinfo now uses constantsAsheraf11-111/+111
- NPC_NAME for the whole npc name including hidden part - NPC_NAME_VISIBLE for the visible part of the npc name - NPC_NAME_HIDDEN for the hidden part of the npc name - NPC_NAME_UNIQUE for the npc unique name - NPC_MAP for npc map
2016-08-13Added missing close;skyleo1-0/+1
2016-08-09Merge pull request #1392 from skyleo/script_fixesDastgir2-3/+4
Fixes to Doctor Quest, Crazy Uproar Quest, Kafra HQ's Potato Trader
2016-08-08Added missing changequest at one quest route in Luoyang Doctor Quest. ↵skyleo1-0/+1
(Questlog wouldn't be cleaned before)
2016-08-08Fixed wrong requirements for Crazy Uproar Quest. Alchemists & Blacksmiths ↵skyleo1-3/+3
needed to be JLVL 15 or higher.
2016-06-25Corrected various translation/text encoding issuesHaru3-17/+9
- The generated translation file now loads cleanly without encoding conversion errors Signed-off-by: Haru <haru@dotalux.com>
2016-05-15Fixed a bug where you'd skip quest 8102 in rachel sanctuary and thus ↵skyleo1-1/+4
corrupting your quest log.
2016-04-22Fixed a typo and changed PcName Aegis-leftover to strcharinfo(0).skyleo1-2/+2
2016-03-14Fix to NPC [The Blacksmith#rus06] from [Koschei the Immortal] Quest.AtlantisRO1-1/+1
The boots Iron_Boots01 is only equipable by Swordsman Class, Archer Class, Merchant Class and Thief Class. Any other job must receive Iron_Boots02 (included Ninja and Gunslinger).
2016-03-14Missing standardization changes. Converts item numbers to constants in ↵AtlantisRO1-117/+117
npc/quests/quests_moscovia.txt script.
2016-03-14Fix to NPC [Iromo's Mother#ep3_2] from [Alberta Boy] Quest.AtlantisRO1-1/+1
When player is in step 9 from Alberta Boy quest (variable "ep13_2_hiki"), this NPC restart the entire quest, because there is no case to prevent variable > 8.
2016-03-10Fix to NPC [Larissa#mos_01] in Script [npc/quests/quests_moscovia.txt] from ↵TeMPlatonic1-1/+1
[Help Mikhail] Quest. delitem script uses .@di array instead of .@n array.
2016-02-29Replaced the SEX_FEMALE/SEX_MALE constants to scripts, where appropriateEmistry33-132/+148
2016-02-22Payon NPC UpdateJedzkie1-3/+3
- Change the coordinate of Taekwon Job Changer 'Phoenix' from payon to payon_in01 - Change the facing position of Repairman - Change the selling items of Tool Dealer and Pet Groomer in RENEWAL - Add PRE-RENEWAL Tool Dealer and Pet Groomer. - Change the coordinates of some warps - Change the coordinate of Guide in payon - Change the coordinate of Helm of Angel and Deviruchi Cap quest npc
2016-01-17Script Standardization: changed select format in quests folderDastgir82-1831/+1831
2015-12-31Replaced leftover -1 view IDs with FAKE_NPCHaru23-417/+417
Signed-off-by: Haru <haru@dotalux.com>
2015-12-31Replace -1,{ with FAKE_NPC,{AnnieRuru27-155/+155
replace using Notepad++
2015-12-18Replaced numeric values with UNITTYPE_ constants in getmapxyHaru2-4/+4
Follow-up to dbe5f2237cada6a261e297b60857dc305860a88d Signed-off-by: Haru <haru@dotalux.com>
2015-12-18ItemID to Constant: quests/woe FolderDastgir81-4088/+4088
2015-12-15Standardized header in scripts (part 9)Haru87-3335/+3630
- Now including GPL-compliant license/copyright info - Restored some missing copyrights - Quest scripts folders Signed-off-by: Haru <haru@dotalux.com>
2015-11-15Fixed too-generic constant names of gettime() typesHaru10-101/+91
- Follow-up to 3bd77ffc0daca508352834add828766490075aee - The names were too generic (not namespaced), and were easily clashing with custom (and potential future official) constants or variables. - Constants are now prefixed with a 'GETTIME_' namespace: - GETTIME_SECOND - GETTIME_MINUTE - GETTIME_HOUR - GETTIME_WEEKDAY - GETTIME_DAYOFMONTH - GETTIME_MONTH - GETTIME_YEAR - GETTIME_DAYOFYEAR - Fixed some excessive (and some times incorrect) parentheses in various scripts using gettime(). - Updated documentation. Signed-off-by: Haru <haru@dotalux.com>
2015-10-27Replaced parameter type with constant.Emistry10-83/+83
constant for gettime( <type> ) constant for Weekday and Month.
2015-09-27Merge pull request #742 from michaelforge/lv4_weapon_quest-RPS_dialog_typoDastgir1-3/+3
Fixed a bug in Lv4 Weapon Quest dialog