Show / Hide Table of Contents

Class MobPriceComponent

This is used for calculating the price of mobs.

Inheritance
System.Object
MobPriceComponent
Namespace: Content.Server.Cargo.Components
Assembly: Content.Server.dll
Syntax
public sealed class MobPriceComponent : Component

Fields

| Improve this Doc View Source

DeathPenalty

The percentage of the actual price that should be granted should the appraised mob be dead.

Declaration
public double DeathPenalty
Field Value
Type Description
System.Double
| Improve this Doc View Source

MissingBodyPartPenalty

How much of a penalty per part there should be. This is a multiplier for a multiplier, the penalty for each body part is calculated from the total number of slots, and then multiplied by this.

Declaration
public double MissingBodyPartPenalty
Field Value
Type Description
System.Double
| Improve this Doc View Source

Price

The base price this mob should fetch.

Declaration
public double Price
Field Value
Type Description
System.Double
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾