summaryrefslogtreecommitdiff
path: root/npc/guilds/management.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-03-15 09:29:31 -0300
committerJesusaves <cpntb1@ymail.com>2019-03-15 09:29:31 -0300
commit0ef89a7106f81e02426f2fb3d6499176098085df (patch)
tree29ab27c0da489c92322af7e0cace8e902051975a /npc/guilds/management.txt
parent6e9a11a712f320762f4eaeb206bf6aec03b64be7 (diff)
downloadserverdata-0ef89a7106f81e02426f2fb3d6499176098085df.tar.gz
serverdata-0ef89a7106f81e02426f2fb3d6499176098085df.tar.bz2
serverdata-0ef89a7106f81e02426f2fb3d6499176098085df.tar.xz
serverdata-0ef89a7106f81e02426f2fb3d6499176098085df.zip
Introduce the "Normal Member" and the "Treasurer" guild roles.
Only Normal Member and above can use the Guild Storage.
Diffstat (limited to 'npc/guilds/management.txt')
-rw-r--r--npc/guilds/management.txt16
1 files changed, 14 insertions, 2 deletions
diff --git a/npc/guilds/management.txt b/npc/guilds/management.txt
index 4b099adee..cd1f5ae78 100644
--- a/npc/guilds/management.txt
+++ b/npc/guilds/management.txt
@@ -14,9 +14,13 @@ guilds,35,30,0 script Guild Management NPC_NO_SPRITE,{
else
mesc l("Guild Lv @@, @@/@@ EXP to level up", getguildlvl(.@gid), getguildexp(.@gid), "???");
+ // mesc l("The average player level is @@", getguildavg(.@gid));
+ mesc l("Your position on the guild: @@", getguildrole(.@gid, getcharid(3), true));
+
// I forgot a function to get player title and allow any guildmaster to change this
if (strcharinfo(0) == getguildmaster(.@gid))
{
+ next;
do
{
gmaster();
@@ -35,8 +39,8 @@ guilds,35,30,0 script Guild Management NPC_NO_SPRITE,{
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("Treasurer"), GPOS_TREASURER,
+ l("Normal Member"), GPOS_5,
l("Newbie"), GPOS_NEWBIE;
mes "";
.@idx=0+@menuret;
@@ -60,6 +64,14 @@ guilds,35,30,0 script Guild Management NPC_NO_SPRITE,{
.@name$="Recruiter";
.@perm=GPERM_INVITE;
break;
+ case GPOS_TREASURER:
+ .@name$="Treasurer";
+ .@perm=0;
+ break;
+ case GPOS_5:
+ .@name$="Member";
+ .@perm=0;
+ break;
case GPOS_NEWBIE:
.@name$="Newbie";
.@perm=0;