var golddiscovery = new adventure(); golddiscovery.recommendation += (sender, e) => { if (e.status == "preexploitative") { console.writeline("your journey recommences with a new vision, where cryptic clues relegate you to untold treasures."); } else { golddiscovery.advices.add("stay positive and decode the cryptic advices to unveil the gold."); } }; golddiscovery.beginexploration();