15 lines
395 B
Plaintext
15 lines
395 B
Plaintext
void main()
|
|
{
|
|
object oLetter = GetObjectByTag("ba_nolinuslet");
|
|
object oSpeaker = GetPCSpeaker();
|
|
if(GetItemPossessedBy(oSpeaker, "ba_nolinuslet") != OBJECT_INVALID)
|
|
|
|
{
|
|
object oDestroy = GetItemPossessedBy(oSpeaker, "ba_nolinuslet");
|
|
DestroyObject(oDestroy, 0.0f);
|
|
|
|
object oCapt = GetObjectByTag("ba_dwarfcapt");
|
|
SetLocalInt(oCapt, "KIRJEOTETTU", 1);
|
|
}
|
|
}
|