Sha256: c950e85a8b03c1e66fe9f90486a86a5e1db46848dba3f2159b2622140d262e5b
Contents?: true
Size: 611 Bytes
Versions: 37
Compression:
Stored size: 611 Bytes
Contents
# lib/gemwarrior/entities/items/hut.rb # Entity::Item::Hut require_relative '../item' module Gemwarrior class Hut < Item def initialize super self.name = 'hut' self.name_display = 'Hut' self.description = 'A simple thatched hut, sitting in the middle of the plains. Nothing about it seems odd, except its existence among the otherwise featureless landscape.' end def use(world) puts 'You peer inside, but it is completely vacant at the moment, leaving you marginally disappointed.' { type: nil, data: nil } end end end
Version data entries
37 entries across 37 versions & 1 rubygems