Starbound

Starbound

Planet Search
Mod Support Error
I am trying to add internal support for this mod, but I keep getting a particular error.
If I include both MPI and this mod in my race mod's metadata, the error below occurs. If I only include MPI, there is no error, but then my Planet Search changes don't apply... If I just include Planet Search, the error below happens once more.

It is only happening with this one particular mod, as I'm working on an update and doing internal patches and support.
For my other race mods, which have no changes yet, there are no errors. So I know it is somehow my race mod and it's relating dungeons...?

This error happens when I try to view a planet's stats in the navigation menu - specifically when this specific race mod's dungeons are located on said planet. Everything freezes in place, and then I have to close it.

https://pastebin.com/5QumKMsd

https://pastebin.com/6s5Bv7yY
Viimeisin muokkaaja on Oмεяυıп; 10.8.2024 klo 19.07
< >
Näytetään 1-2 / 2 kommentista
hippopotomonstrosesquipedalian  [kehittäjä] 10.8.2024 klo 21.22 
That's an error with More Planet Info expecting "icon" to exist for everything in "displayDungeons". Planet Search supports using "icon" instead of "ps_icon" so the easiest way to fix it would be to have your patch like this:
{"op": "test", "path": "/displayDungeons"}, {"op": "add", "path": "/displayDungeons/denelaun_greentribeforest", "value": { "ps_name": "De'nelaun ^green;Green Tribe^reset;", "description": "De'nelaun life signs detected. Likely a \"^green;Green Tribe^reset;\".", "icon": "/interface/cockpit/dungeons/denelaungreentribe.png" }
Or if you'd rather only have "ps_name" exist if Planet Search is installed then you could instead change the latter half of your patch to be like this:
{"op": "test", "path": "/displayDungeons/apexbase/ps_name"}, { "op": "add", "path": "/displayDungeons/denelaun_greentribeforest/ps_name", "value": "De'nelaun ^green;Green Tribe^reset;" }

Hope this helps! :steamthumbsup:
floyd lähetti viestin:
That's an error with More Planet Info expecting "icon" to exist for everything in "displayDungeons". Planet Search supports using "icon" instead of "ps_icon" so the easiest way to fix it would be to have your patch like this:
{"op": "test", "path": "/displayDungeons"}, {"op": "add", "path": "/displayDungeons/denelaun_greentribeforest", "value": { "ps_name": "De'nelaun ^green;Green Tribe^reset;", "description": "De'nelaun life signs detected. Likely a \"^green;Green Tribe^reset;\".", "icon": "/interface/cockpit/dungeons/denelaungreentribe.png" }
Or if you'd rather only have "ps_name" exist if Planet Search is installed then you could instead change the latter half of your patch to be like this:
{"op": "test", "path": "/displayDungeons/apexbase/ps_name"}, { "op": "add", "path": "/displayDungeons/denelaun_greentribeforest/ps_name", "value": "De'nelaun ^green;Green Tribe^reset;" }

Hope this helps! :steamthumbsup:
Thanks so much, man!
< >
Näytetään 1-2 / 2 kommentista
Sivua kohden: 1530 50