summaryrefslogtreecommitdiff
path: root/npc/events
AgeCommit message (Collapse)AuthorFilesLines
2020-07-29Remove unused dirsAndrei Karas34-16166/+0
2020-01-13Update copyright headers for year 2020Haru34-107/+107
Signed-off-by: Haru <haru@dotalux.com>
2019-10-20convert scripts to use getguildinfo()gumi7-17/+17
2019-07-28Sanitize handling of the input() values.Emistry Haoyan7-169/+160
- avoid potential hacks for old scripts that use `input()` script commands. Signed-off-by: Haru <haru@dotalux.com>
2018-11-13Remove type argument from buildin_getnpcid.EyesOfAHawk2-36/+36
2017-06-03convert specialeffect calls with strings to use GIDgumi2-36/+36
2017-06-03remove misceffect from npcsgumi1-4/+4
2017-06-03remove specialeffect2 from npcsgumi5-12/+12
2017-03-08Removed the usage of deprecated command goto from npc scripts (except custom ↵AtlantisRO6-92/+86
folder). Signed-off-by: Ragno <ragno@atlantis-ro.net>
2016-12-30Fixed incorrect OnTouch label in Crow of Destiny QuestAsheraf2-2/+2
Credit: rathena/rathena@a9faab82cbcfbdb3009c5584032505e8617310bd
2016-11-20Replaced some unsupported symbols in AegisNames (step 2)Haru1-4/+4
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-10-16Change *getcharid to use constantsAsheraf9-31/+31
2016-09-02change *strcharinfo to use constantsAsheraf16-130/+130
2016-08-29*strnpcinfo now uses constantsAsheraf2-12/+12
- 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-06-25Fixed some script errorsHaru1-1/+1
Signed-off-by: Haru <haru@dotalux.com>
2016-02-29Replaced the SEX_FEMALE/SEX_MALE constants to scripts, where appropriateEmistry3-8/+8
2016-01-16Script Standardization: changed select format in events folderDastgir22-118/+118
2015-12-31Replaced leftover -1 view IDs with FAKE_NPCHaru3-3/+3
Signed-off-by: Haru <haru@dotalux.com>
2015-12-31Replace -1,{ with FAKE_NPC,{AnnieRuru4-18/+18
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-18ItemID to Constant: events FolderDastgir20-257/+257
2015-12-15Standardized header in scripts (part 8)Haru34-610/+1256
- Now including GPL-compliant license/copyright info - Restored some missing copyrights - Event scripts folders Signed-off-by: Haru <haru@dotalux.com>
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-09-25More aggressive whitespace cleanup. Follow up to 51329e6Haru9-204/+162
Signed-off-by: Haru <haru@dotalux.com>
2014-11-02Replaced 'set' with direct assignment where applicable (common folder)Haru26-529/+515
Signed-off-by: Haru <haru@dotalux.com>
2014-10-30Deprecated checkriding and setriding commandsHaru2-4/+4
Replaced their use in scripts with checkmount and setmount, respectively. Signed-off-by: Haru <haru@dotalux.com>
2014-10-28Removed use of 'checkquest' from scripts (common folder)Haru4-106/+96
Signed-off-by: Haru <haru@dotalux.com>
2014-10-27Removed use of 'menu' from official (non-custom) scriptsHaru8-457/+439
- Some scripts were partly refactored/rewritten to use a more modern coding style (and to fix some issues) - Note: the 'menu' command will be deprecated soon in favor of 'select' and 'prompt'. Signed-off-by: Haru <haru@dotalux.com>
2014-08-18HPM Hooks UpdateHercules.ws1-69/+69
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2014-08-18- Update some official mob spawn infoMichieru1-69/+69
2014-05-13Removed trailing whitespace (scripts)Haru11-19/+19
Signed-off-by: Haru <haru@dotalux.com>
2014-05-13Fixed some charset issuesHaru1-0/+2
- Fixed files with mixed character set or invalid CP949 characters. - Uncommented '#music' script in the_sign_quest.txt (now the soundeffect filename should be fixed). - Added a note to the header of CP949 files not to read or save them as UTF8, since it'd break their encoding. It should be safe enough to read them as EUC-KR if your text editor doesn't offer CP949 as an option. - Added FIXME notes about untranslated strings in assassin_skills.txt and WolfchevLaboratory.txt. Signed-off-by: Haru <haru@dotalux.com>
2014-05-13Fixed several files with a missing EOL at EOFHaru3-3/+3
- All text files should end with an EOL. Period. - See http://robots.thoughtbot.com/no-newline-at-end-of-file for info on how to configure the most common text editors to do it automatically for you. Signed-off-by: Haru <haru@dotalux.com>
2013-12-07Fixed several incorrect script labels and eventsHaru3-5/+5
Signed-off-by: Haru <haru@dotalux.com>
2013-11-30Re-commit of 4faa0ec9df7067cee3eb1c1953fccc6c2f842179Taylor Locke11-19/+19
Cleaned up Zeny manipulation in scripts. - It is now finally safe to re-commit. - Removed some unwanted parts of the original commit, that broke the character set in some scripts. [Haru] - Corrected spacing in some edited lines. [Haru]
2013-11-28Revert "Cleaned up Zeny manipulation in scripts."Haru11-19/+19
Reverted due to a serious regression. I'll commit this again once I fixed the issue in the script engine. Sorry for the inconvenience. This reverts commit 4faa0ec9df7067cee3eb1c1953fccc6c2f842179. Signed-off-by: Haru <haru@dotalux.com>
2013-11-25Cleaned up Zeny manipulation in scripts.Taylor Locke11-19/+19
2013-11-10Follow-up to 857bdc4f98be6cd1e185a24565d6b6b54752b9b4Haru3-8/+8
- Consolidated case in remaining variables, labels, constants. Signed-off-by: Haru <haru@dotalux.com>
2013-11-10Follow-up to 857bdc4f98be6cd1e185a24565d6b6b54752b9b4Haru4-58/+58
- Consolidated case in variables, labels, constants. Signed-off-by: Haru <haru@dotalux.com>
2013-11-09Consolidated commands called in scripts to their lowercase versionHaru8-94/+94
- Added a note about variables and command scripts case sensitivity. Even though the engine still accepts variable, function and command names in a case insensitive way, it is discouraged to rely on such behavior. Please update your custom scripts as soon as possible. Signed-off-by: Haru <haru@dotalux.com>
2013-11-08Added support for monster spritename constantsHaru2-9/+9
- Follow-up to 124ab2a1cdb344f24170a4d91f7000ebabf39b40 - Replaced numeric IDs in NPC definitions and setnpcdisplay calls with the appropriate constants - Made possible thanks to Ind Signed-off-by: Haru <haru@dotalux.com>
2013-11-07Extended script constants to support NPC sprite IDsHaru1-7/+7
- Added support for constants whose name begins with a number. - Follow-up to 124ab2a1cdb344f24170a4d91f7000ebabf39b40. - Replaced calls to setnpcdisplay with hardcoded numeric IDs to constants. - Thanks to Yommy. Signed-off-by: Haru <haru@dotalux.com>
2013-10-28Added ability to use constants instead of sprite IDs for NPCs. Converted all ↵Kisuka32-429/+429
npcs to use this.
2013-10-24Update to last rAthena npc.Michieru22-340/+1120
Fix some typos change sc_bleeding to -> sc_blooding Updated RE EXP for quests_brasilis.txt
2013-09-16Corrected line endings and BOM issues with several filesHaru3-3/+3
- Ensured final end-of-line character in every file. - Corrected cases of mixed line endings (mostly CR and CRLF within the same file.) - Removed extra BOM from some scripts, since it causes a parsing error. Signed-off-by: Haru <haru@dotalux.com>
2013-07-04Merged/Updated/Added scripts from rAthena.j-tkay2-0/+863
- Fixed Bug #7400 Signed-off-by: j-tkay <joseph.tk.ea@gmail.com>
2013-06-13Hercules Renewal Phase : Renewalmalufett2-24/+24
Rename SC names to eagis standard. Implement SC Configuration.(see db/sc_config.txt) Skill updates and fixes. Some code optimization. Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
2013-02-03Updated more placeholders and fixed some spacing issues.Mysteries31-91/+31
2013-01-29Updated placeholders.Mysteries1-3/+1