Sha256: 7f5330f73a1ff0bf70edf7a771a376169a56e9c9a3d668e507a343715fc67d95
Contents?: true
Size: 628 Bytes
Versions: 48
Compression:
Stored size: 628 Bytes
Contents
# lib/gemwarrior/entities/items/bullet.rb # Entity::Item::Bullet require_relative '../item' module Gemwarrior class Bullet < Item # CONSTANTS USE_TEXT = '** ZZZZZ **' def initialize super self.name = 'bullet' self.name_display = 'Bullet' self.description = 'Gunpowder packed into a small metallic tube, ready to be fired from...something.' self.takeable = true end def use(world) puts 'You could throw this at a monster, but somehow the force of it would be less than desired.' { type: nil, data: nil } end end end
Version data entries
48 entries across 48 versions & 1 rubygems