HoS_PRC8/_mod/_module/nss/rts_it_twrevokeb.nss
Jaysyn904 04165202c0 Initial upload
Initial upload
2024-11-25 19:36:07 -05:00

14 lines
464 B
Plaintext

// revoke builders rights
void main()
{
object oTarg=GetLocalObject(GetPCSpeaker(),"oTarget");
object oItem;
DeleteLocalInt(oTarg,"nBuilder");
oItem =GetItemPossessedBy(oTarg,"RTSUnit_Creation");
DestroyObject(oItem);
oItem=GetItemPossessedBy(oTarg,"RTSCreation_Tool");
DestroyObject(oItem);
AssignCommand(oTarg,ClearAllActions());
AssignCommand(oTarg,SpeakString("Your BUILDER rights have been revoked by my team leader."));
}