Sha256: bb6eee950681445fb6152294f2f30208d66c139f9a95d8a9172cc46cd9b5e44f
Contents?: true
Size: 553 Bytes
Versions: 12
Compression:
Stored size: 553 Bytes
Contents
# lib/gemwarrior/entities/items/cup.rb # Entity::Item::Cup require_relative '../item' module Gemwarrior class Cup < Item def initialize super self.name = 'cup' self.name_display = 'Cup' self.description = 'A nice stone mug, perfect for putting things into and then using to carry such things from place to place.' self.takeable = true end def use(world) puts 'Nothing in the cup at the moment, so not very usable.' { type: nil, data: nil } end end end
Version data entries
12 entries across 12 versions & 1 rubygems