Sha256: 7bdd1107b8861fa4be6b4937619c4cd3352a4d760931ec5e8fdea1b2ea93ca25
Contents?: true
Size: 503 Bytes
Versions: 13
Compression:
Stored size: 503 Bytes
Contents
# lib/gemwarrior/entities/person.rb # Entity::Creature::Person base class require_relative 'creature' module Gemwarrior class Person < Creature def initialize super self.name = 'person.' self.name_display = Formatting::upstyle(name) self.description = 'It appears to be a person of some kind.' self.takeable = false end def use(world) 'That person does not seem to want to talk to you right now.' end end end
Version data entries
13 entries across 13 versions & 1 rubygems