22 lines
386 B
Plaintext
22 lines
386 B
Plaintext
void main()
|
|
{
|
|
|
|
object oBag;
|
|
|
|
location lTarget = GetLocation(OBJECT_SELF);
|
|
|
|
object oPrisoner = GetObjectByTag("NW_BEGGMALE");
|
|
|
|
DestroyObject(oPrisoner);
|
|
|
|
|
|
|
|
oBag=CreateObject(OBJECT_TYPE_PLACEABLE,"JailersReward",lTarget);
|
|
|
|
CreateItemOnObject("BastardoftheAges",oBag);
|
|
CreateItemOnObject("HelmetoftheAges",oBag);
|
|
|
|
object oSwitch = GetObjectByTag("Floor_Lever");
|
|
DestroyObject(oSwitch);
|
|
}
|