Sha256: 7b5bf426df061549423c9fc4f289a899e9985f3f6bc45a2ca362eb6133d1ac51
Contents?: true
Size: 683 Bytes
Versions: 28
Compression:
Stored size: 683 Bytes
Contents
# lib/gemwarrior/entities/items/map.rb # Item::Map require_relative '../item' module Gemwarrior class Map < Item def initialize self.name = 'map' self.description = 'The land of Jool is contained on this piece of canvas, in a useful, if not very detailed, manner.' self.atk_lo = nil self.atk_hi = nil self.takeable = true self.useable = true self.equippable = false self.equipped = false end def use(player = nil) puts 'You unfold the piece of worn canvas, and study the markings upon it.' {:type => 'action', :data => 'map'} end end end
Version data entries
28 entries across 28 versions & 1 rubygems