Sha256: 117a3db00b2e991373d2c6624ce7d1bd23513735175798d31126ac223a59a167

Contents?: true

Size: 1.29 KB

Versions: 4

Compression:

Stored size: 1.29 KB

Contents

module Events
    def town
        town_events_list = [
            "You see the villagers quietly going about their day as a few adventurers gather around the leaderboard.",
            "From the colourful stalls, it seems like the merchant is in town. Maybe the food at the inn will taste better tonight...",
            "A heavy fog hangs over town and the main street is eerily quiet...",
            "Rain pours endlessly from the sky above and villagers dash for cover",
            "The sun peeks from behind the clouds, and a ray of light illuminates the face of a stunning adventurer you never met before..."
        ]
        town_events_list[rand(0..4)]
    end

    def adventure
        adventure_events_list = [
            "A rabbit bounds off before you can catch it. You finish your patrol uneventfully.",
            "A merchant with his wagon can be seen. He asks you for directions to Hazelwood and then you go your seperate ways.",
            "You find nothing... but you were certain you heard something...",
            "Just another squirrel...",
            "You see something shiny on the ground... as you look closer you realise it's just a distraction. Whoever was here has gotten away."
        ]
        adventure_events_list[rand(0..4)]
    end
    module_function :adventure, :town
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
lotrd-0.1.9 lib/lotrd/model/events.rb
lotrd-0.1.8 lib/lotrd/model/events.rb
lotrd-0.1.6 lib/lotrd/m-events.rb
lotrd-0.1.5 lib/lotrd/m-events.rb