summaryrefslogtreecommitdiff
path: root/npc/quests/cooking_quest.txt
AgeCommit message (Collapse)AuthorFilesLines
2019-07-28Sanitize handling of the input() values.Emistry Haoyan1-64/+69
- avoid potential hacks for old scripts that use `input()` script commands. Signed-off-by: Haru <haru@dotalux.com>
2017-11-12Add type constants for the getiteminfo()/setiteminfo() buildinsHaru1-2/+2
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-03remove specialeffect2 from npcsgumi1-1/+1
2017-03-08Removed the usage of deprecated command goto from npc scripts (except custom ↵AtlantisRO1-54/+54
folder). Signed-off-by: Ragno <ragno@atlantis-ro.net>
2016-11-20Replaced some unsupported symbols in AegisNames (step 2)Haru1-2/+2
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-09-02change *strcharinfo to use constantsAsheraf1-3/+3
2016-02-29Replaced the SEX_FEMALE/SEX_MALE constants to scripts, where appropriateEmistry1-2/+2
2016-01-17Script Standardization: changed select format in quests folderDastgir1-18/+18
2015-12-18ItemID to Constant: quests/woe FolderDastgir1-70/+70
2015-12-15Standardized header in scripts (part 9)Haru1-26/+36
- Now including GPL-compliant license/copyright info - Restored some missing copyrights - Quest scripts folders Signed-off-by: Haru <haru@dotalux.com>
2014-11-02Replaced 'set' with direct assignment where applicable (quests folder)Haru1-30/+30
Signed-off-by: Haru <haru@dotalux.com>
2014-05-13Removed trailing whitespace (scripts)Haru1-1/+1
Signed-off-by: Haru <haru@dotalux.com>
2013-11-30Re-commit of 4faa0ec9df7067cee3eb1c1953fccc6c2f842179Taylor Locke1-3/+3
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-3/+3
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-3/+3
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-10-28Added ability to use constants instead of sprite IDs for NPCs. Converted all ↵Kisuka1-5/+5
npcs to use this.
2013-10-24Update to last rAthena npc.Michieru1-18/+14
Fix some typos change sc_bleeding to -> sc_blooding Updated RE EXP for quests_brasilis.txt
2013-05-28Woohooo! Some more cleaning up!Mysteries1-8/+8
- Follow up to 80510a0 { Corrected name placeholders } - Vas cleanup on name placeholders - Small change in /doc/permissions.txt
2012-08-07* Follow-up r16592... thanks Trojal. :|euphyy1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16593 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-07* Optimized Eden Quest lv. 26-40 and 41-55 (re\quests\eden\)euphyy1-74/+25
* Minor cleaning on Cooking Quest (quests\cooking_quest.txt) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16592 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-01Full npc folder reorganization. (I hope I didn't break anything D:)daegaladh1-0/+2440
-Now common scripts goes to the main npc folder, and pre-re-only/re-only ones goes to their respective folders. -NPCs with practically the same script but little differences have been left in the main folder and uses the command checkre() for the differences. -For those NPCs with different coordinates but same script, the script has been left in the main folder but the NPCs splitted as duplicates. -All pre-renewal files has been reverted back to their pre-renewal behavior. TODO: -Correct pre-re quest rewards. -Check for pre-re/re differences in mapflags. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16545 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-08Okie ladies and gentleman if this commit breaks anything it's jman's and ↵shennetsind1-2440/+0
maki's fault, yes, blame them. Fixing pre-re / re npc support, moving /config/ folder to src root so other servers may also make use of the #define renewal dir and other stuff. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16382 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-24- Replaced all occurrences of "eAthena" to "rAthena" stringmercurial1231-2/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15251 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-06-22* Added support for NPC names in the 'specialeffect' script command, go go ↵L0ne_W0lf1-53/+15
copy/paste! * Updated several NPCs to use the updated specialeffect command, updated more NPCs to use the updated emotion command. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14353 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-10-30- Fixed a copy-paste 'nowarpto' mapflag. (bugreport:3688)brianluau1-1/+1
- Updated documentation for 'rentitem'. (follow up to r14082) - Fixed a variable name in Valentines 2009 quest. (bugreport:3644) - Added a missing 'input' in Alchemist Job quest. (bugreport:3695) - Fixed a typo in Cooking Quest. (bugreport:3691) - Fixed some typos in Veins Quest. (bugreport:3588) and (bugreport:3692) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14111 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-03-25Added correct packets for the food item creation window.ultramage1-40/+41
Added script command 'cooking' to activate this window and applied it to the 5 cooking kit items. Renamed the cooking quest variable to cooking_q to avoid a naming collision with the new script command. (You need to manually rename all occurences of this variable in your txt-savefile/sql-database if you want to preserve player progress.) The code still relies on the messy skill_produce_mix logic and still uses completely custom equations. To be fixed in a separate commit. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13628 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-09-25Replacing specialeffect/2 numerics with constants in quests.L0ne_W0lf1-2/+3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13237 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-02-13* Corrected a "donpcevent" missing a ":" in Cooking Quest. (bugreport:962)samuray221-2/+3
* Corrected a Typo error in quest_prontera.txt. (bugreport:950) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12202 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-02-06* Corrected again the Cooking quest changed a close; to close2;samuray221-1/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12178 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-02-05* Corrected a bad duplicate name in Kafra Bank (Custom). (bugeport:921)samuray221-6/+7
* Corrected a lot of ";;" Typo errors. -Some of this are in the bugreport:919 * Corrected a Cutin Problem in Cooking Quest and a Delitem. (bugreport:911) * Corrected some typo error with "rouge". (bugreport:909) * Moved Custom Event folder to Custom Folder. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12177 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-06-10NPC typo fixes, eol style definitons, newline at end of fileultramage1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10738 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-06-07* Implemented Official Cooking Quest.L0ne_W0lf1-523/+2396
- Optimized Rachel donation quest, and added Rachel Guide. - Fixed the name of one of Rachel's shops. (Tool Dealer -> Fruit Gardener) - Fixed some typos in the Kyle Hyre Quest's additional comments. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10714 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-04-29More eof eols (followup to r10401); skipping /npc/custom and /npc/samplesultramage1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10402 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-15removed all .GAT from all the scripts and testedLupus1-4/+4
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10018 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-05- Massive EOL normalization & 'svn:eol-style native' flag setting for all ↵FlavioJS1-600/+600
txt/conf/h/c files. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9410 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-17alice doll fix, cooking questLupus1-4/+4
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5641 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-01-29AS OF SVN REV. 5901, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES ↵Valaris1-0/+600
GO INTO TRUNK. IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK. EVERYTHING ELSE GOES INTO TRUNK AND WILL BE MERGED INTO STABLE BY VALARIS AND WIZPUTER. -- VALARIS git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5094 54d463be-8e91-2dee-dedb-b68131a5f0ec