projects
/
wgj58.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e981247
)
Take ID actions now open doors
author
MegaBrutal
<code+git@megabrutal.com>
Thu, 13 Sep 2018 01:05:00 +0000
(
03:05
+0200)
committer
MegaBrutal
<code+git@megabrutal.com>
Thu, 13 Sep 2018 01:05:00 +0000
(
03:05
+0200)
modified: wgj58.js
wgj58.js
patch
|
blob
|
history
diff --git
a/wgj58.js
b/wgj58.js
index 49ebc06791d9c18e20abf986c5f81ec8308efa1c..4f8ed78274bff09d54a83de4a56e301965ff00cc 100644
(file)
--- 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();
+ }
}