Open wkitty42 opened 1 year ago
Can you send me the following:
i think i did this properly... this is the raw JSON in the save in question...
{ "Slots": [ { "Type": { "InventoryType": "Product" }, "Id": "^FRIGATE_FUEL_3", "Amount": 1, "MaxAmount": 20, "DamageFactor": 0.0, "FullyInstalled": true, "Index": { "X": 8, "Y": 2 } }, { "Type": { "InventoryType": "Product" }, "Id": "^FRIGATE_FUEL_3", "Amount": 20, "MaxAmount": 20, "DamageFactor": 0.0, "FullyInstalled": true, "Index": { "X": 9, "Y": 2 } }, { "Type": { "InventoryType": "Product" }, "Id": "^FRIG_BOOST_TRA", "Amount": 20, "MaxAmount": 20, "DamageFactor": 0.0, "FullyInstalled": true, "Index": { "X": 9, "Y": 3 } }, { "Type": { "InventoryType": "Product" }, "Id": "^FRIG_BOOST_EXP", "Amount": 20, "MaxAmount": 20, "DamageFactor": 0.0, "FullyInstalled": true, "Index": { "X": 9, "Y": 4 } }, { "Type": { "InventoryType": "Product" }, "Id": "^U_SHIPSHOT1", "Amount": 1, "MaxAmount": 20, "DamageFactor": 0.0, "FullyInstalled": true, "Index": { "X": 0, "Y": 5 } }, { "Type": { "InventoryType": "Substance" }, "Id": "^ASTEROID1", "Amount": 9999, "MaxAmount": 9999, "DamageFactor": 0.0, "FullyInstalled": true, "Index": { "X": 3, "Y": 0 } }, { "Type": { "InventoryType": "Substance" }, "Id": "^ASTEROID3", "Amount": 1615, "MaxAmount": 9999, "DamageFactor": 0.0, "FullyInstalled": true, "Index": { "X": 5, "Y": 0 } }, { "Type": { "InventoryType": "Product" }, "Id": "^FOOD_M_CAT", "Amount": 96, "MaxAmount": 200, "DamageFactor": 0.0, "FullyInstalled": true, "Index": { "X": 7, "Y": 1 } }, { "Type": { "InventoryType": "Product" }, "Id": "^FOOD_M_FIEND", "Amount": 3, "MaxAmount": 200, "DamageFactor": 0.0, "FullyInstalled": true, "Index": { "X": 4, "Y": 1 } }, { "Type": { "InventoryType": "Product" }, "Id": "^FOOD_M_CRAB", "Amount": 8, "MaxAmount": 200, "DamageFactor": 0.0, "FullyInstalled": true, "Index": { "X": 5, "Y": 1 } }, { "Type": { "InventoryType": "Product" }, "Id": "^FOOD_M_REX", "Amount": 35, "MaxAmount": 200, "DamageFactor": 0.0, "FullyInstalled": true, "Index": { "X": 6, "Y": 1 } }, { "Type": { "InventoryType": "Product" }, "Id": "^FOOD_R_SUGAR", "Amount": 48, "MaxAmount": 200, "DamageFactor": 0.0, "FullyInstalled": true, "Index": { "X": 8, "Y": 1 } }, { "Type": { "InventoryType": "Product" }, "Id": "^FOOD_J_LUSH", "Amount": 62, "MaxAmount": 200, "DamageFactor": 0.0, "FullyInstalled": true, "Index": { "X": 7, "Y": 4 } }, { "Type": { "InventoryType": "Product" }, "Id": "^FRIG_BOOST_MIN", "Amount": 20, "MaxAmount": 20, "DamageFactor": 0.0, "FullyInstalled": true, "Index": { "X": 9, "Y": 5 } }, { "Type": { "InventoryType": "Product" }, "Id": "^FRIG_BOOST_COM", "Amount": 20, "MaxAmount": 20, "DamageFactor": 0.0, "FullyInstalled": true, "Index": { "X": 9, "Y": 6 } }, { "Type": { "InventoryType": "Product" }, "Id": "^FRIG_BOOST_SPD", "Amount": 20, "MaxAmount": 20, "DamageFactor": 0.0, "FullyInstalled": true, "Index": { "X": 9, "Y": 7 } }, { "Type": { "InventoryType": "Substance" }, "Id": "^COLD1", "Amount": 9523, "MaxAmount": 9999, "DamageFactor": 0.0, "FullyInstalled": true, "Index": { "X": 1, "Y": 1 } }, { "Type": { "InventoryType": "Product" }, "Id": "^FARMPROD4", "Amount": 1, "MaxAmount": 20, "DamageFactor": 0.0, "FullyInstalled": true, "Index": { "X": 3, "Y": 7 } }, { "Type": { "InventoryType": "Product" }, "Id": "^FOOD_M_MEAT", "Amount": 29, "MaxAmount": 200, "DamageFactor": 0.0, "FullyInstalled": true, "Index": { "X": 3, "Y": 1 } }, { "Type": { "InventoryType": "Product" }, "Id": "^U_EXO_ENG1", "Amount": 1, "MaxAmount": 20, "DamageFactor": 0.0, "FullyInstalled": true, "Index": { "X": 0, "Y": 4 } }, { "Type": { "InventoryType": "Product" }, "Id": "^U_EXOBOOST1", "Amount": 3, "MaxAmount": 20, "DamageFactor": 0.0, "FullyInstalled": true, "Index": { "X": 0, "Y": 6 } }, { "Type": { "InventoryType": "Product" }, "Id": "^U_EXOGUN1", "Amount": 1, "MaxAmount": 20, "DamageFactor": 0.0, "FullyInstalled": true, "Index": { "X": 0, "Y": 3 } }, { "Type": { "InventoryType": "Product" }, "Id": "^HYPERFUEL1", "Amount": 40, "MaxAmount": 40, "DamageFactor": 0.0, "FullyInstalled": true, "Index": { "X": 0, "Y": 0 } }, { "Type": { "InventoryType": "Product" }, "Id": "^TRA_ALLOY5", "Amount": 43, "MaxAmount": 100, "DamageFactor": 0.0, "FullyInstalled": true, "Index": { "X": 5, "Y": 7 } }, { "Type": { "InventoryType": "Product" }, "Id": "^HYPERFUEL2", "Amount": 40, "MaxAmount": 40, "DamageFactor": 0.0, "FullyInstalled": true, "Index": { "X": 1, "Y": 0 } }, { "Type": { "InventoryType": "Product" }, "Id": "^U_SENTSUIT", "Amount": 17, "MaxAmount": 20, "DamageFactor": 0.0, "FullyInstalled": true, "Index": { "X": 1, "Y": 3 } }, { "Type": { "InventoryType": "Product" }, "Id": "^U_SENTGUN", "Amount": 20, "MaxAmount": 20, "DamageFactor": 0.0, "FullyInstalled": true, "Index": { "X": 1, "Y": 4 } }, { "Type": { "InventoryType": "Product" }, "Id": "^CHART_HIVE", "Amount": 72, "MaxAmount": 80, "DamageFactor": 0.0, "FullyInstalled": true, "Index": { "X": 7, "Y": 0 } }, { "Type": { "InventoryType": "Product" }, "Id": "^U_SENTGUN", "Amount": 4, "MaxAmount": 20, "DamageFactor": 0.0, "FullyInstalled": true, "Index": { "X": 1, "Y": 5 } }, { "Type": { "InventoryType": "Product" }, "Id": "^GEODE_LAND", "Amount": 97, "MaxAmount": 100, "DamageFactor": 0.0, "FullyInstalled": true, "Index": { "X": 6, "Y": 0 } }, { "Type": { "InventoryType": "Substance" }, "Id": "^ASTEROID2", "Amount": 863, "MaxAmount": 9999, "DamageFactor": 0.0, "FullyInstalled": true, "Index": { "X": 2, "Y": 0 } }, { "Type": { "InventoryType": "Product" }, "Id": "^FARMPROD1", "Amount": 1, "MaxAmount": 20, "DamageFactor": 0.0, "FullyInstalled": true, "Index": { "X": 1, "Y": 2 } }, { "Type": { "InventoryType": "Substance" }, "Id": "^ASTEROID1", "Amount": 1600, "MaxAmount": 9999, "DamageFactor": 0.0, "FullyInstalled": true, "Index": { "X": 4, "Y": 0 } }, { "Type": { "InventoryType": "Substance" }, "Id": "^DUSTY1", "Amount": 2489, "MaxAmount": 9999, "DamageFactor": 0.0, "FullyInstalled": true, "Index": { "X": 6, "Y": 2 } }, { "Type": { "InventoryType": "Substance" }, "Id": "^LUSH1", "Amount": 300, "MaxAmount": 9999, "DamageFactor": 0.0, "FullyInstalled": true, "Index": { "X": 2, "Y": 1 } }, { "Type": { "InventoryType": "Product" }, "Id": "^REACTION1", "Amount": 14, "MaxAmount": 20, "DamageFactor": 0.0, "FullyInstalled": true, "Index": { "X": 0, "Y": 1 } }, { "Type": { "InventoryType": "Product" }, "Id": "^COMPOUND3", "Amount": 6, "MaxAmount": 20, "DamageFactor": 0.0, "FullyInstalled": true, "Index": { "X": 2, "Y": 2 } }, { "Type": { "InventoryType": "Product" }, "Id": "^HYDRALIC", "Amount": 34, "MaxAmount": 40, "DamageFactor": 0.0, "FullyInstalled": true, "Index": { "X": 4, "Y": 2 } }, { "Type": { "InventoryType": "Substance" }, "Id": "^DUSTY1", "Amount": 9999, "MaxAmount": 9999, "DamageFactor": 0.0, "FullyInstalled": true, "Index": { "X": 5, "Y": 2 } }, { "Type": { "InventoryType": "Product" }, "Id": "^FARMPROD6", "Amount": 1, "MaxAmount": 20, "DamageFactor": 0.0, "FullyInstalled": true, "Index": { "X": 8, "Y": 0 } }, { "Type": { "InventoryType": "Product" }, "Id": "^EXP_CURIO1", "Amount": 20, "MaxAmount": 20, "DamageFactor": 0.0, "FullyInstalled": true, "Index": { "X": 7, "Y": 6 } }, { "Type": { "InventoryType": "Product" }, "Id": "^WAR_CURIO2", "Amount": 16, "MaxAmount": 20, "DamageFactor": 0.0, "FullyInstalled": true, "Index": { "X": 8, "Y": 7 } }, { "Type": { "InventoryType": "Product" }, "Id": "^TRA_CURIO1", "Amount": 20, "MaxAmount": 20, "DamageFactor": 0.0, "FullyInstalled": true, "Index": { "X": 7, "Y": 5 } }, { "Type": { "InventoryType": "Product" }, "Id": "^COMPOUND6", "Amount": 6, "MaxAmount": 20, "DamageFactor": 0.0, "FullyInstalled": true, "Index": { "X": 6, "Y": 7 } }, { "Type": { "InventoryType": "Product" }, "Id": "^WAR_CURIO1", "Amount": 20, "MaxAmount": 20, "DamageFactor": 0.0, "FullyInstalled": true, "Index": { "X": 7, "Y": 7 } }, { "Type": { "InventoryType": "Product" }, "Id": "^DRONE_SHARD", "Amount": 20, "MaxAmount": 20, "DamageFactor": 0.0, "FullyInstalled": true, "Index": { "X": 4, "Y": 4 } }, { "Type": { "InventoryType": "Product" }, "Id": "^DRONE_SALVAGE", "Amount": 10, "MaxAmount": 20, "DamageFactor": 1.0, "FullyInstalled": true, "Index": { "X": 6, "Y": 4 } }, { "Type": { "InventoryType": "Product" }, "Id": "^U_SHIELDBOOSTX", "Amount": 2, "MaxAmount": 20, "DamageFactor": 0.0, "FullyInstalled": true, "Index": { "X": 1, "Y": 6 } }, { "Type": { "InventoryType": "Product" }, "Id": "^COMPOUND1", "Amount": 13, "MaxAmount": 20, "DamageFactor": 0.0, "FullyInstalled": true, "Index": { "X": 2, "Y": 3 } }, { "Type": { "InventoryType": "Product" }, "Id": "^BASE_BEAMSTONE", "Amount": 20, "MaxAmount": 20, "DamageFactor": 0.0, "FullyInstalled": true, "Index": { "X": 3, "Y": 2 } }, { "Type": { "InventoryType": "Product" }, "Id": "^COMPOUND4", "Amount": 15, "MaxAmount": 20, "DamageFactor": 0.0, "FullyInstalled": true, "Index": { "X": 4, "Y": 3 } }, { "Type": { "InventoryType": "Product" }, "Id": "^QUAD_PROD", "Amount": 20, "MaxAmount": 20, "DamageFactor": 1.0, "FullyInstalled": true, "Index": { "X": 6, "Y": 3 } }, { "Type": { "InventoryType": "Product" }, "Id": "^WALKER_PROD", "Amount": 19, "MaxAmount": 20, "DamageFactor": 1.0, "FullyInstalled": true, "Index": { "X": 5, "Y": 3 } }, { "Type": { "InventoryType": "Product" }, "Id": "^TRA_COMPONENT5", "Amount": 10, "MaxAmount": 100, "DamageFactor": 0.0, "FullyInstalled": true, "Index": { "X": 4, "Y": 7 } }, { "Type": { "InventoryType": "Product" }, "Id": "^QUAD_PROD", "Amount": 20, "MaxAmount": 20, "DamageFactor": 1.0, "FullyInstalled": true, "Index": { "X": 7, "Y": 3 } }, { "Type": { "InventoryType": "Product" }, "Id": "^COMPOUND4", "Amount": 20, "MaxAmount": 20, "DamageFactor": 0.0, "FullyInstalled": true, "Index": { "X": 3, "Y": 3 } }, { "Type": { "InventoryType": "Product" }, "Id": "^U_HAZARDX", "Amount": 2, "MaxAmount": 20, "DamageFactor": 0.0, "FullyInstalled": true, "Index": { "X": 1, "Y": 7 } }, { "Type": { "InventoryType": "Product" }, "Id": "^DRONE_SALVAGE", "Amount": 20, "MaxAmount": 20, "DamageFactor": 1.0, "FullyInstalled": true, "Index": { "X": 5, "Y": 4 } }, { "Type": { "InventoryType": "Product" }, "Id": "^SENTINEL_LOOT", "Amount": 20, "MaxAmount": 20, "DamageFactor": 1.0, "FullyInstalled": true, "Index": { "X": 2, "Y": 4 } }, { "Type": { "InventoryType": "Product" }, "Id": data("0x5e808017dc33cb233030303030"), "Amount": 1, "MaxAmount": 1, "DamageFactor": 0.0, "FullyInstalled": true, "Index": { "X": 2, "Y": 5 } }, { "Type": { "InventoryType": "Product" }, "Id": data("0x5e8080290cdcac233030303030"), "Amount": 1, "MaxAmount": 1, "DamageFactor": 0.0, "FullyInstalled": true, "Index": { "X": 2, "Y": 6 } }, { "Type": { "InventoryType": "Product" }, "Id": data("0x5e8080290cdcac233030303030"), "Amount": 1, "MaxAmount": 1, "DamageFactor": 0.0, "FullyInstalled": true, "Index": { "X": 2, "Y": 8 } }, { "Type": { "InventoryType": "Product" }, "Id": data("0x5e80801c8f2ab3233030303030"), "Amount": 1, "MaxAmount": 1, "DamageFactor": 0.0, "FullyInstalled": true, "Index": { "X": 2, "Y": 7 } }, { "Type": { "InventoryType": "Product" }, "Id": "^U_HYPER1", "Amount": 6, "MaxAmount": 20, "DamageFactor": 0.0, "FullyInstalled": true, "Index": { "X": 0, "Y": 7 } }, { "Type": { "InventoryType": "Product" }, "Id": "^FRIGATE_FUEL_2", "Amount": 20, "MaxAmount": 20, "DamageFactor": 0.0, "FullyInstalled": true, "Index": { "X": 9, "Y": 1 } }, { "Type": { "InventoryType": "Product" }, "Id": "^TRA_CURIO1", "Amount": 11, "MaxAmount": 20, "DamageFactor": 0.0, "FullyInstalled": true, "Index": { "X": 8, "Y": 5 } }, { "Type": { "InventoryType": "Product" }, "Id": "^U_SHIPLAS2", "Amount": 2, "MaxAmount": 20, "DamageFactor": 0.0, "FullyInstalled": true, "Index": { "X": 0, "Y": 2 } }, { "Type": { "InventoryType": "Product" }, "Id": "^SENTINEL_LOOT", "Amount": 9, "MaxAmount": 20, "DamageFactor": 0.0, "FullyInstalled": true, "Index": { "X": 3, "Y": 4 } }, { "Type": { "InventoryType": "Product" }, "Id": "^QUAD_PROD", "Amount": 20, "MaxAmount": 20, "DamageFactor": 0.0, "FullyInstalled": true, "Index": { "X": 8, "Y": 3 } }, { "Type": { "InventoryType": "Product" }, "Id": "^U_LASER1", "Amount": 1, "MaxAmount": 20, "DamageFactor": 0.0, "FullyInstalled": true, "Index": { "X": 0, "Y": 8 } }, { "Type": { "InventoryType": "Product" }, "Id": "^WAR_CURIO1", "Amount": 5, "MaxAmount": 20, "DamageFactor": 0.0, "FullyInstalled": true, "Index": { "X": 6, "Y": 5 } }, { "Type": { "InventoryType": "Substance" }, "Id": "^BLUE2", "Amount": 1000, "MaxAmount": 9999, "DamageFactor": 0.0, "FullyInstalled": true, "Index": { "X": 8, "Y": 6 } }, { "Type": { "InventoryType": "Product" }, "Id": "^TRA_MINERALS2", "Amount": 38, "MaxAmount": 100, "DamageFactor": 0.0, "FullyInstalled": true, "Index": { "X": 3, "Y": 6 } }, { "Type": { "InventoryType": "Substance" }, "Id": "^CREATURE1", "Amount": 5148, "MaxAmount": 9999, "DamageFactor": 0.0, "FullyInstalled": true, "Index": { "X": 5, "Y": 6 } }, { "Type": { "InventoryType": "Product" }, "Id": "^EXP_CURIO1", "Amount": 1, "MaxAmount": 20, "DamageFactor": 0.0, "FullyInstalled": true, "Index": { "X": 9, "Y": 0 } } ], "ValidSlotIndices": [ { "X": 0, "Y": 0 }, { "X": 1, "Y": 0 }, { "X": 2, "Y": 0 }, { "X": 3, "Y": 0 }, { "X": 4, "Y": 0 }, { "X": 5, "Y": 0 }, { "X": 6, "Y": 0 }, { "X": 7, "Y": 0 }, { "X": 8, "Y": 0 }, { "X": 9, "Y": 0 }, { "X": 0, "Y": 1 }, { "X": 1, "Y": 1 }, { "X": 2, "Y": 1 }, { "X": 3, "Y": 1 }, { "X": 4, "Y": 1 }, { "X": 5, "Y": 1 }, { "X": 6, "Y": 1 }, { "X": 7, "Y": 1 }, { "X": 8, "Y": 1 }, { "X": 9, "Y": 1 }, { "X": 0, "Y": 2 }, { "X": 1, "Y": 2 }, { "X": 2, "Y": 2 }, { "X": 3, "Y": 2 }, { "X": 4, "Y": 2 }, { "X": 5, "Y": 2 }, { "X": 6, "Y": 2 }, { "X": 7, "Y": 2 }, { "X": 8, "Y": 2 }, { "X": 9, "Y": 2 }, { "X": 0, "Y": 3 }, { "X": 1, "Y": 3 }, { "X": 2, "Y": 3 }, { "X": 3, "Y": 3 }, { "X": 4, "Y": 3 }, { "X": 5, "Y": 3 }, { "X": 6, "Y": 3 }, { "X": 7, "Y": 3 }, { "X": 8, "Y": 3 }, { "X": 9, "Y": 3 }, { "X": 0, "Y": 4 }, { "X": 1, "Y": 4 }, { "X": 2, "Y": 4 }, { "X": 3, "Y": 4 }, { "X": 4, "Y": 4 }, { "X": 5, "Y": 4 }, { "X": 6, "Y": 4 }, { "X": 7, "Y": 4 }, { "X": 8, "Y": 4 }, { "X": 9, "Y": 4 }, { "X": 0, "Y": 5 }, { "X": 1, "Y": 5 }, { "X": 2, "Y": 5 }, { "X": 3, "Y": 5 }, { "X": 4, "Y": 5 }, { "X": 5, "Y": 5 }, { "X": 6, "Y": 5 }, { "X": 7, "Y": 5 }, { "X": 8, "Y": 5 }, { "X": 9, "Y": 5 }, { "X": 0, "Y": 6 }, { "X": 1, "Y": 6 }, { "X": 2, "Y": 6 }, { "X": 3, "Y": 6 }, { "X": 4, "Y": 6 }, { "X": 5, "Y": 6 }, { "X": 6, "Y": 6 }, { "X": 7, "Y": 6 }, { "X": 8, "Y": 6 }, { "X": 9, "Y": 6 }, { "X": 0, "Y": 7 }, { "X": 1, "Y": 7 }, { "X": 2, "Y": 7 }, { "X": 3, "Y": 7 }, { "X": 4, "Y": 7 }, { "X": 5, "Y": 7 }, { "X": 6, "Y": 7 }, { "X": 7, "Y": 7 }, { "X": 8, "Y": 7 }, { "X": 9, "Y": 7 }, { "X": 0, "Y": 8 }, { "X": 1, "Y": 8 }, { "X": 2, "Y": 8 }, { "X": 3, "Y": 8 }, { "X": 4, "Y": 8 }, { "X": 5, "Y": 8 }, { "X": 6, "Y": 8 }, { "X": 7, "Y": 8 }, { "X": 8, "Y": 8 }, { "X": 9, "Y": 8 }, { "X": 0, "Y": 9 }, { "X": 1, "Y": 9 }, { "X": 2, "Y": 9 }, { "X": 3, "Y": 9 }, { "X": 4, "Y": 9 }, { "X": 5, "Y": 9 }, { "X": 6, "Y": 9 }, { "X": 7, "Y": 9 }, { "X": 8, "Y": 9 }, { "X": 9, "Y": 9 } ], "Class": { "InventoryClass": "A" }, "StackSizeGroup": { "InventoryStackSizeGroup": "Freighter" }, "BaseStatValues": [ { "BaseStatID": "^FREI_HYPERDRIVE", "Value": 50.38991928100586 }, { "BaseStatID": "^FREI_FLEET", "Value": 33.088172912597659 } ], "SpecialSlots": [], "Width": 10, "Height": 12, "IsCool": false, "Name": "", "Version": 1 }
FWIW: i have seen this in other saves, as well... i've just not asked about it until now...
There are quite a few items which come with a 'DamageFactor' of '1.0' for some reason. Not limited to the new resources, but seeing it with Quad Servo, Faecium, Pugneum, Living Slime, and likely some others as well.
i wonder if that's due to some template being used? kind of like how most everything has a "Message" property??
i've not noticed any problems in-game with these red items... the editor does provide more insight so some things like this may appear and show a defect in the game code...
i'm guessing you can clean them up and remove this property like has been done recently with a few other things?
The property is part of the game structure, and cannot be removed. It is used to indicate that a piece of technology is broken and needs repair. The game is ignoring this for products, so if it really bothers you just hit the "Repair" option. It will do no harm.
On 4/24/23 6:23 PM, Brendon Matthews (GoatFungus) wrote:
The property is part of the game structure, and cannot be removed.
right... i was speaking of automagically removing that property from the products only since they really shouldn't have it in the first place... or is this another template thing like the Message property?
It is used to indicate that a piece of technology is broken and needs repair. The game is ignoring this for products, so if it really bothers you just hit the "Repair" option. It will do no harm. alright... i wasn't sure if that was a valid manual option... i guess that hitting Repair simply changes DamageFactor to 0.0?
thanks again for your time :)
Repair does indeed change the DamageFactor to 0.0, and fixes the underlying slot as well (if marked as broken).
Maybe I could tweak the editor so that it ignores the DamageFactor for products/substances like the game appears to do, so I'll put that on the list. Not a very high priority though.
thanks, brandon... that seem reasonable... hopefully it will only need an if statement checking the InventoryType property but that's just an eWAG from an old coder :smile_cat:
per the title... these red items are not repairable but if i right click on them, the Repair option is shown in the menu...