Sha256: 131956af791b5aad2f2b1203300094c627d31bdcd7dd8d408c04a510794cc216
Contents?: true
Size: 1.43 KB
Versions: 1
Compression:
Stored size: 1.43 KB
Contents
=begin # there may be multiple files in this world/ directory # this is a Woyo world file # it describe objects in a Woyo world # it has an .rb extension # it is just Ruby # it is evaluated in the context of a Woyo::World instance # methods avalable for World object creation include # location # character # item # etc... # to see this example world in action delete the =begin and =end lines at the top and bottom of this file location :home do name 'Home' description 'Where the heart is.' way :out do name 'Door' description 'A sturdy wooden door, old fashioned farmhouse style of a bygone era.' to :garden end way :down do name 'Stairs' description 'Rickety stairs lead down into darkness. A dank smell emanates from the darkness below' to :cellar end end location :garden do name 'Garden' description 'A peaceful green oasis of life in the midst of a gray city' way :in do name 'Door' description 'Door leads inside a cute cottage' to :home end way :down do name 'Bulkhead' description 'Rusty bulkhead door and stairs' to :cellar end end location :cellar do name 'Cellar' description 'Dark and damp, full of shadows and strange sounds' way :out do name 'Bulkhead' description 'Rusty bulkhead stairs and door' to :garden end way :up do name 'Stairs' description 'Rickety stairs lead up into light' to :home end end =end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
woyo-server-0.0.1 | world/default.rb |