summaryrefslogtreecommitdiff
path: root/npc
AgeCommit message (Collapse)AuthorFilesLines
2016-09-11removed unnecessary lines (thx to Aleos)Ridley88196-128/+139
added missing mapflags for c_tower2_ and c_tower3_
2016-09-10Merge pull request #1385 from Asheraf/saras_memoryhemagx12-1050/+962
Cleanup Sara's memory instance Closes #1385 as merged
2016-09-10Cleanup Sara's memory instanceAsheraf9-320/+260
* 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-02Merge pull request #1414 from skyleo/minor_quest_fixesIbrahem Hossam1-4/+4
Fixed Mixed Solution No.3 Arc never being assigned and repositioning
2016-09-02change *strcharinfo to use constantsAsheraf225-4493/+4493
2016-09-01Fixed Mixed Solution No.3 Arc never being assigned and occurrence of ↵skyleo1-4/+4
questlog errors in map.
2016-08-29*strnpcinfo now uses constantsAsheraf79-1857/+1857
- 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 iROAsheraf11-1/+865
* Added ghost palace instance script * Add needed monster, item and quest database entries * Added mapflags for instance map (1@spa)
2016-08-21Removed some of the leftover calls to menu() in custom scriptsHaru16-2074/+2047
Signed-off-by: Haru <haru@dotalux.com>
2016-08-19Ported npc config to libconfigHaru21-980/+1023
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-13Added missing close;skyleo1-0/+1
2016-08-09Merge pull request #1392 from skyleo/script_fixesDastgir3-6/+7
Fixes to Doctor Quest, Crazy Uproar Quest, Kafra HQ's Potato Trader
2016-08-08Fixed a variable name typo that Kafra Headquarter's Potato Trader always ↵skyleo1-3/+3
enter you into the lottery. And fixed a scope typo that broke the correct display of a menu.
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-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-10HULD-compliance: updated npc/battleground/Haru12-1480/+1485
Signed-off-by: Haru <haru@dotalux.com>
2016-07-10HULD-compliance: updated npc/airports/Haru7-935/+971
- Simplifies translations by reducing 376 strings (2200 lines) Signed-off-by: Haru <haru@dotalux.com>
2016-07-10Fixed a typo in the alchemist.txt scriptHaru1-3/+3
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-26Fixed a typo in the last edit of alchemist.txt (missing comma)Haru1-1/+1
Signed-off-by: Haru <haru@dotalux.com>
2016-06-25Fixed some script errorsHaru6-10/+10
Signed-off-by: Haru <haru@dotalux.com>
2016-06-25Replaced _() with _$() in scripts, where appropriateHaru2-9/+9
Signed-off-by: Haru <haru@dotalux.com>
2016-06-25Proof-of-concept best scripting practices for HULD (draft)Haru1-102/+159
- Replaced hardcoded item names with getitemname() Only the npc/jobs/2-2/alchemist.txt script was modified, as a proof of concept. Signed-off-by: Haru <haru@dotalux.com>
2016-06-25Proof-of-concept best scripting practices for HULDHaru1-676/+776
- `mes` strings are split by sentences: each string contains one and only one sentence. Line-break hints are specified with \r (and for readability the string is split in multiple lines with parse-time concatenation, without using the '+' operator) - When sentences need concatenation (variable names or values), sprintf is used, so that the generated translatable string is still one and only one. The `_()` macro is used inside sprintf, to mark the string as translatable. - `select()` / `prompt()` entries are in separate entries, separated by commas, where possible (it makes their translation easier) - This makes it easier to translate NPCs to languages with different sentence ordering (and with longer or shorter sentences). In the generated .pot, sentecnes will no longer span across several strings. Only the npc/jobs/2-2/alchemist.txt script was modified, as a proof of concept. Signed-off-by: Haru <haru@dotalux.com>
2016-06-25Re-implemented BUILDIN(sprintf)Haru1-0/+18
- The function now checks its arguments, rather than passing them to the system implementation (safer against arbitrary memory access or wrong variable type) - Implemented positional ('%1$d') specifiers (POSIX style) - See script_commands.txt for details about the supported format specifiers. Signed-off-by: Haru <haru@dotalux.com>
2016-06-25Corrected various translation/text encoding issuesHaru16-335/+316
- The generated translation file now loads cleanly without encoding conversion errors Signed-off-by: Haru <haru@dotalux.com>
2016-06-21Merge pull request #1318 from AtlantisRO/masterDastgir2-0/+40
Added missed npc Scamp in renewal location of izlude from Shadow Rekember quest.
2016-06-20Added missed npc Scamp in renewal location of izlude from Shadow Rekember quest.AtlantisRO2-0/+40
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-22Merge pull request #1260 from skyleo/wizard_questIbrahem Hossam1-2/+2
2016-04-22Fixed a typo and changed PcName Aegis-leftover to strcharinfo(0).skyleo1-2/+2
2016-04-22[Wizard Jobquest] Fixed getting stuck when failing 2nd Wave of Earth Room or ↵skyleo1-2/+2
1st Wave of Fire Room.
2016-03-14Fixed facing value in [Promotional Staff#iz] from script ↵AtlantisRO1-1/+1
[npc/pre-re/quests/quests_13_1.txt]
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-14Position of NPC [Promotional Staff#iz] from [Onward to the New World] QuestAtlantisRO1-1/+1
In Pre-Renewal the localization of Promotional Staff#iz is izlude,99,136 instead of izlude,101,173. Reference: http://irowiki.org/classic/Onward_to_the_New_World_Quest
2016-03-12Fixes to Typo Errors.AtlantisRO5-10/+10
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 appropriateEmistry91-427/+467
2016-02-22Alberta NPC UpdatesJedzkie3-53/+118
- Separate Tool Dealer and Pet Groomer selling items in Renewal and PRE-Renewal - Change the selling bullets of Trading Merchant in Renewal and PRE-Renewal
2016-02-22Izlude NPC UpdateJedzkie3-18/+22
- Change the selling items of Pet Groomer and Tool Dealer in RENEWAL - Added PRE-RENEWAL Pet Groomer and Tool Dealer in PRE-RE folder - Change the coordinates of Magazine Seller Kenny and Bullet Trader Tony. - Change the coordinates of Trading Merchant.
2016-02-22Payon NPC UpdateJedzkie12-135/+288
- 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