Sha256: f65814408eb62d96a13f1f65e8934a20fc4f8339ee2d8dab8bb650534e6e38da
Contents?: true
Size: 531 Bytes
Versions: 12
Compression:
Stored size: 531 Bytes
Contents
# lib/gemwarrior/entities/items/flower.rb # Item::Flower require_relative '../item' module Gemwarrior class Flower < Item def initialize super self.name = 'flower' self.name_display = 'Flower' self.description = 'Petals the color of clear sky and a stem of bright white. A most curious plant.' self.takeable = true end def use(world) puts 'You inhale the flower, metaphorically. Smells nice.' { type: nil, data: nil } end end end
Version data entries
12 entries across 12 versions & 1 rubygems