Sha256: 64994d989fbdb5ac3290f9cd5903c2d02f489e63070e60d9619e47af86cb4fe6
Contents?: true
Size: 593 Bytes
Versions: 12
Compression:
Stored size: 593 Bytes
Contents
# lib/gemwarrior/entities/items/feather.rb # Entity::Item::Feather require_relative '../item' module Gemwarrior class Feather < Item def initialize super self.name = 'feather' self.name_display = 'Feather' self.description = 'A blue and green feather. It is soft and tender, unlike the craven bird that probably shed it.' self.takeable = true end def use(world) puts 'Soft to the touch, you wonder what it could be used before besides temporary comfort.' { type: nil, data: nil } end end end
Version data entries
12 entries across 12 versions & 1 rubygems