summaryrefslogtreecommitdiff
path: root/npc/other/Global_Functions.txt
diff options
context:
space:
mode:
authorLupus <Lupus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-03-20 06:48:26 +0000
committerLupus <Lupus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-03-20 06:48:26 +0000
commit434a50ef97915ae4b4a5c0fe1393c8b264d69082 (patch)
tree2a94469e9c294c3069a79aae676955dd9e862a24 /npc/other/Global_Functions.txt
parent43db1f2c9eb1d648961d49a5fa28416565e333dc (diff)
downloadhercules-434a50ef97915ae4b4a5c0fe1393c8b264d69082.tar.gz
hercules-434a50ef97915ae4b4a5c0fe1393c8b264d69082.tar.bz2
hercules-434a50ef97915ae4b4a5c0fe1393c8b264d69082.tar.xz
hercules-434a50ef97915ae4b4a5c0fe1393c8b264d69082.zip
Added npc/sample/npc_live_dialogues.txt how to use Global_Functions.txt
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10035 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/other/Global_Functions.txt')
-rw-r--r--npc/other/Global_Functions.txt26
1 files changed, 4 insertions, 22 deletions
diff --git a/npc/other/Global_Functions.txt b/npc/other/Global_Functions.txt
index c63a58f5b..8e7817d31 100644
--- a/npc/other/Global_Functions.txt
+++ b/npc/other/Global_Functions.txt
@@ -3,7 +3,7 @@
//===== By: ==================================================
//= Lupus, kobra_k88
//===== Current Version: =====================================
-//= 2.08
+//= 2.09
//===== Compatible With: =====================================
//= eAthena 1.0
//===== Description: =========================================
@@ -29,8 +29,8 @@
//= 2.05 Book of Devil -> MISC_QUEST|256, clear other Niflheim garbage vars [Lupus]
//= +more garbage clean
//= 2.06 Pass to Bio-Lab -> MISC_QUEST|512 [Lupus]
-//= 2.07 Added TK_Q variable clear [Lupus]
-//- 2.08 Added NINJ_Q variable clear [Lupus]
+//= 2.07 Added TK_Q variable clear. 2.08 Added NINJ_Q variable clear [Lupus]
+//= 2.09 Cleared F_ClearGarbage [Lupus]
//============================================================
@@ -80,24 +80,6 @@ function script F_ClearJobVar {
function script F_ClearGarbage {
// Clear outdated global VARS
- //DTS Vote System
- if($dtsglobalelig) set $dtsglobalelig,0;
- if($dts&(1<<6)) set $dts,$dts&~(1<<6);
- //Cube Room
- if(hzdun) {
- set MISC_QUEST,MISC_QUEST|512;
- set num1,0; set num2,0; set num3,0; set num4,0; set num5,0;
- set num6,0; set num7,0; set num8,0; set num9,0;
- set hzdun,0; set cubekey,0; set piciburn,0;
- }
- //Airship
- if($lengths){
- cleararray $textstringsa$[0],"",getarraysize($textstringsa$);
- cleararray $textstringsb$[0],"",getarraysize($textstringsb$);
- cleararray $textstringsc$[0],"",getarraysize($textstringsc$);
- cleararray $compstring$[0],"",getarraysize($compstring$);
- cleararray $lengths[0],0,getarraysize($lengths);
- }
//Shinkskas Quest garbage
if(Shinokas_Quest > 7){
set ein_scientist,0;
@@ -221,7 +203,7 @@ function script F_RandMes {
// *** Function "F_Sex"
//////////////////////////////////////////////////////////////////////////////////
//returns 1st string if female, 2nd string otherwise
-// Example: mes callfunc("F_Sex","What a beautiful lady!","What a handsom man!");
+// Example: mes callfunc("F_Sex","What a beautiful lady!","What a handsome man!");
function script F_SexMes {
return getarg(Sex);