NWNDS/nwnds_module/gw_claim.nss
Jaysyn904 de24f81734 Added NWN Dark Sun module contents
Added NWN Dark Sun module contents.
2021-07-12 21:24:46 -04:00

11 lines
326 B
Plaintext

void main()
{
object oPC = GetPCSpeaker();
object oHelm = GetItemInSlot(INVENTORY_SLOT_HEAD, oPC);
string sGuild = GetSubString(GetTag(oHelm),5,4);
SpeakString(sGuild,TALKVOLUME_TALK);
location loc = GetLocation(OBJECT_SELF);
CreateObject(OBJECT_TYPE_PLACEABLE, "banner"+sGuild, loc, TRUE);
DestroyObject(OBJECT_SELF, 0.0);
}