Sha256: daaece86140f0ad96c520c2c146a005c547ff1f654395d5e34c02f265a5aef20
Contents?: true
Size: 565 Bytes
Versions: 48
Compression:
Stored size: 565 Bytes
Contents
# lib/gemwarrior/entities/items/sparklything.rb # Entity::Item::SparklyThing require_relative '../item' module Gemwarrior class SparklyThing < Item def initialize super self.name = 'sparkly_thing' self.name_display = 'SparklyThing(tm)' self.description = 'The sparkling that this thing does is unimaginably brilliant.' self.takeable = true end def use(world) puts 'Everything, and I mean *everything*, begins to sparkle. Huh.' { type: nil, data: nil } end end end
Version data entries
48 entries across 48 versions & 1 rubygems