summaryrefslogtreecommitdiff
path: root/npc/other
AgeCommit message (Collapse)AuthorFilesLines
2016-02-22Remove conf dir.Andrei Karas33-32634/+0
2016-01-17Script Standardization: changed select format in other folderDastgir23-168/+168
2015-12-31Replaced leftover -1 view IDs with FAKE_NPCHaru5-1481/+1481
Signed-off-by: Haru <haru@dotalux.com>
2015-12-31Replace -1,{ with FAKE_NPC,{AnnieRuru14-218/+218
replace using Notepad++
2015-12-20Add color constants for announcement and mesAnnieRuru1-0/+8
Added F_MesColor helper function Closes #897 as merged Signed-off-by: Haru <haru@dotalux.com>
2015-12-18Replaced numeric values with UNITTYPE_ constants in getmapxyHaru4-8/+8
Follow-up to dbe5f2237cada6a261e297b60857dc305860a88d Signed-off-by: Haru <haru@dotalux.com>
2015-12-18More ItemID to ConstantsDastgir1-20/+20
2015-12-18ItemID to Constant: other FolderDastgir10-68/+68
2015-12-17Standardize the comments in Global_Functions.txtAnnieRuru1-6/+4
follow up https://github.com/HerculesWS/Hercules/commit/d4832df6929653561e6867149e4ecaa63a860cbe
2015-12-15Standardized header in scripts (part 14)Haru33-714/+1237
- Now including GPL-compliant license/copyright info - Restored some missing copyrights - Other scripts folders Signed-off-by: Haru <haru@dotalux.com>
2015-12-13Add 'F_ShuffleNumbers' as Global FunctionAnnieRuru1-0/+30
2015-11-17Add some FAQ documentation that some script command can return valueAnnieRuru1-4/+4
- getitemname can return "null" - getmapusers can return -1 and fix the bad ... misleading global function example
2015-11-15Fixed too-generic constant names of gettime() typesHaru5-20/+20
- 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-11-08Fixes Chance of Comodo Gambling (Thanks to @michaelforge for pointing itDastgir1-2/+2
out)
2015-10-27Replaced parameter type with constant.Emistry5-20/+20
constant for gettime( <type> ) constant for Weekday and Month.
2015-09-25More aggressive whitespace cleanup. Follow up to 51329e6Haru9-82/+69
Signed-off-by: Haru <haru@dotalux.com>
2015-08-09Minor script cleanup.Haru2-2/+2
- Replaced leftover sprite IDs with constants - Corrected some NPC facing directions (in modulo 8)
2015-07-20Follow up #523Emistry1-5/+10
Enable the NPC to inform users the Auction not available due to the feature isn't enabled by server.
2015-07-15Follow up d93ed2a26dab220632d523caea0358d33dda7051Emistry1-6/+20
Returns a number with commas based on precision of digits and custom separator. -- callfunc "F_InsertComma",<number>{,<precision>,<separator>} Examples: callfunc("F_InsertComma",7777777{,<precision>,<separator>}) // returns "7,777,777" callfunc("F_InsertComma",1000000000,3,","}) // returns "1,000,000,000" callfunc("F_InsertComma",1000000000,3,"_"}) // returns "1_000_000_000" callfunc("F_InsertComma",1000000000,4) // returns "10,0000,0000"
2015-07-14Added F_InserCommaEmistry1-0/+13
Merge from rAthena. Returns a number with commas between every three digits.
2015-07-08Update Unique ID system to match official now it cover all cash items ↵Ibrahim Hossam1-0/+71
include stackable ones. Implement ForceSerial option in Package Item Database to force serial for any item. Implement ForceSerial option in item database to force serial for any item. Implement Merge Client interface to merge stackable items with serial numbers ( check npc/other/item_merge.txt ).
2015-06-25Fix Issue in Dual Race.Dastgir1-487/+420
Reference: rathena/rathena@be1fd7b1 Also synchronized previous updates to the same script. Signed-off-by: Haru <haru@dotalux.com>
2015-06-25Removed Blank MessagesDastgir2-4/+4
Signed-off-by: Haru <haru@dotalux.com>
2015-06-25Added WoE Teleport Scroll, and fixes its typoDastgir1-1/+1
Signed-off-by: Haru <haru@dotalux.com>
2015-05-08Replaced checkre() calls with constantsHaru8-15/+15
Signed-off-by: Haru <haru@dotalux.com>
2015-04-19Added Kagero / Oboro Quest.Taylor Locke1-0/+3
2014-11-02Replaced 'set' with direct assignment where applicable (common folder)Haru26-1222/+1229
Signed-off-by: Haru <haru@dotalux.com>
2014-10-30Deprecated checkriding and setriding commandsHaru2-48/+27
Replaced their use in scripts with checkmount and setmount, respectively. Signed-off-by: Haru <haru@dotalux.com>
2014-10-30Deprecated checkdragon and setdragon commandsHaru1-3/+3
Replaced their use in scripts with checkmount and setmount, respectively. Signed-off-by: Haru <haru@dotalux.com>
2014-10-30Deprecated checkmadogear and setmadogear commandsHaru1-4/+4
Replaced their use in scripts with checkmount and setmount, respectively. Signed-off-by: Haru <haru@dotalux.com>
2014-10-24Renamed ismounting, setmounting, @mount2Haru2-2/+2
To avoid ambiguity: - The script command ismounting is now hascashmount - The script command setmounting is now setcashmount - The at-command @mount2 is now @cashmount Signed-off-by: Haru <haru@dotalux.com>
2014-05-13Removed trailing whitespace (scripts)Haru11-50/+48
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 EOFHaru2-2/+2
- 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-11-30Re-commit of 4faa0ec9df7067cee3eb1c1953fccc6c2f842179Taylor Locke13-25/+25
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-28Corrected operator precedence table.Haru1-1/+1
- [ This commit is part of a larger script engine related update ] - Operator precedence rules now closely follow those of languages such as C and derivates/related (C++, Java, PHP, etc.) - Please note that if you had custom scripts with non parenthesized expressions containing bitwise |, &, ^ operators, they may behave incorrectly now (or perhaps they were already behaving incorrectly, since the previous behavior was undocumented). - Added an up to date operator precedence/associativity table in the script documentation. - Added an operator/keyword self-test script in the npc/custom folder, in case if may be of some use for future regression-testing.
2013-11-28Revert "Cleaned up Zeny manipulation in scripts."Haru13-25/+25
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 Locke13-25/+25
2013-11-11Follow-up to 0b7b3796ec987cbb1c263722b841cfa5795aa6d3Haru2-18/+18
- Replaced some leftover numeric IDs Signed-off-by: Haru <haru@dotalux.com>
2013-11-10Follow-up to 857bdc4f98be6cd1e185a24565d6b6b54752b9b4Haru1-11/+11
- Consolidated case in remaining variables, labels, constants. Signed-off-by: Haru <haru@dotalux.com>
2013-11-10Follow-up to 857bdc4f98be6cd1e185a24565d6b6b54752b9b4Haru7-19/+19
- Consolidated case in variables, labels, constants. Signed-off-by: Haru <haru@dotalux.com>
2013-11-09Consolidated commands called in scripts to their lowercase versionHaru1-1/+1
- 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 constantsHaru3-36/+36
- 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-04Follow-up to 124ab2a1cdb344f24170a4d91f7000ebabf39b40Haru2-2/+2
- Changed a few leftover NPC IDs to constants - Note: we're still missing support for mob sprite constants, so the NPCs using mob sprites are still not converted. Signed-off-by: Haru <haru@dotalux.com>
2013-10-28Added ability to use constants instead of sprite IDs for NPCs. Converted all ↵Kisuka29-1328/+1328
npcs to use this.
2013-10-24Update to last rAthena npc.Michieru34-5203/+4650
Fix some typos change sc_bleeding to -> sc_blooding Updated RE EXP for quests_brasilis.txt
2013-10-19Instance Dungeons Updateshennetsind1-0/+150
As requested by the community in http://hercules.ws/board/topic/1702-implement-rathena-npc/ we're merging in the latest of rAthena's dungeons, this includes the rewriting of all instance dungeons and the addition of 4 dungeons that were not present previously (BakonawaLake, BangungotHospital, BuwayaCave and OldGlastHeim). Update also includes the ability for instances to reset (or be destroyed if instance files were disabled/removed) upon @reloadscript, instance scripts are able to control to what stage the instances are to be reset via the instance_set_respawn (reload spawn) script command, OnInstanceInit labels are now triggered when the instance starts via instance_init (and upon reload), they may be used alongside instance variables (which are persistent to @reloadscript) to save players' progress. - NPC Changelog: -- npc/instances/EndlessTower.txt --- 2.2 Instance system rewrite. [Euphy] --- 2.3 Added some missing announcements. [Euphy] --- 2.4 Added GM management function. [Euphy] -- npc/instances/NydhoggsNest.txt --- 1.5 Instance system rewrite. [Euphy] --- 1.6 Added GM management NPCs. [Euphy] -- npc/instances/OrcsMemory.txt --- 1.7 Instance system rewrite. [Euphy] -- npc/instances/SealedShrine.txt --- 2.3 Instance system rewrite. [Euphy] -- npc/other/gm_npcs.txt --- 1.0 First version. [Euphy] -- npc/re/instances/BakonawaLake.txt --- 1.0 First version. [Euphy] --- 1.1 Added GM management NPC. [Euphy] -- npc/re/instances/BangungotHospital.txt --- 1.0 First version. [Euphy] --- 1.1 Added GM management function. [Euphy] -- npc/re/instances/BuwayaCave.txt --- 1.0 First version. [Euphy] -- npc/re/instances/HazyForest.txt --- 1.1 Instance system rewrite. [Euphy] -- npc/re/instances/MalangdoCulvert.txt --- 1.0b Fixed incorrect use of 'close'. [Joseph] --- 1.1 Instance system rewrite. [Euphy] -- npc/re/instances/OctopusCave.txt --- 1.1 Instance system rewrite. [Euphy] -- npc/re/instances/OldGlastHeim.txt --- 1.0 First version. [Euphy] Special Thanks to Haru, Uziel for their contributions to this update, and ossi0110 for helping us debug it. Signed-off-by: shennetsind <ind@henn.et>
2013-09-16Corrected line endings and BOM issues with several filesHaru5-5/+5
- 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-26Header scripts adapted to HerculesSirius1-4/+2
2013-05-26* Poring War: Added missing barrier resets [Euphy's rAthena fix based on my ↵Sirius1-13/+16
report] * Added support for Baby Novices in the Novice's Quest Skills * Hotfix for the Blacksmith Rank bugreport: http://hercules.ws/board/tracker/issue-7288-max-refine-blacksmith-rank/ * Added duplicates from pre-re Mage Quest required in Sage Quest Skill.