Gatlingzug


A train wagon with a gun turret at the rear. It can be coupled to a train and fires firearm magazines. The turret picks its own targets and shoots by itself. The loaded magazine sits on top, and the spare ammunition is stored in the wagon below.

Content
a month ago
2.1
314
Trains Combat

b Does not work without Space Age

7 days ago
(updated 7 days ago)

Error Message:

Failed to load mods: Error while loading entity prototype "gatlingzug-wagen" (artillery-wagon): Surface conditions are disabled and can not be used. Surface conditions require space-travel.
Modifications: Gatlingzug

Installing Space Age (or a mod like https://mods.factorio.com/mod/no_placement_restriction) allows it to run.

I think the code in prototypes/entity.lua:

wagon.surface_conditions = {
    {property = "gravity", min = 1}
}

Needs to be conditional on Space Age being enabled.

New response