Disable first description by default
parent
576debf261
commit
8f214e93bf
|
@ -0,0 +1,8 @@
|
|||
# Insect lair
|
||||
|
||||
## start
|
||||
|
||||
A small alcove
|
||||
|
||||
### first
|
||||
|
|
@ -15,9 +15,10 @@ export default class Output {
|
|||
string.split("\n").forEach((line) => {
|
||||
node.appendChild(document.createTextNode(line));
|
||||
node.appendChild(document.createElement("br"));
|
||||
// this.tts.speak(line, false);
|
||||
});
|
||||
this.history.appendChild(node);
|
||||
// this.tts.speak(string);
|
||||
this.tts.speak(string);
|
||||
}
|
||||
|
||||
play(file) {
|
||||
|
|
|
@ -3,7 +3,7 @@ export default class Room {
|
|||
this.id = "room";
|
||||
this.title = "A room";
|
||||
this.description = "You see nothing special";
|
||||
this.firstDescription = "As you walk into the room, you notice nothing special";
|
||||
this.firstDescription = "";
|
||||
this.objects = [];
|
||||
this.exits = new Map();
|
||||
this.enterCallback = null;
|
||||
|
|
|
@ -3,9 +3,9 @@ import RoomBuilder from "../../engine/builders/room";
|
|||
export default new RoomBuilder()
|
||||
.withID("tunnel_2")
|
||||
.withTitle("A long, winding tunnel")
|
||||
.withFirstDescription(
|
||||
`You step out from your hidy hole into a thin, winding tunnel. The walls and ceiling appear to get thinner and thinner, space slowly dwindling away to nothing.`
|
||||
)
|
||||
// .withFirstDescription(
|
||||
// `You step out from your hidy hole into a thin, winding tunnel. The walls and ceiling appear to get thinner and thinner, space slowly dwindling away to nothing.`
|
||||
// )
|
||||
.withDescription(
|
||||
`A tunnel that ends in a bowl shape.`
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue