Sha256: c9902f2039585f03257777fa4cb822367eab9b396ffb68395160c4b086e42ea3
Contents?: true
Size: 637 Bytes
Versions: 7
Compression:
Stored size: 637 Bytes
Contents
# lib/gemwarrior/entities/items/tent.rb # Item::Tent require_relative '../item' module Gemwarrior class Tent < Item def initialize self.name = 'tent' self.description = 'A magical, two-room suite pops up when you flick this otherwise folded piece of canvas just right, perfect for a night\'s rest.' self.atk_lo = nil self.atk_hi = nil self.takeable = true self.useable = true self.equippable = false self.equipped = false end def use(player = nil) {:type => 'action', :data => 'rest'} end end end
Version data entries
7 entries across 7 versions & 1 rubygems