Instructions/Request Item

From Desynced Wiki


Request Item
     
     Requests an item if it doesn't exist in the inventory
Lua ID request_item
Category Unit
Icon Make Order.png
Argument One: Type Input
Argument One: Name Item
Argument One: Description Item and amount to order
Argument One: Data Type item_num



Description[edit | edit source]

Creates an item request if the item quantity exceeds current inventory contents.

If a unit has 17 Metal Bars and it makes a request of 20, then it would generate an order of 3 items.

Uses[edit | edit source]

Used for generating an item request. Production components generate item requests and this instruction imitates that functionality.

Similar Instructions[edit | edit source]

Request Wait