Starbound

Starbound

92 ratings
Anom's Outpost Overhaul - The Lottery Patch
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
166.563 KB
26 Apr, 2021 @ 10:51am
4 Aug @ 7:18pm
5 Change Notes ( view )

Subscribe to download
Anom's Outpost Overhaul - The Lottery Patch

In 3 collections by AnomNom
An Overly Complex Assortment of Mods
853 items
Anom's Creations
120 items
Anom's Outpost Overhaul: The Complete Collection
29 items
Description


A patch for The Lottery, which completely redoes the interior and moves it to be located under the hangar.

However, this one also contains a brand new object - the Outpost Slot Machine! It was beautifully sprited by K147, and on top of now being found in the Outpost Lottery, it can be crafted at the Outpost Express or the Wooden Workbench under the Decorations tab.






⠀⠀⠀⠀⠀⠀







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>] } } ] ]






  • Fazlox and Neb, for creating the original mod.

  • K147, for providing the spritework for the Slot Machines.

  • Najja, for directing me towards K147 for the spritework.
2 Comments
Labyrinthian 7 Nov, 2023 @ 9:28am 
how far are you into the story?
Trogdude 17 Jan, 2022 @ 5:51pm 
Uh the spot where the lottery stall is supposed to be is empty with the slot machines on the ground, anything I may have done wrong?