Class: Fools::DM::Interface

Inherits:
CARPS::DM::Interface
  • Object
show all
Includes:
Interface
Defined in:
lib/fools/dm/interface.rb

Overview

Interface for Fools DM

Instance Method Summary collapse

Constructor Details

#initialize(controller) ⇒ Interface

Create the interface



32
33
34
35
36
37
38
39
40
41
42
# File 'lib/fools/dm/interface.rb', line 32

def initialize controller
   super
   add_command :drink, "Apply drink to a DRONE.", "DRONE", "DRUNKENNESS", "TARGET"
   add_command :drink_odds, "See the odds on how drunk a DRONE might get.", "DRONE", "DRUNKENNESS", "TARGET"
   add_command :resist, "Check a DRONE's romantic resistance to the LADY.", "DRONE", "LADY"
   add_command :resist_odds, "See the odds on whether or not an entity will resist romance.", "DRONE", "LADY"
   add_command :sense, "A FRIEND of a SAP tried to talk him out of his love for a LADY.", "SAP", "LADY", "FRIEND"
   add_command :sense_odds, "See the odds on whether talking sense will succeed.", "SAP", "LADY", "FRIEND"
   add_command :tussle, "An ATTACKER attempts to overpower the DEFENDER with a WEAPON.\n#{combat_options}", "ATTACKER", "DEFENDER", "WEAPON"
   add_command :tussle_odds, "See the odds on a fight when the ATTACKER assaults the DEFENDER.", "ATTACKER", "DEFENDER"
end