Disable interaction with Carlos when he's happy
authorMegaBrutal <code+git@megabrutal.com>
Sun, 16 Sep 2018 13:55:00 +0000 (15:55 +0200)
committerMegaBrutal <code+git@megabrutal.com>
Sun, 16 Sep 2018 13:55:00 +0000 (15:55 +0200)
modified:   wgj58.js

wgj58.js

index d737ad82fe0fb9f347e980b5c4453eeeee663870..b9477230a62b3e3fc4c5e7286e8fc5ab8a6fcc97 100644 (file)
--- a/wgj58.js
+++ b/wgj58.js
@@ -518,6 +518,8 @@ class NPC_Saiki extends GameNPC {
                console.log("Woot-woot! Teleport complete:", value);
                value.makeHappy();
                logic.carlos.makeHappy();
                console.log("Woot-woot! Teleport complete:", value);
                value.makeHappy();
                logic.carlos.makeHappy();
+               // FIXME: Need to find a prettier way than this.
+               logic.carlos.update = function() { };           // Disable Carlos' interaction. (Saiki will talk for him.)
        }
 }
 
        }
 }