summaryrefslogtreecommitdiff
path: root/npc/re
AgeCommit message (Collapse)AuthorFilesLines
2017-11-12Add type constants for the getiteminfo()/setiteminfo() buildinsHaru4-22/+30
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-10-29Merge pull request #1884 from AtlantisRO/Standardization-saras_memory.txtAsheraf1-515/+514
Applied standardization to saras_memory script
2017-10-29Merge pull request #1879 from AtlantisRO/Standardization-ghost_palace.txtAsheraf1-194/+213
Applied standardization to ghost_palace script
2017-10-26Changes to npc\instances\re\saras_memory.txt script to fit Hercules' Standards.AtlantisRO1-515/+514
- Added mesf and sprintf commands where needed. - Added _$() and _() macros where needed. - Added curly brackets, paragraph breaks, parentheses and spaces to fit Hercules' Standards. - Changed numeric arguments for constants. Signed-off-by: Ragno <ragno@atlantis-ro.net>
2017-10-22Changes to npc\instances\re\octopus_cave.txt script to fit Hercules' Standards.AtlantisRO1-142/+148
- Added mesf and sprintf commands where needed. - Added _$() and _() macros where needed. - Added curly brackets, paragraph breaks, parentheses and spaces to fit Hercules' Standards. - Changed numeric arguments for constants. Signed-off-by: Ragno <ragno@atlantis-ro.net>
2017-10-22Changes to npc\instances\re\ghost_palace.txt script to fit Hercules' Standards.AtlantisRO1-194/+213
- Added mesf and sprintf commands where needed. - Added _$() and _() macros where needed. - Added curly brackets, paragraph breaks, parentheses and spaces to fit Hercules' Standards. - Changed numeric arguments for constants. Signed-off-by: Ragno <ragno@atlantis-ro.net>
2017-09-12Fix several typos and grammar mistakesHaru4-7/+7
Signed-off-by: Haru <haru@dotalux.com>
2017-06-03convert specialeffect calls with strings to use GIDgumi12-83/+83
2017-06-03remove specialeffect2 from npcsgumi38-199/+199
2017-05-22Update npc/<re/>merchants/advanced_refiner.txt.smokexyz1-2/+2
2017-05-21Updated npc/re/merchants/shadow_refiner.txt to version 2.0Smokexyz1-78/+89
2017-04-23Merge pull request #1548 from AtlantisRO/goto_removalRidley6-580/+582
Removed the usage of deprecated command goto from npc scripts (except custom folder)
2017-03-14Merge pull request #1627 from AtlantisRO/guild_investmentRidley3-175/+379
Fixes #1625. Fixes checks on Guild Dungeon Investment and separates Guild Dungeon mapflags for pre-renewal and renewal
2017-03-13Fixes #1625. Fixes checks on Guild Dungeon Investment and separates Guild ↵AtlantisRO3-175/+379
Dungeon mapflags for pre-renwal and renewal. Signed-off-by: Ragno <ragno@atlantis-ro.net>
2017-03-13Fixes #1626. Adds missed mapflags on instances.AtlantisRO11-19/+35
- Mapflags are moved into map_zone_db, this will make easier and more intuitive in the future to add mapflags to new instances and avoid miss any mapflag. - Zone mapflags for renewal instances are moved into renewal folder. Signed-off-by: Ragno <ragno@atlantis-ro.net>
2017-03-08Removed the usage of deprecated command goto from npc scripts (except custom ↵AtlantisRO6-580/+582
folder). Signed-off-by: Ragno <ragno@atlantis-ro.net>
2017-03-04Fix issue #1524Emistry Haoyan1-1/+1
- double chance should only available for Enrich ores.
2017-01-23Merge pull request #1493 from Emistry/script_eden_questRidley1-94/+64
Update Eden Quest script
2017-01-02Double NPC Name in Royal Guard job change quest (#1538)Ridley1-1/+0
2016-11-20Replaced some unsupported symbols in AegisNames (step 2)Haru12-38/+38
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 databaseHaru8-92/+93
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-16Merge pull request #1472 from Asheraf/getcharidIbrahem Hossam13-86/+86
Change *getcharid to use constants
2016-10-16Change *getcharid to use constantsAsheraf13-86/+86
2016-10-08Fixes wrong warp of izludeDastgir Pojee1-1/+6
2016-10-04Added support to Para_Team_Mark_ item in Eden Group.AtlantisRO14-30/+50
2016-10-03followup 805a2b3bRidley1-13/+15
added missing end; and parantheses
2016-10-03Initial dimensional gap commit (#1431)Ridley4-0/+631
* Initial Dimensional Gap NPC's
2016-10-02Update Intro (Renewal) (#1427)Ridley4-10093/+10366
* Update Intro (Renewal) - Conversion while Playing from kRO - New starting Map: iz_int 18 27 (Requires New kRO MAP) - iz_int01 - iz_int04 and int_land01 - int_land04 are added, but not used - the rest of the script was updated to latest script standards - x/y span for duplicates with OnTouch - Fixed wrong getarg - removed +"" in warp
2016-09-11removed unnecessary lines (thx to Aleos)Ridley88194-124/+125
added missing mapflags for c_tower2_ and c_tower3_
2016-09-10Merge pull request #1385 from Asheraf/saras_memoryhemagx4-1050/+939
Cleanup Sara's memory instance Closes #1385 as merged
2016-09-10Cleanup Sara's memory instanceAsheraf1-320/+237
* Now it follow Hercules coding style * Various improvments to HULD support
2016-09-09Followup 0a097048 #1419Ridley88192-2/+4
Fix issue#[1418](https://github.com/HerculesWS/Hercules/issues/1418) .conf format
2016-09-02change *strcharinfo to use constantsAsheraf50-908/+908
2016-08-29*strnpcinfo now uses constantsAsheraf43-794/+794
- 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-26Implementation of Ghost palace instance based on iROAsheraf2-1/+839
* Added ghost palace instance script * Add needed monster, item and quest database entries * Added mapflags for instance map (1@spa)
2016-08-19Ported npc config to libconfigHaru7-303/+306
Ported to modern Hercules and cleaned up from Panikon's commits: ca009582cb22340951aa3e86c044ec1dca05df36, 6d6adf9bab2ba6f4274395018b8def566b880197 Signed-off-by: Haru <haru@dotalux.com>
2016-08-17Nightmare Clock Tower DungeonRidley88193-2/+180
- 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-08-02Sara's Memory Instance implementationRidley88192-0/+1868
* implementation of Sara's memory instance * Update and add missing Sara's memory monster database * Update and add missing Sara's memory quest database
2016-08-01Update Old Glastheim announces to use C_colorAsheraf1-22/+22
* now announce commands use constant colors instead of hexadecimal. * added new color C_SPRINGGREEN
2016-07-21Update OGH change donpcevent to npctalkAsheraf1-417/+84
change all old glast heim ontalk syntaxes to npctalk
2016-07-21Followup d5d646c (#1374)Ridley1-5/+5
* Followup d5d646c74cb3a04f6758996a0ab99e760fd92ddd missing ( ) in npctalk and unittalk
2016-07-20Old Glast Heim and Nightmare Glast Heim implementationRidley88193-848/+2049
-- adding glast heim Monsters/Items/Quests full entries -- corrected already existed glast heim items/quest/monsters entries -- added Old Glast Heim Enchanter -- Changed .MyMobs to 'MyMobs -- Added H.U.L.D suppot
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-25Fixed some script errorsHaru1-1/+1
Signed-off-by: Haru <haru@dotalux.com>
2016-06-25Replaced _() with _$() in scripts, where appropriateHaru1-1/+1
Signed-off-by: Haru <haru@dotalux.com>
2016-06-25Corrected various translation/text encoding issuesHaru12-317/+306
- 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.AtlantisRO2-0/+40
2016-03-12Fixes to Typo Errors.AtlantisRO2-2/+2
2016-02-29Replaced the SEX_FEMALE/SEX_MALE constants to scripts, where appropriateEmistry17-93/+103