Starbound

Starbound

Many Frogs - Categories and Tabs
 此主题已被置顶,因此可能具有重要性
GonDragon  [开发者] 2017 年 8 月 14 日 下午 10: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"] } ] ]
最后由 GonDragon 编辑于; 2017 年 8 月 15 日 上午 9:08