User Tools

Site Tools


modding:function:objaddsellorder

Discuss this page on this pages TalkPage

objAddSellOrder

Syntax (objAddSellOrder obj criteria priceAdj)
Arguments obj: The space object to add the sell order to
criteria: criteria chain; see Item Criteria
priceAdj: Price adjustment for the sell order, in percent of the item's value.
Returns True if succesful, Nil otherwise
Category spaceObject functions
Description This instructs a space object to add the given items matching the criteria to the items they sell in trade.

Example

 (objAddSellOrder gSource "a" 90) 

Allows the space object to sell armor items for 90% of their value. The space object must have armor items to sell for this to have an effect.

Return to Space Object functions list

Return to functions list

modding/function/objaddsellorder.txt · Last modified: 2017/02/03 02:56 by xephyr