Sha256: 8c7aeb561b8147503276cd4da20d11f3a190ce5fd2969a6d7e6e31b2339c0768
Contents?: true
Size: 633 Bytes
Versions: 13
Compression:
Stored size: 633 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
13 entries across 13 versions & 1 rubygems