X-Git-Url: http://git.megabrutal.com/?p=wgj58.git;a=blobdiff_plain;f=wgj58.js;h=4f8ed78274bff09d54a83de4a56e301965ff00cc;hp=49ebc06791d9c18e20abf986c5f81ec8308efa1c;hb=47c790fd50f074d52b9b8b8fcc6a62f7b7152729;hpb=e981247ab987a4005bf75b7557751568a59524eb 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(); + } }