summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--npc/003-2/estard.txt101
1 files changed, 0 insertions, 101 deletions
diff --git a/npc/003-2/estard.txt b/npc/003-2/estard.txt
index 0da03d79c..fedf291b0 100644
--- a/npc/003-2/estard.txt
+++ b/npc/003-2/estard.txt
@@ -76,95 +76,6 @@
return;
}
- function gstorage {
- closedialog;
- guildopenstorage();
- close;
- return;
- }
-
- function gmaster {
- .@gid=getcharid(2);
- mesn;
- mesc l("Please select the Guild Position you want to change.");
- menuint
- l("Abort"), -1,
- l("Guild Master"), GPOS_GUILDMASTER,
- l("Vice Leader"), GPOS_VICELEADER,
- l("Recruiter"), GPOS_RECRUITER,
- l("Position 4"), GPOS_4,
- l("Position 5"), GPOS_5,
- l("Newbie"), GPOS_NEWBIE;
- mes "";
- .@idx=0+@menuret;
- if (.@idx < 0)
- return;
- mesc l("Please write how much in percent is EXP Tax for member (range: 0~50)"), 1;
- input .@exptax;
- if (.@exptax < 0 || .@exptax > 50)
- return;
- mesc l("Applying...");
- switch (.@idx) {
- case GPOS_GUILDMASTER:
- .@name$="GuildMaster";
- .@perm=GPERM_ALL;
- break;
- case GPOS_VICELEADER:
- .@name$="ViceLeader";
- .@perm=GPERM_ALL;
- break;
- case GPOS_RECRUITER:
- .@name$="Recruiter";
- .@perm=GPERM_INVITE;
- break;
- case GPOS_NEWBIE:
- .@name$="Newbie";
- .@perm=0;
- break;
- default:
- .@name$="Position "+(.@idx+1);
- .@perm=0;
- break;
- }
- debugmes "sgr(%d,%d,%d,%d,\"%s\")", .@gid, .@idx, .@perm, .@exptax, .@name$;
- .@re=setguildrole(.@gid, .@idx, .@perm, .@exptax, .@name$);
- mesc l("Done"), 3;
- debugmes "Result: %d", .@re;
- return;
- }
-
- function ginfo {
- .@gid=getcharid(2);
- mesn;
- mesc l("You are on guild @@ - @@", .@gid, getguildname(.@gid));
- next;
- mesc l("Your guild is lv @@", getguildlvl(.@gid));
- mesc l("@@ / @@ EXP", getguildexp(.@gid), getguildnxp(.@gid));
- next;
- mesc l("The average player level is @@", getguildavg(.@gid));
- mesc l("@@ is the guild master.", getguildmaster(.@gid));
- next;
- mesc l("Get 100,000 GExp?"), 1;
- if (askyesno() == ASK_YES) {
- mes "";
- guildgetexp(100000);
- mesc l("Done");
- next;
- mesc l("Your guild is lv @@", getguildlvl(.@gid));
- mesc l("@@ / @@ EXP", getguildexp(.@gid), getguildnxp(.@gid));
- next;
- }
- mes "";
- mesn;
- mesc l("These are all guild info commands atm. Let's use mapreg now?");
- next;
- getguildinfo(.@gid);
- mesn;
- mesc l("Your guild is lv @@ and average player level is @@", $@guildinfo_lvl[.@gid], $@guildinfo_avg[.@gid]);
- next;
- return;
- }
-
mesn;
mesq lg("Welcome miss.", "Good day sir.");
@@ -180,9 +91,6 @@
l("What service do you offer?"),
rif(!getq(General_Guild), l("I would like to create a party.")),
rif(getq(General_Guild) && getcharid(2) <= 0 && countitem(Emperium) == 0, l("I would like to create a guild.")),
- rif(getq(General_Guild) && getcharid(2) > 0, l("I would like to open Guild Storage.")),
- rif(is_admin() && getcharid(2) > 0, l("I would like to read Guild Information.")),
- rif(is_admin() && getcharid(2) > 0, l("I would like to edit Roles.")),
menuaction(l("Quit"));
switch (@menu)
@@ -196,15 +104,6 @@
case 3:
create_guild;
break;
- case 4:
- gstorage;
- break;
- case 5:
- ginfo;
- break;
- case 6:
- gmaster;
- break;
}
} while (@menu < 7);