Sha256: 114f0c6edb965a72fbf64bd42762c4c0b5068391f2c917f30630b023bf18baf5
Contents?: true
Size: 625 Bytes
Versions: 30
Compression:
Stored size: 625 Bytes
Contents
# lib/gemwarrior/entities/items/map.rb # Entity::Item::Map require_relative '../item' module Gemwarrior class Map < Item def initialize super self.name = 'map' self.name_display = 'Map' self.description = 'The land of Jool is contained on this piece of canvas, in a useful, if not very detailed, manner.' self.takeable = true end def use(world) puts 'You unfold the piece of worn canvas and study the markings upon it, always making sure to update it with new places you find.' { type: 'action', data: 'map' } end end end
Version data entries
30 entries across 30 versions & 1 rubygems