So I tried to add tiny motor in items and vehicleparts :
in \vehicleparts\motor.json :
{
“id”: “engine_electric_tiny”,
“copy-from”: “engine_motor”,
“type”: “vehicle_part”,
“name”: “tiny electric motor”,
“item”: “motor_tiny”,
“difficulty”: 1,
“durability”: 80,
“power”: 4,
“epower”: -200,
“damage_modifier”: 80,
“folded_volume”: 0.5,
“breaks_into”: [
{ “item”: “scrap”, “count”: [ 0, 1 ] },
{ “item”: “cable”, “charges”: [ 1, 2 ] }
],
“extend”: { “flags”: [ “TOOL_SCREWDRIVER”, “FOLDABLE” ] },
“delete”: { “flags”: [ “TOOL_WRENCH” ] }
},
I’m not sure what “extend” and “delete” mean since it seems only the small motor use it.
In items\vehicle_parts.json
{
“type”:“GENERIC”,
“id” : “motor_tiny”,
“name” : “tiny electric motor”,
“description” : “A tiny electric motor. Useful for crafting.”,
“weight” : 250,
“color” : “light_cyan”,
“symbol” : “,”,
“material” : [“steel”],
“volume” : 0.5,
“bashing” : 0,
“category” : “veh_parts”,
“price” : 2000
},
Not sure about the price, I kept the same as the small one.
I didn’t manage to use the formatter I just got syntax error (EDIT : I justed needed to paste the whole file)
What’s left after those two ? Recipes and item spawn ?