rathena/npc/other/sealstatus.txt
daegaladh f49b3d6f55 Full npc folder reorganization. (I hope I didn't break anything D:)
-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://svn.code.sf.net/p/rathena/svn/trunk@16545 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-01 04:29:56 +00:00

37 lines
1.6 KiB
Plaintext

//===== rAthena Script =======================================
//= God Item Seal Status
//===== By: ==================================================
//= L0ne_W0lf
//===== Current Version: =====================================
//= 1.2
//===== Compatible With: =====================================
//= rAthena SVN
//===== Description: =========================================
//= Goid Item Seal Status.
//===== Additional Comments: =================================
//= 1.0 Translated from the official. [L0ne_W0lf]
//= 1.1 Now checks proper char vars. [L0ne_W0lf]
//= 1.2 Cleaning. [Euphy]
//============================================================
prontera,113,294,3 script Sign Post 837,{
mes "======== God Seal Status ========";
setarray .@n$[1], "Sleipnir","Megingjard","Brisingamen","Mjolnir";
for(set .@i,1; .@i<5; set .@i,.@i+1) {
if (getd("$god"+.@i) == 0) mes .@n$[.@i]+" Seal: Unseen";
else if (getd("$god"+.@i) < 50) mes .@n$[.@i]+" Seal: Active";
else if (getd("$god"+.@i) < 100) mes .@n$[.@i]+" Seal: Appeared";
else mes .@n$[.@i]+" Seal: Released";
}
mes " ";
mes "======= Your Seal Status ========";
if (god_sl_1 < 51) mes "^ff0000Sleipnir Seal: Not Completed^000000";
else mes "^00ff00Sleipnir Seal: Completed^000000";
if (god_eremes < 28) mes "^ff0000Megingjard Seal: Not Completed^000000";
else mes "^00ff00Megingjard Seal: Completed^000000";
if (god_brising < 50) mes "^ff0000Brisingamen Seal: Not Completed^000000";
else mes "^00ff00Brisingamen Seal: Completed^000000";
if (god_mjo_0 < 11) mes "^ff0000Mjolnir Seal: Not Completed^000000";
else mes "^00ff00Mjolnir Seal: Completed^000000";
close;
}