Movable generator

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? :expressionless:

[quote=“justfortest, post:1, topic:11724”]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? :|[/quote]

That’s because it spawns under your feet, and in this vehicle’s case that causes you to be standing on a tile that can’t be boarded through normal means so it throws a debug error message.

Don’t worry about it; it doesn’t occur during normal usage or cause any harm.

[quote=“Rivet, post:2, topic:11724”]That’s because it spawns under your feet, and in this vehicle’s case that causes you to be standing on a tile that can’t be boarded through normal means so it throws a debug error message.

Don’t worry about it; it doesn’t occur during normal usage or cause any harm.[/quote]

:smiley:
thank you.

XD
another one, I recommend connected by jumper cables.

{
        "type" : "vehicle",
        "id" : "solar_array",
        "name" : "3x3 basic solar array",
        "parts" : [
                        {"x": 0, "y": 0, "part": "xlframe_vertical"},
			{"x": 0, "y": 0, "part": "solar_panel"},
                        {"x": 1, "y": 0, "part": "xlframe_vertical"},
			{"x": 1, "y": 0, "part": "solar_panel"},
			{"x": -1, "y": 0, "part": "xlframe_vertical"},
			{"x": -1, "y": 0, "part": "solar_panel"},
			{"x": 0, "y": 1, "part": "xlframe_vertical"},
			{"x": 0, "y": 1, "part": "solar_panel"},
                        {"x": 0, "y": -1, "part": "xlframe_vertical"},
			{"x": 0, "y": -1, "part": "solar_panel"},
			{"x": 1, "y": 1, "part": "xlframe_vertical"},
			{"x": 1, "y": 1, "part": "solar_panel"},
			{"x": -1, "y": -1, "part": "xlframe_vertical"},
			{"x": -1, "y": -1, "part": "solar_panel"},
			{"x": 1, "y": -1, "part": "xlframe_vertical"},
			{"x": 1, "y": -1, "part": "solar_panel"},
			{"x": -1, "y": 1, "part": "xlframe_vertical"},
			{"x": -1, "y": 1, "part": "solar_panel"}
        ]
    }