<property name="longpanel" type="bool" value="false"/>
</properties>
</object>
- <object id="24" name="saikidoor" type="door" gid="62" x="832" y="1024" width="64" height="64">
+ <object id="24" name="peterdoor" type="door" gid="62" x="832" y="1024" width="64" height="64">
<properties>
<property name="longpanel" type="bool" value="false"/>
</properties>
</object>
- <object id="25" name="saikidoor" type="door" gid="62" x="960" y="960" width="64" height="64" rotation="180">
+ <object id="25" name="peterdoor" type="door" gid="62" x="960" y="960" width="64" height="64" rotation="180">
<properties>
<property name="longpanel" type="bool" value="false"/>
</properties>
</object>
- <object id="27" name="peterdoor" type="door" gid="62" x="1472" y="1792" width="64" height="64">
+ <object id="27" name="biancadoor" type="door" gid="62" x="1472" y="1792" width="64" height="64">
<properties>
<property name="longpanel" type="bool" value="true"/>
</properties>
</object>
- <object id="28" name="peterdoor" type="door" gid="62" x="1600" y="1728" width="64" height="64" rotation="180">
+ <object id="28" name="biancadoor" type="door" gid="62" x="1600" y="1728" width="64" height="64" rotation="180">
<properties>
<property name="longpanel" type="bool" value="true"/>
</properties>
{ actor: logic.player, text: "Haha! I always get it, Saiki!" } ] ));
logic.closeDoor("carlosdoor");
logic.openDoor("saikidoor");
+ logic.openDoor("peterdoor");
break;
case 1:
logic.gameinterface.talk(new Dialogue( [ { actor: this, text: "Now that I think about it, there's still one thing. You could look into why the access control system is acting so funny today." },
actionTake() {
logic.closeDoor("carlosdoor");
logic.openDoor("saikidoor");
+ logic.openDoor("peterdoor");
logic.carlos.kill();
return super.actionTake();
}
}
class NPC_Peter extends GameNPC {
+ actionTake() {
+ logic.closeDoor("saikidoor");
+ logic.openDoor("peterdoor");
+ logic.openDoor("biancadoor");
+ return super.actionTake();
+ }
}
class NPC_Bianca extends GameNPC {
+ actionTake() {
+ // All doors open for you if you have all the cards.
+ logic.openDoor("cutedoor");
+ logic.openDoor("carlosdoor");
+ logic.openDoor("saikidoor");
+ return super.actionTake();
+ }
}