summaryrefslogtreecommitdiff
path: root/npc
AgeCommit message (Collapse)AuthorFilesLines
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
2016-02-21Geffen NPC UpdatesJedzkie4-48/+115
- 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 NPC Sprite of Repairman
2016-02-07Merge pull request #1110 from dastgir/22-ScriptClean-Phase2Haru448-5096/+5096
Script CleanUp Phase 2
2016-01-30Fixes conditions in itembind.txtDastgir1-4/+9
2016-01-19Merge pull request #1098 from AnnieRuru/request_31Dastgir2-4/+4
Fix 3rd jobs BaseLevel requirement
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 folderDastgir119-1436/+1436
2016-01-17Script Standardization: changed select format in woe-se folderDastgir1-27/+27
2016-01-17Script Standardization: changed select format in woe-fe folderDastgir21-52/+52
2016-01-17Script Standardization: changed select format in pre-re folderDastgir48-335/+335
2016-01-17Script Standardization: changed select format in quests folderDastgir82-1831/+1831
2016-01-17Script Standardization: changed select format in other folderDastgir23-168/+168
2016-01-17Script Standardization: changed select format in merchants folderDastgir27-126/+126
2016-01-17Script Standardization: changed select format in kafras folderDastgir3-18/+18
2016-01-16Remove VAR_ constantsAnnieRuru2-10/+10
- there are 2 same constants for setlook script command, remove the wrong one - VAR_ constant added by lone_wolf is invalid https://github.com/HerculesWS/Hercules/commit/f4278f36db32f35e535a0ea8feb1cf83ca95019e, so use the LOOK_ constant
2016-01-16Script Standardization: changed select format in jobs folderDastgir33-600/+600
2016-01-16Script Standardization: changed select format in instances folderDastgir4-46/+46
2016-01-16Script Standardization: changed select format in events folderDastgir22-118/+118
2016-01-16Script Standardization: changed select format in custom folderDastgir26-79/+79
2016-01-16Script Standardization: changed select format in cities folderDastgir23-176/+176
2016-01-16Script Standardization: changed select format in battleground folderDastgir9-54/+54
2016-01-16Script Standardization: changed select format in airports folderDastgir7-30/+30
2016-01-14Fix 3rd jobs BaseLevel requirementAnnieRuru2-4/+4
2016-01-13Fixes Mora NPC, being stuck when clickDastgir1-2/+2
2016-01-09Merge branch 'master' of git://github.com/FreddieFatso/Hercules into ↵Dastgir1-1/+1
FreddieFatso-master
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