Sha256: b8c098a286956f57e5c7ec9416dd141ba7cbf4607295462da12d7df7e383df91
Contents?: true
Size: 583 Bytes
Versions: 47
Compression:
Stored size: 583 Bytes
Contents
# lib/gemwarrior/entities/items/sand_jewel.rb # Entity::Item::SandJewel require_relative '../item' module Gemwarrior class SandJewel < Item def initialize super self.name = 'sand_jewel' self.name_display = 'Sand Jewel' self.description = 'As blue (or is it violet? or brown?) as it is brittle, this shiny rock feels warm to the touch.' end def use(world) puts 'You lift the sand jewel to the sky; rays of sunlight refract through it and nearly blind you.' { type: nil, data: nil } end end end
Version data entries
47 entries across 47 versions & 1 rubygems