summaryrefslogtreecommitdiff
path: root/npc/custom/events
AgeCommit message (Collapse)AuthorFilesLines
2019-07-28Sanitize handling of the input() values.Emistry Haoyan3-20/+27
- avoid potential hacks for old scripts that use `input()` script commands. Signed-off-by: Haru <haru@dotalux.com>
2019-06-01Merge pull request #2380 from AnnieRuru/59-all_AllHaru1-1/+1
Standardize to "all" in script commands
2019-04-29Fix issue #1955Emistry Haoyan1-3/+6
- fix error due to event terminated by GM using `@killmonster` command.
2019-04-11change "All" into "all" in npc scriptsAnnieRuru1-1/+1
2019-01-14Fix a bug that causes the event to run indefinitelyAnnieRuru1-0/+10
- the .RoundCount only increase when having players answer correctly if nobody playing this event, or players give up before .Rounds(10) rounds, it will continue run forever
2017-06-03add missing constants to specialeffect callsgumi3-4/+4
2017-06-03remove misceffect from npcsgumi2-3/+3
2017-06-03remove specialeffect2 from npcsgumi1-2/+2
2016-10-16Change *getcharid to use constantsAsheraf1-7/+7
2016-09-02change *strcharinfo to use constantsAsheraf5-13/+13
2016-08-29*strnpcinfo now uses constantsAsheraf1-2/+2
- 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-21Removed some of the leftover calls to menu() in custom scriptsHaru4-256/+248
Signed-off-by: Haru <haru@dotalux.com>
2016-06-25Fixed some script errorsHaru1-3/+3
Signed-off-by: Haru <haru@dotalux.com>
2016-02-29Replaced the SEX_FEMALE/SEX_MALE constants to scripts, where appropriateEmistry1-4/+8
2016-01-16Script Standardization: changed select format in custom folderDastgir3-6/+6
2015-12-31Replace -1,{ with FAKE_NPC,{AnnieRuru1-1/+1
replace using Notepad++
2015-12-18uneasy Cemetry fixDastgir1-3/+3
2015-12-18ItemID to Constant: custom FolderDastgir4-16/+16
2015-11-15Fixed too-generic constant names of gettime() typesHaru2-6/+6
- 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.Emistry2-6/+6
constant for gettime( <type> ) constant for Weekday and Month.
2015-10-13Added Items needed in eden_iro.txtmoguri851-7/+7
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 51329e6Haru1-1/+1
Signed-off-by: Haru <haru@dotalux.com>
2015-05-08Replaced checkre() calls with constantsHaru1-1/+1
Signed-off-by: Haru <haru@dotalux.com>
2014-10-06Fix Bug 8133dastgir1-1/+4
* Disguise Event was having Renewal and Pre-Renewal Monster Constant in an array without any checks
2014-05-13Removed trailing whitespace (scripts)Haru2-3/+3
Signed-off-by: Haru <haru@dotalux.com>
2013-11-30Re-commit of 4faa0ec9df7067cee3eb1c1953fccc6c2f842179Taylor Locke1-2/+2
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."Haru1-2/+2
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 Locke1-2/+2
2013-11-10Follow-up to 857bdc4f98be6cd1e185a24565d6b6b54752b9b4Haru3-24/+24
- Consolidated case in remaining variables, labels, constants. Signed-off-by: Haru <haru@dotalux.com>
2013-11-10Follow-up to 857bdc4f98be6cd1e185a24565d6b6b54752b9b4Haru1-3/+3
- Consolidated case in variables, labels, constants. Signed-off-by: Haru <haru@dotalux.com>
2013-11-08Added support for monster spritename constantsHaru2-14/+16
- 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-4/+4
- 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 ↵Kisuka6-11/+11
npcs to use this.
2013-10-24Update to last rAthena npc.Michieru7-25/+13
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 filesHaru1-1/+1
- 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-05-28Woohooo! Some more cleaning up!Mysteries6-16/+16
- Follow up to 80510a0 { Corrected name placeholders } - Vas cleanup on name placeholders - Small change in /doc/permissions.txt
2013-02-10Merged rAthena ChangesMysteries1-4/+3
- Added checkidle() command that was present in rAthena since r17126 - Documented checkidle() function - More clearly defined variables in eA Job System documentation - Added missing 'stopnpctimer' in custom Cluckers script
2012-11-05* Custom Quest Shop updated to v1.4b, which fixes an incorrect 'getiteminfo' ↵euphyy1-8/+9
call and standardizes script format. * Switched 'atcommand' to 'unitskilluseid' in Cluckers custom script (bugreport:6852) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16858 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-09-07- Custom Disguise Event: added mob_id 1187 to the blacklist. (bugreport:6637)brianluau1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16758 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-09-07- Custom Disguise Event: changed global variables to NPC variables.brianluau1-125/+128
- Changed the blacklist to a string compare instead of looping through an array. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16757 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-31* Added checkquest() == -1 values in Eden lv.56-70 quests, bugreport:6360 ↵euphyy1-1/+1
(re\quests\eden\56-70.txt) * Added a note onto custom Disguise Event, to avoid confusion - bugreport:6362 (custom\events\disguise.txt) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16540 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-30- Added svn:eol-style=native property on some recently added text files.brianluau3-418/+418
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16534 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-13* Follow-up r16421, forgot to delete something...euphyy1-2/+0
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16422 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-13* Added mine and tr0n's quest scripts to /custom/quests/euphyy5-206/+420
* Added GmOcean's Disguise Event, Mysterious' Mushroom Event, and Keale's Cluckers Event (all edited) to /custom/events/ * Moved Quest Warper into /etc/ * Deleted custom Fashionable Glasses quest, duplicate of official NPC "Zic" (custom/quests/fashion.txt) * Deleted custom Hyegun event (custom/events/hyegun_event.txt) * Deleted custom Dracula event (custom/events/draculax.txt) * Deleted custom Wizard Hat quest (custom/quests/magicalhatquest.txt) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16421 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-16> Reorganization:euphyy4-244/+1
* Cleaned up "Custom Scripts" configuration file (scripts_custom.conf) * Moved "Event King Items" scripts from events to quests (custom\quests\kings_items.txt) * Moved "p_track" from events to etc (custom\etc\p_track.txt) * Renamed "lvl99_quest" to "jewel_case" for easier identification (custom\quests\jewel_case.txt) * Deleted "2006_dogs_year" event script (pointless and incomplete) > Script changes: * Cleaned/standardized "Valentine Event Script" (events\valentinesday.txt) * Cleaned "Slotted Sunglasses Quest" (custom\quests\sunglasses.txt) * Optimized "Lord Kaho's Horns Quest" (custom\quests\kahohorn.txt) * Cleaned and optimized "Balmung & Lord Kaho's Horns Quest" (custom\quests\kaho_balmung.txt) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16313 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-08* Added "eA Job System" documentation for third classes (doc\ea_job_system.txt)euphyy4-272/+124
* Fixed Eden: Romeo#02 not setting para_suv01 upon quest completion (bugreport:5949) * Cleaned and edited "Item Signer" script for general use (custom\item_signer.txt) * Merged and cleaned "Poring Track" custom script, then moved and renamed (custom\events\p_track.txt) * Optimized "Valhallen Quests" script (custom\quests\valhallen.txt) * Optimized "Event King Items" script (custom\events\kings_items.txt) * Deleted "Market Place" script, not sure why this existed... (custom\etc\market.txt) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16239 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-25- Standardized script headers, starting with /npc/custom/brianluau10-82/+76
http://rathena.org/wiki/Script_header git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15262 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-24- Replaced all occurrences of "eAthena" to "rAthena" stringmercurial12310-18/+18
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15251 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-12- Fixed double-quotes not being escaped in the custom xmas_rings_event. ↵brianluau1-3/+4
(bugreport:2546) - Renamed an OnClock label so it's consistent with the other castles. (bugreport:2831) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13756 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-13Converted skill commands integers to strings. Follow up on r12814shadow1-2/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12819 54d463be-8e91-2dee-dedb-b68131a5f0ec