Skip to content

Soylent

Added in 0.2.0

A fixed number of credits that selling an object of this type refunds.

Specification
Applies to
AircraftTypeBuildingTypeInfantryTypeUnitType
File
rules.ini
Section
[<ObjectType ID>]
Value
integer
When omitted
-1
rules.ini
[MYTANK] ; example UnitType
Cost=1000
Soylent=200 ; selling it at a service depot returns 200 credits

Soylent= sets the credits every house receives when it sells an object of this type. The amount is paid as written: the owner’s price multipliers and RefundPercent do not scale it. 0 makes the sale refund nothing.

A negative value, including the default -1, keeps the usual refund: the object’s price with its owner’s multipliers, times RefundPercent for a human player’s house.

The value replaces the refund in every payment RefundPercent lists, which covers selling a structure, a vehicle or aircraft at a service depot, or an upgrade, and the compensation for a structure that cannot undeploy. An upgrade’s sale uses the upgrade type’s Soylent=, and undeploy compensation uses the structure’s.

See also — RefundPercent, Cost

History

  1. Added0.2.0In development

    Set a fixed sale refund with Soylent