Sha256: a2feedd40bc16aae712c0f2b52aecb6c5e42cb71bcb8bdb4b35ff2b96b7ae745
Contents?: true
Size: 1.26 KB
Versions: 2
Compression:
Stored size: 1.26 KB
Contents
# lib/gemwarrior/entities/items/shifty_woman.rb # Item::ShiftyWoman require_relative '../item' module Gemwarrior class ShiftyWoman < Item def initialize super self.name = 'shifty_woman' self.description = 'Sharply dressed with impeccable style, you still can\'t shake the feeling that this otherwise ordinary woman is up to something. It might be the way she almost impulsively looks back and forth along the town street while rubbing her hands together menacingly.' self.atk_lo = nil self.atk_hi = nil self.takeable = true self.useable = true self.equippable = false self.talkable = true end def use(player = nil) if self.used puts 'Attempting a friendly overture again, the woman turns and looks directly at you. Her brown eyes glint in the sun, almost turning an ochre hue. Her look burns you to the core, causing you to physically recoil a little.' puts puts 'You step back a few paces and quickly look elsewhere.' else puts 'The woman averts her eyes from you as you commence with a greeting, giving a little scowl while she is at it.' self.used = true end { type: nil, data: nil } end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
gemwarrior-0.10.8 | lib/gemwarrior/entities/items/shifty_woman.rb |
gemwarrior-0.10.7 | lib/gemwarrior/entities/items/shifty_woman.rb |