Starbound

Starbound

Many Frogs - Categories and Tabs
 This topic has been pinned, so it's probably important
GonDragon  [developer] 14 Aug, 2017 @ 10:08pm
How to create a custom rotation
Topic for moders.

You should create the next file
objects\outpost\frogfurnishing\frogfurnishing.object.patch
To create a custom rotation, you first should create a new tab. Check in the other thread how to do that.

And now, you should add one item to that category. Chech in the other thread how to do that.

Now, instead of puting one item per operation, add whole arrays of items, where each array is one of the posible rotation. That's it, enjoy! Here, look at this example

[ [ [ { "op": "test", "path": "/modTab", "inverse": true }, { "op": "add", "path": "/modTab", "value": [] } ], [ { "op": "add", "path": "/modTab/-", "value": { "file": "/interface/myRotation/tabicon_rotation.png", "label": "My Rotation", "filter": [ "myRotation" ] } }, { "op": "add", "path": "/storeInventory/myRotation", "value": [] } ] ], [ { "op": "add", "path": "/storeInventory/myRotation/-", "value": [ "item_1", "item_2", "item_3"] }, { "op": "add", "path": "/storeInventory/myRotation/-", "value": [ "item_4", "item_5", "item_6"] }, { "op": "add", "path": "/storeInventory/myRotation/-", "value": [ "item_7", "item_8", "item_9"] } ] ]
Last edited by GonDragon; 15 Aug, 2017 @ 9:08am