Added NWN Dark Sun module contents
Added NWN Dark Sun module contents.
This commit is contained in:
10
nwnds_module/gw_claim.nss
Normal file
10
nwnds_module/gw_claim.nss
Normal file
@@ -0,0 +1,10 @@
|
||||
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);
|
||||
}
|
Reference in New Issue
Block a user