diff options
author | Jesusaves <cpntb1@ymail.com> | 2020-04-28 05:34:43 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2020-04-28 05:34:43 -0300 |
commit | 4381448c6bb1d4cf4705deaefd481e9bf1152c42 (patch) | |
tree | b69ed575dead411d21400610cea85e9a199759ca | |
parent | f388b641e02a5217765a9676ecb7ef68467caf37 (diff) | |
download | serverdata-4381448c6bb1d4cf4705deaefd481e9bf1152c42.tar.gz serverdata-4381448c6bb1d4cf4705deaefd481e9bf1152c42.tar.bz2 serverdata-4381448c6bb1d4cf4705deaefd481e9bf1152c42.tar.xz serverdata-4381448c6bb1d4cf4705deaefd481e9bf1152c42.zip |
What's Guild Vault for?
It is so members can learn skills.
Only treasurer, vice leader and guild master can withdraw GP.
But any member can use it to learn skills.
-rw-r--r-- | db/constants.conf | 3 | ||||
-rw-r--r-- | npc/functions/guild.txt | 2 | ||||
-rw-r--r-- | npc/guilds/logs.txt | 2 | ||||
-rw-r--r-- | npc/guilds/management.txt | 4 | ||||
-rw-r--r-- | npc/guilds/storage.txt | 2 |
5 files changed, 7 insertions, 6 deletions
diff --git a/db/constants.conf b/db/constants.conf index 11398d9ba..20b607305 100644 --- a/db/constants.conf +++ b/db/constants.conf @@ -3782,7 +3782,8 @@ constants_db: { GPOS_VICELEADER: 1 // pos2 GPOS_RECRUITER: 2 // pos3 GPOS_TREASURER: 3 // pos4 - GPOS_5: 4 // pos5 + GPOS_MEMBER: 4 // pos5 + GPOS_6: 5 // pos6 GPOS_NEWBIE: 19 comment__: "guild exchange" diff --git a/npc/functions/guild.txt b/npc/functions/guild.txt index 92a0a3802..2b4d79b69 100644 --- a/npc/functions/guild.txt +++ b/npc/functions/guild.txt @@ -36,7 +36,7 @@ function script getguildrole { return "Guild Recruiter"; case GPOS_TREASURER: return "Guild Treasurer"; - case GPOS_5: + case GPOS_MEMBER: return "Member"; case GPOS_NEWBIE: return "Newbie"; diff --git a/npc/guilds/logs.txt b/npc/guilds/logs.txt index 0a1b06058..2c80d2833 100644 --- a/npc/guilds/logs.txt +++ b/npc/guilds/logs.txt @@ -93,7 +93,7 @@ guilds,47,39,0 script Guild Logs NPC_NO_SPRITE,{ select l("Do nothing"), rif(strcharinfo(0) == getguildmaster(.@gid), l("Raise max members")), - rif(.@role == GPOS_TREASURER || .@role <= GPOS_VICELEADER, l("Learn individual guild skills")), + rif(.@role <= GPOS_MEMBER, l("Learn individual guild skills")), l("Learn Alchemy Recipes"); mes ""; diff --git a/npc/guilds/management.txt b/npc/guilds/management.txt index af7c16061..d8a54151e 100644 --- a/npc/guilds/management.txt +++ b/npc/guilds/management.txt @@ -60,7 +60,7 @@ guilds,35,30,0 script Guild Management NPC_NO_SPRITE,{ l("Vice Leader"), GPOS_VICELEADER, l("Recruiter"), GPOS_RECRUITER, l("Treasurer"), GPOS_TREASURER, - l("Normal Member"), GPOS_5, + l("Normal Member"), GPOS_MEMBER, l("Newbie"), GPOS_NEWBIE; mes ""; .@idx=0+@menuret; @@ -89,7 +89,7 @@ guilds,35,30,0 script Guild Management NPC_NO_SPRITE,{ .@name$="Treasurer"; .@perm=0; break; - case GPOS_5: + case GPOS_MEMBER: .@name$="Member"; .@perm=0; break; diff --git a/npc/guilds/storage.txt b/npc/guilds/storage.txt index 316071d9f..d608d1e90 100644 --- a/npc/guilds/storage.txt +++ b/npc/guilds/storage.txt @@ -12,7 +12,7 @@ guilds,33,28,0 script Guild Storage NPC_NO_SPRITE,{ } else { - if (getguildrole(.@gid, getcharid(3)) > GPOS_5) + if (getguildrole(.@gid, getcharid(3)) > GPOS_MEMBER) { dispbottom l("Your position must be the one of a regular member or above."); end; |