From e1a6047f0cfc8bd66df0976832135c42cf5f6532 Mon Sep 17 00:00:00 2001 From: Fen Dweller Date: Wed, 25 Apr 2018 21:27:15 -0400 Subject: [PATCH] Better explore names --- mountain.js | 20 ++------------------ world.js | 2 +- 2 files changed, 3 insertions(+), 19 deletions(-) diff --git a/mountain.js b/mountain.js index ab5975a..1b64bb6 100644 --- a/mountain.js +++ b/mountain.js @@ -2,34 +2,18 @@ function MountainExplore() { GameObject.call(this, "Explore"); this.actions.push({ - "name": "Wyvern male", + "name": "Wander around", "action": function() { startCombat(new MountainWyrm()); } }); this.actions.push({ - "name": "Wyvern female", + "name": "Enter the cave", "action": function() { startCombat(new MountainWyvern()); } }); - - this.actions.push({ - "name": "Explore", - "action": function() { - let outcome = Math.random(); - advanceTime(60*15); - - if (outcome < 0.25) { - startCombat(new MountainWyrm()); - } else if (outcome < 0.5) { - startCombat(new MountainWyvern()); - } else { - update(["You wander around for a bit, but haven't found your way out yet."]); - } - } - }); } function MountainWyrm() { diff --git a/world.js b/world.js index af6e674..25b6829 100644 --- a/world.js +++ b/world.js @@ -228,7 +228,7 @@ let locationsSrc = [ { "name": "Mountains", "dir": EAST, - "desc": "You head up into the mountains." + "desc": "You head up into the mountains, passing by a...noticeably stained sign reading \"WATCH OUT FOR HORNY DRAGONS\". Weird. You see a cave off in the distance, as well as some jagged cliffs and plateaus to explore." }, { "name": "Woods",