From 47c790fd50f074d52b9b8b8fcc6a62f7b7152729 Mon Sep 17 00:00:00 2001 From: MegaBrutal Date: Thu, 13 Sep 2018 03:05:00 +0200 Subject: [PATCH] Take ID actions now open doors modified: wgj58.js --- wgj58.js | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/wgj58.js b/wgj58.js index 49ebc06..4f8ed78 100644 --- a/wgj58.js +++ b/wgj58.js @@ -272,6 +272,11 @@ class NPC_Clara extends GameNPC { logic.gameinterface.dropNotice(this.shortname + ": Have a great day, John!"); } + actionTake() { + logic.openDoor("cutedoor"); + return super.actionTake(); + } + endTalk() { return (this.talkcount < 6); } @@ -282,6 +287,11 @@ class NPC_Carlos extends GameNPC { super.actionTalk(); logic.endTalk(); } + + actionTake() { + logic.openDoor("carlosdoor"); + return super.actionTake(); + } } -- 2.34.1