#W# Started work on guild rings.

This commit is contained in:
WarrentyExpired 2026-07-24 19:06:22 -04:00
parent 000d16eab6
commit 6cb014d51c
7 changed files with 201 additions and 2 deletions

View file

@ -196,7 +196,21 @@ namespace Server.Mobiles
pm.NpcGuildJoinTime = DateTime.Now;
pm.NpcGuildGameTime = pm.GameTime;
pm.InvalidateProperties();
// --- START GUILD REWARD LOGIC ---
Item reward = null;
if ( this.NpcGuild == NpcGuild.BlacksmithsGuild )
reward = new SmithsRing();
else if ( this.NpcGuild == NpcGuild.TailorsGuild )
reward = new TailorsRing();
// Add more else ifs here as you make items for other guilds!
if ( reward != null )
{
pm.AddToBackpack( reward );
from.SendMessage( "The guildmaster places a symbol of your new membership in your backpack." );
}
// --- END GUILD REWARD LOGIC ---
dropped.Delete();
return true;
}
@ -230,4 +244,4 @@ namespace Server.Mobiles
int version = reader.ReadInt();
}
}
}
}