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_rent.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_rent.txt')
-rw-r--r-- | npc/custom/eAAC_Scripts/kafraExpress/ke_rent.txt | 81 |
1 files changed, 0 insertions, 81 deletions
diff --git a/npc/custom/eAAC_Scripts/kafraExpress/ke_rent.txt b/npc/custom/eAAC_Scripts/kafraExpress/ke_rent.txt deleted file mode 100644 index 3806f20d8..000000000 --- a/npc/custom/eAAC_Scripts/kafraExpress/ke_rent.txt +++ /dev/null @@ -1,81 +0,0 @@ -//===== rAthena Script ======================================= -//= Kafra Express - Rental Module -//===== By: ================================================== -//= Skotlex -//===== Current Version: ===================================== -//= 1.8 -//===== Compatible With: ===================================== -//= rAthena SVN R3424+ -//===== Description: ========================================= -//= Part of the Kafra Express Script Package. -//= Rents PecoPecos, Falcons, Carts -//===== Additional Comments: ================================= -//= See config.txt for configuration. -//============================================================ - -- script keInit_rent -1,{ -OnInit: //Load Config - donpcevent "keConfig::OnLoadRent"; - end; -} - -function script F_keRent { - set @cartCost,callfunc("F_keCost",$@kert_cartCost,100); - if(@kert_cartOnly) { - set @kmenu, 2; - } else { - set @falconCost,callfunc("F_keCost",$@kert_falconCost,100); - set @pecoCost,callfunc("F_keCost",$@kert_pecoCost,100); - set @kmenu, select ( - "- Cancel", - "- Rent a Cart ("+@cartCost+"z)", - "- Rent a Falcon ("+@falconCost+"z)", - "- Rent a PecoPeco ("+@pecoCost+"z)" - ); - } - switch (@kmenu) { - case 2: //Cart - if (getskilllv("MC_PUSHCART")==0) { - callfunc "F_keIntro", -1, "Sorry, only those with the skill 'Pushcart' may rent a Cart."; - } else - if (checkcart()) { - callfunc "F_keIntro", -1, "You are already equipped."; - } else - if (!(callfunc("F_keCharge",$@kert_cartCost,100,1))) { - callfunc "F_keIntro", e_an, "Sorry, but you don't have enough Zeny."; - } else { - setcart; - emotion e_ok; - } - break; - case 3: //Falcon - if (getskilllv("HT_FALCON")==0) { - callfunc "F_keIntro", -1, "Sorry, only those with the skill 'Falcon Taming' may rent a Falcon."; - } else - if (checkfalcon()) { - callfunc "F_keIntro", -1, "You are already equipped."; - } else - if (!(callfunc("F_keCharge",$@kert_falconCost,100,1))) { - callfunc "F_keIntro", e_an, "Sorry, but you don't have enough Zeny."; - } else { - setfalcon; - emotion e_ok; - } - break; - case 4: //pecopeco - if (getskilllv("KN_RIDING")==0) { - callfunc "F_keIntro", -1, "Sorry, only those with the skill 'PecoPeco Riding' may rent a PecoPeco."; - } else - if (checkriding()) { - callfunc "F_keIntro", -1, "You are already equipped."; - } else - if (!(callfunc("F_keCharge",$@kert_pecoCost,100,1))) { - callfunc "F_keIntro", e_an, "Sorry, but you don't have enough Zeny."; - } else { - setriding; - emotion e_ok; - } - break; - } - return; -} |