modding:function:objaddbuyorder
Discuss this page on this pages TalkPage
objAddBuyOrder
Syntax | (objAddBuyOrder obj criteria priceAdj) |
---|---|
Arguments | obj: The space object to add the buy order to |
criteria: criteria chain; see Item Criteria | |
priceAdj: Price adjustment for the buy 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 buy in trade. |
Example
(objAddBuyOrder gSource "a" 100)
Allows the station to buy armor items for 100% of their value.
Return to Space Object functions list
Return to functions list
modding/function/objaddbuyorder.txt · Last modified: 2017/02/03 02:55 by xephyr