Starbound

Starbound

90 个评价
Anom's Outpost Overhaul - Wearable Pet Collars Patch
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
更新日期
160.076 KB
2022 年 4 月 9 日 下午 1:02
2024 年 12 月 16 日 下午 6:42
2 项改动说明 ( 查看 )

订阅以下载
Anom's Outpost Overhaul - Wearable Pet Collars Patch

在 AnomNom 的 2 个合集中
Anom's Creations
120 件物品
Anom's Outpost Overhaul: The Complete Collection
29 件物品
描述


A patch for Wearable Pet Collars! which moves the merchant to be on top of the leftmost containers in the Cargo Bay.




⠀⠀⠀⠀⠀⠀





Almost all patches for Anom's Outpost Overhaul follow the same formula. After checking which universe flag the dungeon has been added to, we do what I like to call a Test Iteration patch. This is a type of test patch where you test each value of an array for the one you are looking for, then replace it if you find it. Since array orders can change depending on load order, this is incredibly useful for not breaking other mods. Below is an example of one.

[ [ // Test 1 { "op": "test", "path": "/<UNIVERSE-FLAG>/actions/0/dungeonId", "value": "<DUNGEON-FROM-MOD>" }, { "op": "replace", "path": "/<UNIVERSE-FLAG>/actions/0", "value": { "type": "placeDungeon", "dungeonId": "<DUNGEON-FROM-MOD>", "targetInstance": "outpost", "targetPosition": [<X-COORDINATE>, <Y-COORDINATE>] } } ], [ // Test 2 { "op": "test", "path": "/<UNIVERSE-FLAG>/actions/1/dungeonId", "value": "<DUNGEON-FROM-MOD>" }, { "op": "replace", "path": "/<UNIVERSE-FLAG>/actions/1", "value": { "type": "placeDungeon", "dungeonId": "<DUNGEON-FROM-MOD>", "targetInstance": "outpost", "targetPosition": [<X-COORDINATE>, <Y-COORDINATE>] } } ], [ // Test 3 { "op": "test", "path": "/<UNIVERSE-FLAG>/actions/2/dungeonId", "value": "<DUNGEON-FROM-MOD>" }, { "op": "replace", "path": "/<UNIVERSE-FLAG>/actions/2", "value": { "type": "placeDungeon", "dungeonId": "<DUNGEON-FROM-MOD>", "targetInstance": "outpost", "targetPosition": [<X-COORDINATE>, <Y-COORDINATE>] } } ] ]




  • Marigi for creating the original mod.
8 条留言
yowai inudesu。 2022 年 7 月 29 日 下午 9:54 
ah i totally forgot about it, thanks for reminding me
AnomNom  [作者] 2022 年 7 月 29 日 下午 2:44 
You have to have completed the Floran mission according to the original mod's workshop page.
yowai inudesu。 2022 年 7 月 29 日 上午 9:02 
i can't see the shop anywhere, i installed this patch after i traveled to the outpost the first time, is there any problem or the collar shop will open after a certain mission?
TheLizord 2022 年 5 月 31 日 上午 8:39 
Horny
The Bird of Anarchy 2022 年 4 月 10 日 下午 9:24 
dear god dude you have a patch for like, every mod that changes the outpost don't you?

im not gonna complain because it lets me use the superior version of the outpost with most mods
Aethis 2022 年 4 月 10 日 上午 1:14 
oh, forgot about the whole placement thing
Medik 2022 年 4 月 10 日 上午 12:48 
Wearable pet collars also adds a shop object for acquiring those collars, something that needs to be placed back in for mods that replace the whole outpost.
Aethis 2022 年 4 月 9 日 下午 10:37 
um...these were incompatible how exactly? one just remaps the outpost and the other is a wearable collar