summaryrefslogtreecommitdiff
path: root/npc/re/quests
AgeCommit message (Collapse)AuthorFilesLines
2017-11-12Add type constants for the getiteminfo()/setiteminfo() buildinsHaru2-4/+4
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 mistakesHaru2-4/+4
Signed-off-by: Haru <haru@dotalux.com>
2017-06-03convert specialeffect calls with strings to use GIDgumi3-17/+17
2017-06-03remove specialeffect2 from npcsgumi13-89/+89
2017-04-23Merge pull request #1548 from AtlantisRO/goto_removalRidley3-248/+245
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 ↵AtlantisRO3-248/+245
folder). Signed-off-by: Ragno <ragno@atlantis-ro.net>
2017-01-23Merge pull request #1493 from Emistry/script_eden_questRidley1-94/+64
Update Eden Quest script
2016-11-20Replaced some unsupported symbols in AegisNames (step 2)Haru5-22/+22
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-20Propageted the AegisName fix to scripts and pre-re databaseHaru2-5/+5
This commit just propagates the AegisName changes to the pre-re database and to the (re) scripts. Two issues are fixed as a side-effect: - The ghost_palace script was referring the non-existing constant(s): Thanatos_Two-Handed_Staff == (Thanatos_Two) - (Handed_Staff) == 0. Paired with the script engine's inability to differentiate between constants and player variables, that produced a very subtle issue. - The item RAG203 is sold by a NPC (Rebellion Weapon Vending). Due to a pair of swapped AegisName constants (RAG203 and RAG203_), the slotted version was sold by the NPC instead of hte non-slotted one (the issue was actually fixed in the previous commit, although the description of the fix is here - these two commits are only split for legibility purposes but they're to be considered indivisible). Signed-off-by: Haru <haru@dotalux.com>
2016-11-03Update Eden Quest scriptEmistry Haoyan1-94/+64
- Fix classes checking (https://github.com/HerculesWS/Hercules/issues/1173) - Update and remove redundant script
2016-10-04Added support to Para_Team_Mark_ item in Eden Group.AtlantisRO14-30/+50
2016-09-11removed unnecessary lines (thx to Aleos)Ridley88192-39/+124
added missing mapflags for c_tower2_ and c_tower3_
2016-09-02change *strcharinfo to use constantsAsheraf12-421/+421
2016-08-29*strnpcinfo now uses constantsAsheraf9-123/+123
- 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-17Nightmare Clock Tower DungeonRidley88191-0/+159
- added mobs and (updated) skills - added quests_aldebaran.txt - iro dialogues - all items are already in available in item_db.conf - maps are already available in mapcache, index and .conf - Updated item effect for Pocket_Watch_ and Pocket_Watch__, and their combo with Memorize_Book and Pocket_Watch__ Closes #1389 as merged Signed-off-by: Haru <haru@dotalux.com>
2016-07-10Fixes Mystery Burglary QuestRidley88191-1/+1
-NPC checked for wrong quest and therefore didn't do anything on that part of the quest.
2016-06-25Replaced _() with _$() in scripts, where appropriateHaru1-1/+1
Signed-off-by: Haru <haru@dotalux.com>
2016-06-25Corrected various translation/text encoding issuesHaru6-98/+101
- The generated translation file now loads cleanly without encoding conversion errors Signed-off-by: Haru <haru@dotalux.com>
2016-06-20Added missed npc Scamp in renewal location of izlude from Shadow Rekember quest.AtlantisRO1-0/+39
2016-02-29Replaced the SEX_FEMALE/SEX_MALE constants to scripts, where appropriateEmistry6-27/+33
2016-02-07Merge pull request #1110 from dastgir/22-ScriptClean-Phase2Haru25-800/+800
Script CleanUp Phase 2
2016-01-18Fixes #1085Dastgir1-2/+2
Eden Quest will now give EXP for JobLevel < 50 and JobLevel > 69
2016-01-17Script Standardization: changed select format in RE folderDastgir25-800/+800
2016-01-09Fixed #1033Dastgir1-2/+2
Eden quest were giving wrong equipments.
2016-01-09Script Cleanup:Dastgir1-168/+168
Removed some comments from eden quests
2016-01-09Fix Eden Quest 11-25 bug which allowed to bypass quest delay.Dastgir1-2/+3
Fixed #1084
2016-01-03Update morroc trader npc's to match kRO's morroc trader npc's.Jedzkie1-1/+5
Update some coordinates of the npc's in morroc. Added Marrol Battle Recruiter and Mr. Smile npc in morroc town.
2015-12-31Replaced leftover -1 view IDs with FAKE_NPCHaru2-33/+33
Signed-off-by: Haru <haru@dotalux.com>
2015-12-31Replace -1,{ with FAKE_NPC,{AnnieRuru11-28/+28
replace using Notepad++
2015-12-18Replaced numeric values with UNITTYPE_ constants in getmapxyHaru1-1/+1
Follow-up to dbe5f2237cada6a261e297b60857dc305860a88d Signed-off-by: Haru <haru@dotalux.com>
2015-12-18More ItemID to ConstantsDastgir2-16/+16
2015-12-18ItemID to Constant: re FolderDastgir21-795/+795
2015-12-15Standardized header in scripts (part 9)Haru36-647/+1322
- Now including GPL-compliant license/copyright info - Restored some missing copyrights - Quest scripts folders Signed-off-by: Haru <haru@dotalux.com>
2015-12-15Fix quests_dicastes.txt variable. Thanks to Everade and Atemo of rAthena.Jedzkie1-2/+3
2015-11-18Converted some dealers to new trader format.Jedzkie1-10/+149
2015-11-15Fixed too-generic constant names of gettime() typesHaru1-1/+1
- 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.Emistry1-1/+1
constant for gettime( <type> ) constant for Weekday and Month.
2015-10-13Added Items needed in eden_iro.txtmoguri851-1/+1
Changed NPC id->constant in eden_iro.txt Fixed case warning errors on may_hats.txt and mushroom_event.txt
2015-09-25More aggressive whitespace cleanup. Follow up to 51329e6Haru10-160/+65
Signed-off-by: Haru <haru@dotalux.com>
2015-09-20Fix issue #687Emistry1-2/+2
Added missing Energy Crystal Book item_db. Removed wrong equipments list for exchange. Based on http://irowiki.org/wiki/Eden_Group_Crystal_Synthesis
2015-08-12typo fix @ Eclage questDastgir1-1/+1
2015-08-10Minor script cleanup (part 2)Haru6-8/+8
- Replaced leftover sprite IDs with constants - Corrected some NPC facing directions (in modulo 8) - Follow-up to 7b50fce0f62961b0228e6919562efcfe33e7fbca
2015-08-09Minor script cleanup.Haru1-27/+27
- Replaced leftover sprite IDs with constants - Corrected some NPC facing directions (in modulo 8)
2015-07-14Fixed bug #595Emistry1-1/+1
https://github.com/HerculesWS/Hercules/issues/595
2015-07-12Implemented 2012 Headgears QuestDastgir1-0/+729
Based on the rAthena version, improved and cleaned up. Signed-off-by: Haru <haru@dotalux.com>
2015-06-25Updated eden_iro.txtDastgir1-20/+256
Credits:rAthena Signed-off-by: Haru <haru@dotalux.com>
2015-06-24Fixed costume name in eclage questDastgir1-4/+4
2015-06-19Re-commit of 9f9ec84Haru1-0/+1
Fixes #538 Signed-off-by: Haru <haru@dotalux.com>
2015-06-19Revert "Missing return #538"Haru1-31/+30
This reverts commit 9f9ec84fda9124d0927e99ca52a423a2b468c722. Signed-off-by: Haru <haru@dotalux.com>
2015-06-18Missing return #538Emistry1-30/+31