diff options
author | jmanfffreak <jmanfffreak@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-05-28 21:19:30 +0000 |
---|---|---|
committer | jmanfffreak <jmanfffreak@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-05-28 21:19:30 +0000 |
commit | 72cd35c33dee93b88969b579a0cc3327b2e7f2d6 (patch) | |
tree | 91b88d46c64c35aafa450284f989d769f0f42e0f /npc/custom/eAAC_Scripts/kafraExpress/ke_shop.txt | |
parent | 2aa1029edac5ac7cfb19de5ca5a1050ac5b8f87c (diff) | |
download | hercules-72cd35c33dee93b88969b579a0cc3327b2e7f2d6.tar.gz hercules-72cd35c33dee93b88969b579a0cc3327b2e7f2d6.tar.bz2 hercules-72cd35c33dee93b88969b579a0cc3327b2e7f2d6.tar.xz hercules-72cd35c33dee93b88969b579a0cc3327b2e7f2d6.zip |
Massive updates to /npc/custom folder:
* Removed eAAC scripts, which were outdated. (tid: 64380) (will be released in downloads section)
* Removed scripts in /Lance/ folder, which haven't been updated in years. (will be released in downloads section)
* Combined heal.txt and heal_payment.txt into one script, set options within file to enable or disable zeny requirement.
* Added choice in job changer if you allow third job changes.
* Updated warper with new towns and some dungeons.
* Card remover now has option to prevent or allow item destruction upon removing failure
* Removed 2-2shop and replaced with a full itemmall (thanks Masao!)
* General file structure changes (possibly more later)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16164 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/custom/eAAC_Scripts/kafraExpress/ke_shop.txt')
-rw-r--r-- | npc/custom/eAAC_Scripts/kafraExpress/ke_shop.txt | 66 |
1 files changed, 0 insertions, 66 deletions
diff --git a/npc/custom/eAAC_Scripts/kafraExpress/ke_shop.txt b/npc/custom/eAAC_Scripts/kafraExpress/ke_shop.txt deleted file mode 100644 index e627d0c61..000000000 --- a/npc/custom/eAAC_Scripts/kafraExpress/ke_shop.txt +++ /dev/null @@ -1,66 +0,0 @@ -//===== rAthena Script ======================================= -//= Kafra Express - Portable Shop Module -//===== By: ================================================== -//= Skotlex -//===== Current Version: ===================================== -//= 0.1 -//===== Compatible With: ===================================== -//= rAthena SVN R5195+ -//===== Description: ========================================= -//= Part of the Kafra Express Script Package. -//= Offers buying/selling shop. -//===== Additional Comments: ================================= -//= See config.txt for configuration. -//============================================================ - -- script keInit_shop -1,{ -OnInit: //Load Config - donpcevent "keConfig::OnLoadShop"; - end; -} - -//Sample shops, adjust as needed! -- shop ke_townshop -,611:-1,1750:-1,501:-1,502:-1,503:-1,504:-1,506:-1,525:-1,601:-1,602:-1,1065:-1,645:-1,656:-1,657:-1 -- shop ke_dunshop -,611:-1,1750:-1,501:-1,502:-1,503:-1,504:-1,506:-1,525:-1,601:-1,602:-1,1065:-1 - -function script F_keShop { - - if (getarg(0) == 0) { //Town shop - set @type, $@kesh_towntype; - set @shop$, $@kesh_townshop$; - } else { - set @type, $@kesh_duntype; - set @shop$, $@kesh_dunshop$; - } - - switch (@type) { - case 1: - set @kmenu, select( - "- Return", - "- Buy items" - ); - break; - case 2: - set @kmenu, select( - "- Return", - "- Sell items" - ); - if (@kmenu > 1) - set @kmenu,3; - break; - default: - set @kmenu, select( - "- Return", - "- Buy items", - "- Sell items" - ); - break; - } - if (@kmenu == 1) - return; - mes "Thank you for using Kafra Services."; - close2; - cutin getarg(1), 255; - callshop @shop$, @kmenu-1; - end; -} |