From: MegaBrutal <code+git@megabrutal.com>
Date: Thu, 13 Sep 2018 01:05:00 +0000 (+0200)
Subject: Take ID actions now open doors
X-Git-Tag: early-release~17
X-Git-Url: http://git.megabrutal.com/?p=wgj58.git;a=commitdiff_plain;h=47c790fd50f074d52b9b8b8fcc6a62f7b7152729;hp=e981247ab987a4005bf75b7557751568a59524eb

Take ID actions now open doors

	modified:   wgj58.js
---

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();
+	}
 }