User Tools

Site Tools


modding:function:objgetarmorreplaceprice

Discuss this page on this pages TalkPage

objGetArmorReplacePrice

Syntax (objGetArmorReplacePrice obj armorItem)
Arguments obj: The object you want to get the price from
armorItem: The armor item to be installed
Returns Price
Category spaceObject functions
Description Used to get the cost of replacing an armor segment with a given armor item on the object.

Example

 (objGetArmorReplacePrice gSource armorItem) 

Returns the cost for the source object to replace an armor segment with the armorItem. There is generally no cost for removing the old segment, so it does not need to be specified.

Return to Space Object functions list

Return to functions list

modding/function/objgetarmorreplaceprice.txt · Last modified: 2017/02/04 06:57 by xephyr