From 502dddb758c51231cfd22af14cebead2b485c031 Mon Sep 17 00:00:00 2001 From: Fen Dweller Date: Sat, 17 Mar 2018 20:55:48 -0400 Subject: [PATCH] You can directly look for trouble in the wilderness now --- objects.js | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/objects.js b/objects.js index 97f62d3..bbfc917 100644 --- a/objects.js +++ b/objects.js @@ -168,4 +168,20 @@ function WildernessExplore(natureTrail) { } }); + this.actions.push({ + "name": "Look for trouble", + "action": function() { + let outcome = Math.random(); + advanceTime(60*15); + + if (outcome < 0.33) { + startCombat(new Trance()); + } else if (outcome < 0.66) { + startCombat(new Taluthus()); + } else { + startCombat(new Selicia()); + } + } + }); + }