trait Repairable extends AnyRef
The base "control" Actor
mixin for repair-handling code
related to the nano dispenser tool loaded with an armor repair canister.
Unlike the Damageable
mixin,
which should be extended to interact with all aspects of a target that impede access to its health points,
shield, armor, etc., Repairable
only affects Vitality.Health
.
- Source
- Repairable.scala
- Alphabetic
- By Inheritance
- Repairable
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
- abstract def CanBeRepairedByNanoDispenser(player: Player, item: Tool): Unit
Implementation of the mixin hook will be provided by a child class.
Implementation of the mixin hook will be provided by a child class. Override this method only when directly implementing.
- See also
canBeRepairedByNanoDispenser
- abstract def RepairableObject: Target
Contextual access to the object being the target of this damage.
Contextual access to the object being the target of this damage. Needs declaration in lowest implementing code.
- returns
the entity controlled by this actor
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def RepairToolValue(item: Tool): Float
The amount of repair that any specific tool provides.
The amount of repair that any specific tool provides.
- item
the tool in question
- returns
an amount to add to the repair attempt progress
- See also
Repairable.Quality
- def Restoration(obj: Target): Unit
The entity is no longer destroyed.
The entity is no longer destroyed.
- obj
the entity
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- final val canBeRepairedByNanoDispenser: Receive
The official mixin hook;
orElse
onto the "control"Actor
receive
; catch the expected repair message and apply initial checks to the itemThe official mixin hook;
orElse
onto the "control"Actor
receive
; catch the expected repair message and apply initial checks to the item- See also
Ammo
CanBeRepairedByNanoDispenser
CommonMessages.Use
GlobalDefinitions
Tool.AmmoType
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()