summaryrefslogtreecommitdiff
path: root/npc/custom
diff options
context:
space:
mode:
authorLupus <Lupus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-06-29 03:33:58 +0000
committerLupus <Lupus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-06-29 03:33:58 +0000
commit2b98ec2f544e58ea9a6522923590ed9aa0053f50 (patch)
tree2d7631c578a0d7443fe0d13fccfb25e6c0abb1d2 /npc/custom
parent21b797be5ca7c64dd40f1cb250e9d692f6a56c8f (diff)
downloadhercules-2b98ec2f544e58ea9a6522923590ed9aa0053f50.tar.gz
hercules-2b98ec2f544e58ea9a6522923590ed9aa0053f50.tar.bz2
hercules-2b98ec2f544e58ea9a6522923590ed9aa0053f50.tar.xz
hercules-2b98ec2f544e58ea9a6522923590ed9aa0053f50.zip
updated penal servitude, nguild warper
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7385 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/custom')
-rw-r--r--npc/custom/penal_servitude.txt24
1 files changed, 18 insertions, 6 deletions
diff --git a/npc/custom/penal_servitude.txt b/npc/custom/penal_servitude.txt
index 343e9d983..75ae8f726 100644
--- a/npc/custom/penal_servitude.txt
+++ b/npc/custom/penal_servitude.txt
@@ -3,7 +3,7 @@
//===== By ================================================
//= Lupus
//===== Version ===========================================
-//= 1.1
+//= 1.2
//===== Compatible With ===================================
//= eAthena Final (SVN)
//===== Description =======================================
@@ -13,13 +13,17 @@
// This script uses CHEQUES of the 2nd KAFRA_BANK.TXT
// var PRISON - it counts number of your imprisonments.
// 1.1 English translation
+// 1.2 Stricted the conditions a bit
//=========================================================
sec_pri.gat,36,58,1 script Chief Warder 105,{
mes "[Saddeus]";
emotion 1;
- if (sex) mes "Mr. Prisoner #"+BaseLevel+JobLevel+",";
- if (!sex) mes "Ms. Prisoner #"+BaseLevel+JobLevel+",";
+ if(sex) {
+ mes "Mr. Prisoner #"+BaseLevel+JobLevel+",";
+ } else {
+ mes "Ms. Prisoner #"+BaseLevel+JobLevel+",";
+ }
mes "what's the noise over there?";
next;
menu "Let me free, I'll pay!",-, "Let me to work off my freedom!",M_Q1, "Nothing",M_NO_THANKS;
@@ -66,7 +70,7 @@ L_NOBANK:
close;
L_RELEASE:
- set PRISON,PRISON+1; //EEEEE...
+ set PRISON,PRISON+1;
next;
mes "[Saddeus]";
mes "You are free now!";
@@ -83,6 +87,11 @@ M_Q1:
menu "OK, I'll work off!",-, "I love this prison!",M_NO_THANKS;
mes "[Saddeus]";
+ if(checkcart(0) || checkfalcon(0) || checkriding(0)){
+ emotion e_hmm;
+ mes "I'm sorry, you should release your Cart, PecoPeco or Falcon!";
+ close;
+ }
mes "Talk to our overseer, Oliver.";
next;
@@ -148,7 +157,7 @@ sec_in02.gat,137,57,1 script Overseer 708,{
close;
L_GET_Q:
- set PRISON,PRISON+1; //EEEEE...
+ set PRISON,PRISON+1;
if (PRISON > 1) mes "Hmm... You've been here already... Well-well...";
if ( countitem(1069) || countitem(1070) ) mes "Drop these mushrooms!! They are poisonous!";//Items: Orange_Net_Mushroom, Orange_Gooey_Mushroom_,
@@ -170,8 +179,11 @@ sec_in02.gat mapflag nosave SavePoint
sec_in02.gat mapflag noteleport
sec_in02.gat mapflag nobranch
sec_in02.gat mapflag nowarp
+sec_in02.gat mapflag nowarpto
+sec_in02.gat mapflag noexp
+sec_in02.gat mapflag noskill
//sec_in02.gat mapflag pvp
-sec_in02.gat mapflag pvp_noparty
+//sec_in02.gat mapflag pvp_noparty
//sec_in02.gat mapflag gvg
sec_in02.gat mapflag pvp_nightmaredrop random,all,300