Usually, survivor’s will use car part DIY for him self, so, I think, why not create some standard generator?
This is it. add to “vehicles.json”
{
"type" : "vehicle",
"id" : "small_gasoline_generator",
"name" : "small generator",
"blueprint" : "G",
"parts" : [
{"x": 0, "y": 0, "part": "xlframe_vertical_2"},
{"x": 0, "y": 0, "part": "wheel_caster"},
{"x": 0, "y": 0, "part": "battery_motorbike"},
{"x": 0, "y": 0, "part": "engine_1cyl_small"},
{"x": 0, "y": 0, "part": "alternator_motorbike"},
{"x": 0, "y": 0, "part": "controls"},
{"x": 0, "y": 0, "part": "gas_tank_small"}
]
}
humm, a short test show it will cost debug text:
"DEBUG: MAP:: board_vehicle: boarding extra light frame (not boardable)"
Press space, it work, but why?