summaryrefslogtreecommitdiff
path: root/npc/custom/quests
AgeCommit message (Collapse)AuthorFilesLines
2019-04-29Added *consolemes script commandEmistry Haoyan2-4/+4
- deprecated `*debugmes` script command. - added `*consolemes` script command which display the console message based on `type`. - allow map-server console to auto logging into text file depend on type of message.
2017-11-12Add type constants for the getiteminfo()/setiteminfo() buildinsHaru1-4/+4
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-06-03add missing constants to specialeffect callsgumi1-1/+1
2017-06-03remove specialeffect2 from npcsgumi2-4/+4
2017-05-28remove the pow buildin from existing scriptsgumi1-2/+2
2016-11-20Replaced some unsupported symbols in AegisNames (step 2)Haru5-13/+13
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 constantsAsheraf1-6/+6
2016-09-02change *strcharinfo to use constantsAsheraf7-22/+22
2016-08-29*strnpcinfo now uses constantsAsheraf1-1/+1
- 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 scriptsHaru9-1066/+1060
Signed-off-by: Haru <haru@dotalux.com>
2016-06-25Fixed some script errorsHaru1-1/+1
Signed-off-by: Haru <haru@dotalux.com>
2016-01-16Script Standardization: changed select format in custom folderDastgir10-24/+24
2015-12-31Replaced leftover -1 view IDs with FAKE_NPCHaru2-6/+6
Signed-off-by: Haru <haru@dotalux.com>
2015-12-31Replace -1,{ with FAKE_NPC,{AnnieRuru4-7/+7
replace using Notepad++
2015-12-18Replaced numeric values with UNITTYPE_ constants in getmapxyHaru1-2/+2
Follow-up to dbe5f2237cada6a261e297b60857dc305860a88d Signed-off-by: Haru <haru@dotalux.com>
2015-12-18ItemID to Constant: custom FolderDastgir12-142/+142
2015-11-15Fixed too-generic constant names of gettime() typesHaru1-4/+4
- 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-4/+4
constant for gettime( <type> ) constant for Weekday and Month.
2015-10-13Added Items needed in eden_iro.txtmoguri851-6/+6
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 51329e6Haru4-122/+114
Signed-off-by: Haru <haru@dotalux.com>
2014-09-02Update hunting_missions.txt to follow author's method on fixing character ↵AnnieRuru1-2/+16
deletion bug https://github.com/rathena/rathena/commit/3c24f45
2014-05-13Removed trailing whitespace (scripts)Haru10-26/+26
Signed-off-by: Haru <haru@dotalux.com>
2014-05-13Fixed several files with a missing EOL at EOFHaru1-1/+1
- 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>
2014-05-11Fixed typo in thqs_ttshoppanikon1-1/+1
2014-05-10Changed set_reg behavior on pc_setparam failure, now it won't simply END the ↵panikon1-10/+20
script, if a dialog window is open it'll also CLOSE it. Corrected Zeny formula in THQS
2014-05-10Optimized THQS_TTShop.txt and corrected a minor mistakepanikon1-478/+158
Added npc_market_data_db to inter-server.conf Added shop message to messages.conf Fixed small typo in clif_GM_kickack
2014-03-21Fix hunting mission and clarify weight's unitAnnieRuru1-3/+6
Fix hunting mission not able to take mission after a character has deleted http://hercules.ws/board/tracker/issue-8104-hunting-missiontxt-delete-character/ Clarify Weight and MaxWeight unit as in 0.1 http://hercules.ws/board/tracker/issue-7836-weight-and-maxweight/
2014-01-14Update Hunting Mission ossi01101-3/+3
Update Hunting_Mission.txt to the new SQL dbs
2013-12-07Fixed several incorrect script labels and eventsHaru1-2/+2
Signed-off-by: Haru <haru@dotalux.com>
2013-11-30Re-commit of 4faa0ec9df7067cee3eb1c1953fccc6c2f842179Taylor Locke10-15/+15
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."Haru10-15/+15
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 Locke10-15/+15
2013-11-10Follow-up to 857bdc4f98be6cd1e185a24565d6b6b54752b9b4Haru7-31/+31
- Consolidated case in remaining variables, labels, constants. Signed-off-by: Haru <haru@dotalux.com>
2013-11-10Follow-up to 857bdc4f98be6cd1e185a24565d6b6b54752b9b4Haru6-37/+37
- Consolidated case in variables, labels, constants. Signed-off-by: Haru <haru@dotalux.com>
2013-11-09Consolidated commands called in scripts to their lowercase versionHaru2-9/+9
- 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-10-28Added ability to use constants instead of sprite IDs for NPCs. Converted all ↵Kisuka23-87/+87
npcs to use this.
2013-10-24Update to last rAthena npc.Michieru22-54/+12
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 filesHaru7-7/+7
- 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-14/+46
- Fixed Bug #7400 Signed-off-by: j-tkay <joseph.tk.ea@gmail.com>
2013-05-28Woohooo! Some more cleaning up!Mysteries21-59/+57
- Follow up to 80510a0 { Corrected name placeholders } - Vas cleanup on name placeholders - Small change in /doc/permissions.txt
2013-03-14-Updated DB, Credits to Euphy & LemongrassStreusel1-2/+8
-Added coin_exchange.txt Credits to EUphy & Lemongrass
2013-03-05-Reverted a disable_items; Credits to EuphyStreusel1-2/+1
-Sorted quest_db.txt by id
2013-02-25* Part one of fixing bugreport:6527. This does not yet change functionality.euphyy1-1/+2
-- Added 'disable_items' to all applicable scripts. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@17160 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-02-03Updated more placeholders and fixed some spacing issues.Mysteries2-2/+2
2013-01-29Updated placeholders.Mysteries2-6/+2
2012-12-28* Added a small portion of official Malangdo Episode scripts.euphyy1-2/+2
* Updated quest_db with translated Malangdo entries. * Fixed strmobinfo() to output empty strings for 'name' instead of zeros (partly follow-up r17055). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@17056 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-28* Added a point to 'npcskill' documentation.euphyy1-2/+2
* Added Malangdo Tool Dealer. * Fixed quest log sample, which never worked to begin with -- thanks clydelion! * Fixed potential error with clones in custom Hunting Missions script (bugreport:7055). * Follow-up r16990, forgot to commit the EXP fix. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@17055 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-24> Pre-Renewal fixes, major credits to Deep Forest for his detailed reports:euphyy1-6/+6
* Separated Renewal Alberta features with checkre() and new files, follow-up r16125 (bugreport:7041). * Moved remaining Renewal shops out of pre-Renewal file, follow-up r16138 / r16104 (bugreport:7042). * Moved Renewal refining features to a separate file, and made some changes, follow-up r16126 (bugreport:7043). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@17042 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-24* Custom Quest Shop updated to v1.6, which adds support for bulk purchases.euphyy1-24/+28
* Follow-up r17014, fixed a typo in main.sql -- credits to Jeroen for finding that. * Follow-up r17039, missed a parameter -- thanks, clydelion/mkbu95! git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@17040 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-20* Follow-up r17031: typo (bugreport:7027).euphyy1-2/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@17032 54d463be-8e91-2dee-dedb-b68131a5f0ec