Sha256: 30d859af93db0c45919e77c9b874f6c0e502f26e235c7988745beb8c22cbdc47
Contents?: true
Size: 661 Bytes
Versions: 9
Compression:
Stored size: 661 Bytes
Contents
# lib/gemwarrior/entities/items/map.rb # Item::Map require_relative '../item' module Gemwarrior class Map < Item def initialize super 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 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
9 entries across 9 versions & 1 rubygems