Ejemplo n.º 1
0
 public Coerced(CoerceFrame frame) : base(frame.TargetIfAny)
 {
     CoercedFrame = frame;
     //don't show this Adjective in it's name
     IsPrefix = false;
     BaseBehaviours.Add(new CoercedBehaviour(this));
 }
Ejemplo n.º 2
0
        public Injured(string name, IHasStats owner, double severity, InjuryRegion region, IInjurySystem system) : base(owner)
        {
            Severity     = severity;
            Region       = region;
            IsPrefix     = false;
            InjurySystem = system;

            BaseStats[Stat.Fight] = -0.5 * severity;
            Name = name;

            BaseBehaviours.Add(new InjuredBehaviour(this));
        }
Ejemplo n.º 3
0
 public SingleUse(IItem owner) : base(owner)
 {
     BaseBehaviours.Add(new SingleUseBehaviour(this));
     IsPrefix = false;
 }
Ejemplo n.º 4
0
 public Npc(string name, IRoom currentLocation) : base(name, currentLocation)
 {
     BaseBehaviours.Add(new RelationshipFormingBehaviour(this));
     CanInitiateDialogue = false;
     CanInspect          = false;
 }