Modding Help help proofread my '4 digit anomaly names' mod code

Discussion in 'Starbound Modding' started by さわまやゑぺ, Jul 3, 2024 at 3:48 PM.

Tags:
  1. さわまやゑぺ

    さわまやゑぺ Astral Cartographer

    i want to modify anomaly names to 4 digits, is this the only file i need to patch?
    patch file: <modfolder>\celestial\anomalynames.config.patch
    content: (@ is tab, forum ruin format)
    [

    @{

    @@"op":"replace",

    @@"path":"/nameGen",

    @@"value":

    @@@[

    @@@@{ "mode" : "alts" },

    @@@@[

    @@@@@{ "mode" : "serie" },

    @@@@@[ { "mode" : "alts" }, "1", "2", "3", "4", "5", "6", "7", "8", "9", "0" ],

    @@@@@[ { "mode" : "alts" }, "1", "2", "3", "4", "5", "6", "7", "8", "9", "0" ],

    @@@@@[ { "mode" : "alts" }, "1", "2", "3", "4", "5", "6", "7", "8", "9", "0" ],

    @@@@@[ { "mode" : "alts" }, "1", "2", "3", "4", "5", "6", "7", "8", "9", "0" ]

    @@@@]

    @@@]

    @}

    ]
     
  2. projectmayhem

    projectmayhem Spaceman Spiff

    That should be good I believe.

    There is also a code option. Look at the toolbar right before the floppy disk. Click that icon and choose code, that will keep your formatting.
     

Share This Page