Class/Object

net.psforever.objects.definition

ImplantDefinition

Related Docs: object ImplantDefinition | package definition

Permalink

class ImplantDefinition extends BasicDefinition

The definition for an installable player utility that grants a perk, usually in exchange for stamina (energy).

Most of the definition deals with the costs of activation and operation. When activated by the user, an activationCharge may be deducted form that user's stamina reserves. This does not necessarily have to be a non-zero value. Passive implants are always active and thus have no cost. After being activated, a non-passive implant consumes a specific amount of stamina each second. This cost is modified by how the user is standing and what type of exo-suit they are wearing. The durationChargeBase is the lowest cost for an implant. Modifiers for exo-suit type and stance type are then added onto this base cost. For example: wearing Reinforced costs 2 stamina but costs only 1 stamina in all other cases. Assuming that is the only cost, the definition would have a base charge of 1 and a Reinforced modifier of 1.

Source
ImplantDefinition.scala
See also

ImplantType

Linear Supertypes
BasicDefinition, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ImplantDefinition
  2. BasicDefinition
  3. AnyRef
  4. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ImplantDefinition(implantType: Int)

    Permalink

    implantType

    the type of implant that is defined

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from ImplantDefinition to any2stringadd[ImplantDefinition] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (ImplantDefinition, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from ImplantDefinition to ArrowAssoc[ImplantDefinition] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  6. def ActivationCharge: Int

    Permalink
  7. def ActivationCharge_=(charge: Int): Int

    Permalink
  8. def Descriptor: String

    Permalink
    Definition Classes
    BasicDefinition
  9. def Descriptor_=(description: Option[String]): String

    Permalink
    Definition Classes
    BasicDefinition
  10. def Descriptor_=(description: String): String

    Permalink
    Definition Classes
    BasicDefinition
  11. def DurationChargeBase: Int

    Permalink
  12. def DurationChargeBase_=(charge: Int): Int

    Permalink
  13. def DurationChargeByExoSuit: Map[types.ExoSuitType.Value, Int]

    Permalink
  14. def DurationChargeByStance: Map[Stance.Value, Int]

    Permalink
  15. def Initialization: Long

    Permalink
  16. def Initialization_=(time: Long): Long

    Permalink
  17. def Name: String

    Permalink
    Definition Classes
    BasicDefinition
  18. def Name_=(name: String): String

    Permalink
    Definition Classes
    BasicDefinition
  19. def Passive: Boolean

    Permalink
  20. def Passive_=(isPassive: Boolean): Boolean

    Permalink
  21. def Type: types.ImplantType.Value

    Permalink
  22. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  23. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. def ensuring(cond: (ImplantDefinition) ⇒ Boolean, msg: ⇒ Any): ImplantDefinition

    Permalink
    Implicit information
    This member is added by an implicit conversion from ImplantDefinition to Ensuring[ImplantDefinition] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  25. def ensuring(cond: (ImplantDefinition) ⇒ Boolean): ImplantDefinition

    Permalink
    Implicit information
    This member is added by an implicit conversion from ImplantDefinition to Ensuring[ImplantDefinition] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  26. def ensuring(cond: Boolean, msg: ⇒ Any): ImplantDefinition

    Permalink
    Implicit information
    This member is added by an implicit conversion from ImplantDefinition to Ensuring[ImplantDefinition] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  27. def ensuring(cond: Boolean): ImplantDefinition

    Permalink
    Implicit information
    This member is added by an implicit conversion from ImplantDefinition to Ensuring[ImplantDefinition] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  28. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  29. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  30. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  31. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from ImplantDefinition to StringFormat[ImplantDefinition] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  32. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  33. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  34. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  35. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  36. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  37. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  38. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  39. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  40. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  41. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  42. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  43. def [B](y: B): (ImplantDefinition, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from ImplantDefinition to ArrowAssoc[ImplantDefinition] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from BasicDefinition

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from ImplantDefinition to any2stringadd[ImplantDefinition]

Inherited by implicit conversion StringFormat from ImplantDefinition to StringFormat[ImplantDefinition]

Inherited by implicit conversion Ensuring from ImplantDefinition to Ensuring[ImplantDefinition]

Inherited by implicit conversion ArrowAssoc from ImplantDefinition to ArrowAssoc[ImplantDefinition]

Ungrouped