Starbound

Starbound

Many Frogs - Categories and Tabs
 Denne tråd er blevet fastgjort, så den er sikkert vigtig
GonDragon  [udvikler] 14. aug. 2017 kl. 22:08
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"] } ] ]
Sidst redigeret af GonDragon; 15. aug. 2017 kl. 9:08