Make Shade killable after talking to lamp post

This commit is contained in:
P0nk
2022-08-29 21:42:57 +02:00
parent 7fffd0bb64
commit f1d0cb6b4d
3 changed files with 32 additions and 31 deletions

View File

@@ -46,8 +46,12 @@ function action(mode, type, selection) {
}
if (status == 0) {
cm.sendOk("A small focus of light lighting in the immersive darkness.");
cm.dispose();
cm.sendAcceptDecline("This is a small lamp with a switch. Would you like to turn it on?");
return;
} else if (status == 1) {
cm.weakenAreaBoss(5090000, "You have turned the lamp on. Shade's strength will rapidly weaken due to the light.");
}
cm.dispose();
}
}