projects
/
wgj58.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Take ID actions now open doors
[wgj58.git]
/
wgj58.js
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!");
}
logic.gameinterface.dropNotice(this.shortname + ": Have a great day, John!");
}
+ actionTake() {
+ logic.openDoor("cutedoor");
+ return super.actionTake();
+ }
+
endTalk() {
return (this.talkcount < 6);
}
endTalk() {
return (this.talkcount < 6);
}
@@
-282,6
+287,11
@@
class NPC_Carlos extends GameNPC {
super.actionTalk();
logic.endTalk();
}
super.actionTalk();
logic.endTalk();
}
+
+ actionTake() {
+ logic.openDoor("carlosdoor");
+ return super.actionTake();
+ }
}
}