{ "$schema": "https://json-schema.org/draft/2019-09/schema", "title": "Factorio Data.raw", "type": "object", "properties": { "accumulator": { "type": "object", "additionalProperties": { "$ref": "#/definitions/AccumulatorPrototype" } }, "achievement": { "type": "object", "additionalProperties": { "$ref": "#/definitions/AchievementPrototype" } }, "active-defense-equipment": { "type": "object", "additionalProperties": { "$ref": "#/definitions/ActiveDefenseEquipmentPrototype" } }, "agricultural-tower": { "type": "object", "additionalProperties": { "$ref": "#/definitions/AgriculturalTowerPrototype" } }, "airborne-pollutant": { "type": "object", "additionalProperties": { "$ref": "#/definitions/AirbornePollutantPrototype" } }, "ambient-sound": { "type": "object", "additionalProperties": { "$ref": "#/definitions/AmbientSound" } }, "ammo-category": { "type": "object", "additionalProperties": { "$ref": "#/definitions/AmmoCategory" } }, "ammo": { "type": "object", "additionalProperties": { "$ref": "#/definitions/AmmoItemPrototype" } }, "ammo-turret": { "type": "object", "additionalProperties": { "$ref": "#/definitions/AmmoTurretPrototype" } }, "animation": { "type": "object", "additionalProperties": { "$ref": "#/definitions/AnimationPrototype" } }, "arithmetic-combinator": { "type": "object", "additionalProperties": { "$ref": "#/definitions/ArithmeticCombinatorPrototype" } }, "armor": { "type": "object", "additionalProperties": { "$ref": "#/definitions/ArmorPrototype" } }, "arrow": { "type": "object", "additionalProperties": { "$ref": "#/definitions/ArrowPrototype" } }, "artillery-flare": { "type": "object", "additionalProperties": { "$ref": "#/definitions/ArtilleryFlarePrototype" } }, "artillery-projectile": { "type": "object", "additionalProperties": { "$ref": "#/definitions/ArtilleryProjectilePrototype" } }, "artillery-turret": { "type": "object", "additionalProperties": { "$ref": "#/definitions/ArtilleryTurretPrototype" } }, "artillery-wagon": { "type": "object", "additionalProperties": { "$ref": "#/definitions/ArtilleryWagonPrototype" } }, "assembling-machine": { "type": "object", "additionalProperties": { "$ref": "#/definitions/AssemblingMachinePrototype" } }, "asteroid-chunk": { "type": "object", "additionalProperties": { "$ref": "#/definitions/AsteroidChunkPrototype" } }, "asteroid-collector": { "type": "object", "additionalProperties": { "$ref": "#/definitions/AsteroidCollectorPrototype" } }, "asteroid": { "type": "object", "additionalProperties": { "$ref": "#/definitions/AsteroidPrototype" } }, "autoplace-control": { "type": "object", "additionalProperties": { "$ref": "#/definitions/AutoplaceControl" } }, "battery-equipment": { "type": "object", "additionalProperties": { "$ref": "#/definitions/BatteryEquipmentPrototype" } }, "beacon": { "type": "object", "additionalProperties": { "$ref": "#/definitions/BeaconPrototype" } }, "beam": { "type": "object", "additionalProperties": { "$ref": "#/definitions/BeamPrototype" } }, "belt-immunity-equipment": { "type": "object", "additionalProperties": { "$ref": "#/definitions/BeltImmunityEquipmentPrototype" } }, "blueprint-book": { "type": "object", "additionalProperties": { "$ref": "#/definitions/BlueprintBookPrototype" } }, "blueprint": { "type": "object", "additionalProperties": { "$ref": "#/definitions/BlueprintItemPrototype" } }, "boiler": { "type": "object", "additionalProperties": { "$ref": "#/definitions/BoilerPrototype" } }, "build-entity-achievement": { "type": "object", "additionalProperties": { "$ref": "#/definitions/BuildEntityAchievementPrototype" } }, "burner-generator": { "type": "object", "additionalProperties": { "$ref": "#/definitions/BurnerGeneratorPrototype" } }, "burner-usage": { "type": "object", "additionalProperties": { "$ref": "#/definitions/BurnerUsagePrototype" } }, "capsule": { "type": "object", "additionalProperties": { "$ref": "#/definitions/CapsulePrototype" } }, "capture-robot": { "type": "object", "additionalProperties": { "$ref": "#/definitions/CaptureRobotPrototype" } }, "car": { "type": "object", "additionalProperties": { "$ref": "#/definitions/CarPrototype" } }, "cargo-bay": { "type": "object", "additionalProperties": { "$ref": "#/definitions/CargoBayPrototype" } }, "cargo-landing-pad": { "type": "object", "additionalProperties": { "$ref": "#/definitions/CargoLandingPadPrototype" } }, "cargo-pod": { "type": "object", "additionalProperties": { "$ref": "#/definitions/CargoPodPrototype" } }, "cargo-wagon": { "type": "object", "additionalProperties": { "$ref": "#/definitions/CargoWagonPrototype" } }, "chain-active-trigger": { "type": "object", "additionalProperties": { "$ref": "#/definitions/ChainActiveTriggerPrototype" } }, "change-surface-achievement": { "type": "object", "additionalProperties": { "$ref": "#/definitions/ChangedSurfaceAchievementPrototype" } }, "character-corpse": { "type": "object", "additionalProperties": { "$ref": "#/definitions/CharacterCorpsePrototype" } }, "character": { "type": "object", "additionalProperties": { "$ref": "#/definitions/CharacterPrototype" } }, "cliff": { "type": "object", "additionalProperties": { "$ref": "#/definitions/CliffPrototype" } }, "collision-layer": { "type": "object", "additionalProperties": { "$ref": "#/definitions/CollisionLayerPrototype" } }, "combat-robot-count-achievement": { "type": "object", "additionalProperties": { "$ref": "#/definitions/CombatRobotCountAchievementPrototype" } }, "combat-robot": { "type": "object", "additionalProperties": { "$ref": "#/definitions/CombatRobotPrototype" } }, "complete-objective-achievement": { "type": "object", "additionalProperties": { "$ref": "#/definitions/CompleteObjectiveAchievementPrototype" } }, "constant-combinator": { "type": "object", "additionalProperties": { "$ref": "#/definitions/ConstantCombinatorPrototype" } }, "construct-with-robots-achievement": { "type": "object", "additionalProperties": { "$ref": "#/definitions/ConstructWithRobotsAchievementPrototype" } }, "construction-robot": { "type": "object", "additionalProperties": { "$ref": "#/definitions/ConstructionRobotPrototype" } }, "container": { "type": "object", "additionalProperties": { "$ref": "#/definitions/ContainerPrototype" } }, "copy-paste-tool": { "type": "object", "additionalProperties": { "$ref": "#/definitions/CopyPasteToolPrototype" } }, "corpse": { "type": "object", "additionalProperties": { "$ref": "#/definitions/CorpsePrototype" } }, "create-platform-achievement": { "type": "object", "additionalProperties": { "$ref": "#/definitions/CreatePlatformAchievementPrototype" } }, "curved-rail-a": { "type": "object", "additionalProperties": { "$ref": "#/definitions/CurvedRailAPrototype" } }, "curved-rail-b": { "type": "object", "additionalProperties": { "$ref": "#/definitions/CurvedRailBPrototype" } }, "custom-event": { "type": "object", "additionalProperties": { "$ref": "#/definitions/CustomEventPrototype" } }, "custom-input": { "type": "object", "additionalProperties": { "$ref": "#/definitions/CustomInputPrototype" } }, "damage-type": { "type": "object", "additionalProperties": { "$ref": "#/definitions/DamageType" } }, "decider-combinator": { "type": "object", "additionalProperties": { "$ref": "#/definitions/DeciderCombinatorPrototype" } }, "deconstruct-with-robots-achievement": { "type": "object", "additionalProperties": { "$ref": "#/definitions/DeconstructWithRobotsAchievementPrototype" } }, "deconstructible-tile-proxy": { "type": "object", "additionalProperties": { "$ref": "#/definitions/DeconstructibleTileProxyPrototype" } }, "deconstruction-item": { "type": "object", "additionalProperties": { "$ref": "#/definitions/DeconstructionItemPrototype" } }, "optimized-decorative": { "type": "object", "additionalProperties": { "$ref": "#/definitions/DecorativePrototype" } }, "delayed-active-trigger": { "type": "object", "additionalProperties": { "$ref": "#/definitions/DelayedActiveTriggerPrototype" } }, "deliver-by-robots-achievement": { "type": "object", "additionalProperties": { "$ref": "#/definitions/DeliverByRobotsAchievementPrototype" } }, "deliver-category": { "type": "object", "additionalProperties": { "$ref": "#/definitions/DeliverCategory" } }, "deliver-impact-combination": { "type": "object", "additionalProperties": { "$ref": "#/definitions/DeliverImpactCombination" } }, "deplete-resource-achievement": { "type": "object", "additionalProperties": { "$ref": "#/definitions/DepleteResourceAchievementPrototype" } }, "destroy-cliff-achievement": { "type": "object", "additionalProperties": { "$ref": "#/definitions/DestroyCliffAchievementPrototype" } }, "display-panel": { "type": "object", "additionalProperties": { "$ref": "#/definitions/DisplayPanelPrototype" } }, "dont-build-entity-achievement": { "type": "object", "additionalProperties": { "$ref": "#/definitions/DontBuildEntityAchievementPrototype" } }, "dont-craft-manually-achievement": { "type": "object", "additionalProperties": { "$ref": "#/definitions/DontCraftManuallyAchievementPrototype" } }, "dont-kill-manually-achievement": { "type": "object", "additionalProperties": { "$ref": "#/definitions/DontKillManuallyAchievementPrototype" } }, "dont-research-before-researching-achievement": { "type": "object", "additionalProperties": { "$ref": "#/definitions/DontResearchBeforeResearchingAchievementPrototype" } }, "dont-use-entity-in-energy-production-achievement": { "type": "object", "additionalProperties": { "$ref": "#/definitions/DontUseEntityInEnergyProductionAchievementPrototype" } }, "editor-controller": { "type": "object", "additionalProperties": { "$ref": "#/definitions/EditorControllerPrototype" } }, "electric-energy-interface": { "type": "object", "additionalProperties": { "$ref": "#/definitions/ElectricEnergyInterfacePrototype" } }, "electric-pole": { "type": "object", "additionalProperties": { "$ref": "#/definitions/ElectricPolePrototype" } }, "electric-turret": { "type": "object", "additionalProperties": { "$ref": "#/definitions/ElectricTurretPrototype" } }, "elevated-curved-rail-a": { "type": "object", "additionalProperties": { "$ref": "#/definitions/ElevatedCurvedRailAPrototype" } }, "elevated-curved-rail-b": { "type": "object", "additionalProperties": { "$ref": "#/definitions/ElevatedCurvedRailBPrototype" } }, "elevated-half-diagonal-rail": { "type": "object", "additionalProperties": { "$ref": "#/definitions/ElevatedHalfDiagonalRailPrototype" } }, "elevated-straight-rail": { "type": "object", "additionalProperties": { "$ref": "#/definitions/ElevatedStraightRailPrototype" } }, "unit-spawner": { "type": "object", "additionalProperties": { "$ref": "#/definitions/EnemySpawnerPrototype" } }, "energy-shield-equipment": { "type": "object", "additionalProperties": { "$ref": "#/definitions/EnergyShieldEquipmentPrototype" } }, "entity-ghost": { "type": "object", "additionalProperties": { "$ref": "#/definitions/EntityGhostPrototype" } }, "equip-armor-achievement": { "type": "object", "additionalProperties": { "$ref": "#/definitions/EquipArmorAchievementPrototype" } }, "equipment-category": { "type": "object", "additionalProperties": { "$ref": "#/definitions/EquipmentCategory" } }, "equipment-ghost": { "type": "object", "additionalProperties": { "$ref": "#/definitions/EquipmentGhostPrototype" } }, "equipment-grid": { "type": "object", "additionalProperties": { "$ref": "#/definitions/EquipmentGridPrototype" } }, "explosion": { "type": "object", "additionalProperties": { "$ref": "#/definitions/ExplosionPrototype" } }, "fire": { "type": "object", "additionalProperties": { "$ref": "#/definitions/FireFlamePrototype" } }, "fish": { "type": "object", "additionalProperties": { "$ref": "#/definitions/FishPrototype" } }, "fluid": { "type": "object", "additionalProperties": { "$ref": "#/definitions/FluidPrototype" } }, "stream": { "type": "object", "additionalProperties": { "$ref": "#/definitions/FluidStreamPrototype" } }, "fluid-turret": { "type": "object", "additionalProperties": { "$ref": "#/definitions/FluidTurretPrototype" } }, "fluid-wagon": { "type": "object", "additionalProperties": { "$ref": "#/definitions/FluidWagonPrototype" } }, "font": { "type": "object", "additionalProperties": { "$ref": "#/definitions/FontPrototype" } }, "fuel-category": { "type": "object", "additionalProperties": { "$ref": "#/definitions/FuelCategory" } }, "furnace": { "type": "object", "additionalProperties": { "$ref": "#/definitions/FurnacePrototype" } }, "fusion-generator": { "type": "object", "additionalProperties": { "$ref": "#/definitions/FusionGeneratorPrototype" } }, "fusion-reactor": { "type": "object", "additionalProperties": { "$ref": "#/definitions/FusionReactorPrototype" } }, "gate": { "type": "object", "additionalProperties": { "$ref": "#/definitions/GatePrototype" } }, "generator-equipment": { "type": "object", "additionalProperties": { "$ref": "#/definitions/GeneratorEquipmentPrototype" } }, "generator": { "type": "object", "additionalProperties": { "$ref": "#/definitions/GeneratorPrototype" } }, "god-controller": { "type": "object", "additionalProperties": { "$ref": "#/definitions/GodControllerPrototype" } }, "group-attack-achievement": { "type": "object", "additionalProperties": { "$ref": "#/definitions/GroupAttackAchievementPrototype" } }, "gui-style": { "type": "object", "additionalProperties": { "$ref": "#/definitions/GuiStyle" } }, "gun": { "type": "object", "additionalProperties": { "$ref": "#/definitions/GunPrototype" } }, "half-diagonal-rail": { "type": "object", "additionalProperties": { "$ref": "#/definitions/HalfDiagonalRailPrototype" } }, "heat-interface": { "type": "object", "additionalProperties": { "$ref": "#/definitions/HeatInterfacePrototype" } }, "heat-pipe": { "type": "object", "additionalProperties": { "$ref": "#/definitions/HeatPipePrototype" } }, "highlight-box": { "type": "object", "additionalProperties": { "$ref": "#/definitions/HighlightBoxEntityPrototype" } }, "impact-category": { "type": "object", "additionalProperties": { "$ref": "#/definitions/ImpactCategory" } }, "infinity-container": { "type": "object", "additionalProperties": { "$ref": "#/definitions/InfinityContainerPrototype" } }, "infinity-pipe": { "type": "object", "additionalProperties": { "$ref": "#/definitions/InfinityPipePrototype" } }, "inserter": { "type": "object", "additionalProperties": { "$ref": "#/definitions/InserterPrototype" } }, "inventory-bonus-equipment": { "type": "object", "additionalProperties": { "$ref": "#/definitions/InventoryBonusEquipmentPrototype" } }, "item-entity": { "type": "object", "additionalProperties": { "$ref": "#/definitions/ItemEntityPrototype" } }, "item-group": { "type": "object", "additionalProperties": { "$ref": "#/definitions/ItemGroup" } }, "item": { "type": "object", "additionalProperties": { "$ref": "#/definitions/ItemPrototype" } }, "item-request-proxy": { "type": "object", "additionalProperties": { "$ref": "#/definitions/ItemRequestProxyPrototype" } }, "item-subgroup": { "type": "object", "additionalProperties": { "$ref": "#/definitions/ItemSubGroup" } }, "item-with-entity-data": { "type": "object", "additionalProperties": { "$ref": "#/definitions/ItemWithEntityDataPrototype" } }, "item-with-inventory": { "type": "object", "additionalProperties": { "$ref": "#/definitions/ItemWithInventoryPrototype" } }, "item-with-label": { "type": "object", "additionalProperties": { "$ref": "#/definitions/ItemWithLabelPrototype" } }, "item-with-tags": { "type": "object", "additionalProperties": { "$ref": "#/definitions/ItemWithTagsPrototype" } }, "kill-achievement": { "type": "object", "additionalProperties": { "$ref": "#/definitions/KillAchievementPrototype" } }, "lab": { "type": "object", "additionalProperties": { "$ref": "#/definitions/LabPrototype" } }, "lamp": { "type": "object", "additionalProperties": { "$ref": "#/definitions/LampPrototype" } }, "land-mine": { "type": "object", "additionalProperties": { "$ref": "#/definitions/LandMinePrototype" } }, "lane-splitter": { "type": "object", "additionalProperties": { "$ref": "#/definitions/LaneSplitterPrototype" } }, "legacy-curved-rail": { "type": "object", "additionalProperties": { "$ref": "#/definitions/LegacyCurvedRailPrototype" } }, "legacy-straight-rail": { "type": "object", "additionalProperties": { "$ref": "#/definitions/LegacyStraightRailPrototype" } }, "lightning-attractor": { "type": "object", "additionalProperties": { "$ref": "#/definitions/LightningAttractorPrototype" } }, "lightning": { "type": "object", "additionalProperties": { "$ref": "#/definitions/LightningPrototype" } }, "linked-belt": { "type": "object", "additionalProperties": { "$ref": "#/definitions/LinkedBeltPrototype" } }, "linked-container": { "type": "object", "additionalProperties": { "$ref": "#/definitions/LinkedContainerPrototype" } }, "loader-1x1": { "type": "object", "additionalProperties": { "$ref": "#/definitions/Loader1x1Prototype" } }, "loader": { "type": "object", "additionalProperties": { "$ref": "#/definitions/Loader1x2Prototype" } }, "locomotive": { "type": "object", "additionalProperties": { "$ref": "#/definitions/LocomotivePrototype" } }, "logistic-container": { "type": "object", "additionalProperties": { "$ref": "#/definitions/LogisticContainerPrototype" } }, "logistic-robot": { "type": "object", "additionalProperties": { "$ref": "#/definitions/LogisticRobotPrototype" } }, "map-gen-presets": { "type": "object", "additionalProperties": { "$ref": "#/definitions/MapGenPresets" } }, "map-settings": { "type": "object", "additionalProperties": { "$ref": "#/definitions/MapSettings" } }, "market": { "type": "object", "additionalProperties": { "$ref": "#/definitions/MarketPrototype" } }, "mining-drill": { "type": "object", "additionalProperties": { "$ref": "#/definitions/MiningDrillPrototype" } }, "module-category": { "type": "object", "additionalProperties": { "$ref": "#/definitions/ModuleCategory" } }, "module": { "type": "object", "additionalProperties": { "$ref": "#/definitions/ModulePrototype" } }, "module-transfer-achievement": { "type": "object", "additionalProperties": { "$ref": "#/definitions/ModuleTransferAchievementPrototype" } }, "mouse-cursor": { "type": "object", "additionalProperties": { "$ref": "#/definitions/MouseCursor" } }, "movement-bonus-equipment": { "type": "object", "additionalProperties": { "$ref": "#/definitions/MovementBonusEquipmentPrototype" } }, "noise-expression": { "type": "object", "additionalProperties": { "$ref": "#/definitions/NamedNoiseExpression" } }, "noise-function": { "type": "object", "additionalProperties": { "$ref": "#/definitions/NamedNoiseFunction" } }, "night-vision-equipment": { "type": "object", "additionalProperties": { "$ref": "#/definitions/NightVisionEquipmentPrototype" } }, "offshore-pump": { "type": "object", "additionalProperties": { "$ref": "#/definitions/OffshorePumpPrototype" } }, "optimized-particle": { "type": "object", "additionalProperties": { "$ref": "#/definitions/ParticlePrototype" } }, "particle-source": { "type": "object", "additionalProperties": { "$ref": "#/definitions/ParticleSourcePrototype" } }, "pipe": { "type": "object", "additionalProperties": { "$ref": "#/definitions/PipePrototype" } }, "pipe-to-ground": { "type": "object", "additionalProperties": { "$ref": "#/definitions/PipeToGroundPrototype" } }, "place-equipment-achievement": { "type": "object", "additionalProperties": { "$ref": "#/definitions/PlaceEquipmentAchievementPrototype" } }, "planet": { "type": "object", "additionalProperties": { "$ref": "#/definitions/PlanetPrototype" } }, "plant": { "type": "object", "additionalProperties": { "$ref": "#/definitions/PlantPrototype" } }, "player-damaged-achievement": { "type": "object", "additionalProperties": { "$ref": "#/definitions/PlayerDamagedAchievementPrototype" } }, "player-port": { "type": "object", "additionalProperties": { "$ref": "#/definitions/PlayerPortPrototype" } }, "power-switch": { "type": "object", "additionalProperties": { "$ref": "#/definitions/PowerSwitchPrototype" } }, "procession-layer-inheritance-group": { "type": "object", "additionalProperties": { "$ref": "#/definitions/ProcessionLayerInheritanceGroup" } }, "procession": { "type": "object", "additionalProperties": { "$ref": "#/definitions/ProcessionPrototype" } }, "produce-achievement": { "type": "object", "additionalProperties": { "$ref": "#/definitions/ProduceAchievementPrototype" } }, "produce-per-hour-achievement": { "type": "object", "additionalProperties": { "$ref": "#/definitions/ProducePerHourAchievementPrototype" } }, "programmable-speaker": { "type": "object", "additionalProperties": { "$ref": "#/definitions/ProgrammableSpeakerPrototype" } }, "projectile": { "type": "object", "additionalProperties": { "$ref": "#/definitions/ProjectilePrototype" } }, "pump": { "type": "object", "additionalProperties": { "$ref": "#/definitions/PumpPrototype" } }, "quality": { "type": "object", "additionalProperties": { "$ref": "#/definitions/QualityPrototype" } }, "radar": { "type": "object", "additionalProperties": { "$ref": "#/definitions/RadarPrototype" } }, "rail-chain-signal": { "type": "object", "additionalProperties": { "$ref": "#/definitions/RailChainSignalPrototype" } }, "rail-planner": { "type": "object", "additionalProperties": { "$ref": "#/definitions/RailPlannerPrototype" } }, "rail-ramp": { "type": "object", "additionalProperties": { "$ref": "#/definitions/RailRampPrototype" } }, "rail-remnants": { "type": "object", "additionalProperties": { "$ref": "#/definitions/RailRemnantsPrototype" } }, "rail-signal": { "type": "object", "additionalProperties": { "$ref": "#/definitions/RailSignalPrototype" } }, "rail-support": { "type": "object", "additionalProperties": { "$ref": "#/definitions/RailSupportPrototype" } }, "reactor": { "type": "object", "additionalProperties": { "$ref": "#/definitions/ReactorPrototype" } }, "recipe-category": { "type": "object", "additionalProperties": { "$ref": "#/definitions/RecipeCategory" } }, "recipe": { "type": "object", "additionalProperties": { "$ref": "#/definitions/RecipePrototype" } }, "remote-controller": { "type": "object", "additionalProperties": { "$ref": "#/definitions/RemoteControllerPrototype" } }, "repair-tool": { "type": "object", "additionalProperties": { "$ref": "#/definitions/RepairToolPrototype" } }, "research-achievement": { "type": "object", "additionalProperties": { "$ref": "#/definitions/ResearchAchievementPrototype" } }, "research-with-science-pack-achievement": { "type": "object", "additionalProperties": { "$ref": "#/definitions/ResearchWithSciencePackAchievementPrototype" } }, "resource-category": { "type": "object", "additionalProperties": { "$ref": "#/definitions/ResourceCategory" } }, "resource": { "type": "object", "additionalProperties": { "$ref": "#/definitions/ResourceEntityPrototype" } }, "roboport-equipment": { "type": "object", "additionalProperties": { "$ref": "#/definitions/RoboportEquipmentPrototype" } }, "roboport": { "type": "object", "additionalProperties": { "$ref": "#/definitions/RoboportPrototype" } }, "rocket-silo": { "type": "object", "additionalProperties": { "$ref": "#/definitions/RocketSiloPrototype" } }, "rocket-silo-rocket": { "type": "object", "additionalProperties": { "$ref": "#/definitions/RocketSiloRocketPrototype" } }, "rocket-silo-rocket-shadow": { "type": "object", "additionalProperties": { "$ref": "#/definitions/RocketSiloRocketShadowPrototype" } }, "segment": { "type": "object", "additionalProperties": { "$ref": "#/definitions/SegmentPrototype" } }, "segmented-unit": { "type": "object", "additionalProperties": { "$ref": "#/definitions/SegmentedUnitPrototype" } }, "selection-tool": { "type": "object", "additionalProperties": { "$ref": "#/definitions/SelectionToolPrototype" } }, "selector-combinator": { "type": "object", "additionalProperties": { "$ref": "#/definitions/SelectorCombinatorPrototype" } }, "shoot-achievement": { "type": "object", "additionalProperties": { "$ref": "#/definitions/ShootAchievementPrototype" } }, "shortcut": { "type": "object", "additionalProperties": { "$ref": "#/definitions/ShortcutPrototype" } }, "simple-entity": { "type": "object", "additionalProperties": { "$ref": "#/definitions/SimpleEntityPrototype" } }, "simple-entity-with-force": { "type": "object", "additionalProperties": { "$ref": "#/definitions/SimpleEntityWithForcePrototype" } }, "simple-entity-with-owner": { "type": "object", "additionalProperties": { "$ref": "#/definitions/SimpleEntityWithOwnerPrototype" } }, "smoke-with-trigger": { "type": "object", "additionalProperties": { "$ref": "#/definitions/SmokeWithTriggerPrototype" } }, "solar-panel-equipment": { "type": "object", "additionalProperties": { "$ref": "#/definitions/SolarPanelEquipmentPrototype" } }, "solar-panel": { "type": "object", "additionalProperties": { "$ref": "#/definitions/SolarPanelPrototype" } }, "sound": { "type": "object", "additionalProperties": { "$ref": "#/definitions/SoundPrototype" } }, "space-connection-distance-traveled-achievement": { "type": "object", "additionalProperties": { "$ref": "#/definitions/SpaceConnectionDistanceTraveledAchievementPrototype" } }, "space-connection": { "type": "object", "additionalProperties": { "$ref": "#/definitions/SpaceConnectionPrototype" } }, "space-location": { "type": "object", "additionalProperties": { "$ref": "#/definitions/SpaceLocationPrototype" } }, "space-platform-hub": { "type": "object", "additionalProperties": { "$ref": "#/definitions/SpacePlatformHubPrototype" } }, "space-platform-starter-pack": { "type": "object", "additionalProperties": { "$ref": "#/definitions/SpacePlatformStarterPackPrototype" } }, "spectator-controller": { "type": "object", "additionalProperties": { "$ref": "#/definitions/SpectatorControllerPrototype" } }, "speech-bubble": { "type": "object", "additionalProperties": { "$ref": "#/definitions/SpeechBubblePrototype" } }, "spider-leg": { "type": "object", "additionalProperties": { "$ref": "#/definitions/SpiderLegPrototype" } }, "spider-unit": { "type": "object", "additionalProperties": { "$ref": "#/definitions/SpiderUnitPrototype" } }, "spider-vehicle": { "type": "object", "additionalProperties": { "$ref": "#/definitions/SpiderVehiclePrototype" } }, "spidertron-remote": { "type": "object", "additionalProperties": { "$ref": "#/definitions/SpidertronRemotePrototype" } }, "splitter": { "type": "object", "additionalProperties": { "$ref": "#/definitions/SplitterPrototype" } }, "sprite": { "type": "object", "additionalProperties": { "$ref": "#/definitions/SpritePrototype" } }, "sticker": { "type": "object", "additionalProperties": { "$ref": "#/definitions/StickerPrototype" } }, "storage-tank": { "type": "object", "additionalProperties": { "$ref": "#/definitions/StorageTankPrototype" } }, "straight-rail": { "type": "object", "additionalProperties": { "$ref": "#/definitions/StraightRailPrototype" } }, "surface-property": { "type": "object", "additionalProperties": { "$ref": "#/definitions/SurfacePropertyPrototype" } }, "surface": { "type": "object", "additionalProperties": { "$ref": "#/definitions/SurfacePrototype" } }, "technology": { "type": "object", "additionalProperties": { "$ref": "#/definitions/TechnologyPrototype" } }, "temporary-container": { "type": "object", "additionalProperties": { "$ref": "#/definitions/TemporaryContainerPrototype" } }, "thruster": { "type": "object", "additionalProperties": { "$ref": "#/definitions/ThrusterPrototype" } }, "tile-effect": { "type": "object", "additionalProperties": { "$ref": "#/definitions/TileEffectDefinition" } }, "tile-ghost": { "type": "object", "additionalProperties": { "$ref": "#/definitions/TileGhostPrototype" } }, "tile": { "type": "object", "additionalProperties": { "$ref": "#/definitions/TilePrototype" } }, "tips-and-tricks-item": { "type": "object", "additionalProperties": { "$ref": "#/definitions/TipsAndTricksItem" } }, "tips-and-tricks-item-category": { "type": "object", "additionalProperties": { "$ref": "#/definitions/TipsAndTricksItemCategory" } }, "tool": { "type": "object", "additionalProperties": { "$ref": "#/definitions/ToolPrototype" } }, "train-path-achievement": { "type": "object", "additionalProperties": { "$ref": "#/definitions/TrainPathAchievementPrototype" } }, "train-stop": { "type": "object", "additionalProperties": { "$ref": "#/definitions/TrainStopPrototype" } }, "transport-belt": { "type": "object", "additionalProperties": { "$ref": "#/definitions/TransportBeltPrototype" } }, "tree": { "type": "object", "additionalProperties": { "$ref": "#/definitions/TreePrototype" } }, "trigger-target-type": { "type": "object", "additionalProperties": { "$ref": "#/definitions/TriggerTargetType" } }, "trivial-smoke": { "type": "object", "additionalProperties": { "$ref": "#/definitions/TrivialSmokePrototype" } }, "turret": { "type": "object", "additionalProperties": { "$ref": "#/definitions/TurretPrototype" } }, "tutorial": { "type": "object", "additionalProperties": { "$ref": "#/definitions/TutorialDefinition" } }, "underground-belt": { "type": "object", "additionalProperties": { "$ref": "#/definitions/UndergroundBeltPrototype" } }, "unit": { "type": "object", "additionalProperties": { "$ref": "#/definitions/UnitPrototype" } }, "upgrade-item": { "type": "object", "additionalProperties": { "$ref": "#/definitions/UpgradeItemPrototype" } }, "use-entity-in-energy-production-achievement": { "type": "object", "additionalProperties": { "$ref": "#/definitions/UseEntityInEnergyProductionAchievementPrototype" } }, "use-item-achievement": { "type": "object", "additionalProperties": { "$ref": "#/definitions/UseItemAchievementPrototype" } }, "utility-constants": { "type": "object", "additionalProperties": { "$ref": "#/definitions/UtilityConstants" } }, "utility-sounds": { "type": "object", "additionalProperties": { "$ref": "#/definitions/UtilitySounds" } }, "utility-sprites": { "type": "object", "additionalProperties": { "$ref": "#/definitions/UtilitySprites" } }, "virtual-signal": { "type": "object", "additionalProperties": { "$ref": "#/definitions/VirtualSignalPrototype" } }, "wall": { "type": "object", "additionalProperties": { "$ref": "#/definitions/WallPrototype" } } }, "definitions": { "ActivateEquipmentCapsuleAction": { "description": "https://lua-api.factorio.com/stable/types/ActivateEquipmentCapsuleAction.html", "type": "object", "properties": { "type": { "type": "string", "const": "equipment-remote" }, "equipment": { "$ref": "#/definitions/EquipmentID" } }, "required": [ "type", "equipment" ] }, "ActivateImpactTriggerEffectItem": { "description": "https://lua-api.factorio.com/stable/types/ActivateImpactTriggerEffectItem.html", "type": "object", "properties": { "repeat_count": { "$ref": "#/definitions/uint16" }, "repeat_count_deviation": { "$ref": "#/definitions/uint16" }, "probability": { "$ref": "#/definitions/float" }, "affects_target": { "$ref": "#/definitions/bool" }, "show_in_tooltip": { "$ref": "#/definitions/bool" }, "damage_type_filters": { "$ref": "#/definitions/DamageTypeFilters" }, "type": { "type": "string", "const": "activate-impact" }, "deliver_category": { "$ref": "#/definitions/string" } }, "required": [ "type" ] }, "ActivatePasteTipTrigger": { "description": "https://lua-api.factorio.com/stable/types/ActivatePasteTipTrigger.html", "type": "object", "properties": { "count": { "$ref": "#/definitions/uint32" }, "type": { "type": "string", "const": "activate-paste" } }, "required": [ "type" ] }, "ActiveTriggerID": { "description": "https://lua-api.factorio.com/stable/types/ActiveTriggerID.html", "anyOf": [ { "$ref": "#/definitions/string" } ] }, "ActivityBarStyleSpecification": { "description": "https://lua-api.factorio.com/stable/types/ActivityBarStyleSpecification.html", "type": "object", "properties": { "parent": { "$ref": "#/definitions/string" }, "horizontal_align": { "$ref": "#/definitions/HorizontalAlign" }, "vertical_align": { "$ref": "#/definitions/VerticalAlign" }, "ignored_by_search": { "$ref": "#/definitions/bool" }, "never_hide_by_search": { "$ref": "#/definitions/bool" }, "horizontally_stretchable": { "$ref": "#/definitions/StretchRule" }, "vertically_stretchable": { "$ref": "#/definitions/StretchRule" }, "horizontally_squashable": { "$ref": "#/definitions/StretchRule" }, "vertically_squashable": { "$ref": "#/definitions/StretchRule" }, "natural_size": { "anyOf": [ { "$ref": "#/definitions/uint32" }, { "type": "array", "items": [ { "$ref": "#/definitions/uint32" }, { "$ref": "#/definitions/uint32" } ], "minItems": 2, "maxItems": 2 } ] }, "size": { "anyOf": [ { "$ref": "#/definitions/uint32" }, { "type": "array", "items": [ { "$ref": "#/definitions/uint32" }, { "$ref": "#/definitions/uint32" } ], "minItems": 2, "maxItems": 2 } ] }, "width": { "$ref": "#/definitions/uint32" }, "minimal_width": { "$ref": "#/definitions/uint32" }, "maximal_width": { "$ref": "#/definitions/uint32" }, "natural_width": { "$ref": "#/definitions/uint32" }, "height": { "$ref": "#/definitions/uint32" }, "minimal_height": { "$ref": "#/definitions/uint32" }, "maximal_height": { "$ref": "#/definitions/uint32" }, "natural_height": { "$ref": "#/definitions/uint32" }, "padding": { "$ref": "#/definitions/int16" }, "top_padding": { "$ref": "#/definitions/int16" }, "right_padding": { "$ref": "#/definitions/int16" }, "bottom_padding": { "$ref": "#/definitions/int16" }, "left_padding": { "$ref": "#/definitions/int16" }, "margin": { "$ref": "#/definitions/int16" }, "top_margin": { "$ref": "#/definitions/int16" }, "right_margin": { "$ref": "#/definitions/int16" }, "bottom_margin": { "$ref": "#/definitions/int16" }, "left_margin": { "$ref": "#/definitions/int16" }, "effect": { "anyOf": [ { "type": "string", "const": "compilatron-hologram" } ] }, "effect_opacity": { "$ref": "#/definitions/float" }, "tooltip": { "$ref": "#/definitions/LocalisedString" }, "type": { "type": "string", "const": "activity_bar_style" }, "speed": { "$ref": "#/definitions/float" }, "bar_width": { "$ref": "#/definitions/uint32" }, "color": { "$ref": "#/definitions/Color" }, "bar_background": { "$ref": "#/definitions/ElementImageSet" }, "bar": { "$ref": "#/definitions/ElementImageSet" }, "bar_size_ratio": { "$ref": "#/definitions/float" } }, "required": [ "type" ] }, "ActivityMatchingModifiers": { "description": "https://lua-api.factorio.com/stable/types/ActivityMatchingModifiers.html", "type": "object", "properties": { "multiplier": { "$ref": "#/definitions/float" }, "minimum": { "$ref": "#/definitions/float" }, "maximum": { "$ref": "#/definitions/float" }, "offset": { "$ref": "#/definitions/float" }, "inverted": { "$ref": "#/definitions/bool" } } }, "AdvancedVolumeControl": { "description": "https://lua-api.factorio.com/stable/types/AdvancedVolumeControl.html", "type": "object", "properties": { "attenuation": { "$ref": "#/definitions/Fade" }, "fades": { "$ref": "#/definitions/Fades" }, "darkness_threshold": { "$ref": "#/definitions/float" } } }, "AggregationSpecification": { "description": "https://lua-api.factorio.com/stable/types/AggregationSpecification.html", "type": "object", "properties": { "max_count": { "$ref": "#/definitions/uint32" }, "progress_threshold": { "$ref": "#/definitions/float" }, "volume_reduction_rate": { "$ref": "#/definitions/float" }, "remove": { "$ref": "#/definitions/bool" }, "count_already_playing": { "$ref": "#/definitions/bool" }, "priority": { "anyOf": [ { "type": "string", "const": "closest" }, { "type": "string", "const": "farthest" }, { "type": "string", "const": "newest" }, { "type": "string", "const": "oldest" } ] } }, "required": [ "max_count", "remove" ] }, "AgriculturalCraneProperties": { "description": "https://lua-api.factorio.com/stable/types/AgriculturalCraneProperties.html", "type": "object", "properties": { "speed": { "$ref": "#/definitions/AgriculturalCraneSpeed" }, "min_arm_extent": { "$ref": "#/definitions/double" }, "min_grappler_extent": { "$ref": "#/definitions/double" }, "operation_angle": { "$ref": "#/definitions/float" }, "telescope_default_extention": { "$ref": "#/definitions/double" }, "origin": { "$ref": "#/definitions/Vector3D" }, "shadow_direction": { "$ref": "#/definitions/Vector3D" }, "parts": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/CranePart" } }, { "type": "object", "additionalProperties": false } ] } }, "required": [ "speed", "origin", "shadow_direction", "parts" ] }, "AgriculturalCraneSpeed": { "description": "https://lua-api.factorio.com/stable/types/AgriculturalCraneSpeed.html", "type": "object", "properties": { "arm": { "$ref": "#/definitions/AgriculturalCraneSpeedArm" }, "grappler": { "$ref": "#/definitions/AgriculturalCraneSpeedGrappler" } }, "required": [ "arm", "grappler" ] }, "AgriculturalCraneSpeedArm": { "description": "https://lua-api.factorio.com/stable/types/AgriculturalCraneSpeedArm.html", "type": "object", "properties": { "turn_rate": { "$ref": "#/definitions/double" }, "extension_speed": { "$ref": "#/definitions/double" } } }, "AgriculturalCraneSpeedGrappler": { "description": "https://lua-api.factorio.com/stable/types/AgriculturalCraneSpeedGrappler.html", "type": "object", "properties": { "vertical_turn_rate": { "$ref": "#/definitions/double" }, "horizontal_turn_rate": { "$ref": "#/definitions/double" }, "extension_speed": { "$ref": "#/definitions/double" }, "allow_transpolar_movement": { "$ref": "#/definitions/bool" } } }, "AirbornePollutantID": { "description": "https://lua-api.factorio.com/stable/types/AirbornePollutantID.html", "anyOf": [ { "$ref": "#/definitions/string" } ] }, "AlternativeBuildTipTrigger": { "description": "https://lua-api.factorio.com/stable/types/AlternativeBuildTipTrigger.html", "type": "object", "properties": { "count": { "$ref": "#/definitions/uint32" }, "type": { "type": "string", "const": "alternative-build" } }, "required": [ "type" ] }, "AmbientSoundType": { "description": "https://lua-api.factorio.com/stable/types/AmbientSoundType.html", "anyOf": [ { "type": "string", "const": "menu-track" }, { "type": "string", "const": "main-track" }, { "type": "string", "const": "hero-track" }, { "type": "string", "const": "interlude" } ] }, "AmmoCategoryID": { "description": "https://lua-api.factorio.com/stable/types/AmmoCategoryID.html", "anyOf": [ { "$ref": "#/definitions/string" } ] }, "AmmoDamageModifier": { "description": "https://lua-api.factorio.com/stable/types/AmmoDamageModifier.html", "type": "object", "properties": { "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "hidden": { "$ref": "#/definitions/bool" }, "type": { "type": "string", "const": "ammo-damage" }, "infer_icon": { "$ref": "#/definitions/bool" }, "use_icon_overlay_constant": { "$ref": "#/definitions/bool" }, "ammo_category": { "$ref": "#/definitions/AmmoCategoryID" }, "modifier": { "$ref": "#/definitions/double" } }, "required": [ "type", "ammo_category", "modifier" ] }, "AmmoSourceType": { "description": "https://lua-api.factorio.com/stable/types/AmmoSourceType.html", "anyOf": [ { "type": "string", "const": "default" }, { "type": "string", "const": "player" }, { "type": "string", "const": "turret" }, { "type": "string", "const": "vehicle" } ] }, "AmmoType": { "description": "https://lua-api.factorio.com/stable/types/AmmoType.html", "type": "object", "properties": { "action": { "$ref": "#/definitions/Trigger" }, "clamp_position": { "$ref": "#/definitions/bool" }, "energy_consumption": { "$ref": "#/definitions/Energy" }, "range_modifier": { "$ref": "#/definitions/double" }, "cooldown_modifier": { "$ref": "#/definitions/double" }, "consumption_modifier": { "$ref": "#/definitions/float" }, "target_type": { "anyOf": [ { "type": "string", "const": "entity" }, { "type": "string", "const": "position" }, { "type": "string", "const": "direction" } ] }, "source_type": { "$ref": "#/definitions/AmmoSourceType" }, "target_filter": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } } }, "AndTipTrigger": { "description": "https://lua-api.factorio.com/stable/types/AndTipTrigger.html", "type": "object", "properties": { "type": { "type": "string", "const": "and" }, "triggers": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TipTrigger" } }, { "type": "object", "additionalProperties": false } ] } }, "required": [ "type", "triggers" ] }, "AnimatedVector": { "description": "https://lua-api.factorio.com/stable/types/AnimatedVector.html", "type": "object", "properties": { "rotations": { "oneOf": [ { "type": "array", "items": { "type": "object", "properties": { "frames": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Vector" } }, { "type": "object", "additionalProperties": false } ] }, "render_layer": { "$ref": "#/definitions/RenderLayer" } }, "required": [ "frames" ] } }, { "type": "object", "additionalProperties": false } ] }, "render_layer": { "$ref": "#/definitions/RenderLayer" }, "direction_shift": { "type": "object", "properties": { "north": { "$ref": "#/definitions/Vector" }, "east": { "$ref": "#/definitions/Vector" }, "south": { "$ref": "#/definitions/Vector" }, "west": { "$ref": "#/definitions/Vector" } } } }, "required": [ "rotations" ] }, "Animation": { "description": "https://lua-api.factorio.com/stable/types/Animation.html", "type": "object", "properties": { "filename": { "$ref": "#/definitions/FileName" }, "size": { "anyOf": [ { "$ref": "#/definitions/SpriteSizeType" }, { "type": "array", "items": [ { "$ref": "#/definitions/SpriteSizeType" }, { "$ref": "#/definitions/SpriteSizeType" } ], "minItems": 2, "maxItems": 2 } ] }, "width": { "$ref": "#/definitions/SpriteSizeType" }, "height": { "$ref": "#/definitions/SpriteSizeType" }, "x": { "$ref": "#/definitions/SpriteSizeType" }, "y": { "$ref": "#/definitions/SpriteSizeType" }, "position": { "type": "array", "items": [ { "$ref": "#/definitions/SpriteSizeType" }, { "$ref": "#/definitions/SpriteSizeType" } ], "minItems": 2, "maxItems": 2 }, "load_in_minimal_mode": { "$ref": "#/definitions/bool" }, "premul_alpha": { "$ref": "#/definitions/bool" }, "allow_forced_downscale": { "$ref": "#/definitions/bool" }, "priority": { "$ref": "#/definitions/SpritePriority" }, "flags": { "$ref": "#/definitions/SpriteFlags" }, "shift": { "$ref": "#/definitions/Vector" }, "rotate_shift": { "$ref": "#/definitions/bool" }, "apply_special_effect": { "$ref": "#/definitions/bool" }, "scale": { "$ref": "#/definitions/double" }, "draw_as_shadow": { "$ref": "#/definitions/bool" }, "draw_as_glow": { "$ref": "#/definitions/bool" }, "draw_as_light": { "$ref": "#/definitions/bool" }, "mipmap_count": { "$ref": "#/definitions/uint8" }, "apply_runtime_tint": { "$ref": "#/definitions/bool" }, "tint_as_overlay": { "$ref": "#/definitions/bool" }, "invert_colors": { "$ref": "#/definitions/bool" }, "tint": { "$ref": "#/definitions/Color" }, "blend_mode": { "$ref": "#/definitions/BlendMode" }, "generate_sdf": { "$ref": "#/definitions/bool" }, "surface": { "$ref": "#/definitions/SpriteUsageSurfaceHint" }, "usage": { "$ref": "#/definitions/SpriteUsageHint" }, "run_mode": { "$ref": "#/definitions/AnimationRunMode" }, "frame_count": { "$ref": "#/definitions/uint32" }, "line_length": { "$ref": "#/definitions/uint32" }, "animation_speed": { "$ref": "#/definitions/float" }, "max_advance": { "$ref": "#/definitions/float" }, "repeat_count": { "$ref": "#/definitions/uint8" }, "dice": { "$ref": "#/definitions/uint8" }, "dice_x": { "$ref": "#/definitions/uint8" }, "dice_y": { "$ref": "#/definitions/uint8" }, "frame_sequence": { "$ref": "#/definitions/AnimationFrameSequence" }, "layers": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Animation" } }, { "type": "object", "additionalProperties": false } ] }, "stripes": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Stripe" } }, { "type": "object", "additionalProperties": false } ] }, "filenames": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/FileName" } }, { "type": "object", "additionalProperties": false } ] }, "slice": { "$ref": "#/definitions/uint32" }, "lines_per_file": { "$ref": "#/definitions/uint32" } } }, "Animation4Way": { "description": "https://lua-api.factorio.com/stable/types/Animation4Way.html", "anyOf": [ { "type": "object", "properties": { "north": { "$ref": "#/definitions/Animation" }, "north_east": { "$ref": "#/definitions/Animation" }, "east": { "$ref": "#/definitions/Animation" }, "south_east": { "$ref": "#/definitions/Animation" }, "south": { "$ref": "#/definitions/Animation" }, "south_west": { "$ref": "#/definitions/Animation" }, "west": { "$ref": "#/definitions/Animation" }, "north_west": { "$ref": "#/definitions/Animation" } }, "required": [ "north" ] }, { "$ref": "#/definitions/Animation" } ] }, "AnimationElement": { "description": "https://lua-api.factorio.com/stable/types/AnimationElement.html", "type": "object", "properties": { "render_layer": { "$ref": "#/definitions/RenderLayer" }, "secondary_draw_order": { "$ref": "#/definitions/int8" }, "apply_tint": { "$ref": "#/definitions/bool" }, "always_draw": { "$ref": "#/definitions/bool" }, "animation": { "$ref": "#/definitions/Animation" } } }, "AnimationFrameSequence": { "description": "https://lua-api.factorio.com/stable/types/AnimationFrameSequence.html", "oneOf": [ { "type": "array", "items": { "anyOf": [ { "$ref": "#/definitions/uint16" } ] } }, { "type": "object", "additionalProperties": false } ] }, "AnimationRunMode": { "description": "https://lua-api.factorio.com/stable/types/AnimationRunMode.html", "anyOf": [ { "type": "string", "const": "forward" }, { "type": "string", "const": "backward" }, { "type": "string", "const": "forward-then-backward" } ] }, "AnimationSheet": { "description": "https://lua-api.factorio.com/stable/types/AnimationSheet.html", "type": "object", "properties": { "filename": { "$ref": "#/definitions/FileName" }, "size": { "anyOf": [ { "$ref": "#/definitions/SpriteSizeType" }, { "type": "array", "items": [ { "$ref": "#/definitions/SpriteSizeType" }, { "$ref": "#/definitions/SpriteSizeType" } ], "minItems": 2, "maxItems": 2 } ] }, "width": { "$ref": "#/definitions/SpriteSizeType" }, "height": { "$ref": "#/definitions/SpriteSizeType" }, "x": { "$ref": "#/definitions/SpriteSizeType" }, "y": { "$ref": "#/definitions/SpriteSizeType" }, "position": { "type": "array", "items": [ { "$ref": "#/definitions/SpriteSizeType" }, { "$ref": "#/definitions/SpriteSizeType" } ], "minItems": 2, "maxItems": 2 }, "load_in_minimal_mode": { "$ref": "#/definitions/bool" }, "premul_alpha": { "$ref": "#/definitions/bool" }, "allow_forced_downscale": { "$ref": "#/definitions/bool" }, "priority": { "$ref": "#/definitions/SpritePriority" }, "flags": { "$ref": "#/definitions/SpriteFlags" }, "shift": { "$ref": "#/definitions/Vector" }, "rotate_shift": { "$ref": "#/definitions/bool" }, "apply_special_effect": { "$ref": "#/definitions/bool" }, "scale": { "$ref": "#/definitions/double" }, "draw_as_shadow": { "$ref": "#/definitions/bool" }, "draw_as_glow": { "$ref": "#/definitions/bool" }, "draw_as_light": { "$ref": "#/definitions/bool" }, "mipmap_count": { "$ref": "#/definitions/uint8" }, "apply_runtime_tint": { "$ref": "#/definitions/bool" }, "tint_as_overlay": { "$ref": "#/definitions/bool" }, "invert_colors": { "$ref": "#/definitions/bool" }, "tint": { "$ref": "#/definitions/Color" }, "blend_mode": { "$ref": "#/definitions/BlendMode" }, "generate_sdf": { "$ref": "#/definitions/bool" }, "surface": { "$ref": "#/definitions/SpriteUsageSurfaceHint" }, "usage": { "$ref": "#/definitions/SpriteUsageHint" }, "run_mode": { "$ref": "#/definitions/AnimationRunMode" }, "frame_count": { "$ref": "#/definitions/uint32" }, "line_length": { "$ref": "#/definitions/uint32" }, "animation_speed": { "$ref": "#/definitions/float" }, "max_advance": { "$ref": "#/definitions/float" }, "repeat_count": { "$ref": "#/definitions/uint8" }, "dice": { "$ref": "#/definitions/uint8" }, "dice_x": { "$ref": "#/definitions/uint8" }, "dice_y": { "$ref": "#/definitions/uint8" }, "frame_sequence": { "$ref": "#/definitions/AnimationFrameSequence" }, "variation_count": { "$ref": "#/definitions/uint32" }, "filenames": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/FileName" } }, { "type": "object", "additionalProperties": false } ] }, "lines_per_file": { "$ref": "#/definitions/uint32" } }, "required": [ "variation_count" ] }, "AnimationVariations": { "description": "https://lua-api.factorio.com/stable/types/AnimationVariations.html", "anyOf": [ { "type": "object", "properties": { "sheet": { "$ref": "#/definitions/AnimationSheet" }, "sheets": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/AnimationSheet" } }, { "type": "object", "additionalProperties": false } ] } } }, { "$ref": "#/definitions/Animation" }, { "oneOf": [ { "type": "array", "items": { "anyOf": [ { "$ref": "#/definitions/Animation" } ] } }, { "type": "object", "additionalProperties": false } ] } ] }, "ApplyStarterPackTipTrigger": { "description": "https://lua-api.factorio.com/stable/types/ApplyStarterPackTipTrigger.html", "type": "object", "properties": { "count": { "$ref": "#/definitions/uint32" }, "type": { "type": "string", "const": "apply-starter-pack" } }, "required": [ "type" ] }, "AreaTriggerItem": { "description": "https://lua-api.factorio.com/stable/types/AreaTriggerItem.html", "type": "object", "properties": { "entity_flags": { "$ref": "#/definitions/EntityPrototypeFlags" }, "collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "ignore_collision_condition": { "$ref": "#/definitions/bool" }, "trigger_target_mask": { "$ref": "#/definitions/TriggerTargetMask" }, "repeat_count": { "$ref": "#/definitions/uint32" }, "probability": { "$ref": "#/definitions/float" }, "action_delivery": { "anyOf": [ { "$ref": "#/definitions/TriggerDelivery" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TriggerDelivery" } }, { "type": "object", "additionalProperties": false } ] } ] }, "force": { "$ref": "#/definitions/ForceCondition" }, "type": { "type": "string", "const": "area" }, "radius": { "$ref": "#/definitions/double" }, "trigger_from_target": { "$ref": "#/definitions/bool" }, "target_entities": { "$ref": "#/definitions/bool" }, "target_enemies": { "$ref": "#/definitions/bool" }, "show_in_tooltip": { "$ref": "#/definitions/bool" }, "collision_mode": { "anyOf": [ { "type": "string", "const": "distance-from-collision-box" }, { "type": "string", "const": "distance-from-center" } ] } }, "required": [ "type", "radius" ] }, "ArtilleryRangeModifier": { "description": "https://lua-api.factorio.com/stable/types/ArtilleryRangeModifier.html", "type": "object", "properties": { "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "hidden": { "$ref": "#/definitions/bool" }, "modifier": { "$ref": "#/definitions/double" }, "type": { "type": "string", "const": "artillery-range" }, "infer_icon": { "$ref": "#/definitions/bool" }, "use_icon_overlay_constant": { "$ref": "#/definitions/bool" } }, "required": [ "modifier", "type" ] }, "ArtilleryRemoteCapsuleAction": { "description": "https://lua-api.factorio.com/stable/types/ArtilleryRemoteCapsuleAction.html", "type": "object", "properties": { "type": { "type": "string", "const": "artillery-remote" }, "flare": { "$ref": "#/definitions/EntityID" }, "play_sound_on_failure": { "$ref": "#/definitions/bool" } }, "required": [ "type", "flare" ] }, "ArtilleryTriggerDelivery": { "description": "https://lua-api.factorio.com/stable/types/ArtilleryTriggerDelivery.html", "type": "object", "properties": { "source_effects": { "$ref": "#/definitions/TriggerEffect" }, "target_effects": { "$ref": "#/definitions/TriggerEffect" }, "type": { "type": "string", "const": "artillery" }, "projectile": { "$ref": "#/definitions/EntityID" }, "starting_speed": { "$ref": "#/definitions/float" }, "starting_speed_deviation": { "$ref": "#/definitions/float" }, "direction_deviation": { "$ref": "#/definitions/float" }, "range_deviation": { "$ref": "#/definitions/float" }, "trigger_fired_artillery": { "$ref": "#/definitions/bool" } }, "required": [ "type", "projectile", "starting_speed" ] }, "AsteroidChunkID": { "description": "https://lua-api.factorio.com/stable/types/AsteroidChunkID.html", "anyOf": [ { "$ref": "#/definitions/string" } ] }, "AsteroidGraphicsSet": { "description": "https://lua-api.factorio.com/stable/types/AsteroidGraphicsSet.html", "type": "object", "properties": { "rotation_speed": { "$ref": "#/definitions/float" }, "normal_strength": { "$ref": "#/definitions/float" }, "light_width": { "$ref": "#/definitions/float" }, "brightness": { "$ref": "#/definitions/float" }, "specular_strength": { "$ref": "#/definitions/float" }, "specular_power": { "$ref": "#/definitions/float" }, "specular_purity": { "$ref": "#/definitions/float" }, "sss_contrast": { "$ref": "#/definitions/float" }, "sss_amount": { "$ref": "#/definitions/float" }, "sprite": { "$ref": "#/definitions/Sprite" }, "variations": { "anyOf": [ { "$ref": "#/definitions/AsteroidVariation" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/AsteroidVariation" } }, { "type": "object", "additionalProperties": false } ] } ] }, "lights": { "anyOf": [ { "$ref": "#/definitions/LightProperties" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/LightProperties" } }, { "type": "object", "additionalProperties": false } ] } ] }, "ambient_light": { "$ref": "#/definitions/Color" } } }, "AsteroidSettings": { "description": "https://lua-api.factorio.com/stable/types/AsteroidSettings.html", "type": "object", "properties": { "spawning_rate": { "$ref": "#/definitions/double" }, "max_ray_portals_expanded_per_tick": { "$ref": "#/definitions/uint32" } }, "required": [ "spawning_rate", "max_ray_portals_expanded_per_tick" ] }, "AsteroidVariation": { "description": "https://lua-api.factorio.com/stable/types/AsteroidVariation.html", "type": "object", "properties": { "color_texture": { "$ref": "#/definitions/Sprite" }, "normal_map": { "$ref": "#/definitions/Sprite" }, "roughness_map": { "$ref": "#/definitions/Sprite" }, "shadow_shift": { "$ref": "#/definitions/Vector" } }, "required": [ "color_texture", "normal_map", "roughness_map" ] }, "AttackParameters": { "description": "https://lua-api.factorio.com/stable/types/AttackParameters.html", "anyOf": [ { "$ref": "#/definitions/ProjectileAttackParameters" }, { "$ref": "#/definitions/BeamAttackParameters" }, { "$ref": "#/definitions/StreamAttackParameters" } ] }, "AttackReactionItem": { "description": "https://lua-api.factorio.com/stable/types/AttackReactionItem.html", "type": "object", "properties": { "range": { "$ref": "#/definitions/float" }, "action": { "$ref": "#/definitions/Trigger" }, "reaction_modifier": { "$ref": "#/definitions/float" }, "damage_type": { "$ref": "#/definitions/DamageTypeID" } }, "required": [ "range" ] }, "AttenuationType": { "description": "https://lua-api.factorio.com/stable/types/AttenuationType.html", "anyOf": [ { "type": "string", "const": "none" }, { "type": "string", "const": "linear" }, { "type": "string", "const": "logarithmic" }, { "type": "string", "const": "exponential" }, { "type": "string", "const": "cosine" }, { "type": "string", "const": "S-curve" } ] }, "AutoplaceControlID": { "description": "https://lua-api.factorio.com/stable/types/AutoplaceControlID.html", "anyOf": [ { "$ref": "#/definitions/string" } ] }, "AutoplaceSettings": { "description": "https://lua-api.factorio.com/stable/types/AutoplaceSettings.html", "type": "object", "properties": { "treat_missing_as_default": { "$ref": "#/definitions/bool" }, "settings": { "type": "object", "additionalProperties": { "$ref": "#/definitions/FrequencySizeRichness" }, "propertyNames": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "$ref": "#/definitions/TileID" }, { "$ref": "#/definitions/DecorativeID" } ] } } } }, "AutoplaceSpecification": { "description": "https://lua-api.factorio.com/stable/types/AutoplaceSpecification.html", "type": "object", "properties": { "control": { "$ref": "#/definitions/AutoplaceControlID" }, "default_enabled": { "$ref": "#/definitions/bool" }, "force": { "anyOf": [ { "type": "string", "const": "enemy" }, { "type": "string", "const": "player" }, { "type": "string", "const": "neutral" }, { "$ref": "#/definitions/string" } ] }, "order": { "$ref": "#/definitions/Order" }, "placement_density": { "$ref": "#/definitions/uint32" }, "tile_restriction": { "oneOf": [ { "type": "array", "items": { "anyOf": [ { "$ref": "#/definitions/TileID" }, { "type": "array", "items": [ { "$ref": "#/definitions/TileID" }, { "$ref": "#/definitions/TileID" } ], "minItems": 2, "maxItems": 2 } ] } }, { "type": "object", "additionalProperties": false } ] }, "probability_expression": { "$ref": "#/definitions/NoiseExpression" }, "richness_expression": { "$ref": "#/definitions/NoiseExpression" }, "local_expressions": { "type": "object", "additionalProperties": { "$ref": "#/definitions/NoiseExpression" }, "propertyNames": { "$ref": "#/definitions/string" } }, "local_functions": { "type": "object", "additionalProperties": { "$ref": "#/definitions/NoiseFunction" }, "propertyNames": { "$ref": "#/definitions/string" } } }, "required": [ "probability_expression" ] }, "BeaconDistributionModifier": { "description": "https://lua-api.factorio.com/stable/types/BeaconDistributionModifier.html", "type": "object", "properties": { "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "hidden": { "$ref": "#/definitions/bool" }, "modifier": { "$ref": "#/definitions/double" }, "type": { "type": "string", "const": "beacon-distribution" }, "infer_icon": { "$ref": "#/definitions/bool" }, "use_icon_overlay_constant": { "$ref": "#/definitions/bool" } }, "required": [ "modifier", "type" ] }, "BeaconGraphicsSet": { "description": "https://lua-api.factorio.com/stable/types/BeaconGraphicsSet.html", "type": "object", "properties": { "draw_animation_when_idle": { "$ref": "#/definitions/bool" }, "draw_light_when_idle": { "$ref": "#/definitions/bool" }, "random_animation_offset": { "$ref": "#/definitions/bool" }, "module_icons_suppressed": { "$ref": "#/definitions/bool" }, "reset_animation_when_frozen": { "$ref": "#/definitions/bool" }, "base_layer": { "$ref": "#/definitions/RenderLayer" }, "animation_layer": { "$ref": "#/definitions/RenderLayer" }, "top_layer": { "$ref": "#/definitions/RenderLayer" }, "animation_progress": { "$ref": "#/definitions/float" }, "apply_module_tint": { "$ref": "#/definitions/ModuleTint" }, "no_modules_tint": { "$ref": "#/definitions/Color" }, "animation_list": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/AnimationElement" } }, { "type": "object", "additionalProperties": false } ] }, "frozen_patch": { "$ref": "#/definitions/Sprite" }, "light": { "$ref": "#/definitions/LightDefinition" }, "module_visualisations": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/BeaconModuleVisualizations" } }, { "type": "object", "additionalProperties": false } ] }, "module_tint_mode": { "anyOf": [ { "type": "string", "const": "single-module" }, { "type": "string", "const": "mix" } ] } } }, "BeaconModuleVisualization": { "description": "https://lua-api.factorio.com/stable/types/BeaconModuleVisualization.html", "type": "object", "properties": { "has_empty_slot": { "$ref": "#/definitions/bool" }, "secondary_draw_order": { "$ref": "#/definitions/int8" }, "apply_module_tint": { "$ref": "#/definitions/ModuleTint" }, "render_layer": { "$ref": "#/definitions/RenderLayer" }, "pictures": { "$ref": "#/definitions/SpriteVariations" } } }, "BeaconModuleVisualizations": { "description": "https://lua-api.factorio.com/stable/types/BeaconModuleVisualizations.html", "type": "object", "properties": { "art_style": { "$ref": "#/definitions/string" }, "use_for_empty_slots": { "$ref": "#/definitions/bool" }, "tier_offset": { "$ref": "#/definitions/int32" }, "slots": { "oneOf": [ { "type": "array", "items": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/BeaconModuleVisualization" } }, { "type": "object", "additionalProperties": false } ] } }, { "type": "object", "additionalProperties": false } ] } }, "required": [ "art_style" ] }, "BeamAnimationSet": { "description": "https://lua-api.factorio.com/stable/types/BeamAnimationSet.html", "type": "object", "properties": { "start": { "$ref": "#/definitions/Animation" }, "ending": { "$ref": "#/definitions/Animation" }, "head": { "$ref": "#/definitions/Animation" }, "tail": { "$ref": "#/definitions/Animation" }, "body": { "$ref": "#/definitions/AnimationVariations" }, "render_layer": { "$ref": "#/definitions/RenderLayer" } } }, "BeamAttackParameters": { "description": "https://lua-api.factorio.com/stable/types/BeamAttackParameters.html", "type": "object", "properties": { "range": { "$ref": "#/definitions/float" }, "cooldown": { "$ref": "#/definitions/float" }, "min_range": { "$ref": "#/definitions/float" }, "turn_range": { "$ref": "#/definitions/float" }, "fire_penalty": { "$ref": "#/definitions/float" }, "rotate_penalty": { "$ref": "#/definitions/float" }, "health_penalty": { "$ref": "#/definitions/float" }, "range_mode": { "$ref": "#/definitions/RangeMode" }, "min_attack_distance": { "$ref": "#/definitions/float" }, "damage_modifier": { "$ref": "#/definitions/float" }, "ammo_consumption_modifier": { "$ref": "#/definitions/float" }, "cooldown_deviation": { "$ref": "#/definitions/float" }, "warmup": { "$ref": "#/definitions/uint32" }, "lead_target_for_projectile_speed": { "$ref": "#/definitions/float" }, "lead_target_for_projectile_delay": { "$ref": "#/definitions/uint32" }, "movement_slow_down_cooldown": { "$ref": "#/definitions/float" }, "movement_slow_down_factor": { "$ref": "#/definitions/double" }, "ammo_type": { "$ref": "#/definitions/AmmoType" }, "activation_type": { "anyOf": [ { "type": "string", "const": "shoot" }, { "type": "string", "const": "throw" }, { "type": "string", "const": "consume" }, { "type": "string", "const": "activate" } ] }, "sound": { "$ref": "#/definitions/LayeredSound" }, "animation": { "$ref": "#/definitions/RotatedAnimation" }, "cyclic_sound": { "$ref": "#/definitions/CyclicSound" }, "use_shooter_direction": { "$ref": "#/definitions/bool" }, "ammo_categories": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/AmmoCategoryID" } }, { "type": "object", "additionalProperties": false } ] }, "ammo_category": { "$ref": "#/definitions/AmmoCategoryID" }, "type": { "type": "string", "const": "beam" }, "source_direction_count": { "$ref": "#/definitions/uint32" }, "source_offset": { "$ref": "#/definitions/Vector" } }, "required": [ "range", "cooldown", "type" ] }, "BeamGraphicsSet": { "description": "https://lua-api.factorio.com/stable/types/BeamGraphicsSet.html", "type": "object", "properties": { "beam": { "$ref": "#/definitions/BeamAnimationSet" }, "ground": { "$ref": "#/definitions/BeamAnimationSet" }, "desired_segment_length": { "$ref": "#/definitions/float" }, "random_end_animation_rotation": { "$ref": "#/definitions/bool" }, "transparent_start_end_animations": { "$ref": "#/definitions/bool" }, "randomize_animation_per_segment": { "$ref": "#/definitions/bool" } } }, "BeamTriggerDelivery": { "description": "https://lua-api.factorio.com/stable/types/BeamTriggerDelivery.html", "type": "object", "properties": { "source_effects": { "$ref": "#/definitions/TriggerEffect" }, "target_effects": { "$ref": "#/definitions/TriggerEffect" }, "type": { "type": "string", "const": "beam" }, "beam": { "$ref": "#/definitions/EntityID" }, "add_to_shooter": { "$ref": "#/definitions/bool" }, "max_length": { "$ref": "#/definitions/uint32" }, "duration": { "$ref": "#/definitions/uint32" }, "source_offset": { "$ref": "#/definitions/Vector" }, "destroy_with_source_or_target": { "$ref": "#/definitions/bool" } }, "required": [ "type", "beam" ] }, "BeltReaderLayer": { "description": "https://lua-api.factorio.com/stable/types/BeltReaderLayer.html", "type": "object", "properties": { "render_layer": { "$ref": "#/definitions/RenderLayer" }, "sprites": { "$ref": "#/definitions/RotatedAnimation" } }, "required": [ "sprites" ] }, "BeltStackSizeBonusModifier": { "description": "https://lua-api.factorio.com/stable/types/BeltStackSizeBonusModifier.html", "type": "object", "properties": { "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "hidden": { "$ref": "#/definitions/bool" }, "modifier": { "$ref": "#/definitions/double" }, "type": { "type": "string", "const": "belt-stack-size-bonus" }, "use_icon_overlay_constant": { "$ref": "#/definitions/bool" } }, "required": [ "modifier", "type" ] }, "BeltTraverseTipTrigger": { "description": "https://lua-api.factorio.com/stable/types/BeltTraverseTipTrigger.html", "type": "object", "properties": { "count": { "$ref": "#/definitions/uint32" }, "type": { "type": "string", "const": "belt-traverse" } }, "required": [ "type" ] }, "BlendMode": { "description": "https://lua-api.factorio.com/stable/types/BlendMode.html", "anyOf": [ { "type": "string", "const": "normal" }, { "type": "string", "const": "additive" }, { "type": "string", "const": "additive-soft" }, { "type": "string", "const": "multiplicative" }, { "type": "string", "const": "multiplicative-with-alpha" }, { "type": "string", "const": "overwrite" } ] }, "BoilerPictures": { "description": "https://lua-api.factorio.com/stable/types/BoilerPictures.html", "type": "object", "properties": { "structure": { "$ref": "#/definitions/Animation" }, "patch": { "$ref": "#/definitions/Sprite" }, "fire": { "$ref": "#/definitions/Animation" }, "fire_glow": { "$ref": "#/definitions/Animation" } }, "required": [ "structure" ] }, "BorderImageSet": { "description": "https://lua-api.factorio.com/stable/types/BorderImageSet.html", "type": "object", "properties": { "scale": { "$ref": "#/definitions/double" }, "border_width": { "$ref": "#/definitions/int32" }, "vertical_line": { "$ref": "#/definitions/Sprite" }, "horizontal_line": { "$ref": "#/definitions/Sprite" }, "top_right_corner": { "$ref": "#/definitions/Sprite" }, "bottom_right_corner": { "$ref": "#/definitions/Sprite" }, "bottom_left_corner": { "$ref": "#/definitions/Sprite" }, "top_left_coner": { "$ref": "#/definitions/Sprite" }, "top_t": { "$ref": "#/definitions/Sprite" }, "right_t": { "$ref": "#/definitions/Sprite" }, "bottom_t": { "$ref": "#/definitions/Sprite" }, "left_t": { "$ref": "#/definitions/Sprite" }, "cross": { "$ref": "#/definitions/Sprite" }, "top_end": { "$ref": "#/definitions/Sprite" }, "right_end": { "$ref": "#/definitions/Sprite" }, "bottom_end": { "$ref": "#/definitions/Sprite" }, "left_end": { "$ref": "#/definitions/Sprite" } } }, "BoundingBox": { "description": "https://lua-api.factorio.com/stable/types/BoundingBox.html", "anyOf": [ { "type": "object", "properties": { "left_top": { "$ref": "#/definitions/MapPosition" }, "right_bottom": { "$ref": "#/definitions/MapPosition" }, "orientation": { "$ref": "#/definitions/RealOrientation" } }, "required": [ "left_top", "right_bottom" ] }, { "type": "array", "items": [ { "anyOf": [ { "$ref": "#/definitions/MapPosition" } ] }, { "anyOf": [ { "$ref": "#/definitions/MapPosition" } ] } ], "minItems": 2, "maxItems": 2 }, { "type": "array", "items": [ { "anyOf": [ { "$ref": "#/definitions/MapPosition" } ] }, { "anyOf": [ { "$ref": "#/definitions/MapPosition" } ] }, { "$ref": "#/definitions/float" } ], "minItems": 3, "maxItems": 3 } ] }, "BoxSpecification": { "description": "https://lua-api.factorio.com/stable/types/BoxSpecification.html", "type": "object", "properties": { "sprite": { "$ref": "#/definitions/Sprite" }, "is_whole_box": { "$ref": "#/definitions/bool" }, "side_length": { "$ref": "#/definitions/double" }, "side_height": { "$ref": "#/definitions/double" }, "max_side_length": { "$ref": "#/definitions/double" } }, "required": [ "sprite" ] }, "BuildEntityByRobotTipTrigger": { "description": "https://lua-api.factorio.com/stable/types/BuildEntityByRobotTipTrigger.html", "type": "object", "properties": { "count": { "$ref": "#/definitions/uint32" }, "type": { "type": "string", "const": "build-entity-by-robot" } }, "required": [ "type" ] }, "BuildEntityTechnologyTrigger": { "description": "https://lua-api.factorio.com/stable/types/BuildEntityTechnologyTrigger.html", "type": "object", "properties": { "type": { "type": "string", "const": "build-entity" }, "entity": { "$ref": "#/definitions/EntityIDFilter" } }, "required": [ "type", "entity" ] }, "BuildEntityTipTrigger": { "description": "https://lua-api.factorio.com/stable/types/BuildEntityTipTrigger.html", "type": "object", "properties": { "count": { "$ref": "#/definitions/uint32" }, "type": { "type": "string", "const": "build-entity" }, "entity": { "$ref": "#/definitions/EntityID" }, "match_type_only": { "$ref": "#/definitions/bool" }, "build_by_dragging": { "$ref": "#/definitions/bool" }, "consecutive": { "$ref": "#/definitions/bool" }, "linear_power_pole_line": { "$ref": "#/definitions/bool" }, "build_in_line": { "$ref": "#/definitions/bool" }, "quality": { "$ref": "#/definitions/QualityID" } }, "required": [ "type" ] }, "BuildMode": { "description": "https://lua-api.factorio.com/stable/types/BuildMode.html", "anyOf": [ { "type": "string", "const": "normal" }, { "type": "string", "const": "forced" }, { "type": "string", "const": "superforced" } ] }, "BulkInserterCapacityBonusModifier": { "description": "https://lua-api.factorio.com/stable/types/BulkInserterCapacityBonusModifier.html", "type": "object", "properties": { "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "hidden": { "$ref": "#/definitions/bool" }, "modifier": { "$ref": "#/definitions/double" }, "type": { "type": "string", "const": "bulk-inserter-capacity-bonus" }, "infer_icon": { "$ref": "#/definitions/bool" }, "use_icon_overlay_constant": { "$ref": "#/definitions/bool" } }, "required": [ "modifier", "type" ] }, "BurnerEnergySource": { "description": "https://lua-api.factorio.com/stable/types/BurnerEnergySource.html", "type": "object", "properties": { "emissions_per_minute": { "type": "object", "additionalProperties": { "$ref": "#/definitions/double" }, "propertyNames": { "$ref": "#/definitions/AirbornePollutantID" } }, "render_no_power_icon": { "$ref": "#/definitions/bool" }, "render_no_network_icon": { "$ref": "#/definitions/bool" }, "type": { "type": "string", "const": "burner" }, "fuel_inventory_size": { "$ref": "#/definitions/ItemStackIndex" }, "burnt_inventory_size": { "$ref": "#/definitions/ItemStackIndex" }, "smoke": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SmokeSource" } }, { "type": "object", "additionalProperties": false } ] }, "light_flicker": { "$ref": "#/definitions/LightFlickeringDefinition" }, "effectivity": { "$ref": "#/definitions/double" }, "burner_usage": { "$ref": "#/definitions/BurnerUsageID" }, "fuel_categories": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/FuelCategoryID" } }, { "type": "object", "additionalProperties": false } ] }, "initial_fuel": { "$ref": "#/definitions/ItemID" }, "initial_fuel_percent": { "$ref": "#/definitions/double" } }, "required": [ "type", "fuel_inventory_size" ] }, "BurnerUsageID": { "description": "https://lua-api.factorio.com/stable/types/BurnerUsageID.html", "anyOf": [ { "$ref": "#/definitions/string" } ] }, "ButtonStyleSpecification": { "description": "https://lua-api.factorio.com/stable/types/ButtonStyleSpecification.html", "type": "object", "properties": { "parent": { "$ref": "#/definitions/string" }, "horizontal_align": { "$ref": "#/definitions/HorizontalAlign" }, "vertical_align": { "$ref": "#/definitions/VerticalAlign" }, "ignored_by_search": { "$ref": "#/definitions/bool" }, "never_hide_by_search": { "$ref": "#/definitions/bool" }, "horizontally_stretchable": { "$ref": "#/definitions/StretchRule" }, "vertically_stretchable": { "$ref": "#/definitions/StretchRule" }, "horizontally_squashable": { "$ref": "#/definitions/StretchRule" }, "vertically_squashable": { "$ref": "#/definitions/StretchRule" }, "natural_size": { "anyOf": [ { "$ref": "#/definitions/uint32" }, { "type": "array", "items": [ { "$ref": "#/definitions/uint32" }, { "$ref": "#/definitions/uint32" } ], "minItems": 2, "maxItems": 2 } ] }, "size": { "anyOf": [ { "$ref": "#/definitions/uint32" }, { "type": "array", "items": [ { "$ref": "#/definitions/uint32" }, { "$ref": "#/definitions/uint32" } ], "minItems": 2, "maxItems": 2 } ] }, "width": { "$ref": "#/definitions/uint32" }, "minimal_width": { "$ref": "#/definitions/uint32" }, "maximal_width": { "$ref": "#/definitions/uint32" }, "natural_width": { "$ref": "#/definitions/uint32" }, "height": { "$ref": "#/definitions/uint32" }, "minimal_height": { "$ref": "#/definitions/uint32" }, "maximal_height": { "$ref": "#/definitions/uint32" }, "natural_height": { "$ref": "#/definitions/uint32" }, "padding": { "$ref": "#/definitions/int16" }, "top_padding": { "$ref": "#/definitions/int16" }, "right_padding": { "$ref": "#/definitions/int16" }, "bottom_padding": { "$ref": "#/definitions/int16" }, "left_padding": { "$ref": "#/definitions/int16" }, "margin": { "$ref": "#/definitions/int16" }, "top_margin": { "$ref": "#/definitions/int16" }, "right_margin": { "$ref": "#/definitions/int16" }, "bottom_margin": { "$ref": "#/definitions/int16" }, "left_margin": { "$ref": "#/definitions/int16" }, "effect": { "anyOf": [ { "type": "string", "const": "compilatron-hologram" } ] }, "effect_opacity": { "$ref": "#/definitions/float" }, "tooltip": { "$ref": "#/definitions/LocalisedString" }, "default_graphical_set": { "$ref": "#/definitions/ElementImageSet" }, "hovered_graphical_set": { "$ref": "#/definitions/ElementImageSet" }, "clicked_graphical_set": { "$ref": "#/definitions/ElementImageSet" }, "disabled_graphical_set": { "$ref": "#/definitions/ElementImageSet" }, "selected_graphical_set": { "$ref": "#/definitions/ElementImageSet" }, "selected_hovered_graphical_set": { "$ref": "#/definitions/ElementImageSet" }, "game_controller_selected_hovered_graphical_set": { "$ref": "#/definitions/ElementImageSet" }, "selected_clicked_graphical_set": { "$ref": "#/definitions/ElementImageSet" }, "left_click_sound": { "$ref": "#/definitions/Sound" }, "type": { "type": "string", "const": "button_style" }, "font": { "$ref": "#/definitions/string" }, "default_font_color": { "$ref": "#/definitions/Color" }, "hovered_font_color": { "$ref": "#/definitions/Color" }, "clicked_font_color": { "$ref": "#/definitions/Color" }, "disabled_font_color": { "$ref": "#/definitions/Color" }, "selected_font_color": { "$ref": "#/definitions/Color" }, "selected_hovered_font_color": { "$ref": "#/definitions/Color" }, "selected_clicked_font_color": { "$ref": "#/definitions/Color" }, "strikethrough_color": { "$ref": "#/definitions/Color" }, "pie_progress_color": { "$ref": "#/definitions/Color" }, "clicked_vertical_offset": { "$ref": "#/definitions/uint32" }, "draw_shadow_under_picture": { "$ref": "#/definitions/bool" }, "draw_grayscale_picture": { "$ref": "#/definitions/bool" }, "invert_colors_of_picture_when_hovered_or_toggled": { "$ref": "#/definitions/bool" }, "invert_colors_of_picture_when_disabled": { "$ref": "#/definitions/bool" }, "icon_horizontal_align": { "$ref": "#/definitions/HorizontalAlign" } }, "required": [ "type" ] }, "CameraEffectTriggerEffectItem": { "description": "https://lua-api.factorio.com/stable/types/CameraEffectTriggerEffectItem.html", "type": "object", "properties": { "repeat_count": { "$ref": "#/definitions/uint16" }, "repeat_count_deviation": { "$ref": "#/definitions/uint16" }, "probability": { "$ref": "#/definitions/float" }, "affects_target": { "$ref": "#/definitions/bool" }, "show_in_tooltip": { "$ref": "#/definitions/bool" }, "damage_type_filters": { "$ref": "#/definitions/DamageTypeFilters" }, "type": { "type": "string", "const": "camera-effect" }, "duration": { "$ref": "#/definitions/uint8" }, "ease_in_duration": { "$ref": "#/definitions/uint8" }, "ease_out_duration": { "$ref": "#/definitions/uint8" }, "delay": { "$ref": "#/definitions/uint8" }, "full_strength_max_distance": { "$ref": "#/definitions/uint16" }, "max_distance": { "$ref": "#/definitions/uint16" }, "strength": { "$ref": "#/definitions/float" } }, "required": [ "type", "duration" ] }, "CameraStyleSpecification": { "description": "https://lua-api.factorio.com/stable/types/CameraStyleSpecification.html", "type": "object", "properties": { "parent": { "$ref": "#/definitions/string" }, "horizontal_align": { "$ref": "#/definitions/HorizontalAlign" }, "vertical_align": { "$ref": "#/definitions/VerticalAlign" }, "ignored_by_search": { "$ref": "#/definitions/bool" }, "never_hide_by_search": { "$ref": "#/definitions/bool" }, "horizontally_stretchable": { "$ref": "#/definitions/StretchRule" }, "vertically_stretchable": { "$ref": "#/definitions/StretchRule" }, "horizontally_squashable": { "$ref": "#/definitions/StretchRule" }, "vertically_squashable": { "$ref": "#/definitions/StretchRule" }, "natural_size": { "anyOf": [ { "$ref": "#/definitions/uint32" }, { "type": "array", "items": [ { "$ref": "#/definitions/uint32" }, { "$ref": "#/definitions/uint32" } ], "minItems": 2, "maxItems": 2 } ] }, "size": { "anyOf": [ { "$ref": "#/definitions/uint32" }, { "type": "array", "items": [ { "$ref": "#/definitions/uint32" }, { "$ref": "#/definitions/uint32" } ], "minItems": 2, "maxItems": 2 } ] }, "width": { "$ref": "#/definitions/uint32" }, "minimal_width": { "$ref": "#/definitions/uint32" }, "maximal_width": { "$ref": "#/definitions/uint32" }, "natural_width": { "$ref": "#/definitions/uint32" }, "height": { "$ref": "#/definitions/uint32" }, "minimal_height": { "$ref": "#/definitions/uint32" }, "maximal_height": { "$ref": "#/definitions/uint32" }, "natural_height": { "$ref": "#/definitions/uint32" }, "padding": { "$ref": "#/definitions/int16" }, "top_padding": { "$ref": "#/definitions/int16" }, "right_padding": { "$ref": "#/definitions/int16" }, "bottom_padding": { "$ref": "#/definitions/int16" }, "left_padding": { "$ref": "#/definitions/int16" }, "margin": { "$ref": "#/definitions/int16" }, "top_margin": { "$ref": "#/definitions/int16" }, "right_margin": { "$ref": "#/definitions/int16" }, "bottom_margin": { "$ref": "#/definitions/int16" }, "left_margin": { "$ref": "#/definitions/int16" }, "effect": { "anyOf": [ { "type": "string", "const": "compilatron-hologram" } ] }, "effect_opacity": { "$ref": "#/definitions/float" }, "tooltip": { "$ref": "#/definitions/LocalisedString" }, "type": { "type": "string", "const": "camera_style" }, "graphical_set": { "$ref": "#/definitions/ElementImageSet" } }, "required": [ "type" ] }, "CapsuleAction": { "description": "https://lua-api.factorio.com/stable/types/CapsuleAction.html", "anyOf": [ { "$ref": "#/definitions/ThrowCapsuleAction" }, { "$ref": "#/definitions/ActivateEquipmentCapsuleAction" }, { "$ref": "#/definitions/UseOnSelfCapsuleAction" }, { "$ref": "#/definitions/DestroyCliffsCapsuleAction" }, { "$ref": "#/definitions/ArtilleryRemoteCapsuleAction" } ] }, "CaptureSpawnerTechnologyTrigger": { "description": "https://lua-api.factorio.com/stable/types/CaptureSpawnerTechnologyTrigger.html", "type": "object", "properties": { "type": { "type": "string", "const": "capture-spawner" }, "entity": { "$ref": "#/definitions/EntityID" } }, "required": [ "type" ] }, "CargoBayConnectableGraphicsSet": { "description": "https://lua-api.factorio.com/stable/types/CargoBayConnectableGraphicsSet.html", "type": "object", "properties": { "picture": { "$ref": "#/definitions/LayeredSprite" }, "animation": { "$ref": "#/definitions/Animation" }, "animation_render_layer": { "$ref": "#/definitions/RenderLayer" }, "connections": { "$ref": "#/definitions/CargoBayConnections" } } }, "CargoBayConnections": { "description": "https://lua-api.factorio.com/stable/types/CargoBayConnections.html", "type": "object", "properties": { "top_wall": { "$ref": "#/definitions/LayeredSpriteVariations" }, "right_wall": { "$ref": "#/definitions/LayeredSpriteVariations" }, "bottom_wall": { "$ref": "#/definitions/LayeredSpriteVariations" }, "left_wall": { "$ref": "#/definitions/LayeredSpriteVariations" }, "top_left_outer_corner": { "$ref": "#/definitions/LayeredSpriteVariations" }, "top_right_outer_corner": { "$ref": "#/definitions/LayeredSpriteVariations" }, "bottom_left_outer_corner": { "$ref": "#/definitions/LayeredSpriteVariations" }, "bottom_right_outer_corner": { "$ref": "#/definitions/LayeredSpriteVariations" }, "top_left_inner_corner": { "$ref": "#/definitions/LayeredSpriteVariations" }, "top_right_inner_corner": { "$ref": "#/definitions/LayeredSpriteVariations" }, "bottom_left_inner_corner": { "$ref": "#/definitions/LayeredSpriteVariations" }, "bottom_right_inner_corner": { "$ref": "#/definitions/LayeredSpriteVariations" }, "bridge_horizontal_narrow": { "$ref": "#/definitions/LayeredSpriteVariations" }, "bridge_horizontal_wide": { "$ref": "#/definitions/LayeredSpriteVariations" }, "bridge_vertical_narrow": { "$ref": "#/definitions/LayeredSpriteVariations" }, "bridge_vertical_wide": { "$ref": "#/definitions/LayeredSpriteVariations" }, "bridge_crossing": { "$ref": "#/definitions/LayeredSpriteVariations" } } }, "CargoHatchDefinition": { "description": "https://lua-api.factorio.com/stable/types/CargoHatchDefinition.html", "type": "object", "properties": { "hatch_graphics": { "$ref": "#/definitions/Animation" }, "hatch_render_layer": { "$ref": "#/definitions/RenderLayer" }, "entering_render_layer": { "$ref": "#/definitions/RenderLayer" }, "offset": { "$ref": "#/definitions/Vector" }, "pod_shadow_offset": { "$ref": "#/definitions/Vector" }, "sky_slice_height": { "$ref": "#/definitions/float" }, "slice_height": { "$ref": "#/definitions/float" }, "travel_height": { "$ref": "#/definitions/float" }, "busy_timeout_ticks": { "$ref": "#/definitions/uint32" }, "hatch_opening_ticks": { "$ref": "#/definitions/uint32" }, "opening_sound": { "$ref": "#/definitions/InterruptibleSound" }, "closing_sound": { "$ref": "#/definitions/InterruptibleSound" }, "cargo_unit_entity_to_spawn": { "$ref": "#/definitions/EntityID" }, "illumination_graphic_index": { "$ref": "#/definitions/uint32" }, "receiving_cargo_units": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } } }, "CargoLandingPadLimitModifier": { "description": "https://lua-api.factorio.com/stable/types/CargoLandingPadLimitModifier.html", "type": "object", "properties": { "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "hidden": { "$ref": "#/definitions/bool" }, "modifier": { "$ref": "#/definitions/double" }, "type": { "type": "string", "const": "cargo-landing-pad-count" }, "use_icon_overlay_constant": { "$ref": "#/definitions/bool" } }, "required": [ "modifier", "type" ] }, "CargoStationParameters": { "description": "https://lua-api.factorio.com/stable/types/CargoStationParameters.html", "type": "object", "properties": { "prefer_packed_cargo_units": { "$ref": "#/definitions/bool" }, "hatch_definitions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/CargoHatchDefinition" } }, { "type": "object", "additionalProperties": false } ] }, "giga_hatch_definitions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/GigaCargoHatchDefinition" } }, { "type": "object", "additionalProperties": false } ] } } }, "ChainTriggerDelivery": { "description": "https://lua-api.factorio.com/stable/types/ChainTriggerDelivery.html", "type": "object", "properties": { "source_effects": { "$ref": "#/definitions/TriggerEffect" }, "target_effects": { "$ref": "#/definitions/TriggerEffect" }, "type": { "type": "string", "const": "chain" }, "chain": { "$ref": "#/definitions/ActiveTriggerID" } }, "required": [ "type", "chain" ] }, "ChangeRecipeProductivityModifier": { "description": "https://lua-api.factorio.com/stable/types/ChangeRecipeProductivityModifier.html", "type": "object", "properties": { "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "hidden": { "$ref": "#/definitions/bool" }, "type": { "type": "string", "const": "change-recipe-productivity" }, "use_icon_overlay_constant": { "$ref": "#/definitions/bool" }, "recipe": { "$ref": "#/definitions/RecipeID" }, "change": { "$ref": "#/definitions/EffectValue" } }, "required": [ "type", "recipe", "change" ] }, "ChangeSurfaceTipTrigger": { "description": "https://lua-api.factorio.com/stable/types/ChangeSurfaceTipTrigger.html", "type": "object", "properties": { "count": { "$ref": "#/definitions/uint32" }, "type": { "type": "string", "const": "change-surface" }, "surface": { "$ref": "#/definitions/string" } }, "required": [ "type", "surface" ] }, "CharacterArmorAnimation": { "description": "https://lua-api.factorio.com/stable/types/CharacterArmorAnimation.html", "type": "object", "properties": { "idle": { "$ref": "#/definitions/RotatedAnimation" }, "idle_with_gun": { "$ref": "#/definitions/RotatedAnimation" }, "running": { "$ref": "#/definitions/RotatedAnimation" }, "running_with_gun": { "$ref": "#/definitions/RotatedAnimation" }, "mining_with_tool": { "$ref": "#/definitions/RotatedAnimation" }, "flipped_shadow_running_with_gun": { "$ref": "#/definitions/RotatedAnimation" }, "idle_in_air": { "$ref": "#/definitions/RotatedAnimation" }, "idle_with_gun_in_air": { "$ref": "#/definitions/RotatedAnimation" }, "flying": { "$ref": "#/definitions/RotatedAnimation" }, "flying_with_gun": { "$ref": "#/definitions/RotatedAnimation" }, "take_off": { "$ref": "#/definitions/RotatedAnimation" }, "landing": { "$ref": "#/definitions/RotatedAnimation" }, "armors": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemID" } }, { "type": "object", "additionalProperties": false } ] }, "smoke_in_air": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SmokeSource" } }, { "type": "object", "additionalProperties": false } ] }, "smoke_cycles_per_tick": { "$ref": "#/definitions/float" }, "extra_smoke_cycles_per_tile": { "$ref": "#/definitions/float" }, "mining_with_tool_particles_animation_positions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/float" } }, { "type": "object", "additionalProperties": false } ] } }, "required": [ "idle_with_gun", "running_with_gun", "mining_with_tool" ] }, "CharacterBuildDistanceModifier": { "description": "https://lua-api.factorio.com/stable/types/CharacterBuildDistanceModifier.html", "type": "object", "properties": { "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "hidden": { "$ref": "#/definitions/bool" }, "modifier": { "$ref": "#/definitions/double" }, "type": { "type": "string", "const": "character-build-distance" }, "use_icon_overlay_constant": { "$ref": "#/definitions/bool" } }, "required": [ "modifier", "type" ] }, "CharacterCraftingSpeedModifier": { "description": "https://lua-api.factorio.com/stable/types/CharacterCraftingSpeedModifier.html", "type": "object", "properties": { "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "hidden": { "$ref": "#/definitions/bool" }, "modifier": { "$ref": "#/definitions/double" }, "type": { "type": "string", "const": "character-crafting-speed" }, "use_icon_overlay_constant": { "$ref": "#/definitions/bool" } }, "required": [ "modifier", "type" ] }, "CharacterHealthBonusModifier": { "description": "https://lua-api.factorio.com/stable/types/CharacterHealthBonusModifier.html", "type": "object", "properties": { "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "hidden": { "$ref": "#/definitions/bool" }, "modifier": { "$ref": "#/definitions/double" }, "type": { "type": "string", "const": "character-health-bonus" }, "use_icon_overlay_constant": { "$ref": "#/definitions/bool" } }, "required": [ "modifier", "type" ] }, "CharacterInventorySlotsBonusModifier": { "description": "https://lua-api.factorio.com/stable/types/CharacterInventorySlotsBonusModifier.html", "type": "object", "properties": { "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "hidden": { "$ref": "#/definitions/bool" }, "modifier": { "$ref": "#/definitions/double" }, "type": { "type": "string", "const": "character-inventory-slots-bonus" }, "use_icon_overlay_constant": { "$ref": "#/definitions/bool" } }, "required": [ "modifier", "type" ] }, "CharacterItemDropDistanceModifier": { "description": "https://lua-api.factorio.com/stable/types/CharacterItemDropDistanceModifier.html", "type": "object", "properties": { "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "hidden": { "$ref": "#/definitions/bool" }, "modifier": { "$ref": "#/definitions/double" }, "type": { "type": "string", "const": "character-item-drop-distance" }, "use_icon_overlay_constant": { "$ref": "#/definitions/bool" } }, "required": [ "modifier", "type" ] }, "CharacterItemPickupDistanceModifier": { "description": "https://lua-api.factorio.com/stable/types/CharacterItemPickupDistanceModifier.html", "type": "object", "properties": { "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "hidden": { "$ref": "#/definitions/bool" }, "modifier": { "$ref": "#/definitions/double" }, "type": { "type": "string", "const": "character-item-pickup-distance" }, "use_icon_overlay_constant": { "$ref": "#/definitions/bool" } }, "required": [ "modifier", "type" ] }, "CharacterLogisticRequestsModifier": { "description": "https://lua-api.factorio.com/stable/types/CharacterLogisticRequestsModifier.html", "type": "object", "properties": { "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "hidden": { "$ref": "#/definitions/bool" }, "modifier": { "$ref": "#/definitions/bool" }, "type": { "type": "string", "const": "character-logistic-requests" }, "use_icon_overlay_constant": { "$ref": "#/definitions/bool" } }, "required": [ "modifier", "type" ] }, "CharacterLogisticTrashSlotsModifier": { "description": "https://lua-api.factorio.com/stable/types/CharacterLogisticTrashSlotsModifier.html", "type": "object", "properties": { "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "hidden": { "$ref": "#/definitions/bool" }, "modifier": { "$ref": "#/definitions/double" }, "type": { "type": "string", "const": "character-logistic-trash-slots" }, "use_icon_overlay_constant": { "$ref": "#/definitions/bool" } }, "required": [ "modifier", "type" ] }, "CharacterLootPickupDistanceModifier": { "description": "https://lua-api.factorio.com/stable/types/CharacterLootPickupDistanceModifier.html", "type": "object", "properties": { "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "hidden": { "$ref": "#/definitions/bool" }, "modifier": { "$ref": "#/definitions/double" }, "type": { "type": "string", "const": "character-loot-pickup-distance" }, "use_icon_overlay_constant": { "$ref": "#/definitions/bool" } }, "required": [ "modifier", "type" ] }, "CharacterMiningSpeedModifier": { "description": "https://lua-api.factorio.com/stable/types/CharacterMiningSpeedModifier.html", "type": "object", "properties": { "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "hidden": { "$ref": "#/definitions/bool" }, "modifier": { "$ref": "#/definitions/double" }, "type": { "type": "string", "const": "character-mining-speed" }, "use_icon_overlay_constant": { "$ref": "#/definitions/bool" } }, "required": [ "modifier", "type" ] }, "CharacterReachDistanceModifier": { "description": "https://lua-api.factorio.com/stable/types/CharacterReachDistanceModifier.html", "type": "object", "properties": { "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "hidden": { "$ref": "#/definitions/bool" }, "modifier": { "$ref": "#/definitions/double" }, "type": { "type": "string", "const": "character-reach-distance" }, "use_icon_overlay_constant": { "$ref": "#/definitions/bool" } }, "required": [ "modifier", "type" ] }, "CharacterResourceReachDistanceModifier": { "description": "https://lua-api.factorio.com/stable/types/CharacterResourceReachDistanceModifier.html", "type": "object", "properties": { "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "hidden": { "$ref": "#/definitions/bool" }, "modifier": { "$ref": "#/definitions/double" }, "type": { "type": "string", "const": "character-resource-reach-distance" }, "use_icon_overlay_constant": { "$ref": "#/definitions/bool" } }, "required": [ "modifier", "type" ] }, "CharacterRunningSpeedModifier": { "description": "https://lua-api.factorio.com/stable/types/CharacterRunningSpeedModifier.html", "type": "object", "properties": { "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "hidden": { "$ref": "#/definitions/bool" }, "modifier": { "$ref": "#/definitions/double" }, "type": { "type": "string", "const": "character-running-speed" }, "use_icon_overlay_constant": { "$ref": "#/definitions/bool" } }, "required": [ "modifier", "type" ] }, "ChargableGraphics": { "description": "https://lua-api.factorio.com/stable/types/ChargableGraphics.html", "type": "object", "properties": { "picture": { "$ref": "#/definitions/Sprite" }, "charge_animation": { "$ref": "#/definitions/Animation" }, "charge_animation_is_looped": { "$ref": "#/definitions/bool" }, "charge_light": { "$ref": "#/definitions/LightDefinition" }, "charge_cooldown": { "$ref": "#/definitions/uint16" }, "discharge_animation": { "$ref": "#/definitions/Animation" }, "discharge_light": { "$ref": "#/definitions/LightDefinition" }, "discharge_cooldown": { "$ref": "#/definitions/uint16" } } }, "ChartUtilityConstants": { "description": "https://lua-api.factorio.com/stable/types/ChartUtilityConstants.html", "type": "object", "properties": { "copper_wire_color": { "$ref": "#/definitions/Color" }, "electric_power_pole_color": { "$ref": "#/definitions/Color" }, "enabled_switch_color": { "$ref": "#/definitions/Color" }, "disabled_switch_color": { "$ref": "#/definitions/Color" }, "electric_line_width": { "$ref": "#/definitions/float" }, "electric_line_minimum_absolute_width": { "$ref": "#/definitions/float" }, "red_wire_color": { "$ref": "#/definitions/Color" }, "green_wire_color": { "$ref": "#/definitions/Color" }, "circuit_network_member_color": { "$ref": "#/definitions/Color" }, "turret_range_color": { "$ref": "#/definitions/Color" }, "artillery_range_color": { "$ref": "#/definitions/Color" }, "default_friendly_color": { "$ref": "#/definitions/Color" }, "default_enemy_color": { "$ref": "#/definitions/Color" }, "default_enemy_territory_color": { "$ref": "#/definitions/Color" }, "rail_color": { "$ref": "#/definitions/Color" }, "elevated_rail_color": { "$ref": "#/definitions/Color" }, "rail_ramp_color": { "$ref": "#/definitions/Color" }, "entity_ghost_color": { "$ref": "#/definitions/Color" }, "tile_ghost_color": { "$ref": "#/definitions/Color" }, "vehicle_outer_color": { "$ref": "#/definitions/Color" }, "vehicle_outer_color_selected": { "$ref": "#/definitions/Color" }, "vehicle_inner_color": { "$ref": "#/definitions/Color" }, "vehicle_wagon_connection_color": { "$ref": "#/definitions/Color" }, "resource_outline_selection_color": { "$ref": "#/definitions/Color" }, "chart_train_stop_text_color": { "$ref": "#/definitions/Color" }, "chart_train_stop_disabled_text_color": { "$ref": "#/definitions/Color" }, "chart_train_stop_full_text_color": { "$ref": "#/definitions/Color" }, "red_signal_color": { "$ref": "#/definitions/Color" }, "green_signal_color": { "$ref": "#/definitions/Color" }, "blue_signal_color": { "$ref": "#/definitions/Color" }, "yellow_signal_color": { "$ref": "#/definitions/Color" }, "chart_deconstruct_tint": { "$ref": "#/definitions/Color" }, "chart_deconstruct_active_color": { "$ref": "#/definitions/Color" }, "chart_player_circle_size": { "$ref": "#/definitions/float" }, "default_friendly_color_by_type": { "type": "object", "additionalProperties": { "$ref": "#/definitions/Color" }, "propertyNames": { "$ref": "#/definitions/string" } }, "default_color_by_type": { "type": "object", "additionalProperties": { "$ref": "#/definitions/Color" }, "propertyNames": { "$ref": "#/definitions/string" } }, "explosion_visualization_duration": { "$ref": "#/definitions/uint32" }, "train_path_color": { "$ref": "#/definitions/Color" }, "train_preview_path_outline_color": { "$ref": "#/definitions/Color" }, "train_current_path_outline_color": { "$ref": "#/definitions/Color" }, "chart_logistic_robot_color": { "$ref": "#/definitions/Color" }, "chart_construction_robot_color": { "$ref": "#/definitions/Color" }, "chart_mobile_construction_robot_color": { "$ref": "#/definitions/Color" }, "chart_personal_construction_robot_color": { "$ref": "#/definitions/Color" }, "chart_delivery_to_me_logistic_robot_color": { "$ref": "#/definitions/Color" }, "zoom_threshold_to_draw_spider_path": { "$ref": "#/definitions/double" }, "custom_tag_scale": { "$ref": "#/definitions/float" }, "custom_tag_max_scale": { "$ref": "#/definitions/float" }, "custom_tag_selected_overlay_tint": { "$ref": "#/definitions/Color" } }, "required": [ "copper_wire_color", "electric_power_pole_color", "enabled_switch_color", "disabled_switch_color", "electric_line_width", "electric_line_minimum_absolute_width", "red_wire_color", "green_wire_color", "circuit_network_member_color", "turret_range_color", "artillery_range_color", "default_friendly_color", "default_enemy_color", "default_enemy_territory_color", "rail_color", "elevated_rail_color", "rail_ramp_color", "entity_ghost_color", "tile_ghost_color", "vehicle_outer_color", "vehicle_outer_color_selected", "vehicle_inner_color", "vehicle_wagon_connection_color", "resource_outline_selection_color", "chart_train_stop_text_color", "chart_train_stop_disabled_text_color", "chart_train_stop_full_text_color", "red_signal_color", "green_signal_color", "blue_signal_color", "yellow_signal_color", "chart_deconstruct_tint", "chart_deconstruct_active_color", "chart_player_circle_size", "explosion_visualization_duration", "train_path_color", "train_preview_path_outline_color", "train_current_path_outline_color", "chart_logistic_robot_color", "chart_construction_robot_color", "chart_mobile_construction_robot_color", "chart_personal_construction_robot_color", "chart_delivery_to_me_logistic_robot_color", "zoom_threshold_to_draw_spider_path" ] }, "CheckBoxStyleSpecification": { "description": "https://lua-api.factorio.com/stable/types/CheckBoxStyleSpecification.html", "type": "object", "properties": { "parent": { "$ref": "#/definitions/string" }, "horizontal_align": { "$ref": "#/definitions/HorizontalAlign" }, "vertical_align": { "$ref": "#/definitions/VerticalAlign" }, "ignored_by_search": { "$ref": "#/definitions/bool" }, "never_hide_by_search": { "$ref": "#/definitions/bool" }, "horizontally_stretchable": { "$ref": "#/definitions/StretchRule" }, "vertically_stretchable": { "$ref": "#/definitions/StretchRule" }, "horizontally_squashable": { "$ref": "#/definitions/StretchRule" }, "vertically_squashable": { "$ref": "#/definitions/StretchRule" }, "natural_size": { "anyOf": [ { "$ref": "#/definitions/uint32" }, { "type": "array", "items": [ { "$ref": "#/definitions/uint32" }, { "$ref": "#/definitions/uint32" } ], "minItems": 2, "maxItems": 2 } ] }, "size": { "anyOf": [ { "$ref": "#/definitions/uint32" }, { "type": "array", "items": [ { "$ref": "#/definitions/uint32" }, { "$ref": "#/definitions/uint32" } ], "minItems": 2, "maxItems": 2 } ] }, "width": { "$ref": "#/definitions/uint32" }, "minimal_width": { "$ref": "#/definitions/uint32" }, "maximal_width": { "$ref": "#/definitions/uint32" }, "natural_width": { "$ref": "#/definitions/uint32" }, "height": { "$ref": "#/definitions/uint32" }, "minimal_height": { "$ref": "#/definitions/uint32" }, "maximal_height": { "$ref": "#/definitions/uint32" }, "natural_height": { "$ref": "#/definitions/uint32" }, "padding": { "$ref": "#/definitions/int16" }, "top_padding": { "$ref": "#/definitions/int16" }, "right_padding": { "$ref": "#/definitions/int16" }, "bottom_padding": { "$ref": "#/definitions/int16" }, "left_padding": { "$ref": "#/definitions/int16" }, "margin": { "$ref": "#/definitions/int16" }, "top_margin": { "$ref": "#/definitions/int16" }, "right_margin": { "$ref": "#/definitions/int16" }, "bottom_margin": { "$ref": "#/definitions/int16" }, "left_margin": { "$ref": "#/definitions/int16" }, "effect": { "anyOf": [ { "type": "string", "const": "compilatron-hologram" } ] }, "effect_opacity": { "$ref": "#/definitions/float" }, "tooltip": { "$ref": "#/definitions/LocalisedString" }, "default_graphical_set": { "$ref": "#/definitions/ElementImageSet" }, "hovered_graphical_set": { "$ref": "#/definitions/ElementImageSet" }, "clicked_graphical_set": { "$ref": "#/definitions/ElementImageSet" }, "disabled_graphical_set": { "$ref": "#/definitions/ElementImageSet" }, "selected_graphical_set": { "$ref": "#/definitions/ElementImageSet" }, "selected_hovered_graphical_set": { "$ref": "#/definitions/ElementImageSet" }, "game_controller_selected_hovered_graphical_set": { "$ref": "#/definitions/ElementImageSet" }, "selected_clicked_graphical_set": { "$ref": "#/definitions/ElementImageSet" }, "left_click_sound": { "$ref": "#/definitions/Sound" }, "type": { "type": "string", "const": "checkbox_style" }, "font": { "$ref": "#/definitions/string" }, "font_color": { "$ref": "#/definitions/Color" }, "disabled_font_color": { "$ref": "#/definitions/Color" }, "checkmark": { "$ref": "#/definitions/Sprite" }, "disabled_checkmark": { "$ref": "#/definitions/Sprite" }, "intermediate_mark": { "$ref": "#/definitions/Sprite" }, "text_padding": { "$ref": "#/definitions/uint32" } }, "required": [ "type" ] }, "CircuitConnectorDefinition": { "description": "https://lua-api.factorio.com/stable/types/CircuitConnectorDefinition.html", "type": "object", "properties": { "sprites": { "$ref": "#/definitions/CircuitConnectorSprites" }, "points": { "$ref": "#/definitions/WireConnectionPoint" } } }, "CircuitConnectorLayer": { "description": "https://lua-api.factorio.com/stable/types/CircuitConnectorLayer.html", "type": "object", "properties": { "north": { "$ref": "#/definitions/RenderLayer" }, "east": { "$ref": "#/definitions/RenderLayer" }, "south": { "$ref": "#/definitions/RenderLayer" }, "west": { "$ref": "#/definitions/RenderLayer" } } }, "CircuitConnectorSecondaryDrawOrder": { "description": "https://lua-api.factorio.com/stable/types/CircuitConnectorSecondaryDrawOrder.html", "type": "object", "properties": { "north": { "$ref": "#/definitions/int8" }, "east": { "$ref": "#/definitions/int8" }, "south": { "$ref": "#/definitions/int8" }, "west": { "$ref": "#/definitions/int8" } } }, "CircuitConnectorSprites": { "description": "https://lua-api.factorio.com/stable/types/CircuitConnectorSprites.html", "type": "object", "properties": { "led_red": { "$ref": "#/definitions/Sprite" }, "led_green": { "$ref": "#/definitions/Sprite" }, "led_blue": { "$ref": "#/definitions/Sprite" }, "led_light": { "$ref": "#/definitions/LightDefinition" }, "connector_main": { "$ref": "#/definitions/Sprite" }, "connector_shadow": { "$ref": "#/definitions/Sprite" }, "wire_pins": { "$ref": "#/definitions/Sprite" }, "wire_pins_shadow": { "$ref": "#/definitions/Sprite" }, "led_blue_off": { "$ref": "#/definitions/Sprite" }, "blue_led_light_offset": { "$ref": "#/definitions/Vector" }, "red_green_led_light_offset": { "$ref": "#/definitions/Vector" } }, "required": [ "led_red", "led_green", "led_blue", "led_light" ] }, "CircuitNetworkModifier": { "description": "https://lua-api.factorio.com/stable/types/CircuitNetworkModifier.html", "type": "object", "properties": { "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "hidden": { "$ref": "#/definitions/bool" }, "modifier": { "$ref": "#/definitions/bool" }, "type": { "type": "string", "const": "unlock-circuit-network" }, "use_icon_overlay_constant": { "$ref": "#/definitions/bool" } }, "required": [ "modifier", "type" ] }, "CircularParticleCreationSpecification": { "description": "https://lua-api.factorio.com/stable/types/CircularParticleCreationSpecification.html", "type": "object", "properties": { "name": { "$ref": "#/definitions/ParticleID" }, "starting_frame_speed": { "$ref": "#/definitions/float" }, "direction": { "$ref": "#/definitions/float" }, "direction_deviation": { "$ref": "#/definitions/float" }, "speed": { "$ref": "#/definitions/float" }, "speed_deviation": { "$ref": "#/definitions/float" }, "starting_frame_speed_deviation": { "$ref": "#/definitions/float" }, "height": { "$ref": "#/definitions/float" }, "height_deviation": { "$ref": "#/definitions/float" }, "vertical_speed": { "$ref": "#/definitions/float" }, "vertical_speed_deviation": { "$ref": "#/definitions/float" }, "center": { "$ref": "#/definitions/Vector" }, "creation_distance": { "$ref": "#/definitions/double" }, "creation_distance_orientation": { "$ref": "#/definitions/double" }, "use_source_position": { "$ref": "#/definitions/bool" } }, "required": [ "name", "starting_frame_speed" ] }, "CircularProjectileCreationSpecification": { "description": "https://lua-api.factorio.com/stable/types/CircularProjectileCreationSpecification.html", "oneOf": [ { "type": "array", "items": { "type": "array", "items": [ { "anyOf": [ { "$ref": "#/definitions/RealOrientation" } ] }, { "anyOf": [ { "$ref": "#/definitions/Vector" } ] } ], "minItems": 2, "maxItems": 2 } }, { "type": "object", "additionalProperties": false } ] }, "ClearCursorTipTrigger": { "description": "https://lua-api.factorio.com/stable/types/ClearCursorTipTrigger.html", "type": "object", "properties": { "count": { "$ref": "#/definitions/uint32" }, "type": { "type": "string", "const": "clear-cursor" } }, "required": [ "type" ] }, "CliffDeconstructionEnabledModifier": { "description": "https://lua-api.factorio.com/stable/types/CliffDeconstructionEnabledModifier.html", "type": "object", "properties": { "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "hidden": { "$ref": "#/definitions/bool" }, "modifier": { "$ref": "#/definitions/bool" }, "type": { "type": "string", "const": "cliff-deconstruction-enabled" }, "use_icon_overlay_constant": { "$ref": "#/definitions/bool" } }, "required": [ "modifier", "type" ] }, "CliffPlacementSettings": { "description": "https://lua-api.factorio.com/stable/types/CliffPlacementSettings.html", "type": "object", "properties": { "name": { "$ref": "#/definitions/EntityID" }, "control": { "$ref": "#/definitions/AutoplaceControlID" }, "cliff_elevation_0": { "$ref": "#/definitions/float" }, "cliff_elevation_interval": { "$ref": "#/definitions/float" }, "cliff_smoothing": { "$ref": "#/definitions/float" }, "richness": { "$ref": "#/definitions/float" } } }, "CloudEffectStyle": { "description": "https://lua-api.factorio.com/stable/types/CloudEffectStyle.html", "anyOf": [ { "type": "string", "const": "none" }, { "type": "string", "const": "euclidean" }, { "type": "string", "const": "manhattan" }, { "type": "string", "const": "euclidean-outside" }, { "type": "string", "const": "manhattan-outside" }, { "type": "string", "const": "horizontal-stripe" }, { "type": "string", "const": "texture" }, { "type": "string", "const": "texture-outside" } ] }, "CloudsEffectProperties": { "description": "https://lua-api.factorio.com/stable/types/CloudsEffectProperties.html", "type": "object", "properties": { "shape_noise_texture": { "$ref": "#/definitions/EffectTexture" }, "detail_noise_texture": { "$ref": "#/definitions/EffectTexture" }, "warp_sample_1": { "$ref": "#/definitions/CloudsTextureCoordinateTransformation" }, "warp_sample_2": { "$ref": "#/definitions/CloudsTextureCoordinateTransformation" }, "warped_shape_sample": { "$ref": "#/definitions/CloudsTextureCoordinateTransformation" }, "additional_density_sample": { "$ref": "#/definitions/CloudsTextureCoordinateTransformation" }, "detail_sample_1": { "$ref": "#/definitions/CloudsTextureCoordinateTransformation" }, "detail_sample_2": { "$ref": "#/definitions/CloudsTextureCoordinateTransformation" }, "scale": { "$ref": "#/definitions/float" }, "movement_speed_multiplier": { "$ref": "#/definitions/float" }, "shape_warp_strength": { "$ref": "#/definitions/float" }, "shape_warp_weight": { "$ref": "#/definitions/float" }, "opacity": { "$ref": "#/definitions/float" }, "opacity_at_night": { "$ref": "#/definitions/float" }, "density": { "$ref": "#/definitions/float" }, "density_at_night": { "$ref": "#/definitions/float" }, "detail_factor": { "$ref": "#/definitions/float" }, "detail_factor_at_night": { "$ref": "#/definitions/float" }, "shape_factor": { "$ref": "#/definitions/float" }, "detail_exponent": { "$ref": "#/definitions/float" }, "detail_sample_morph_duration": { "$ref": "#/definitions/uint32" } }, "required": [ "shape_noise_texture", "detail_noise_texture", "warp_sample_1", "warp_sample_2", "warped_shape_sample", "additional_density_sample", "detail_sample_1", "detail_sample_2" ] }, "CloudsTextureCoordinateTransformation": { "description": "https://lua-api.factorio.com/stable/types/CloudsTextureCoordinateTransformation.html", "type": "object", "properties": { "scale": { "$ref": "#/definitions/float" }, "wind_speed_factor": { "$ref": "#/definitions/float" } }, "required": [ "scale" ] }, "ClusterTriggerItem": { "description": "https://lua-api.factorio.com/stable/types/ClusterTriggerItem.html", "type": "object", "properties": { "entity_flags": { "$ref": "#/definitions/EntityPrototypeFlags" }, "collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "ignore_collision_condition": { "$ref": "#/definitions/bool" }, "trigger_target_mask": { "$ref": "#/definitions/TriggerTargetMask" }, "repeat_count": { "$ref": "#/definitions/uint32" }, "probability": { "$ref": "#/definitions/float" }, "action_delivery": { "anyOf": [ { "$ref": "#/definitions/TriggerDelivery" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TriggerDelivery" } }, { "type": "object", "additionalProperties": false } ] } ] }, "force": { "$ref": "#/definitions/ForceCondition" }, "type": { "type": "string", "const": "cluster" }, "cluster_count": { "$ref": "#/definitions/uint32" }, "distance": { "$ref": "#/definitions/float" }, "distance_deviation": { "$ref": "#/definitions/float" } }, "required": [ "type", "cluster_count", "distance" ] }, "CollisionLayerID": { "description": "https://lua-api.factorio.com/stable/types/CollisionLayerID.html", "anyOf": [ { "$ref": "#/definitions/string" } ] }, "CollisionMaskConnector": { "description": "https://lua-api.factorio.com/stable/types/CollisionMaskConnector.html", "type": "object", "properties": { "layers": { "type": "object", "additionalProperties": { "type": "boolean", "const": true }, "propertyNames": { "$ref": "#/definitions/CollisionLayerID" } }, "not_colliding_with_itself": { "$ref": "#/definitions/bool" }, "consider_tile_transitions": { "$ref": "#/definitions/bool" }, "colliding_with_tiles_only": { "$ref": "#/definitions/bool" } }, "required": [ "layers" ] }, "Color": { "description": "https://lua-api.factorio.com/stable/types/Color.html", "anyOf": [ { "type": "object", "properties": { "r": { "$ref": "#/definitions/float" }, "g": { "$ref": "#/definitions/float" }, "b": { "$ref": "#/definitions/float" }, "a": { "$ref": "#/definitions/float" } } }, { "type": "array", "items": [ { "anyOf": [ { "$ref": "#/definitions/float" } ] }, { "anyOf": [ { "$ref": "#/definitions/float" } ] }, { "anyOf": [ { "$ref": "#/definitions/float" } ] } ], "minItems": 3, "maxItems": 3 }, { "type": "array", "items": [ { "anyOf": [ { "$ref": "#/definitions/float" } ] }, { "anyOf": [ { "$ref": "#/definitions/float" } ] }, { "anyOf": [ { "$ref": "#/definitions/float" } ] }, { "anyOf": [ { "$ref": "#/definitions/float" } ] } ], "minItems": 4, "maxItems": 4 } ] }, "ColorHintSpecification": { "description": "https://lua-api.factorio.com/stable/types/ColorHintSpecification.html", "type": "object", "properties": { "text": { "$ref": "#/definitions/string" }, "text_color": { "$ref": "#/definitions/Color" } } }, "ColorLookupTable": { "description": "https://lua-api.factorio.com/stable/types/ColorLookupTable.html", "anyOf": [ { "$ref": "#/definitions/FileName" }, { "type": "string", "const": "identity" } ] }, "ColumnAlignment": { "description": "https://lua-api.factorio.com/stable/types/ColumnAlignment.html", "type": "object", "properties": { "column": { "$ref": "#/definitions/uint32" }, "alignment": { "anyOf": [ { "type": "string", "const": "center" }, { "type": "string", "const": "left" }, { "type": "string", "const": "right" }, { "type": "string", "const": "top-left" }, { "type": "string", "const": "middle-left" }, { "type": "string", "const": "bottom-left" }, { "type": "string", "const": "top-center" }, { "type": "string", "const": "middle-center" }, { "type": "string", "const": "bottom-center" }, { "type": "string", "const": "top-right" }, { "type": "string", "const": "middle-right" }, { "type": "string", "const": "bottom-right" } ] } }, "required": [ "column", "alignment" ] }, "ColumnWidth": { "description": "https://lua-api.factorio.com/stable/types/ColumnWidth.html", "type": "object", "properties": { "minimal_width": { "$ref": "#/definitions/int32" }, "maximal_width": { "$ref": "#/definitions/int32" }, "width": { "$ref": "#/definitions/int32" }, "column": { "$ref": "#/definitions/uint32" } }, "required": [ "column" ] }, "ColumnWidthItem": { "description": "https://lua-api.factorio.com/stable/types/ColumnWidthItem.html", "type": "object", "properties": { "minimal_width": { "$ref": "#/definitions/int32" }, "maximal_width": { "$ref": "#/definitions/int32" }, "width": { "$ref": "#/definitions/int32" } } }, "ComparatorString": { "description": "https://lua-api.factorio.com/stable/types/ComparatorString.html", "anyOf": [ { "type": "string", "const": "=" }, { "type": "string", "const": ">" }, { "type": "string", "const": "<" }, { "type": "string", "const": "\u2265" }, { "type": "string", "const": ">=" }, { "type": "string", "const": "\u2264" }, { "type": "string", "const": "<=" }, { "type": "string", "const": "\u2260" }, { "type": "string", "const": "!=" } ] }, "ConnectableEntityGraphics": { "description": "https://lua-api.factorio.com/stable/types/ConnectableEntityGraphics.html", "type": "object", "properties": { "single": { "$ref": "#/definitions/SpriteVariations" }, "straight_vertical": { "$ref": "#/definitions/SpriteVariations" }, "straight_horizontal": { "$ref": "#/definitions/SpriteVariations" }, "corner_right_down": { "$ref": "#/definitions/SpriteVariations" }, "corner_left_down": { "$ref": "#/definitions/SpriteVariations" }, "corner_right_up": { "$ref": "#/definitions/SpriteVariations" }, "corner_left_up": { "$ref": "#/definitions/SpriteVariations" }, "t_up": { "$ref": "#/definitions/SpriteVariations" }, "t_right": { "$ref": "#/definitions/SpriteVariations" }, "t_down": { "$ref": "#/definitions/SpriteVariations" }, "t_left": { "$ref": "#/definitions/SpriteVariations" }, "ending_up": { "$ref": "#/definitions/SpriteVariations" }, "ending_right": { "$ref": "#/definitions/SpriteVariations" }, "ending_down": { "$ref": "#/definitions/SpriteVariations" }, "ending_left": { "$ref": "#/definitions/SpriteVariations" }, "cross": { "$ref": "#/definitions/SpriteVariations" } }, "required": [ "single", "straight_vertical", "straight_horizontal", "corner_right_down", "corner_left_down", "corner_right_up", "corner_left_up", "t_up", "t_right", "t_down", "t_left", "ending_up", "ending_right", "ending_down", "ending_left", "cross" ] }, "ConsumingType": { "description": "https://lua-api.factorio.com/stable/types/ConsumingType.html", "anyOf": [ { "type": "string", "const": "none" }, { "type": "string", "const": "game-only" } ] }, "ControlPoint": { "description": "https://lua-api.factorio.com/stable/types/ControlPoint.html", "anyOf": [ { "type": "object", "properties": { "control": { "$ref": "#/definitions/float" }, "volume_percentage": { "$ref": "#/definitions/float" } }, "required": [ "control", "volume_percentage" ] }, { "type": "array", "items": [ { "anyOf": [ { "$ref": "#/definitions/float" } ] }, { "anyOf": [ { "$ref": "#/definitions/float" } ] } ], "minItems": 2, "maxItems": 2 } ] }, "CoverGraphicEffectData": { "description": "https://lua-api.factorio.com/stable/types/CoverGraphicEffectData.html", "type": "object", "properties": { "style": { "$ref": "#/definitions/CloudEffectStyle" }, "relative_to": { "$ref": "#/definitions/EffectRelativeTo" }, "distance_traveled_strength": { "$ref": "#/definitions/Vector" }, "pod_movement_strength": { "$ref": "#/definitions/Vector" } } }, "CoverGraphicProcessionLayer": { "description": "https://lua-api.factorio.com/stable/types/CoverGraphicProcessionLayer.html", "type": "object", "properties": { "type": { "type": "string", "const": "cover-graphic" }, "reference_group": { "$ref": "#/definitions/ProcessionLayerInheritanceGroupID" }, "inherit_from": { "$ref": "#/definitions/ProcessionLayerInheritanceGroupID" }, "graphic": { "$ref": "#/definitions/ProcessionGraphic" }, "mask_graphic": { "$ref": "#/definitions/ProcessionGraphic" }, "effect_graphic": { "$ref": "#/definitions/ProcessionGraphic" }, "render_layer": { "$ref": "#/definitions/RenderLayer" }, "secondary_draw_order": { "$ref": "#/definitions/int8" }, "is_cloud_effect_advanced": { "$ref": "#/definitions/bool" }, "is_quad_texture": { "$ref": "#/definitions/bool" }, "rotate_with_pod": { "$ref": "#/definitions/bool" }, "texture_relative_to": { "$ref": "#/definitions/EffectRelativeTo" }, "distance_traveled_strength": { "$ref": "#/definitions/Vector" }, "pod_movement_strength": { "$ref": "#/definitions/Vector" }, "world_size": { "$ref": "#/definitions/Vector" }, "effect": { "$ref": "#/definitions/CoverGraphicEffectData" }, "alt_effect": { "$ref": "#/definitions/CoverGraphicEffectData" }, "frames": { "oneOf": [ { "type": "array", "items": { "type": "object", "properties": { "timestamp": { "$ref": "#/definitions/MapTick" }, "opacity": { "$ref": "#/definitions/double" }, "opacity_t": { "$ref": "#/definitions/double" }, "rotation": { "$ref": "#/definitions/double" }, "rotation_t": { "$ref": "#/definitions/double" }, "effect_scale_min": { "$ref": "#/definitions/double" }, "effect_scale_min_t": { "$ref": "#/definitions/double" }, "effect_scale_max": { "$ref": "#/definitions/double" }, "effect_scale_max_t": { "$ref": "#/definitions/double" }, "alt_effect_scale_min": { "$ref": "#/definitions/double" }, "alt_effect_scale_min_t": { "$ref": "#/definitions/double" }, "alt_effect_scale_max": { "$ref": "#/definitions/double" }, "alt_effect_scale_max_t": { "$ref": "#/definitions/double" }, "effect_shift": { "$ref": "#/definitions/Vector" }, "effect_shift_t": { "$ref": "#/definitions/Vector" }, "effect_shift_rate": { "$ref": "#/definitions/double" }, "effect_shift_rate_t": { "$ref": "#/definitions/double" }, "alt_effect_shift": { "$ref": "#/definitions/Vector" }, "alt_effect_shift_t": { "$ref": "#/definitions/Vector" }, "alt_effect_shift_rate": { "$ref": "#/definitions/double" }, "alt_effect_shift_rate_t": { "$ref": "#/definitions/double" }, "offset": { "$ref": "#/definitions/Vector" }, "offset_t": { "$ref": "#/definitions/Vector" }, "offset_rate": { "$ref": "#/definitions/double" }, "offset_rate_t": { "$ref": "#/definitions/double" } } } }, { "type": "object", "additionalProperties": false } ] } }, "required": [ "type", "frames" ] }, "CraftFluidTechnologyTrigger": { "description": "https://lua-api.factorio.com/stable/types/CraftFluidTechnologyTrigger.html", "type": "object", "properties": { "type": { "type": "string", "const": "craft-fluid" }, "fluid": { "$ref": "#/definitions/FluidID" }, "amount": { "$ref": "#/definitions/double" } }, "required": [ "type", "fluid" ] }, "CraftItemTechnologyTrigger": { "description": "https://lua-api.factorio.com/stable/types/CraftItemTechnologyTrigger.html", "type": "object", "properties": { "type": { "type": "string", "const": "craft-item" }, "item": { "$ref": "#/definitions/ItemIDFilter" }, "count": { "$ref": "#/definitions/ItemCountType" } }, "required": [ "type", "item" ] }, "CraftItemTipTrigger": { "description": "https://lua-api.factorio.com/stable/types/CraftItemTipTrigger.html", "type": "object", "properties": { "count": { "$ref": "#/definitions/uint32" }, "type": { "type": "string", "const": "craft-item" }, "item": { "$ref": "#/definitions/ItemID" }, "event_type": { "anyOf": [ { "type": "string", "const": "crafting-of-single-item-ordered" }, { "type": "string", "const": "crafting-of-multiple-items-ordered" }, { "type": "string", "const": "crafting-finished" } ] }, "consecutive": { "$ref": "#/definitions/bool" } }, "required": [ "type", "event_type" ] }, "CraftingMachineGraphicsSet": { "description": "https://lua-api.factorio.com/stable/types/CraftingMachineGraphicsSet.html", "type": "object", "properties": { "animation": { "$ref": "#/definitions/Animation4Way" }, "idle_animation": { "$ref": "#/definitions/Animation4Way" }, "always_draw_idle_animation": { "$ref": "#/definitions/bool" }, "default_recipe_tint": { "$ref": "#/definitions/GlobalRecipeTints" }, "recipe_not_set_tint": { "$ref": "#/definitions/GlobalRecipeTints" }, "states": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/VisualState" } }, { "type": "object", "additionalProperties": false } ] }, "working_visualisations": { "anyOf": [ { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/WorkingVisualisation" } }, { "type": "object", "additionalProperties": false } ] }, { "type": "object", "additionalProperties": { "$ref": "#/definitions/WorkingVisualisation" } } ] }, "shift_animation_waypoints": { "$ref": "#/definitions/ShiftAnimationWaypoints" }, "shift_animation_waypoint_stop_duration": { "$ref": "#/definitions/uint16" }, "shift_animation_transition_duration": { "$ref": "#/definitions/uint16" }, "status_colors": { "$ref": "#/definitions/StatusColors" }, "frozen_patch": { "$ref": "#/definitions/Sprite4Way" }, "circuit_connector_layer": { "anyOf": [ { "$ref": "#/definitions/RenderLayer" }, { "$ref": "#/definitions/CircuitConnectorLayer" } ] }, "circuit_connector_secondary_draw_order": { "anyOf": [ { "$ref": "#/definitions/int8" }, { "$ref": "#/definitions/CircuitConnectorSecondaryDrawOrder" } ] }, "animation_progress": { "$ref": "#/definitions/float" }, "reset_animation_when_frozen": { "$ref": "#/definitions/bool" } } }, "CranePart": { "description": "https://lua-api.factorio.com/stable/types/CranePart.html", "type": "object", "properties": { "orientation_shift": { "$ref": "#/definitions/float" }, "is_contractible_by_cropping": { "$ref": "#/definitions/bool" }, "should_scale_for_perspective": { "$ref": "#/definitions/bool" }, "scale_to_fit_model": { "$ref": "#/definitions/bool" }, "allow_sprite_rotation": { "$ref": "#/definitions/bool" }, "snap_start": { "$ref": "#/definitions/float" }, "snap_end": { "$ref": "#/definitions/float" }, "snap_end_arm_extent_multiplier": { "$ref": "#/definitions/float" }, "name": { "$ref": "#/definitions/string" }, "dying_effect": { "$ref": "#/definitions/CranePartDyingEffect" }, "relative_position": { "$ref": "#/definitions/Vector3D" }, "relative_position_grappler": { "$ref": "#/definitions/Vector3D" }, "static_length": { "$ref": "#/definitions/Vector3D" }, "extendable_length": { "$ref": "#/definitions/Vector3D" }, "static_length_grappler": { "$ref": "#/definitions/Vector3D" }, "extendable_length_grappler": { "$ref": "#/definitions/Vector3D" }, "sprite": { "$ref": "#/definitions/Sprite" }, "rotated_sprite": { "$ref": "#/definitions/RotatedSprite" }, "sprite_shadow": { "$ref": "#/definitions/Sprite" }, "rotated_sprite_shadow": { "$ref": "#/definitions/RotatedSprite" }, "sprite_reflection": { "$ref": "#/definitions/Sprite" }, "rotated_sprite_reflection": { "$ref": "#/definitions/RotatedSprite" }, "layer": { "$ref": "#/definitions/int8" } } }, "CranePartDyingEffect": { "description": "https://lua-api.factorio.com/stable/types/CranePartDyingEffect.html", "type": "object", "properties": { "particle_effect_linear_distance_step": { "$ref": "#/definitions/float" }, "explosion_linear_distance_step": { "$ref": "#/definitions/float" }, "particle_effects": { "anyOf": [ { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/CreateParticleTriggerEffectItem" } }, { "type": "object", "additionalProperties": false } ] }, { "$ref": "#/definitions/CreateParticleTriggerEffectItem" } ] }, "explosion": { "$ref": "#/definitions/ExplosionDefinition" } } }, "CraterPlacementDefinition": { "description": "https://lua-api.factorio.com/stable/types/CraterPlacementDefinition.html", "type": "object", "properties": { "minimum_segments_to_place": { "$ref": "#/definitions/uint32" }, "segment_probability": { "$ref": "#/definitions/float" }, "segments": { "oneOf": [ { "type": "array", "items": { "type": "object", "properties": { "orientation": { "$ref": "#/definitions/float" }, "offset": { "$ref": "#/definitions/Vector" } }, "required": [ "orientation", "offset" ] } }, { "type": "object", "additionalProperties": false } ] } }, "required": [ "segments" ] }, "CreateAsteroidChunkEffectItem": { "description": "https://lua-api.factorio.com/stable/types/CreateAsteroidChunkEffectItem.html", "type": "object", "properties": { "repeat_count": { "$ref": "#/definitions/uint16" }, "repeat_count_deviation": { "$ref": "#/definitions/uint16" }, "probability": { "$ref": "#/definitions/float" }, "affects_target": { "$ref": "#/definitions/bool" }, "show_in_tooltip": { "$ref": "#/definitions/bool" }, "damage_type_filters": { "$ref": "#/definitions/DamageTypeFilters" }, "type": { "type": "string", "const": "create-asteroid-chunk" }, "asteroid_name": { "$ref": "#/definitions/AsteroidChunkID" }, "offset_deviation": { "$ref": "#/definitions/BoundingBox" }, "offsets": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Vector" } }, { "type": "object", "additionalProperties": false } ] } }, "required": [ "type", "asteroid_name" ] }, "CreateDecorativesTriggerEffectItem": { "description": "https://lua-api.factorio.com/stable/types/CreateDecorativesTriggerEffectItem.html", "type": "object", "properties": { "repeat_count": { "$ref": "#/definitions/uint16" }, "repeat_count_deviation": { "$ref": "#/definitions/uint16" }, "probability": { "$ref": "#/definitions/float" }, "affects_target": { "$ref": "#/definitions/bool" }, "show_in_tooltip": { "$ref": "#/definitions/bool" }, "damage_type_filters": { "$ref": "#/definitions/DamageTypeFilters" }, "type": { "type": "string", "const": "create-decorative" }, "decorative": { "$ref": "#/definitions/DecorativeID" }, "spawn_max": { "$ref": "#/definitions/uint16" }, "spawn_min_radius": { "$ref": "#/definitions/float" }, "spawn_max_radius": { "$ref": "#/definitions/float" }, "spawn_min": { "$ref": "#/definitions/uint16" }, "radius_curve": { "$ref": "#/definitions/float" }, "apply_projection": { "$ref": "#/definitions/bool" }, "spread_evenly": { "$ref": "#/definitions/bool" } }, "required": [ "decorative", "spawn_max", "spawn_min_radius", "spawn_max_radius" ] }, "CreateEntityTriggerEffectItem": { "description": "https://lua-api.factorio.com/stable/types/CreateEntityTriggerEffectItem.html", "type": "object", "properties": { "repeat_count": { "$ref": "#/definitions/uint16" }, "repeat_count_deviation": { "$ref": "#/definitions/uint16" }, "probability": { "$ref": "#/definitions/float" }, "affects_target": { "$ref": "#/definitions/bool" }, "show_in_tooltip": { "$ref": "#/definitions/bool" }, "damage_type_filters": { "$ref": "#/definitions/DamageTypeFilters" }, "type": { "type": "string", "const": "create-entity" }, "entity_name": { "$ref": "#/definitions/EntityID" }, "offset_deviation": { "$ref": "#/definitions/BoundingBox" }, "trigger_created_entity": { "$ref": "#/definitions/bool" }, "check_buildability": { "$ref": "#/definitions/bool" }, "tile_collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "offsets": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Vector" } }, { "type": "object", "additionalProperties": false } ] }, "as_enemy": { "$ref": "#/definitions/bool" }, "ignore_no_enemies_mode": { "$ref": "#/definitions/bool" }, "find_non_colliding_position": { "$ref": "#/definitions/bool" }, "non_colliding_search_radius": { "$ref": "#/definitions/double" }, "non_colliding_search_precision": { "$ref": "#/definitions/double" }, "non_colliding_fail_result": { "$ref": "#/definitions/Trigger" }, "protected": { "$ref": "#/definitions/bool" } }, "required": [ "type", "entity_name" ] }, "CreateExplosionTriggerEffectItem": { "description": "https://lua-api.factorio.com/stable/types/CreateExplosionTriggerEffectItem.html", "type": "object", "properties": { "repeat_count": { "$ref": "#/definitions/uint16" }, "repeat_count_deviation": { "$ref": "#/definitions/uint16" }, "probability": { "$ref": "#/definitions/float" }, "affects_target": { "$ref": "#/definitions/bool" }, "show_in_tooltip": { "$ref": "#/definitions/bool" }, "damage_type_filters": { "$ref": "#/definitions/DamageTypeFilters" }, "type": { "type": "string", "const": "create-explosion" }, "entity_name": { "$ref": "#/definitions/EntityID" }, "offset_deviation": { "$ref": "#/definitions/BoundingBox" }, "trigger_created_entity": { "$ref": "#/definitions/bool" }, "check_buildability": { "$ref": "#/definitions/bool" }, "tile_collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "offsets": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Vector" } }, { "type": "object", "additionalProperties": false } ] }, "as_enemy": { "$ref": "#/definitions/bool" }, "ignore_no_enemies_mode": { "$ref": "#/definitions/bool" }, "find_non_colliding_position": { "$ref": "#/definitions/bool" }, "non_colliding_search_radius": { "$ref": "#/definitions/double" }, "non_colliding_search_precision": { "$ref": "#/definitions/double" }, "non_colliding_fail_result": { "$ref": "#/definitions/Trigger" }, "protected": { "$ref": "#/definitions/bool" }, "max_movement_distance": { "$ref": "#/definitions/float" }, "max_movement_distance_deviation": { "$ref": "#/definitions/float" }, "inherit_movement_distance_from_projectile": { "$ref": "#/definitions/bool" }, "cycle_while_moving": { "$ref": "#/definitions/bool" } }, "required": [ "type", "entity_name" ] }, "CreateFireTriggerEffectItem": { "description": "https://lua-api.factorio.com/stable/types/CreateFireTriggerEffectItem.html", "type": "object", "properties": { "repeat_count": { "$ref": "#/definitions/uint16" }, "repeat_count_deviation": { "$ref": "#/definitions/uint16" }, "probability": { "$ref": "#/definitions/float" }, "affects_target": { "$ref": "#/definitions/bool" }, "show_in_tooltip": { "$ref": "#/definitions/bool" }, "damage_type_filters": { "$ref": "#/definitions/DamageTypeFilters" }, "type": { "type": "string", "const": "create-fire" }, "entity_name": { "$ref": "#/definitions/EntityID" }, "offset_deviation": { "$ref": "#/definitions/BoundingBox" }, "trigger_created_entity": { "$ref": "#/definitions/bool" }, "check_buildability": { "$ref": "#/definitions/bool" }, "tile_collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "offsets": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Vector" } }, { "type": "object", "additionalProperties": false } ] }, "as_enemy": { "$ref": "#/definitions/bool" }, "ignore_no_enemies_mode": { "$ref": "#/definitions/bool" }, "find_non_colliding_position": { "$ref": "#/definitions/bool" }, "non_colliding_search_radius": { "$ref": "#/definitions/double" }, "non_colliding_search_precision": { "$ref": "#/definitions/double" }, "non_colliding_fail_result": { "$ref": "#/definitions/Trigger" }, "protected": { "$ref": "#/definitions/bool" }, "initial_ground_flame_count": { "$ref": "#/definitions/uint8" } }, "required": [ "type", "entity_name" ] }, "CreateGhostOnEntityDeathModifier": { "description": "https://lua-api.factorio.com/stable/types/CreateGhostOnEntityDeathModifier.html", "type": "object", "properties": { "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "hidden": { "$ref": "#/definitions/bool" }, "modifier": { "$ref": "#/definitions/bool" }, "type": { "type": "string", "const": "create-ghost-on-entity-death" }, "use_icon_overlay_constant": { "$ref": "#/definitions/bool" } }, "required": [ "modifier", "type" ] }, "CreateParticleTriggerEffectItem": { "description": "https://lua-api.factorio.com/stable/types/CreateParticleTriggerEffectItem.html", "type": "object", "properties": { "repeat_count": { "$ref": "#/definitions/uint16" }, "repeat_count_deviation": { "$ref": "#/definitions/uint16" }, "probability": { "$ref": "#/definitions/float" }, "affects_target": { "$ref": "#/definitions/bool" }, "show_in_tooltip": { "$ref": "#/definitions/bool" }, "damage_type_filters": { "$ref": "#/definitions/DamageTypeFilters" }, "type": { "type": "string", "const": "create-particle" }, "particle_name": { "$ref": "#/definitions/ParticleID" }, "initial_height": { "$ref": "#/definitions/float" }, "offset_deviation": { "$ref": "#/definitions/SimpleBoundingBox" }, "tile_collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "offsets": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Vector" } }, { "type": "object", "additionalProperties": false } ] }, "initial_height_deviation": { "$ref": "#/definitions/float" }, "initial_vertical_speed": { "$ref": "#/definitions/float" }, "initial_vertical_speed_deviation": { "$ref": "#/definitions/float" }, "speed_from_center": { "$ref": "#/definitions/float" }, "speed_from_center_deviation": { "$ref": "#/definitions/float" }, "frame_speed": { "$ref": "#/definitions/float" }, "frame_speed_deviation": { "$ref": "#/definitions/float" }, "movement_multiplier": { "$ref": "#/definitions/float" }, "tail_length": { "$ref": "#/definitions/uint8" }, "tail_length_deviation": { "$ref": "#/definitions/uint8" }, "tail_width": { "$ref": "#/definitions/float" }, "rotate_offsets": { "$ref": "#/definitions/bool" }, "only_when_visible": { "$ref": "#/definitions/bool" }, "apply_tile_tint": { "anyOf": [ { "type": "string", "const": "primary" }, { "type": "string", "const": "secondary" } ] }, "tint": { "$ref": "#/definitions/Color" } } }, "CreateSmokeTriggerEffectItem": { "description": "https://lua-api.factorio.com/stable/types/CreateSmokeTriggerEffectItem.html", "type": "object", "properties": { "repeat_count": { "$ref": "#/definitions/uint16" }, "repeat_count_deviation": { "$ref": "#/definitions/uint16" }, "probability": { "$ref": "#/definitions/float" }, "affects_target": { "$ref": "#/definitions/bool" }, "show_in_tooltip": { "$ref": "#/definitions/bool" }, "damage_type_filters": { "$ref": "#/definitions/DamageTypeFilters" }, "type": { "type": "string", "const": "create-smoke" }, "entity_name": { "$ref": "#/definitions/EntityID" }, "offset_deviation": { "$ref": "#/definitions/BoundingBox" }, "trigger_created_entity": { "$ref": "#/definitions/bool" }, "check_buildability": { "$ref": "#/definitions/bool" }, "tile_collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "offsets": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Vector" } }, { "type": "object", "additionalProperties": false } ] }, "as_enemy": { "$ref": "#/definitions/bool" }, "ignore_no_enemies_mode": { "$ref": "#/definitions/bool" }, "find_non_colliding_position": { "$ref": "#/definitions/bool" }, "non_colliding_search_radius": { "$ref": "#/definitions/double" }, "non_colliding_search_precision": { "$ref": "#/definitions/double" }, "non_colliding_fail_result": { "$ref": "#/definitions/Trigger" }, "protected": { "$ref": "#/definitions/bool" }, "initial_height": { "$ref": "#/definitions/float" }, "speed": { "$ref": "#/definitions/Vector" }, "speed_multiplier": { "$ref": "#/definitions/float" }, "speed_multiplier_deviation": { "$ref": "#/definitions/float" }, "starting_frame": { "$ref": "#/definitions/float" }, "starting_frame_deviation": { "$ref": "#/definitions/float" }, "speed_from_center": { "$ref": "#/definitions/float" }, "speed_from_center_deviation": { "$ref": "#/definitions/float" } }, "required": [ "type", "entity_name" ] }, "CreateSpacePlatformTechnologyTrigger": { "description": "https://lua-api.factorio.com/stable/types/CreateSpacePlatformTechnologyTrigger.html", "type": "object", "properties": { "type": { "type": "string", "const": "create-space-platform" } }, "required": [ "type" ] }, "CreateStickerTriggerEffectItem": { "description": "https://lua-api.factorio.com/stable/types/CreateStickerTriggerEffectItem.html", "type": "object", "properties": { "repeat_count": { "$ref": "#/definitions/uint16" }, "repeat_count_deviation": { "$ref": "#/definitions/uint16" }, "probability": { "$ref": "#/definitions/float" }, "affects_target": { "$ref": "#/definitions/bool" }, "show_in_tooltip": { "$ref": "#/definitions/bool" }, "damage_type_filters": { "$ref": "#/definitions/DamageTypeFilters" }, "type": { "type": "string", "const": "create-sticker" }, "sticker": { "$ref": "#/definitions/EntityID" }, "trigger_created_entity": { "$ref": "#/definitions/bool" } }, "required": [ "type", "sticker" ] }, "CreateTrivialSmokeEffectItem": { "description": "https://lua-api.factorio.com/stable/types/CreateTrivialSmokeEffectItem.html", "type": "object", "properties": { "repeat_count": { "$ref": "#/definitions/uint16" }, "repeat_count_deviation": { "$ref": "#/definitions/uint16" }, "probability": { "$ref": "#/definitions/float" }, "affects_target": { "$ref": "#/definitions/bool" }, "show_in_tooltip": { "$ref": "#/definitions/bool" }, "damage_type_filters": { "$ref": "#/definitions/DamageTypeFilters" }, "type": { "type": "string", "const": "create-trivial-smoke" }, "smoke_name": { "$ref": "#/definitions/TrivialSmokeID" }, "offset_deviation": { "$ref": "#/definitions/BoundingBox" }, "offsets": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Vector" } }, { "type": "object", "additionalProperties": false } ] }, "initial_height": { "$ref": "#/definitions/float" }, "max_radius": { "$ref": "#/definitions/float" }, "speed": { "$ref": "#/definitions/Vector" }, "speed_multiplier": { "$ref": "#/definitions/float" }, "speed_multiplier_deviation": { "$ref": "#/definitions/float" }, "starting_frame": { "$ref": "#/definitions/float" }, "starting_frame_deviation": { "$ref": "#/definitions/float" }, "speed_from_center": { "$ref": "#/definitions/float" }, "speed_from_center_deviation": { "$ref": "#/definitions/float" } }, "required": [ "type", "smoke_name" ] }, "CursorBoxType": { "description": "https://lua-api.factorio.com/stable/types/CursorBoxType.html", "anyOf": [ { "type": "string", "const": "entity" }, { "type": "string", "const": "multiplayer-entity" }, { "type": "string", "const": "electricity" }, { "type": "string", "const": "copy" }, { "type": "string", "const": "not-allowed" }, { "type": "string", "const": "pair" }, { "type": "string", "const": "logistics" }, { "type": "string", "const": "train-visualization" }, { "type": "string", "const": "blueprint-snap-rectangle" }, { "type": "string", "const": "spidertron-remote-selected" }, { "type": "string", "const": "spidertron-remote-to-be-selected" } ] }, "CyclicSound": { "description": "https://lua-api.factorio.com/stable/types/CyclicSound.html", "type": "object", "properties": { "begin_sound": { "$ref": "#/definitions/Sound" }, "middle_sound": { "$ref": "#/definitions/Sound" }, "end_sound": { "$ref": "#/definitions/Sound" } } }, "DamageParameters": { "description": "https://lua-api.factorio.com/stable/types/DamageParameters.html", "type": "object", "properties": { "amount": { "$ref": "#/definitions/float" }, "type": { "$ref": "#/definitions/DamageTypeID" } }, "required": [ "amount", "type" ] }, "DamageTileTriggerEffectItem": { "description": "https://lua-api.factorio.com/stable/types/DamageTileTriggerEffectItem.html", "type": "object", "properties": { "repeat_count": { "$ref": "#/definitions/uint16" }, "repeat_count_deviation": { "$ref": "#/definitions/uint16" }, "probability": { "$ref": "#/definitions/float" }, "affects_target": { "$ref": "#/definitions/bool" }, "show_in_tooltip": { "$ref": "#/definitions/bool" }, "damage_type_filters": { "$ref": "#/definitions/DamageTypeFilters" }, "type": { "type": "string", "const": "damage-tile" }, "damage": { "$ref": "#/definitions/DamageParameters" }, "radius": { "$ref": "#/definitions/float" } }, "required": [ "type", "damage" ] }, "DamageTriggerEffectItem": { "description": "https://lua-api.factorio.com/stable/types/DamageTriggerEffectItem.html", "type": "object", "properties": { "repeat_count": { "$ref": "#/definitions/uint16" }, "repeat_count_deviation": { "$ref": "#/definitions/uint16" }, "probability": { "$ref": "#/definitions/float" }, "affects_target": { "$ref": "#/definitions/bool" }, "show_in_tooltip": { "$ref": "#/definitions/bool" }, "damage_type_filters": { "$ref": "#/definitions/DamageTypeFilters" }, "type": { "type": "string", "const": "damage" }, "damage": { "$ref": "#/definitions/DamageParameters" }, "apply_damage_to_trees": { "$ref": "#/definitions/bool" }, "vaporize": { "$ref": "#/definitions/bool" }, "use_substitute": { "$ref": "#/definitions/bool" }, "lower_distance_threshold": { "$ref": "#/definitions/uint16" }, "upper_distance_threshold": { "$ref": "#/definitions/uint16" }, "lower_damage_modifier": { "$ref": "#/definitions/float" }, "upper_damage_modifier": { "$ref": "#/definitions/float" } }, "required": [ "type", "damage" ] }, "DamageTypeFilters": { "description": "https://lua-api.factorio.com/stable/types/DamageTypeFilters.html", "anyOf": [ { "type": "object", "properties": { "types": { "anyOf": [ { "$ref": "#/definitions/DamageTypeID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/DamageTypeID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "whitelist": { "$ref": "#/definitions/bool" } }, "required": [ "types" ] }, { "$ref": "#/definitions/DamageTypeID" }, { "oneOf": [ { "type": "array", "items": { "anyOf": [ { "$ref": "#/definitions/DamageTypeID" } ] } }, { "type": "object", "additionalProperties": false } ] } ] }, "DamageTypeID": { "description": "https://lua-api.factorio.com/stable/types/DamageTypeID.html", "anyOf": [ { "$ref": "#/definitions/string" } ] }, "DaytimeColorLookupTable": { "description": "https://lua-api.factorio.com/stable/types/DaytimeColorLookupTable.html", "oneOf": [ { "type": "array", "items": { "type": "array", "items": [ { "anyOf": [ { "$ref": "#/definitions/double" } ] }, { "anyOf": [ { "$ref": "#/definitions/ColorLookupTable" } ] } ], "minItems": 2, "maxItems": 2 } }, { "type": "object", "additionalProperties": false } ] }, "DeconstructionTimeToLiveModifier": { "description": "https://lua-api.factorio.com/stable/types/DeconstructionTimeToLiveModifier.html", "type": "object", "properties": { "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "hidden": { "$ref": "#/definitions/bool" }, "modifier": { "$ref": "#/definitions/double" }, "type": { "type": "string", "const": "deconstruction-time-to-live" }, "use_icon_overlay_constant": { "$ref": "#/definitions/bool" } }, "required": [ "modifier", "type" ] }, "DecorativeID": { "description": "https://lua-api.factorio.com/stable/types/DecorativeID.html", "anyOf": [ { "$ref": "#/definitions/string" } ] }, "DelayedTriggerDelivery": { "description": "https://lua-api.factorio.com/stable/types/DelayedTriggerDelivery.html", "type": "object", "properties": { "source_effects": { "$ref": "#/definitions/TriggerEffect" }, "target_effects": { "$ref": "#/definitions/TriggerEffect" }, "type": { "type": "string", "const": "delayed" }, "delayed_trigger": { "$ref": "#/definitions/ActiveTriggerID" } }, "required": [ "type", "delayed_trigger" ] }, "DependenciesMetTipTrigger": { "description": "https://lua-api.factorio.com/stable/types/DependenciesMetTipTrigger.html", "type": "object", "properties": { "type": { "type": "string", "const": "dependencies-met" } }, "required": [ "type" ] }, "DestroyCliffsCapsuleAction": { "description": "https://lua-api.factorio.com/stable/types/DestroyCliffsCapsuleAction.html", "type": "object", "properties": { "type": { "type": "string", "const": "destroy-cliffs" }, "attack_parameters": { "$ref": "#/definitions/AttackParameters" }, "radius": { "$ref": "#/definitions/float" }, "timeout": { "$ref": "#/definitions/uint32" }, "play_sound_on_failure": { "$ref": "#/definitions/bool" }, "uses_stack": { "$ref": "#/definitions/bool" } }, "required": [ "type", "attack_parameters", "radius" ] }, "DestroyCliffsTriggerEffectItem": { "description": "https://lua-api.factorio.com/stable/types/DestroyCliffsTriggerEffectItem.html", "type": "object", "properties": { "repeat_count": { "$ref": "#/definitions/uint16" }, "repeat_count_deviation": { "$ref": "#/definitions/uint16" }, "probability": { "$ref": "#/definitions/float" }, "affects_target": { "$ref": "#/definitions/bool" }, "show_in_tooltip": { "$ref": "#/definitions/bool" }, "damage_type_filters": { "$ref": "#/definitions/DamageTypeFilters" }, "type": { "type": "string", "const": "destroy-cliffs" }, "radius": { "$ref": "#/definitions/float" }, "explosion_at_trigger": { "$ref": "#/definitions/EntityID" }, "explosion_at_cliff": { "$ref": "#/definitions/EntityID" } }, "required": [ "type", "radius" ] }, "DestroyDecorativesTriggerEffectItem": { "description": "https://lua-api.factorio.com/stable/types/DestroyDecorativesTriggerEffectItem.html", "type": "object", "properties": { "repeat_count": { "$ref": "#/definitions/uint16" }, "repeat_count_deviation": { "$ref": "#/definitions/uint16" }, "probability": { "$ref": "#/definitions/float" }, "affects_target": { "$ref": "#/definitions/bool" }, "show_in_tooltip": { "$ref": "#/definitions/bool" }, "damage_type_filters": { "$ref": "#/definitions/DamageTypeFilters" }, "type": { "type": "string", "const": "destroy-decoratives" }, "radius": { "$ref": "#/definitions/float" }, "from_render_layer": { "$ref": "#/definitions/RenderLayer" }, "to_render_layer": { "$ref": "#/definitions/RenderLayer" }, "include_soft_decoratives": { "$ref": "#/definitions/bool" }, "include_decals": { "$ref": "#/definitions/bool" }, "invoke_decorative_trigger": { "$ref": "#/definitions/bool" }, "decoratives_with_trigger_only": { "$ref": "#/definitions/bool" } }, "required": [ "type", "radius" ] }, "DifficultySettings": { "description": "https://lua-api.factorio.com/stable/types/DifficultySettings.html", "type": "object", "properties": { "technology_price_multiplier": { "$ref": "#/definitions/double" }, "spoil_time_modifier": { "$ref": "#/definitions/double" } } }, "DirectTriggerItem": { "description": "https://lua-api.factorio.com/stable/types/DirectTriggerItem.html", "type": "object", "properties": { "entity_flags": { "$ref": "#/definitions/EntityPrototypeFlags" }, "collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "ignore_collision_condition": { "$ref": "#/definitions/bool" }, "trigger_target_mask": { "$ref": "#/definitions/TriggerTargetMask" }, "repeat_count": { "$ref": "#/definitions/uint32" }, "probability": { "$ref": "#/definitions/float" }, "action_delivery": { "anyOf": [ { "$ref": "#/definitions/TriggerDelivery" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TriggerDelivery" } }, { "type": "object", "additionalProperties": false } ] } ] }, "force": { "$ref": "#/definitions/ForceCondition" }, "type": { "type": "string", "const": "direct" }, "filter_enabled": { "$ref": "#/definitions/bool" } }, "required": [ "type" ] }, "Direction": { "description": "https://lua-api.factorio.com/stable/types/Direction.html", "anyOf": [ { "type": "integer", "const": 0 }, { "type": "integer", "const": 1 }, { "type": "integer", "const": 2 }, { "type": "integer", "const": 3 }, { "type": "integer", "const": 4 }, { "type": "integer", "const": 5 }, { "type": "integer", "const": 6 }, { "type": "integer", "const": 7 }, { "type": "integer", "const": 8 }, { "type": "integer", "const": 9 }, { "type": "integer", "const": 10 }, { "type": "integer", "const": 11 }, { "type": "integer", "const": 12 }, { "type": "integer", "const": 13 }, { "type": "integer", "const": 14 }, { "type": "integer", "const": 15 } ] }, "DirectionString": { "description": "https://lua-api.factorio.com/stable/types/DirectionString.html", "anyOf": [ { "type": "string", "const": "north" }, { "type": "string", "const": "north_north_east" }, { "type": "string", "const": "north_east" }, { "type": "string", "const": "east_north_east" }, { "type": "string", "const": "east" }, { "type": "string", "const": "east_south_east" }, { "type": "string", "const": "south_east" }, { "type": "string", "const": "south_south_east" }, { "type": "string", "const": "south" }, { "type": "string", "const": "south_south_west" }, { "type": "string", "const": "south_west" }, { "type": "string", "const": "west_south_west" }, { "type": "string", "const": "west" }, { "type": "string", "const": "west_north_west" }, { "type": "string", "const": "north_west" }, { "type": "string", "const": "north_north_west" } ] }, "DoubleSliderStyleSpecification": { "description": "https://lua-api.factorio.com/stable/types/DoubleSliderStyleSpecification.html", "type": "object", "properties": { "parent": { "$ref": "#/definitions/string" }, "horizontal_align": { "$ref": "#/definitions/HorizontalAlign" }, "vertical_align": { "$ref": "#/definitions/VerticalAlign" }, "ignored_by_search": { "$ref": "#/definitions/bool" }, "never_hide_by_search": { "$ref": "#/definitions/bool" }, "horizontally_stretchable": { "$ref": "#/definitions/StretchRule" }, "vertically_stretchable": { "$ref": "#/definitions/StretchRule" }, "horizontally_squashable": { "$ref": "#/definitions/StretchRule" }, "vertically_squashable": { "$ref": "#/definitions/StretchRule" }, "natural_size": { "anyOf": [ { "$ref": "#/definitions/uint32" }, { "type": "array", "items": [ { "$ref": "#/definitions/uint32" }, { "$ref": "#/definitions/uint32" } ], "minItems": 2, "maxItems": 2 } ] }, "size": { "anyOf": [ { "$ref": "#/definitions/uint32" }, { "type": "array", "items": [ { "$ref": "#/definitions/uint32" }, { "$ref": "#/definitions/uint32" } ], "minItems": 2, "maxItems": 2 } ] }, "width": { "$ref": "#/definitions/uint32" }, "minimal_width": { "$ref": "#/definitions/uint32" }, "maximal_width": { "$ref": "#/definitions/uint32" }, "natural_width": { "$ref": "#/definitions/uint32" }, "height": { "$ref": "#/definitions/uint32" }, "minimal_height": { "$ref": "#/definitions/uint32" }, "maximal_height": { "$ref": "#/definitions/uint32" }, "natural_height": { "$ref": "#/definitions/uint32" }, "padding": { "$ref": "#/definitions/int16" }, "top_padding": { "$ref": "#/definitions/int16" }, "right_padding": { "$ref": "#/definitions/int16" }, "bottom_padding": { "$ref": "#/definitions/int16" }, "left_padding": { "$ref": "#/definitions/int16" }, "margin": { "$ref": "#/definitions/int16" }, "top_margin": { "$ref": "#/definitions/int16" }, "right_margin": { "$ref": "#/definitions/int16" }, "bottom_margin": { "$ref": "#/definitions/int16" }, "left_margin": { "$ref": "#/definitions/int16" }, "effect": { "anyOf": [ { "type": "string", "const": "compilatron-hologram" } ] }, "effect_opacity": { "$ref": "#/definitions/float" }, "tooltip": { "$ref": "#/definitions/LocalisedString" }, "type": { "type": "string", "const": "double_slider_style" }, "full_bar": { "$ref": "#/definitions/ElementImageSet" }, "full_bar_disabled": { "$ref": "#/definitions/ElementImageSet" }, "empty_bar": { "$ref": "#/definitions/ElementImageSet" }, "empty_bar_disabled": { "$ref": "#/definitions/ElementImageSet" }, "draw_notches": { "$ref": "#/definitions/bool" }, "notch": { "$ref": "#/definitions/ElementImageSet" }, "button": { "$ref": "#/definitions/ButtonStyleSpecification" }, "high_button": { "$ref": "#/definitions/ButtonStyleSpecification" } }, "required": [ "type" ] }, "DropDownStyleSpecification": { "description": "https://lua-api.factorio.com/stable/types/DropDownStyleSpecification.html", "type": "object", "properties": { "parent": { "$ref": "#/definitions/string" }, "horizontal_align": { "$ref": "#/definitions/HorizontalAlign" }, "vertical_align": { "$ref": "#/definitions/VerticalAlign" }, "ignored_by_search": { "$ref": "#/definitions/bool" }, "never_hide_by_search": { "$ref": "#/definitions/bool" }, "horizontally_stretchable": { "$ref": "#/definitions/StretchRule" }, "vertically_stretchable": { "$ref": "#/definitions/StretchRule" }, "horizontally_squashable": { "$ref": "#/definitions/StretchRule" }, "vertically_squashable": { "$ref": "#/definitions/StretchRule" }, "natural_size": { "anyOf": [ { "$ref": "#/definitions/uint32" }, { "type": "array", "items": [ { "$ref": "#/definitions/uint32" }, { "$ref": "#/definitions/uint32" } ], "minItems": 2, "maxItems": 2 } ] }, "size": { "anyOf": [ { "$ref": "#/definitions/uint32" }, { "type": "array", "items": [ { "$ref": "#/definitions/uint32" }, { "$ref": "#/definitions/uint32" } ], "minItems": 2, "maxItems": 2 } ] }, "width": { "$ref": "#/definitions/uint32" }, "minimal_width": { "$ref": "#/definitions/uint32" }, "maximal_width": { "$ref": "#/definitions/uint32" }, "natural_width": { "$ref": "#/definitions/uint32" }, "height": { "$ref": "#/definitions/uint32" }, "minimal_height": { "$ref": "#/definitions/uint32" }, "maximal_height": { "$ref": "#/definitions/uint32" }, "natural_height": { "$ref": "#/definitions/uint32" }, "padding": { "$ref": "#/definitions/int16" }, "top_padding": { "$ref": "#/definitions/int16" }, "right_padding": { "$ref": "#/definitions/int16" }, "bottom_padding": { "$ref": "#/definitions/int16" }, "left_padding": { "$ref": "#/definitions/int16" }, "margin": { "$ref": "#/definitions/int16" }, "top_margin": { "$ref": "#/definitions/int16" }, "right_margin": { "$ref": "#/definitions/int16" }, "bottom_margin": { "$ref": "#/definitions/int16" }, "left_margin": { "$ref": "#/definitions/int16" }, "effect": { "anyOf": [ { "type": "string", "const": "compilatron-hologram" } ] }, "effect_opacity": { "$ref": "#/definitions/float" }, "tooltip": { "$ref": "#/definitions/LocalisedString" }, "type": { "type": "string", "const": "dropdown_style" }, "button_style": { "$ref": "#/definitions/ButtonStyleSpecification" }, "icon": { "$ref": "#/definitions/Sprite" }, "list_box_style": { "$ref": "#/definitions/ListBoxStyleSpecification" }, "selector_and_title_spacing": { "$ref": "#/definitions/int16" }, "opened_sound": { "$ref": "#/definitions/Sound" } }, "required": [ "type" ] }, "DropItemTipTrigger": { "description": "https://lua-api.factorio.com/stable/types/DropItemTipTrigger.html", "type": "object", "properties": { "count": { "$ref": "#/definitions/uint32" }, "type": { "type": "string", "const": "drop-item" }, "drop_into_entity": { "$ref": "#/definitions/bool" } }, "required": [ "type" ] }, "Effect": { "description": "https://lua-api.factorio.com/stable/types/Effect.html", "type": "object", "properties": { "consumption": { "$ref": "#/definitions/EffectValue" }, "speed": { "$ref": "#/definitions/EffectValue" }, "productivity": { "$ref": "#/definitions/EffectValue" }, "pollution": { "$ref": "#/definitions/EffectValue" }, "quality": { "$ref": "#/definitions/EffectValue" } } }, "EffectReceiver": { "description": "https://lua-api.factorio.com/stable/types/EffectReceiver.html", "type": "object", "properties": { "base_effect": { "$ref": "#/definitions/Effect" }, "uses_module_effects": { "$ref": "#/definitions/bool" }, "uses_beacon_effects": { "$ref": "#/definitions/bool" }, "uses_surface_effects": { "$ref": "#/definitions/bool" } } }, "EffectRelativeTo": { "description": "https://lua-api.factorio.com/stable/types/EffectRelativeTo.html", "anyOf": [ { "type": "string", "const": "ground-origin" }, { "type": "string", "const": "pod" }, { "type": "string", "const": "spawn-origin" } ] }, "EffectTexture": { "description": "https://lua-api.factorio.com/stable/types/EffectTexture.html", "type": "object", "properties": { "filename": { "$ref": "#/definitions/FileName" }, "size": { "anyOf": [ { "$ref": "#/definitions/SpriteSizeType" }, { "type": "array", "items": [ { "$ref": "#/definitions/SpriteSizeType" }, { "$ref": "#/definitions/SpriteSizeType" } ], "minItems": 2, "maxItems": 2 } ] }, "width": { "$ref": "#/definitions/SpriteSizeType" }, "height": { "$ref": "#/definitions/SpriteSizeType" }, "x": { "$ref": "#/definitions/SpriteSizeType" }, "y": { "$ref": "#/definitions/SpriteSizeType" }, "position": { "type": "array", "items": [ { "$ref": "#/definitions/SpriteSizeType" }, { "$ref": "#/definitions/SpriteSizeType" } ], "minItems": 2, "maxItems": 2 }, "load_in_minimal_mode": { "$ref": "#/definitions/bool" }, "premul_alpha": { "$ref": "#/definitions/bool" }, "allow_forced_downscale": { "$ref": "#/definitions/bool" } } }, "EffectTypeLimitation": { "description": "https://lua-api.factorio.com/stable/types/EffectTypeLimitation.html", "anyOf": [ { "type": "string", "const": "speed" }, { "type": "string", "const": "productivity" }, { "type": "string", "const": "consumption" }, { "type": "string", "const": "pollution" }, { "type": "string", "const": "quality" }, { "oneOf": [ { "type": "array", "items": { "anyOf": [ { "type": "string", "const": "speed" }, { "type": "string", "const": "productivity" }, { "type": "string", "const": "consumption" }, { "type": "string", "const": "pollution" }, { "type": "string", "const": "quality" } ] } }, { "type": "object", "additionalProperties": false } ] } ] }, "EffectValue": { "description": "https://lua-api.factorio.com/stable/types/EffectValue.html", "anyOf": [ { "$ref": "#/definitions/float" } ] }, "EffectVariation": { "description": "https://lua-api.factorio.com/stable/types/EffectVariation.html", "anyOf": [ { "type": "string", "const": "lava" }, { "type": "string", "const": "wetland-water" }, { "type": "string", "const": "oil" }, { "type": "string", "const": "water" } ] }, "ElectricEnergySource": { "description": "https://lua-api.factorio.com/stable/types/ElectricEnergySource.html", "type": "object", "properties": { "emissions_per_minute": { "type": "object", "additionalProperties": { "$ref": "#/definitions/double" }, "propertyNames": { "$ref": "#/definitions/AirbornePollutantID" } }, "render_no_power_icon": { "$ref": "#/definitions/bool" }, "render_no_network_icon": { "$ref": "#/definitions/bool" }, "type": { "type": "string", "const": "electric" }, "buffer_capacity": { "$ref": "#/definitions/Energy" }, "usage_priority": { "$ref": "#/definitions/ElectricUsagePriority" }, "input_flow_limit": { "$ref": "#/definitions/Energy" }, "output_flow_limit": { "$ref": "#/definitions/Energy" }, "drain": { "$ref": "#/definitions/Energy" } }, "required": [ "type", "usage_priority" ] }, "ElectricUsagePriority": { "description": "https://lua-api.factorio.com/stable/types/ElectricUsagePriority.html", "anyOf": [ { "type": "string", "const": "primary-input" }, { "type": "string", "const": "primary-output" }, { "type": "string", "const": "secondary-input" }, { "type": "string", "const": "secondary-output" }, { "type": "string", "const": "tertiary" }, { "type": "string", "const": "solar" }, { "type": "string", "const": "lamp" } ] }, "ElementImageSet": { "description": "https://lua-api.factorio.com/stable/types/ElementImageSet.html", "anyOf": [ { "type": "object", "properties": { "base": { "$ref": "#/definitions/ElementImageSetLayer" }, "shadow": { "$ref": "#/definitions/ElementImageSetLayer" }, "glow": { "$ref": "#/definitions/ElementImageSetLayer" } } }, { "$ref": "#/definitions/ElementImageSetLayer" } ] }, "ElementImageSetLayer": { "description": "https://lua-api.factorio.com/stable/types/ElementImageSetLayer.html", "anyOf": [ { "type": "object", "properties": { "draw_type": { "anyOf": [ { "type": "string", "const": "inner" }, { "type": "string", "const": "outer" } ] }, "type": { "anyOf": [ { "type": "string", "const": "none" }, { "type": "string", "const": "composition" } ] }, "tint": { "$ref": "#/definitions/Color" }, "center": { "$ref": "#/definitions/Sprite" }, "left": { "$ref": "#/definitions/Sprite" }, "left_top": { "$ref": "#/definitions/Sprite" }, "left_bottom": { "$ref": "#/definitions/Sprite" }, "right": { "$ref": "#/definitions/Sprite" }, "right_top": { "$ref": "#/definitions/Sprite" }, "right_bottom": { "$ref": "#/definitions/Sprite" }, "top": { "$ref": "#/definitions/Sprite" }, "bottom": { "$ref": "#/definitions/Sprite" }, "corner_size": { "anyOf": [ { "$ref": "#/definitions/uint16" }, { "type": "array", "items": [ { "$ref": "#/definitions/uint16" }, { "$ref": "#/definitions/uint16" } ], "minItems": 2, "maxItems": 2 } ] }, "filename": { "$ref": "#/definitions/FileName" }, "position": { "$ref": "#/definitions/MapPosition" }, "load_in_minimal_mode": { "$ref": "#/definitions/bool" }, "top_width": { "$ref": "#/definitions/SpriteSizeType" }, "bottom_width": { "$ref": "#/definitions/SpriteSizeType" }, "left_height": { "$ref": "#/definitions/SpriteSizeType" }, "right_height": { "$ref": "#/definitions/SpriteSizeType" }, "center_width": { "$ref": "#/definitions/SpriteSizeType" }, "center_height": { "$ref": "#/definitions/SpriteSizeType" }, "scale": { "$ref": "#/definitions/double" }, "top_border": { "$ref": "#/definitions/int32" }, "right_border": { "$ref": "#/definitions/int32" }, "bottom_border": { "$ref": "#/definitions/int32" }, "left_border": { "$ref": "#/definitions/int32" }, "border": { "$ref": "#/definitions/int32" }, "stretch_monolith_image_to_size": { "$ref": "#/definitions/bool" }, "left_tiling": { "$ref": "#/definitions/bool" }, "right_tiling": { "$ref": "#/definitions/bool" }, "top_tiling": { "$ref": "#/definitions/bool" }, "bottom_tiling": { "$ref": "#/definitions/bool" }, "center_tiling_vertical": { "$ref": "#/definitions/bool" }, "center_tiling_horizontal": { "$ref": "#/definitions/bool" }, "overall_tiling_horizontal_size": { "$ref": "#/definitions/uint16" }, "overall_tiling_horizontal_spacing": { "$ref": "#/definitions/uint16" }, "overall_tiling_horizontal_padding": { "$ref": "#/definitions/uint16" }, "overall_tiling_vertical_size": { "$ref": "#/definitions/uint16" }, "overall_tiling_vertical_spacing": { "$ref": "#/definitions/uint16" }, "overall_tiling_vertical_padding": { "$ref": "#/definitions/uint16" }, "custom_horizontal_tiling_sizes": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/uint32" } }, { "type": "object", "additionalProperties": false } ] }, "opacity": { "$ref": "#/definitions/double" }, "background_blur": { "$ref": "#/definitions/bool" }, "background_blur_sigma": { "$ref": "#/definitions/float" }, "top_outer_border_shift": { "$ref": "#/definitions/int32" }, "bottom_outer_border_shift": { "$ref": "#/definitions/int32" }, "right_outer_border_shift": { "$ref": "#/definitions/int32" }, "left_outer_border_shift": { "$ref": "#/definitions/int32" } } }, { "$ref": "#/definitions/Sprite" } ] }, "EmptyWidgetStyleSpecification": { "description": "https://lua-api.factorio.com/stable/types/EmptyWidgetStyleSpecification.html", "type": "object", "properties": { "parent": { "$ref": "#/definitions/string" }, "horizontal_align": { "$ref": "#/definitions/HorizontalAlign" }, "vertical_align": { "$ref": "#/definitions/VerticalAlign" }, "ignored_by_search": { "$ref": "#/definitions/bool" }, "never_hide_by_search": { "$ref": "#/definitions/bool" }, "horizontally_stretchable": { "$ref": "#/definitions/StretchRule" }, "vertically_stretchable": { "$ref": "#/definitions/StretchRule" }, "horizontally_squashable": { "$ref": "#/definitions/StretchRule" }, "vertically_squashable": { "$ref": "#/definitions/StretchRule" }, "natural_size": { "anyOf": [ { "$ref": "#/definitions/uint32" }, { "type": "array", "items": [ { "$ref": "#/definitions/uint32" }, { "$ref": "#/definitions/uint32" } ], "minItems": 2, "maxItems": 2 } ] }, "size": { "anyOf": [ { "$ref": "#/definitions/uint32" }, { "type": "array", "items": [ { "$ref": "#/definitions/uint32" }, { "$ref": "#/definitions/uint32" } ], "minItems": 2, "maxItems": 2 } ] }, "width": { "$ref": "#/definitions/uint32" }, "minimal_width": { "$ref": "#/definitions/uint32" }, "maximal_width": { "$ref": "#/definitions/uint32" }, "natural_width": { "$ref": "#/definitions/uint32" }, "height": { "$ref": "#/definitions/uint32" }, "minimal_height": { "$ref": "#/definitions/uint32" }, "maximal_height": { "$ref": "#/definitions/uint32" }, "natural_height": { "$ref": "#/definitions/uint32" }, "padding": { "$ref": "#/definitions/int16" }, "top_padding": { "$ref": "#/definitions/int16" }, "right_padding": { "$ref": "#/definitions/int16" }, "bottom_padding": { "$ref": "#/definitions/int16" }, "left_padding": { "$ref": "#/definitions/int16" }, "margin": { "$ref": "#/definitions/int16" }, "top_margin": { "$ref": "#/definitions/int16" }, "right_margin": { "$ref": "#/definitions/int16" }, "bottom_margin": { "$ref": "#/definitions/int16" }, "left_margin": { "$ref": "#/definitions/int16" }, "effect": { "anyOf": [ { "type": "string", "const": "compilatron-hologram" } ] }, "effect_opacity": { "$ref": "#/definitions/float" }, "tooltip": { "$ref": "#/definitions/LocalisedString" }, "type": { "type": "string", "const": "empty_widget_style" }, "graphical_set": { "$ref": "#/definitions/ElementImageSet" } }, "required": [ "type" ] }, "EnemyEvolutionSettings": { "description": "https://lua-api.factorio.com/stable/types/EnemyEvolutionSettings.html", "type": "object", "properties": { "enabled": { "$ref": "#/definitions/bool" }, "time_factor": { "$ref": "#/definitions/double" }, "destroy_factor": { "$ref": "#/definitions/double" }, "pollution_factor": { "$ref": "#/definitions/double" } }, "required": [ "enabled", "time_factor", "destroy_factor", "pollution_factor" ] }, "EnemyExpansionSettings": { "description": "https://lua-api.factorio.com/stable/types/EnemyExpansionSettings.html", "type": "object", "properties": { "enabled": { "$ref": "#/definitions/bool" }, "max_expansion_distance": { "$ref": "#/definitions/uint32" }, "friendly_base_influence_radius": { "$ref": "#/definitions/uint32" }, "enemy_building_influence_radius": { "$ref": "#/definitions/uint32" }, "building_coefficient": { "$ref": "#/definitions/double" }, "other_base_coefficient": { "$ref": "#/definitions/double" }, "neighbouring_chunk_coefficient": { "$ref": "#/definitions/double" }, "neighbouring_base_chunk_coefficient": { "$ref": "#/definitions/double" }, "max_colliding_tiles_coefficient": { "$ref": "#/definitions/double" }, "settler_group_min_size": { "$ref": "#/definitions/uint32" }, "settler_group_max_size": { "$ref": "#/definitions/uint32" }, "min_expansion_cooldown": { "$ref": "#/definitions/uint32" }, "max_expansion_cooldown": { "$ref": "#/definitions/uint32" } }, "required": [ "enabled", "max_expansion_distance", "friendly_base_influence_radius", "enemy_building_influence_radius", "building_coefficient", "other_base_coefficient", "neighbouring_chunk_coefficient", "neighbouring_base_chunk_coefficient", "max_colliding_tiles_coefficient", "settler_group_min_size", "settler_group_max_size", "min_expansion_cooldown", "max_expansion_cooldown" ] }, "EnemySpawnerAbsorption": { "description": "https://lua-api.factorio.com/stable/types/EnemySpawnerAbsorption.html", "type": "object", "properties": { "absolute": { "$ref": "#/definitions/double" }, "proportional": { "$ref": "#/definitions/double" } }, "required": [ "absolute", "proportional" ] }, "EnemySpawnerGraphicsSet": { "description": "https://lua-api.factorio.com/stable/types/EnemySpawnerGraphicsSet.html", "type": "object", "properties": { "animations": { "$ref": "#/definitions/AnimationVariations" }, "underwater_animations": { "$ref": "#/definitions/AnimationVariations" }, "underwater_layer_offset": { "$ref": "#/definitions/int8" }, "water_effect_map_animations": { "$ref": "#/definitions/AnimationVariations" }, "integration": { "$ref": "#/definitions/SpriteVariations" }, "random_animation_offset": { "$ref": "#/definitions/bool" } } }, "Energy": { "description": "https://lua-api.factorio.com/stable/types/Energy.html", "anyOf": [ { "$ref": "#/definitions/string" } ] }, "EnergySource": { "description": "https://lua-api.factorio.com/stable/types/EnergySource.html", "anyOf": [ { "$ref": "#/definitions/ElectricEnergySource" }, { "$ref": "#/definitions/BurnerEnergySource" }, { "$ref": "#/definitions/HeatEnergySource" }, { "$ref": "#/definitions/FluidEnergySource" }, { "$ref": "#/definitions/VoidEnergySource" } ] }, "EnterVehicleTipTrigger": { "description": "https://lua-api.factorio.com/stable/types/EnterVehicleTipTrigger.html", "type": "object", "properties": { "count": { "$ref": "#/definitions/uint32" }, "type": { "type": "string", "const": "enter-vehicle" }, "vehicle": { "$ref": "#/definitions/EntityID" }, "match_type_only": { "$ref": "#/definitions/bool" } }, "required": [ "type" ] }, "EntityBuildAnimationPiece": { "description": "https://lua-api.factorio.com/stable/types/EntityBuildAnimationPiece.html", "type": "object", "properties": { "top": { "$ref": "#/definitions/Animation" }, "body": { "$ref": "#/definitions/Animation" } }, "required": [ "top", "body" ] }, "EntityID": { "description": "https://lua-api.factorio.com/stable/types/EntityID.html", "anyOf": [ { "$ref": "#/definitions/string" } ] }, "EntityIDFilter": { "description": "https://lua-api.factorio.com/stable/types/EntityIDFilter.html", "anyOf": [ { "type": "object", "properties": { "name": { "$ref": "#/definitions/EntityID" }, "quality": { "$ref": "#/definitions/QualityID" }, "comparator": { "$ref": "#/definitions/ComparatorString" } }, "required": [ "name" ] }, { "$ref": "#/definitions/EntityID" } ] }, "EntityPrototypeFlags": { "description": "https://lua-api.factorio.com/stable/types/EntityPrototypeFlags.html", "oneOf": [ { "type": "array", "items": { "anyOf": [ { "type": "string", "const": "not-rotatable" }, { "type": "string", "const": "placeable-neutral" }, { "type": "string", "const": "placeable-player" }, { "type": "string", "const": "placeable-enemy" }, { "type": "string", "const": "placeable-off-grid" }, { "type": "string", "const": "player-creation" }, { "type": "string", "const": "building-direction-8-way" }, { "type": "string", "const": "filter-directions" }, { "type": "string", "const": "get-by-unit-number" }, { "type": "string", "const": "breaths-air" }, { "type": "string", "const": "not-repairable" }, { "type": "string", "const": "not-on-map" }, { "type": "string", "const": "not-deconstructable" }, { "type": "string", "const": "not-blueprintable" }, { "type": "string", "const": "hide-alt-info" }, { "type": "string", "const": "no-gap-fill-while-building" }, { "type": "string", "const": "not-flammable" }, { "type": "string", "const": "no-automated-item-removal" }, { "type": "string", "const": "no-automated-item-insertion" }, { "type": "string", "const": "no-copy-paste" }, { "type": "string", "const": "not-selectable-in-game" }, { "type": "string", "const": "not-upgradable" }, { "type": "string", "const": "not-in-kill-statistics" }, { "type": "string", "const": "building-direction-16-way" }, { "type": "string", "const": "snap-to-rail-support-spot" }, { "type": "string", "const": "not-in-made-in" } ] } }, { "type": "object", "additionalProperties": false } ] }, "EntityStatus": { "description": "https://lua-api.factorio.com/stable/types/EntityStatus.html", "anyOf": [ { "type": "string", "const": "working" }, { "type": "string", "const": "normal" }, { "type": "string", "const": "ghost" }, { "type": "string", "const": "not-plugged-in-electric-network" }, { "type": "string", "const": "networks-connected" }, { "type": "string", "const": "networks-disconnected" }, { "type": "string", "const": "no-ammo" }, { "type": "string", "const": "waiting-for-target-to-be-built" }, { "type": "string", "const": "waiting-for-train" }, { "type": "string", "const": "no-power" }, { "type": "string", "const": "low-temperature" }, { "type": "string", "const": "charging" }, { "type": "string", "const": "discharging" }, { "type": "string", "const": "fully-charged" }, { "type": "string", "const": "no-fuel" }, { "type": "string", "const": "no-food" }, { "type": "string", "const": "out-of-logistic-network" }, { "type": "string", "const": "no-recipe" }, { "type": "string", "const": "no-ingredients" }, { "type": "string", "const": "no-input-fluid" }, { "type": "string", "const": "no-research-in-progress" }, { "type": "string", "const": "no-minable-resources" }, { "type": "string", "const": "low-input-fluid" }, { "type": "string", "const": "low-power" }, { "type": "string", "const": "not-connected-to-rail" }, { "type": "string", "const": "cant-divide-segments" }, { "type": "string", "const": "recharging-after-power-outage" }, { "type": "string", "const": "no-modules-to-transmit" }, { "type": "string", "const": "disabled-by-control-behavior" }, { "type": "string", "const": "opened-by-circuit-network" }, { "type": "string", "const": "closed-by-circuit-network" }, { "type": "string", "const": "disabled-by-script" }, { "type": "string", "const": "disabled" }, { "type": "string", "const": "turned-off-during-daytime" }, { "type": "string", "const": "fluid-ingredient-shortage" }, { "type": "string", "const": "item-ingredient-shortage" }, { "type": "string", "const": "full-output" }, { "type": "string", "const": "not-enough-space-in-output" }, { "type": "string", "const": "full-burnt-result-output" }, { "type": "string", "const": "marked-for-deconstruction" }, { "type": "string", "const": "missing-required-fluid" }, { "type": "string", "const": "missing-science-packs" }, { "type": "string", "const": "waiting-for-source-items" }, { "type": "string", "const": "waiting-for-space-in-destination" }, { "type": "string", "const": "preparing-rocket-for-launch" }, { "type": "string", "const": "waiting-to-launch-rocket" }, { "type": "string", "const": "waiting-for-space-in-platform-hub" }, { "type": "string", "const": "launching-rocket" }, { "type": "string", "const": "thrust-not-required" }, { "type": "string", "const": "not-enough-thrust" }, { "type": "string", "const": "on-the-way" }, { "type": "string", "const": "waiting-in-orbit" }, { "type": "string", "const": "waiting-for-rocket-to-arrive" }, { "type": "string", "const": "no-path" }, { "type": "string", "const": "broken" }, { "type": "string", "const": "none" }, { "type": "string", "const": "frozen" }, { "type": "string", "const": "paused" }, { "type": "string", "const": "not-connected-to-hub-or-pad" }, { "type": "string", "const": "computing-navigation" }, { "type": "string", "const": "no-filter" }, { "type": "string", "const": "waiting-at-stop" }, { "type": "string", "const": "destination-stop-full" }, { "type": "string", "const": "pipeline-overextended" }, { "type": "string", "const": "no-spot-seedable-by-inputs" }, { "type": "string", "const": "waiting-for-plants-to-grow" }, { "type": "string", "const": "recipe-not-researched" } ] }, "EntityTransferTipTrigger": { "description": "https://lua-api.factorio.com/stable/types/EntityTransferTipTrigger.html", "type": "object", "properties": { "count": { "$ref": "#/definitions/uint32" }, "type": { "type": "string", "const": "entity-transfer" }, "transfer": { "anyOf": [ { "type": "string", "const": "in" }, { "type": "string", "const": "out" } ] } }, "required": [ "type" ] }, "EquipmentCategoryID": { "description": "https://lua-api.factorio.com/stable/types/EquipmentCategoryID.html", "anyOf": [ { "$ref": "#/definitions/string" } ] }, "EquipmentGridID": { "description": "https://lua-api.factorio.com/stable/types/EquipmentGridID.html", "anyOf": [ { "$ref": "#/definitions/string" } ] }, "EquipmentID": { "description": "https://lua-api.factorio.com/stable/types/EquipmentID.html", "anyOf": [ { "$ref": "#/definitions/string" } ] }, "EquipmentShape": { "description": "https://lua-api.factorio.com/stable/types/EquipmentShape.html", "type": "object", "properties": { "width": { "$ref": "#/definitions/uint32" }, "height": { "$ref": "#/definitions/uint32" }, "type": { "anyOf": [ { "type": "string", "const": "full" }, { "type": "string", "const": "manual" } ] }, "points": { "oneOf": [ { "type": "array", "items": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/uint32" } }, { "type": "object", "additionalProperties": false } ] } }, { "type": "object", "additionalProperties": false } ] } }, "required": [ "width", "height", "type" ] }, "ExplosionDefinition": { "description": "https://lua-api.factorio.com/stable/types/ExplosionDefinition.html", "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "type": "object", "properties": { "name": { "$ref": "#/definitions/EntityID" }, "offset": { "$ref": "#/definitions/Vector" } }, "required": [ "name" ] } ] }, "Fade": { "description": "https://lua-api.factorio.com/stable/types/Fade.html", "anyOf": [ { "type": "object", "properties": { "curve_type": { "$ref": "#/definitions/AttenuationType" }, "tuning_parameter": { "$ref": "#/definitions/float" }, "from": { "$ref": "#/definitions/ControlPoint" }, "to": { "$ref": "#/definitions/ControlPoint" } }, "required": [ "curve_type" ] }, { "$ref": "#/definitions/AttenuationType" } ] }, "Fades": { "description": "https://lua-api.factorio.com/stable/types/Fades.html", "type": "object", "properties": { "fade_in": { "$ref": "#/definitions/Fade" }, "fade_out": { "$ref": "#/definitions/Fade" } } }, "FastBeltBendTipTrigger": { "description": "https://lua-api.factorio.com/stable/types/FastBeltBendTipTrigger.html", "type": "object", "properties": { "count": { "$ref": "#/definitions/uint32" }, "type": { "type": "string", "const": "fast-belt-bend" } }, "required": [ "type" ] }, "FastReplaceTipTrigger": { "description": "https://lua-api.factorio.com/stable/types/FastReplaceTipTrigger.html", "type": "object", "properties": { "count": { "$ref": "#/definitions/uint32" }, "type": { "type": "string", "const": "fast-replace" }, "source": { "$ref": "#/definitions/EntityID" }, "target": { "$ref": "#/definitions/EntityID" }, "match_type_only": { "$ref": "#/definitions/bool" } }, "required": [ "type" ] }, "FileName": { "description": "https://lua-api.factorio.com/stable/types/FileName.html", "anyOf": [ { "$ref": "#/definitions/string" } ] }, "FlipEntityTipTrigger": { "description": "https://lua-api.factorio.com/stable/types/FlipEntityTipTrigger.html", "type": "object", "properties": { "count": { "$ref": "#/definitions/uint32" }, "type": { "type": "string", "const": "flip-entity" } }, "required": [ "type" ] }, "FlowStyleSpecification": { "description": "https://lua-api.factorio.com/stable/types/FlowStyleSpecification.html", "type": "object", "properties": { "parent": { "$ref": "#/definitions/string" }, "horizontal_align": { "$ref": "#/definitions/HorizontalAlign" }, "vertical_align": { "$ref": "#/definitions/VerticalAlign" }, "ignored_by_search": { "$ref": "#/definitions/bool" }, "never_hide_by_search": { "$ref": "#/definitions/bool" }, "horizontally_stretchable": { "$ref": "#/definitions/StretchRule" }, "vertically_stretchable": { "$ref": "#/definitions/StretchRule" }, "horizontally_squashable": { "$ref": "#/definitions/StretchRule" }, "vertically_squashable": { "$ref": "#/definitions/StretchRule" }, "natural_size": { "anyOf": [ { "$ref": "#/definitions/uint32" }, { "type": "array", "items": [ { "$ref": "#/definitions/uint32" }, { "$ref": "#/definitions/uint32" } ], "minItems": 2, "maxItems": 2 } ] }, "size": { "anyOf": [ { "$ref": "#/definitions/uint32" }, { "type": "array", "items": [ { "$ref": "#/definitions/uint32" }, { "$ref": "#/definitions/uint32" } ], "minItems": 2, "maxItems": 2 } ] }, "width": { "$ref": "#/definitions/uint32" }, "minimal_width": { "$ref": "#/definitions/uint32" }, "maximal_width": { "$ref": "#/definitions/uint32" }, "natural_width": { "$ref": "#/definitions/uint32" }, "height": { "$ref": "#/definitions/uint32" }, "minimal_height": { "$ref": "#/definitions/uint32" }, "maximal_height": { "$ref": "#/definitions/uint32" }, "natural_height": { "$ref": "#/definitions/uint32" }, "padding": { "$ref": "#/definitions/int16" }, "top_padding": { "$ref": "#/definitions/int16" }, "right_padding": { "$ref": "#/definitions/int16" }, "bottom_padding": { "$ref": "#/definitions/int16" }, "left_padding": { "$ref": "#/definitions/int16" }, "margin": { "$ref": "#/definitions/int16" }, "top_margin": { "$ref": "#/definitions/int16" }, "right_margin": { "$ref": "#/definitions/int16" }, "bottom_margin": { "$ref": "#/definitions/int16" }, "left_margin": { "$ref": "#/definitions/int16" }, "effect": { "anyOf": [ { "type": "string", "const": "compilatron-hologram" } ] }, "effect_opacity": { "$ref": "#/definitions/float" }, "tooltip": { "$ref": "#/definitions/LocalisedString" }, "type": { "type": "string", "const": "flow_style" }, "max_on_row": { "$ref": "#/definitions/int32" }, "horizontal_spacing": { "$ref": "#/definitions/int32" }, "vertical_spacing": { "$ref": "#/definitions/int32" } }, "required": [ "type" ] }, "FluidAmount": { "description": "https://lua-api.factorio.com/stable/types/FluidAmount.html", "anyOf": [ { "$ref": "#/definitions/double" } ] }, "FluidBox": { "description": "https://lua-api.factorio.com/stable/types/FluidBox.html", "type": "object", "properties": { "volume": { "$ref": "#/definitions/FluidAmount" }, "pipe_connections": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/PipeConnectionDefinition" } }, { "type": "object", "additionalProperties": false } ] }, "filter": { "$ref": "#/definitions/FluidID" }, "render_layer": { "$ref": "#/definitions/RenderLayer" }, "draw_only_when_connected": { "$ref": "#/definitions/bool" }, "hide_connection_info": { "$ref": "#/definitions/bool" }, "pipe_covers": { "$ref": "#/definitions/Sprite4Way" }, "pipe_covers_frozen": { "$ref": "#/definitions/Sprite4Way" }, "pipe_picture": { "$ref": "#/definitions/Sprite4Way" }, "pipe_picture_frozen": { "$ref": "#/definitions/Sprite4Way" }, "mirrored_pipe_picture": { "$ref": "#/definitions/Sprite4Way" }, "mirrored_pipe_picture_frozen": { "$ref": "#/definitions/Sprite4Way" }, "minimum_temperature": { "$ref": "#/definitions/float" }, "maximum_temperature": { "$ref": "#/definitions/float" }, "max_pipeline_extent": { "$ref": "#/definitions/uint32" }, "production_type": { "anyOf": [ { "type": "string", "const": "none" }, { "type": "string", "const": "input" }, { "type": "string", "const": "input-output" }, { "type": "string", "const": "output" } ] }, "secondary_draw_order": { "$ref": "#/definitions/int8" }, "secondary_draw_orders": { "type": "object", "properties": { "north": { "$ref": "#/definitions/int8" }, "east": { "$ref": "#/definitions/int8" }, "south": { "$ref": "#/definitions/int8" }, "west": { "$ref": "#/definitions/int8" } } }, "always_draw_covers": { "$ref": "#/definitions/bool" }, "enable_working_visualisations": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/string" } }, { "type": "object", "additionalProperties": false } ] } }, "required": [ "volume", "pipe_connections" ] }, "FluidBoxLinkedConnectionID": { "description": "https://lua-api.factorio.com/stable/types/FluidBoxLinkedConnectionID.html", "anyOf": [ { "$ref": "#/definitions/uint32" } ] }, "FluidEnergySource": { "description": "https://lua-api.factorio.com/stable/types/FluidEnergySource.html", "type": "object", "properties": { "emissions_per_minute": { "type": "object", "additionalProperties": { "$ref": "#/definitions/double" }, "propertyNames": { "$ref": "#/definitions/AirbornePollutantID" } }, "render_no_power_icon": { "$ref": "#/definitions/bool" }, "render_no_network_icon": { "$ref": "#/definitions/bool" }, "type": { "type": "string", "const": "fluid" }, "fluid_box": { "$ref": "#/definitions/FluidBox" }, "smoke": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SmokeSource" } }, { "type": "object", "additionalProperties": false } ] }, "light_flicker": { "$ref": "#/definitions/LightFlickeringDefinition" }, "effectivity": { "$ref": "#/definitions/double" }, "burns_fluid": { "$ref": "#/definitions/bool" }, "scale_fluid_usage": { "$ref": "#/definitions/bool" }, "destroy_non_fuel_fluid": { "$ref": "#/definitions/bool" }, "fluid_usage_per_tick": { "$ref": "#/definitions/FluidAmount" }, "maximum_temperature": { "$ref": "#/definitions/float" } }, "required": [ "type", "fluid_box" ] }, "FluidID": { "description": "https://lua-api.factorio.com/stable/types/FluidID.html", "anyOf": [ { "$ref": "#/definitions/string" } ] }, "FluidIngredientPrototype": { "description": "https://lua-api.factorio.com/stable/types/FluidIngredientPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "fluid" }, "name": { "$ref": "#/definitions/FluidID" }, "amount": { "$ref": "#/definitions/FluidAmount" }, "temperature": { "$ref": "#/definitions/float" }, "minimum_temperature": { "$ref": "#/definitions/float" }, "maximum_temperature": { "$ref": "#/definitions/float" }, "ignored_by_stats": { "$ref": "#/definitions/FluidAmount" }, "fluidbox_index": { "$ref": "#/definitions/uint32" }, "fluidbox_multiplier": { "$ref": "#/definitions/uint8" } }, "required": [ "type", "name", "amount" ] }, "FluidProductPrototype": { "description": "https://lua-api.factorio.com/stable/types/FluidProductPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "fluid" }, "name": { "$ref": "#/definitions/FluidID" }, "amount": { "$ref": "#/definitions/FluidAmount" }, "amount_min": { "$ref": "#/definitions/FluidAmount" }, "amount_max": { "$ref": "#/definitions/FluidAmount" }, "probability": { "$ref": "#/definitions/double" }, "ignored_by_stats": { "$ref": "#/definitions/FluidAmount" }, "ignored_by_productivity": { "$ref": "#/definitions/FluidAmount" }, "temperature": { "$ref": "#/definitions/float" }, "fluidbox_index": { "$ref": "#/definitions/uint32" }, "show_details_in_recipe_tooltip": { "$ref": "#/definitions/bool" } }, "required": [ "type", "name" ] }, "FogEffectProperties": { "description": "https://lua-api.factorio.com/stable/types/FogEffectProperties.html", "type": "object", "properties": { "fog_type": { "anyOf": [ { "type": "string", "const": "vulcanus" }, { "type": "string", "const": "gleba" } ] }, "shape_noise_texture": { "$ref": "#/definitions/EffectTexture" }, "detail_noise_texture": { "$ref": "#/definitions/EffectTexture" }, "color1": { "$ref": "#/definitions/Color" }, "color2": { "$ref": "#/definitions/Color" }, "tick_factor": { "$ref": "#/definitions/float" } }, "required": [ "shape_noise_texture", "detail_noise_texture" ] }, "FogMaskShapeDefinition": { "description": "https://lua-api.factorio.com/stable/types/FogMaskShapeDefinition.html", "type": "object", "properties": { "rect": { "$ref": "#/definitions/SimpleBoundingBox" }, "falloff": { "$ref": "#/definitions/float" } }, "required": [ "rect" ] }, "FollowerRobotLifetimeModifier": { "description": "https://lua-api.factorio.com/stable/types/FollowerRobotLifetimeModifier.html", "type": "object", "properties": { "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "hidden": { "$ref": "#/definitions/bool" }, "modifier": { "$ref": "#/definitions/double" }, "type": { "type": "string", "const": "follower-robot-lifetime" }, "infer_icon": { "$ref": "#/definitions/bool" }, "use_icon_overlay_constant": { "$ref": "#/definitions/bool" } }, "required": [ "modifier", "type" ] }, "FootprintParticle": { "description": "https://lua-api.factorio.com/stable/types/FootprintParticle.html", "type": "object", "properties": { "tiles": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileID" } }, { "type": "object", "additionalProperties": false } ] }, "particle_name": { "$ref": "#/definitions/ParticleID" }, "use_as_default": { "$ref": "#/definitions/bool" } }, "required": [ "tiles" ] }, "FootstepTriggerEffectItem": { "description": "https://lua-api.factorio.com/stable/types/FootstepTriggerEffectItem.html", "type": "object", "properties": { "repeat_count": { "$ref": "#/definitions/uint16" }, "repeat_count_deviation": { "$ref": "#/definitions/uint16" }, "probability": { "$ref": "#/definitions/float" }, "affects_target": { "$ref": "#/definitions/bool" }, "show_in_tooltip": { "$ref": "#/definitions/bool" }, "damage_type_filters": { "$ref": "#/definitions/DamageTypeFilters" }, "type": { "type": "string", "const": "create-particle" }, "particle_name": { "$ref": "#/definitions/ParticleID" }, "initial_height": { "$ref": "#/definitions/float" }, "offset_deviation": { "$ref": "#/definitions/SimpleBoundingBox" }, "tile_collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "offsets": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Vector" } }, { "type": "object", "additionalProperties": false } ] }, "initial_height_deviation": { "$ref": "#/definitions/float" }, "initial_vertical_speed": { "$ref": "#/definitions/float" }, "initial_vertical_speed_deviation": { "$ref": "#/definitions/float" }, "speed_from_center": { "$ref": "#/definitions/float" }, "speed_from_center_deviation": { "$ref": "#/definitions/float" }, "frame_speed": { "$ref": "#/definitions/float" }, "frame_speed_deviation": { "$ref": "#/definitions/float" }, "movement_multiplier": { "$ref": "#/definitions/float" }, "tail_length": { "$ref": "#/definitions/uint8" }, "tail_length_deviation": { "$ref": "#/definitions/uint8" }, "tail_width": { "$ref": "#/definitions/float" }, "rotate_offsets": { "$ref": "#/definitions/bool" }, "only_when_visible": { "$ref": "#/definitions/bool" }, "apply_tile_tint": { "anyOf": [ { "type": "string", "const": "primary" }, { "type": "string", "const": "secondary" } ] }, "tint": { "$ref": "#/definitions/Color" }, "tiles": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileID" } }, { "type": "object", "additionalProperties": false } ] }, "actions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/CreateParticleTriggerEffectItem" } }, { "type": "object", "additionalProperties": false } ] }, "use_as_default": { "$ref": "#/definitions/bool" } }, "required": [ "tiles" ] }, "FootstepTriggerEffectList": { "description": "https://lua-api.factorio.com/stable/types/FootstepTriggerEffectList.html", "oneOf": [ { "type": "array", "items": { "anyOf": [ { "$ref": "#/definitions/FootstepTriggerEffectItem" } ] } }, { "type": "object", "additionalProperties": false } ] }, "ForceCondition": { "description": "https://lua-api.factorio.com/stable/types/ForceCondition.html", "anyOf": [ { "type": "string", "const": "all" }, { "type": "string", "const": "enemy" }, { "type": "string", "const": "ally" }, { "type": "string", "const": "friend" }, { "type": "string", "const": "not-friend" }, { "type": "string", "const": "same" }, { "type": "string", "const": "not-same" } ] }, "FrameStyleSpecification": { "description": "https://lua-api.factorio.com/stable/types/FrameStyleSpecification.html", "type": "object", "properties": { "parent": { "$ref": "#/definitions/string" }, "horizontal_align": { "$ref": "#/definitions/HorizontalAlign" }, "vertical_align": { "$ref": "#/definitions/VerticalAlign" }, "ignored_by_search": { "$ref": "#/definitions/bool" }, "never_hide_by_search": { "$ref": "#/definitions/bool" }, "horizontally_stretchable": { "$ref": "#/definitions/StretchRule" }, "vertically_stretchable": { "$ref": "#/definitions/StretchRule" }, "horizontally_squashable": { "$ref": "#/definitions/StretchRule" }, "vertically_squashable": { "$ref": "#/definitions/StretchRule" }, "natural_size": { "anyOf": [ { "$ref": "#/definitions/uint32" }, { "type": "array", "items": [ { "$ref": "#/definitions/uint32" }, { "$ref": "#/definitions/uint32" } ], "minItems": 2, "maxItems": 2 } ] }, "size": { "anyOf": [ { "$ref": "#/definitions/uint32" }, { "type": "array", "items": [ { "$ref": "#/definitions/uint32" }, { "$ref": "#/definitions/uint32" } ], "minItems": 2, "maxItems": 2 } ] }, "width": { "$ref": "#/definitions/uint32" }, "minimal_width": { "$ref": "#/definitions/uint32" }, "maximal_width": { "$ref": "#/definitions/uint32" }, "natural_width": { "$ref": "#/definitions/uint32" }, "height": { "$ref": "#/definitions/uint32" }, "minimal_height": { "$ref": "#/definitions/uint32" }, "maximal_height": { "$ref": "#/definitions/uint32" }, "natural_height": { "$ref": "#/definitions/uint32" }, "padding": { "$ref": "#/definitions/int16" }, "top_padding": { "$ref": "#/definitions/int16" }, "right_padding": { "$ref": "#/definitions/int16" }, "bottom_padding": { "$ref": "#/definitions/int16" }, "left_padding": { "$ref": "#/definitions/int16" }, "margin": { "$ref": "#/definitions/int16" }, "top_margin": { "$ref": "#/definitions/int16" }, "right_margin": { "$ref": "#/definitions/int16" }, "bottom_margin": { "$ref": "#/definitions/int16" }, "left_margin": { "$ref": "#/definitions/int16" }, "effect": { "anyOf": [ { "type": "string", "const": "compilatron-hologram" } ] }, "effect_opacity": { "$ref": "#/definitions/float" }, "tooltip": { "$ref": "#/definitions/LocalisedString" }, "type": { "type": "string", "const": "frame_style" }, "graphical_set": { "$ref": "#/definitions/ElementImageSet" }, "horizontal_flow_style": { "$ref": "#/definitions/HorizontalFlowStyleSpecification" }, "vertical_flow_style": { "$ref": "#/definitions/VerticalFlowStyleSpecification" }, "header_flow_style": { "$ref": "#/definitions/HorizontalFlowStyleSpecification" }, "header_filler_style": { "$ref": "#/definitions/EmptyWidgetStyleSpecification" }, "title_style": { "$ref": "#/definitions/LabelStyleSpecification" }, "use_header_filler": { "$ref": "#/definitions/bool" }, "drag_by_title": { "$ref": "#/definitions/bool" }, "header_background": { "$ref": "#/definitions/ElementImageSet" }, "background_graphical_set": { "$ref": "#/definitions/ElementImageSet" }, "border": { "$ref": "#/definitions/BorderImageSet" } }, "required": [ "type" ] }, "FrequencySizeRichness": { "description": "https://lua-api.factorio.com/stable/types/FrequencySizeRichness.html", "type": "object", "properties": { "frequency": { "$ref": "#/definitions/MapGenSize" }, "size": { "$ref": "#/definitions/MapGenSize" }, "richness": { "$ref": "#/definitions/MapGenSize" } } }, "FuelCategoryID": { "description": "https://lua-api.factorio.com/stable/types/FuelCategoryID.html", "anyOf": [ { "$ref": "#/definitions/string" } ] }, "FusionGeneratorDirectionGraphicsSet": { "description": "https://lua-api.factorio.com/stable/types/FusionGeneratorDirectionGraphicsSet.html", "type": "object", "properties": { "animation": { "$ref": "#/definitions/Animation" }, "working_light": { "$ref": "#/definitions/Animation" }, "fusion_effect_uv_map": { "$ref": "#/definitions/Sprite" }, "fluid_input_graphics": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/FusionGeneratorFluidInputGraphics" } }, { "type": "object", "additionalProperties": false } ] } } }, "FusionGeneratorFluidInputGraphics": { "description": "https://lua-api.factorio.com/stable/types/FusionGeneratorFluidInputGraphics.html", "type": "object", "properties": { "sprite": { "$ref": "#/definitions/Sprite" }, "working_light": { "$ref": "#/definitions/Sprite" }, "fusion_effect_uv_map": { "$ref": "#/definitions/Sprite" } } }, "FusionGeneratorGraphicsSet": { "description": "https://lua-api.factorio.com/stable/types/FusionGeneratorGraphicsSet.html", "type": "object", "properties": { "north_graphics_set": { "$ref": "#/definitions/FusionGeneratorDirectionGraphicsSet" }, "east_graphics_set": { "$ref": "#/definitions/FusionGeneratorDirectionGraphicsSet" }, "south_graphics_set": { "$ref": "#/definitions/FusionGeneratorDirectionGraphicsSet" }, "west_graphics_set": { "$ref": "#/definitions/FusionGeneratorDirectionGraphicsSet" }, "render_layer": { "$ref": "#/definitions/RenderLayer" }, "light": { "$ref": "#/definitions/LightDefinition" }, "glow_color": { "$ref": "#/definitions/Color" } }, "required": [ "north_graphics_set", "east_graphics_set", "south_graphics_set", "west_graphics_set" ] }, "FusionReactorConnectionGraphics": { "description": "https://lua-api.factorio.com/stable/types/FusionReactorConnectionGraphics.html", "type": "object", "properties": { "pictures": { "$ref": "#/definitions/Animation" }, "working_light_pictures": { "$ref": "#/definitions/Animation" }, "fusion_effect_uv_map": { "$ref": "#/definitions/Sprite" } } }, "FusionReactorGraphicsSet": { "description": "https://lua-api.factorio.com/stable/types/FusionReactorGraphicsSet.html", "type": "object", "properties": { "structure": { "$ref": "#/definitions/Sprite4Way" }, "render_layer": { "$ref": "#/definitions/RenderLayer" }, "default_fuel_glow_color": { "$ref": "#/definitions/Color" }, "light": { "$ref": "#/definitions/LightDefinition" }, "working_light_pictures": { "$ref": "#/definitions/Sprite4Way" }, "use_fuel_glow_color": { "$ref": "#/definitions/bool" }, "fusion_effect_uv_map": { "$ref": "#/definitions/Sprite" }, "connections_graphics": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/FusionReactorConnectionGraphics" } }, { "type": "object", "additionalProperties": false } ] }, "direction_to_connections_graphics": { "type": "object", "additionalProperties": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/uint8" } }, { "type": "object", "additionalProperties": false } ] }, "propertyNames": { "$ref": "#/definitions/DirectionString" } }, "plasma_category": { "$ref": "#/definitions/NeighbourConnectableConnectionCategory" } }, "required": [ "plasma_category" ] }, "GameControllerVibrationData": { "description": "https://lua-api.factorio.com/stable/types/GameControllerVibrationData.html", "type": "object", "properties": { "low_frequency_vibration_intensity": { "$ref": "#/definitions/float" }, "high_frequency_vibration_intensity": { "$ref": "#/definitions/float" }, "duration": { "$ref": "#/definitions/uint32" }, "play_for": { "anyOf": [ { "type": "string", "const": "character_actions" }, { "type": "string", "const": "everything" } ] } } }, "GameViewSettings": { "description": "https://lua-api.factorio.com/stable/types/GameViewSettings.html", "type": "object", "properties": { "default_show_value": { "$ref": "#/definitions/bool" }, "show_controller_gui": { "$ref": "#/definitions/bool" }, "show_minimap": { "$ref": "#/definitions/bool" }, "show_research_info": { "$ref": "#/definitions/bool" }, "show_entity_info": { "$ref": "#/definitions/bool" }, "show_alert_gui": { "$ref": "#/definitions/bool" }, "update_entity_selection": { "$ref": "#/definitions/bool" }, "show_rail_block_visualisation": { "$ref": "#/definitions/bool" }, "show_side_menu": { "$ref": "#/definitions/bool" }, "show_map_view_options": { "$ref": "#/definitions/bool" }, "show_entity_tooltip": { "$ref": "#/definitions/bool" }, "show_quickbar": { "$ref": "#/definitions/bool" }, "show_shortcut_bar": { "$ref": "#/definitions/bool" }, "show_crafting_queue": { "$ref": "#/definitions/bool" }, "show_tool_bar": { "$ref": "#/definitions/bool" }, "show_hotkey_suggestions": { "$ref": "#/definitions/bool" }, "show_surface_list": { "$ref": "#/definitions/bool" } } }, "GateOverRailBuildTipTrigger": { "description": "https://lua-api.factorio.com/stable/types/GateOverRailBuildTipTrigger.html", "type": "object", "properties": { "count": { "$ref": "#/definitions/uint32" }, "type": { "type": "string", "const": "gate-over-rail-build" } }, "required": [ "type" ] }, "GeneratingPowerTipTrigger": { "description": "https://lua-api.factorio.com/stable/types/GeneratingPowerTipTrigger.html", "type": "object", "properties": { "count": { "$ref": "#/definitions/uint32" }, "type": { "type": "string", "const": "generating-power" } }, "required": [ "type" ] }, "GhostShimmerConfig": { "description": "https://lua-api.factorio.com/stable/types/GhostShimmerConfig.html", "type": "object", "properties": { "tint": { "$ref": "#/definitions/Color" }, "distortion": { "$ref": "#/definitions/float" }, "blend_mode": { "$ref": "#/definitions/int32" }, "visualize_borders": { "$ref": "#/definitions/bool" }, "proportional_distortion": { "$ref": "#/definitions/bool" }, "world_uv_modulo": { "$ref": "#/definitions/int32" }, "overlay_layers": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/GhostShimmerOverlayData" } }, { "type": "object", "additionalProperties": false } ] }, "distortion_layers": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/GhostShimmerDistortionData" } }, { "type": "object", "additionalProperties": false } ] } }, "required": [ "tint", "distortion", "blend_mode", "visualize_borders", "proportional_distortion", "world_uv_modulo", "overlay_layers", "distortion_layers" ] }, "GhostShimmerDistortionData": { "description": "https://lua-api.factorio.com/stable/types/GhostShimmerDistortionData.html", "type": "object", "properties": { "shape": { "$ref": "#/definitions/int32" }, "intensity": { "$ref": "#/definitions/float" }, "x": { "$ref": "#/definitions/float" }, "y": { "$ref": "#/definitions/float" } }, "required": [ "shape", "intensity", "x", "y" ] }, "GhostShimmerOverlayData": { "description": "https://lua-api.factorio.com/stable/types/GhostShimmerOverlayData.html", "type": "object", "properties": { "blend_mode": { "$ref": "#/definitions/int32" }, "shape": { "$ref": "#/definitions/int32" }, "x": { "$ref": "#/definitions/float" }, "y": { "$ref": "#/definitions/float" }, "tint": { "$ref": "#/definitions/Color" }, "cutoff": { "$ref": "#/definitions/float" } }, "required": [ "blend_mode", "shape", "x", "y", "tint", "cutoff" ] }, "GhostTintSet": { "description": "https://lua-api.factorio.com/stable/types/GhostTintSet.html", "type": "object", "properties": { "ghost_tint": { "$ref": "#/definitions/Color" }, "ghost_delivery_tint": { "$ref": "#/definitions/Color" }, "tile_ghost_tint": { "$ref": "#/definitions/Color" }, "tile_ghost_delivery_tint": { "$ref": "#/definitions/Color" }, "wire_tint": { "$ref": "#/definitions/Color" } }, "required": [ "ghost_tint", "ghost_delivery_tint", "tile_ghost_tint", "tile_ghost_delivery_tint", "wire_tint" ] }, "GigaCargoHatchDefinition": { "description": "https://lua-api.factorio.com/stable/types/GigaCargoHatchDefinition.html", "type": "object", "properties": { "hatch_graphics_back": { "$ref": "#/definitions/Animation" }, "hatch_graphics_front": { "$ref": "#/definitions/Animation" }, "hatch_render_layer_back": { "$ref": "#/definitions/RenderLayer" }, "hatch_render_layer_front": { "$ref": "#/definitions/RenderLayer" }, "covered_hatches": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/uint32" } }, { "type": "object", "additionalProperties": false } ] }, "opening_sound": { "$ref": "#/definitions/InterruptibleSound" }, "closing_sound": { "$ref": "#/definitions/InterruptibleSound" } }, "required": [ "covered_hatches" ] }, "GiveItemModifier": { "description": "https://lua-api.factorio.com/stable/types/GiveItemModifier.html", "type": "object", "properties": { "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "hidden": { "$ref": "#/definitions/bool" }, "type": { "type": "string", "const": "give-item" }, "use_icon_overlay_constant": { "$ref": "#/definitions/bool" }, "item": { "$ref": "#/definitions/ItemID" }, "quality": { "$ref": "#/definitions/QualityID" }, "count": { "$ref": "#/definitions/ItemCountType" } }, "required": [ "type", "item" ] }, "GlobalRecipeTints": { "description": "https://lua-api.factorio.com/stable/types/GlobalRecipeTints.html", "type": "object", "properties": { "primary": { "$ref": "#/definitions/Color" }, "secondary": { "$ref": "#/definitions/Color" }, "tertiary": { "$ref": "#/definitions/Color" }, "quaternary": { "$ref": "#/definitions/Color" } } }, "GlobalTintEffectProperties": { "description": "https://lua-api.factorio.com/stable/types/GlobalTintEffectProperties.html", "type": "object", "properties": { "noise_texture": { "$ref": "#/definitions/EffectTexture" }, "offset": { "$ref": "#/definitions/Vector4f" }, "intensity": { "$ref": "#/definitions/Vector4f" }, "scale_u": { "$ref": "#/definitions/Vector4f" }, "scale_v": { "$ref": "#/definitions/Vector4f" }, "global_intensity": { "$ref": "#/definitions/float" }, "global_scale": { "$ref": "#/definitions/float" }, "zoom_factor": { "$ref": "#/definitions/float" }, "zoom_intensity": { "$ref": "#/definitions/float" } }, "required": [ "noise_texture", "offset", "intensity", "scale_u", "scale_v", "global_intensity", "global_scale", "zoom_factor", "zoom_intensity" ] }, "GlowStyleSpecification": { "description": "https://lua-api.factorio.com/stable/types/GlowStyleSpecification.html", "type": "object", "properties": { "parent": { "$ref": "#/definitions/string" }, "horizontal_align": { "$ref": "#/definitions/HorizontalAlign" }, "vertical_align": { "$ref": "#/definitions/VerticalAlign" }, "ignored_by_search": { "$ref": "#/definitions/bool" }, "never_hide_by_search": { "$ref": "#/definitions/bool" }, "horizontally_stretchable": { "$ref": "#/definitions/StretchRule" }, "vertically_stretchable": { "$ref": "#/definitions/StretchRule" }, "horizontally_squashable": { "$ref": "#/definitions/StretchRule" }, "vertically_squashable": { "$ref": "#/definitions/StretchRule" }, "natural_size": { "anyOf": [ { "$ref": "#/definitions/uint32" }, { "type": "array", "items": [ { "$ref": "#/definitions/uint32" }, { "$ref": "#/definitions/uint32" } ], "minItems": 2, "maxItems": 2 } ] }, "size": { "anyOf": [ { "$ref": "#/definitions/uint32" }, { "type": "array", "items": [ { "$ref": "#/definitions/uint32" }, { "$ref": "#/definitions/uint32" } ], "minItems": 2, "maxItems": 2 } ] }, "width": { "$ref": "#/definitions/uint32" }, "minimal_width": { "$ref": "#/definitions/uint32" }, "maximal_width": { "$ref": "#/definitions/uint32" }, "natural_width": { "$ref": "#/definitions/uint32" }, "height": { "$ref": "#/definitions/uint32" }, "minimal_height": { "$ref": "#/definitions/uint32" }, "maximal_height": { "$ref": "#/definitions/uint32" }, "natural_height": { "$ref": "#/definitions/uint32" }, "padding": { "$ref": "#/definitions/int16" }, "top_padding": { "$ref": "#/definitions/int16" }, "right_padding": { "$ref": "#/definitions/int16" }, "bottom_padding": { "$ref": "#/definitions/int16" }, "left_padding": { "$ref": "#/definitions/int16" }, "margin": { "$ref": "#/definitions/int16" }, "top_margin": { "$ref": "#/definitions/int16" }, "right_margin": { "$ref": "#/definitions/int16" }, "bottom_margin": { "$ref": "#/definitions/int16" }, "left_margin": { "$ref": "#/definitions/int16" }, "effect": { "anyOf": [ { "type": "string", "const": "compilatron-hologram" } ] }, "effect_opacity": { "$ref": "#/definitions/float" }, "tooltip": { "$ref": "#/definitions/LocalisedString" }, "type": { "type": "string", "const": "glow_style" }, "image_set": { "$ref": "#/definitions/ElementImageSet" } }, "required": [ "type" ] }, "GraphStyleSpecification": { "description": "https://lua-api.factorio.com/stable/types/GraphStyleSpecification.html", "type": "object", "properties": { "parent": { "$ref": "#/definitions/string" }, "horizontal_align": { "$ref": "#/definitions/HorizontalAlign" }, "vertical_align": { "$ref": "#/definitions/VerticalAlign" }, "ignored_by_search": { "$ref": "#/definitions/bool" }, "never_hide_by_search": { "$ref": "#/definitions/bool" }, "horizontally_stretchable": { "$ref": "#/definitions/StretchRule" }, "vertically_stretchable": { "$ref": "#/definitions/StretchRule" }, "horizontally_squashable": { "$ref": "#/definitions/StretchRule" }, "vertically_squashable": { "$ref": "#/definitions/StretchRule" }, "natural_size": { "anyOf": [ { "$ref": "#/definitions/uint32" }, { "type": "array", "items": [ { "$ref": "#/definitions/uint32" }, { "$ref": "#/definitions/uint32" } ], "minItems": 2, "maxItems": 2 } ] }, "size": { "anyOf": [ { "$ref": "#/definitions/uint32" }, { "type": "array", "items": [ { "$ref": "#/definitions/uint32" }, { "$ref": "#/definitions/uint32" } ], "minItems": 2, "maxItems": 2 } ] }, "width": { "$ref": "#/definitions/uint32" }, "minimal_width": { "$ref": "#/definitions/uint32" }, "maximal_width": { "$ref": "#/definitions/uint32" }, "natural_width": { "$ref": "#/definitions/uint32" }, "height": { "$ref": "#/definitions/uint32" }, "minimal_height": { "$ref": "#/definitions/uint32" }, "maximal_height": { "$ref": "#/definitions/uint32" }, "natural_height": { "$ref": "#/definitions/uint32" }, "padding": { "$ref": "#/definitions/int16" }, "top_padding": { "$ref": "#/definitions/int16" }, "right_padding": { "$ref": "#/definitions/int16" }, "bottom_padding": { "$ref": "#/definitions/int16" }, "left_padding": { "$ref": "#/definitions/int16" }, "margin": { "$ref": "#/definitions/int16" }, "top_margin": { "$ref": "#/definitions/int16" }, "right_margin": { "$ref": "#/definitions/int16" }, "bottom_margin": { "$ref": "#/definitions/int16" }, "left_margin": { "$ref": "#/definitions/int16" }, "effect": { "anyOf": [ { "type": "string", "const": "compilatron-hologram" } ] }, "effect_opacity": { "$ref": "#/definitions/float" }, "tooltip": { "$ref": "#/definitions/LocalisedString" }, "type": { "type": "string", "const": "graph_style" }, "background_color": { "$ref": "#/definitions/Color" }, "line_colors": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Color" } }, { "type": "object", "additionalProperties": false } ] }, "horizontal_label_style": { "$ref": "#/definitions/LabelStyleSpecification" }, "vertical_label_style": { "$ref": "#/definitions/LabelStyleSpecification" }, "minimal_horizontal_label_spacing": { "$ref": "#/definitions/uint32" }, "minimal_vertical_label_spacing": { "$ref": "#/definitions/uint32" }, "horizontal_labels_margin": { "$ref": "#/definitions/uint32" }, "vertical_labels_margin": { "$ref": "#/definitions/uint32" }, "graph_top_margin": { "$ref": "#/definitions/uint32" }, "graph_right_margin": { "$ref": "#/definitions/uint32" }, "data_line_highlight_distance": { "$ref": "#/definitions/uint32" }, "selection_dot_radius": { "$ref": "#/definitions/uint32" }, "grid_lines_color": { "$ref": "#/definitions/Color" }, "guide_lines_color": { "$ref": "#/definitions/Color" }, "font": { "$ref": "#/definitions/string" } }, "required": [ "type" ] }, "GroupAttackTipTrigger": { "description": "https://lua-api.factorio.com/stable/types/GroupAttackTipTrigger.html", "type": "object", "properties": { "count": { "$ref": "#/definitions/uint32" }, "type": { "type": "string", "const": "group-attack" } }, "required": [ "type" ] }, "GunSpeedModifier": { "description": "https://lua-api.factorio.com/stable/types/GunSpeedModifier.html", "type": "object", "properties": { "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "hidden": { "$ref": "#/definitions/bool" }, "type": { "type": "string", "const": "gun-speed" }, "infer_icon": { "$ref": "#/definitions/bool" }, "use_icon_overlay_constant": { "$ref": "#/definitions/bool" }, "ammo_category": { "$ref": "#/definitions/AmmoCategoryID" }, "modifier": { "$ref": "#/definitions/double" } }, "required": [ "type", "ammo_category", "modifier" ] }, "HeatBuffer": { "description": "https://lua-api.factorio.com/stable/types/HeatBuffer.html", "type": "object", "properties": { "max_temperature": { "$ref": "#/definitions/double" }, "specific_heat": { "$ref": "#/definitions/Energy" }, "max_transfer": { "$ref": "#/definitions/Energy" }, "default_temperature": { "$ref": "#/definitions/double" }, "min_temperature_gradient": { "$ref": "#/definitions/double" }, "min_working_temperature": { "$ref": "#/definitions/double" }, "minimum_glow_temperature": { "$ref": "#/definitions/float" }, "pipe_covers": { "$ref": "#/definitions/Sprite4Way" }, "heat_pipe_covers": { "$ref": "#/definitions/Sprite4Way" }, "heat_picture": { "$ref": "#/definitions/Sprite4Way" }, "heat_glow": { "$ref": "#/definitions/Sprite4Way" }, "connections": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/HeatConnection" } }, { "type": "object", "additionalProperties": false } ] } }, "required": [ "max_temperature", "specific_heat", "max_transfer" ] }, "HeatConnection": { "description": "https://lua-api.factorio.com/stable/types/HeatConnection.html", "type": "object", "properties": { "position": { "$ref": "#/definitions/MapPosition" }, "direction": { "$ref": "#/definitions/Direction" } }, "required": [ "position", "direction" ] }, "HeatEnergySource": { "description": "https://lua-api.factorio.com/stable/types/HeatEnergySource.html", "type": "object", "properties": { "emissions_per_minute": { "type": "object", "additionalProperties": { "$ref": "#/definitions/double" }, "propertyNames": { "$ref": "#/definitions/AirbornePollutantID" } }, "render_no_power_icon": { "$ref": "#/definitions/bool" }, "render_no_network_icon": { "$ref": "#/definitions/bool" }, "type": { "type": "string", "const": "heat" }, "max_temperature": { "$ref": "#/definitions/double" }, "specific_heat": { "$ref": "#/definitions/Energy" }, "max_transfer": { "$ref": "#/definitions/Energy" }, "default_temperature": { "$ref": "#/definitions/double" }, "min_temperature_gradient": { "$ref": "#/definitions/double" }, "min_working_temperature": { "$ref": "#/definitions/double" }, "minimum_glow_temperature": { "$ref": "#/definitions/float" }, "pipe_covers": { "$ref": "#/definitions/Sprite4Way" }, "heat_pipe_covers": { "$ref": "#/definitions/Sprite4Way" }, "heat_picture": { "$ref": "#/definitions/Sprite4Way" }, "heat_glow": { "$ref": "#/definitions/Sprite4Way" }, "connections": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/HeatConnection" } }, { "type": "object", "additionalProperties": false } ] } }, "required": [ "type", "max_temperature", "specific_heat", "max_transfer" ] }, "HorizontalAlign": { "description": "https://lua-api.factorio.com/stable/types/HorizontalAlign.html", "anyOf": [ { "type": "string", "const": "left" }, { "type": "string", "const": "center" }, { "type": "string", "const": "right" } ] }, "HorizontalFlowStyleSpecification": { "description": "https://lua-api.factorio.com/stable/types/HorizontalFlowStyleSpecification.html", "type": "object", "properties": { "parent": { "$ref": "#/definitions/string" }, "horizontal_align": { "$ref": "#/definitions/HorizontalAlign" }, "vertical_align": { "$ref": "#/definitions/VerticalAlign" }, "ignored_by_search": { "$ref": "#/definitions/bool" }, "never_hide_by_search": { "$ref": "#/definitions/bool" }, "horizontally_stretchable": { "$ref": "#/definitions/StretchRule" }, "vertically_stretchable": { "$ref": "#/definitions/StretchRule" }, "horizontally_squashable": { "$ref": "#/definitions/StretchRule" }, "vertically_squashable": { "$ref": "#/definitions/StretchRule" }, "natural_size": { "anyOf": [ { "$ref": "#/definitions/uint32" }, { "type": "array", "items": [ { "$ref": "#/definitions/uint32" }, { "$ref": "#/definitions/uint32" } ], "minItems": 2, "maxItems": 2 } ] }, "size": { "anyOf": [ { "$ref": "#/definitions/uint32" }, { "type": "array", "items": [ { "$ref": "#/definitions/uint32" }, { "$ref": "#/definitions/uint32" } ], "minItems": 2, "maxItems": 2 } ] }, "width": { "$ref": "#/definitions/uint32" }, "minimal_width": { "$ref": "#/definitions/uint32" }, "maximal_width": { "$ref": "#/definitions/uint32" }, "natural_width": { "$ref": "#/definitions/uint32" }, "height": { "$ref": "#/definitions/uint32" }, "minimal_height": { "$ref": "#/definitions/uint32" }, "maximal_height": { "$ref": "#/definitions/uint32" }, "natural_height": { "$ref": "#/definitions/uint32" }, "padding": { "$ref": "#/definitions/int16" }, "top_padding": { "$ref": "#/definitions/int16" }, "right_padding": { "$ref": "#/definitions/int16" }, "bottom_padding": { "$ref": "#/definitions/int16" }, "left_padding": { "$ref": "#/definitions/int16" }, "margin": { "$ref": "#/definitions/int16" }, "top_margin": { "$ref": "#/definitions/int16" }, "right_margin": { "$ref": "#/definitions/int16" }, "bottom_margin": { "$ref": "#/definitions/int16" }, "left_margin": { "$ref": "#/definitions/int16" }, "effect": { "anyOf": [ { "type": "string", "const": "compilatron-hologram" } ] }, "effect_opacity": { "$ref": "#/definitions/float" }, "tooltip": { "$ref": "#/definitions/LocalisedString" }, "type": { "type": "string", "const": "horizontal_flow_style" }, "horizontal_spacing": { "$ref": "#/definitions/int32" } }, "required": [ "type" ] }, "HorizontalScrollBarStyleSpecification": { "description": "https://lua-api.factorio.com/stable/types/HorizontalScrollBarStyleSpecification.html", "type": "object", "properties": { "parent": { "$ref": "#/definitions/string" }, "horizontal_align": { "$ref": "#/definitions/HorizontalAlign" }, "vertical_align": { "$ref": "#/definitions/VerticalAlign" }, "ignored_by_search": { "$ref": "#/definitions/bool" }, "never_hide_by_search": { "$ref": "#/definitions/bool" }, "horizontally_stretchable": { "$ref": "#/definitions/StretchRule" }, "vertically_stretchable": { "$ref": "#/definitions/StretchRule" }, "horizontally_squashable": { "$ref": "#/definitions/StretchRule" }, "vertically_squashable": { "$ref": "#/definitions/StretchRule" }, "natural_size": { "anyOf": [ { "$ref": "#/definitions/uint32" }, { "type": "array", "items": [ { "$ref": "#/definitions/uint32" }, { "$ref": "#/definitions/uint32" } ], "minItems": 2, "maxItems": 2 } ] }, "size": { "anyOf": [ { "$ref": "#/definitions/uint32" }, { "type": "array", "items": [ { "$ref": "#/definitions/uint32" }, { "$ref": "#/definitions/uint32" } ], "minItems": 2, "maxItems": 2 } ] }, "width": { "$ref": "#/definitions/uint32" }, "minimal_width": { "$ref": "#/definitions/uint32" }, "maximal_width": { "$ref": "#/definitions/uint32" }, "natural_width": { "$ref": "#/definitions/uint32" }, "height": { "$ref": "#/definitions/uint32" }, "minimal_height": { "$ref": "#/definitions/uint32" }, "maximal_height": { "$ref": "#/definitions/uint32" }, "natural_height": { "$ref": "#/definitions/uint32" }, "padding": { "$ref": "#/definitions/int16" }, "top_padding": { "$ref": "#/definitions/int16" }, "right_padding": { "$ref": "#/definitions/int16" }, "bottom_padding": { "$ref": "#/definitions/int16" }, "left_padding": { "$ref": "#/definitions/int16" }, "margin": { "$ref": "#/definitions/int16" }, "top_margin": { "$ref": "#/definitions/int16" }, "right_margin": { "$ref": "#/definitions/int16" }, "bottom_margin": { "$ref": "#/definitions/int16" }, "left_margin": { "$ref": "#/definitions/int16" }, "effect": { "anyOf": [ { "type": "string", "const": "compilatron-hologram" } ] }, "effect_opacity": { "$ref": "#/definitions/float" }, "tooltip": { "$ref": "#/definitions/LocalisedString" }, "background_graphical_set": { "$ref": "#/definitions/ElementImageSet" }, "thumb_button_style": { "$ref": "#/definitions/ButtonStyleSpecification" }, "type": { "type": "string", "const": "horizontal_scrollbar_style" } }, "required": [ "type" ] }, "IconData": { "description": "https://lua-api.factorio.com/stable/types/IconData.html", "type": "object", "properties": { "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "tint": { "$ref": "#/definitions/Color" }, "shift": { "$ref": "#/definitions/Vector" }, "scale": { "$ref": "#/definitions/double" }, "draw_background": { "$ref": "#/definitions/bool" } }, "required": [ "icon" ] }, "IconDrawSpecification": { "description": "https://lua-api.factorio.com/stable/types/IconDrawSpecification.html", "type": "object", "properties": { "shift": { "$ref": "#/definitions/Vector" }, "scale": { "$ref": "#/definitions/float" }, "scale_for_many": { "$ref": "#/definitions/float" }, "renderLayer": { "anyOf": [ { "type": "string", "const": "entity-info-icon-below" }, { "type": "string", "const": "entity-info-icon-above" }, { "type": "string", "const": "air-entity-info-icon" } ] } } }, "IconSequencePositioning": { "description": "https://lua-api.factorio.com/stable/types/IconSequencePositioning.html", "type": "object", "properties": { "inventory_index": { "type": "number" }, "max_icons_per_row": { "$ref": "#/definitions/uint8" }, "max_icon_rows": { "$ref": "#/definitions/uint8" }, "shift": { "$ref": "#/definitions/Vector" }, "scale": { "$ref": "#/definitions/float" }, "separation_multiplier": { "$ref": "#/definitions/float" }, "multi_row_initial_height_modifier": { "$ref": "#/definitions/float" } }, "required": [ "inventory_index" ] }, "ImageStyleSpecification": { "description": "https://lua-api.factorio.com/stable/types/ImageStyleSpecification.html", "type": "object", "properties": { "parent": { "$ref": "#/definitions/string" }, "horizontal_align": { "$ref": "#/definitions/HorizontalAlign" }, "vertical_align": { "$ref": "#/definitions/VerticalAlign" }, "ignored_by_search": { "$ref": "#/definitions/bool" }, "never_hide_by_search": { "$ref": "#/definitions/bool" }, "horizontally_stretchable": { "$ref": "#/definitions/StretchRule" }, "vertically_stretchable": { "$ref": "#/definitions/StretchRule" }, "horizontally_squashable": { "$ref": "#/definitions/StretchRule" }, "vertically_squashable": { "$ref": "#/definitions/StretchRule" }, "natural_size": { "anyOf": [ { "$ref": "#/definitions/uint32" }, { "type": "array", "items": [ { "$ref": "#/definitions/uint32" }, { "$ref": "#/definitions/uint32" } ], "minItems": 2, "maxItems": 2 } ] }, "size": { "anyOf": [ { "$ref": "#/definitions/uint32" }, { "type": "array", "items": [ { "$ref": "#/definitions/uint32" }, { "$ref": "#/definitions/uint32" } ], "minItems": 2, "maxItems": 2 } ] }, "width": { "$ref": "#/definitions/uint32" }, "minimal_width": { "$ref": "#/definitions/uint32" }, "maximal_width": { "$ref": "#/definitions/uint32" }, "natural_width": { "$ref": "#/definitions/uint32" }, "height": { "$ref": "#/definitions/uint32" }, "minimal_height": { "$ref": "#/definitions/uint32" }, "maximal_height": { "$ref": "#/definitions/uint32" }, "natural_height": { "$ref": "#/definitions/uint32" }, "padding": { "$ref": "#/definitions/int16" }, "top_padding": { "$ref": "#/definitions/int16" }, "right_padding": { "$ref": "#/definitions/int16" }, "bottom_padding": { "$ref": "#/definitions/int16" }, "left_padding": { "$ref": "#/definitions/int16" }, "margin": { "$ref": "#/definitions/int16" }, "top_margin": { "$ref": "#/definitions/int16" }, "right_margin": { "$ref": "#/definitions/int16" }, "bottom_margin": { "$ref": "#/definitions/int16" }, "left_margin": { "$ref": "#/definitions/int16" }, "effect": { "anyOf": [ { "type": "string", "const": "compilatron-hologram" } ] }, "effect_opacity": { "$ref": "#/definitions/float" }, "tooltip": { "$ref": "#/definitions/LocalisedString" }, "type": { "type": "string", "const": "image_style" }, "graphical_set": { "$ref": "#/definitions/ElementImageSet" }, "stretch_image_to_widget_size": { "$ref": "#/definitions/bool" }, "invert_colors_of_picture_when_hovered_or_toggled": { "$ref": "#/definitions/bool" } }, "required": [ "type" ] }, "IngredientPrototype": { "description": "https://lua-api.factorio.com/stable/types/IngredientPrototype.html", "anyOf": [ { "$ref": "#/definitions/ItemIngredientPrototype" }, { "$ref": "#/definitions/FluidIngredientPrototype" } ] }, "InsertItemTriggerEffectItem": { "description": "https://lua-api.factorio.com/stable/types/InsertItemTriggerEffectItem.html", "type": "object", "properties": { "repeat_count": { "$ref": "#/definitions/uint16" }, "repeat_count_deviation": { "$ref": "#/definitions/uint16" }, "probability": { "$ref": "#/definitions/float" }, "affects_target": { "$ref": "#/definitions/bool" }, "show_in_tooltip": { "$ref": "#/definitions/bool" }, "damage_type_filters": { "$ref": "#/definitions/DamageTypeFilters" }, "type": { "type": "string", "const": "insert-item" }, "item": { "$ref": "#/definitions/ItemID" }, "quality": { "$ref": "#/definitions/QualityID" }, "count": { "$ref": "#/definitions/ItemCountType" } }, "required": [ "type", "item" ] }, "InserterStackSizeBonusModifier": { "description": "https://lua-api.factorio.com/stable/types/InserterStackSizeBonusModifier.html", "type": "object", "properties": { "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "hidden": { "$ref": "#/definitions/bool" }, "modifier": { "$ref": "#/definitions/double" }, "type": { "type": "string", "const": "inserter-stack-size-bonus" }, "infer_icon": { "$ref": "#/definitions/bool" }, "use_icon_overlay_constant": { "$ref": "#/definitions/bool" } }, "required": [ "modifier", "type" ] }, "InstantTriggerDelivery": { "description": "https://lua-api.factorio.com/stable/types/InstantTriggerDelivery.html", "type": "object", "properties": { "source_effects": { "$ref": "#/definitions/TriggerEffect" }, "target_effects": { "$ref": "#/definitions/TriggerEffect" }, "type": { "type": "string", "const": "instant" } }, "required": [ "type" ] }, "InterruptibleSound": { "description": "https://lua-api.factorio.com/stable/types/InterruptibleSound.html", "type": "object", "properties": { "sound": { "$ref": "#/definitions/Sound" }, "minimal_change_per_tick": { "$ref": "#/definitions/float" }, "stopped_sound": { "$ref": "#/definitions/Sound" }, "minimal_sound_duration_for_stopped_sound": { "$ref": "#/definitions/uint16" }, "fade_ticks": { "$ref": "#/definitions/uint32" } } }, "InvokeTileEffectTriggerEffectItem": { "description": "https://lua-api.factorio.com/stable/types/InvokeTileEffectTriggerEffectItem.html", "type": "object", "properties": { "repeat_count": { "$ref": "#/definitions/uint16" }, "repeat_count_deviation": { "$ref": "#/definitions/uint16" }, "probability": { "$ref": "#/definitions/float" }, "affects_target": { "$ref": "#/definitions/bool" }, "show_in_tooltip": { "$ref": "#/definitions/bool" }, "damage_type_filters": { "$ref": "#/definitions/DamageTypeFilters" }, "type": { "type": "string", "const": "invoke-tile-trigger" }, "tile_collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" } }, "required": [ "type" ] }, "ItemCountType": { "description": "https://lua-api.factorio.com/stable/types/ItemCountType.html", "anyOf": [ { "$ref": "#/definitions/uint32" } ] }, "ItemGroupID": { "description": "https://lua-api.factorio.com/stable/types/ItemGroupID.html", "anyOf": [ { "$ref": "#/definitions/string" } ] }, "ItemID": { "description": "https://lua-api.factorio.com/stable/types/ItemID.html", "anyOf": [ { "$ref": "#/definitions/string" } ] }, "ItemIDFilter": { "description": "https://lua-api.factorio.com/stable/types/ItemIDFilter.html", "anyOf": [ { "type": "object", "properties": { "name": { "$ref": "#/definitions/ItemID" }, "quality": { "$ref": "#/definitions/QualityID" }, "comparator": { "$ref": "#/definitions/ComparatorString" } }, "required": [ "name" ] }, { "$ref": "#/definitions/ItemID" } ] }, "ItemIngredientPrototype": { "description": "https://lua-api.factorio.com/stable/types/ItemIngredientPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "item" }, "name": { "$ref": "#/definitions/ItemID" }, "amount": { "$ref": "#/definitions/uint16" }, "ignored_by_stats": { "$ref": "#/definitions/uint16" } }, "required": [ "type", "name", "amount" ] }, "ItemProductPrototype": { "description": "https://lua-api.factorio.com/stable/types/ItemProductPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "item" }, "name": { "$ref": "#/definitions/ItemID" }, "amount": { "$ref": "#/definitions/uint16" }, "amount_min": { "$ref": "#/definitions/uint16" }, "amount_max": { "$ref": "#/definitions/uint16" }, "probability": { "$ref": "#/definitions/double" }, "ignored_by_stats": { "$ref": "#/definitions/uint16" }, "ignored_by_productivity": { "$ref": "#/definitions/uint16" }, "show_details_in_recipe_tooltip": { "$ref": "#/definitions/bool" }, "extra_count_fraction": { "$ref": "#/definitions/float" }, "percent_spoiled": { "$ref": "#/definitions/float" } }, "required": [ "type", "name" ] }, "ItemPrototypeFlags": { "description": "https://lua-api.factorio.com/stable/types/ItemPrototypeFlags.html", "oneOf": [ { "type": "array", "items": { "anyOf": [ { "type": "string", "const": "draw-logistic-overlay" }, { "type": "string", "const": "excluded-from-trash-unrequested" }, { "type": "string", "const": "always-show" }, { "type": "string", "const": "hide-from-bonus-gui" }, { "type": "string", "const": "hide-from-fuel-tooltip" }, { "type": "string", "const": "not-stackable" }, { "type": "string", "const": "primary-place-result" }, { "type": "string", "const": "mod-openable" }, { "type": "string", "const": "only-in-cursor" }, { "type": "string", "const": "spawnable" }, { "type": "string", "const": "spoil-result" }, { "type": "string", "const": "ignore-spoil-time-modifier" } ] } }, { "type": "object", "additionalProperties": false } ] }, "ItemStackIndex": { "description": "https://lua-api.factorio.com/stable/types/ItemStackIndex.html", "anyOf": [ { "$ref": "#/definitions/uint16" } ] }, "ItemSubGroupID": { "description": "https://lua-api.factorio.com/stable/types/ItemSubGroupID.html", "anyOf": [ { "$ref": "#/definitions/string" } ] }, "ItemToPlace": { "description": "https://lua-api.factorio.com/stable/types/ItemToPlace.html", "type": "object", "properties": { "item": { "$ref": "#/definitions/ItemID" }, "count": { "$ref": "#/definitions/ItemCountType" } }, "required": [ "item", "count" ] }, "KillTipTrigger": { "description": "https://lua-api.factorio.com/stable/types/KillTipTrigger.html", "type": "object", "properties": { "count": { "$ref": "#/definitions/uint32" }, "type": { "type": "string", "const": "kill" }, "entity": { "$ref": "#/definitions/EntityID" }, "match_type_only": { "$ref": "#/definitions/bool" }, "damage_type": { "$ref": "#/definitions/DamageTypeID" } }, "required": [ "type" ] }, "LabelStyleSpecification": { "description": "https://lua-api.factorio.com/stable/types/LabelStyleSpecification.html", "type": "object", "properties": { "parent": { "$ref": "#/definitions/string" }, "horizontal_align": { "$ref": "#/definitions/HorizontalAlign" }, "vertical_align": { "$ref": "#/definitions/VerticalAlign" }, "ignored_by_search": { "$ref": "#/definitions/bool" }, "never_hide_by_search": { "$ref": "#/definitions/bool" }, "horizontally_stretchable": { "$ref": "#/definitions/StretchRule" }, "vertically_stretchable": { "$ref": "#/definitions/StretchRule" }, "horizontally_squashable": { "$ref": "#/definitions/StretchRule" }, "vertically_squashable": { "$ref": "#/definitions/StretchRule" }, "natural_size": { "anyOf": [ { "$ref": "#/definitions/uint32" }, { "type": "array", "items": [ { "$ref": "#/definitions/uint32" }, { "$ref": "#/definitions/uint32" } ], "minItems": 2, "maxItems": 2 } ] }, "size": { "anyOf": [ { "$ref": "#/definitions/uint32" }, { "type": "array", "items": [ { "$ref": "#/definitions/uint32" }, { "$ref": "#/definitions/uint32" } ], "minItems": 2, "maxItems": 2 } ] }, "width": { "$ref": "#/definitions/uint32" }, "minimal_width": { "$ref": "#/definitions/uint32" }, "maximal_width": { "$ref": "#/definitions/uint32" }, "natural_width": { "$ref": "#/definitions/uint32" }, "height": { "$ref": "#/definitions/uint32" }, "minimal_height": { "$ref": "#/definitions/uint32" }, "maximal_height": { "$ref": "#/definitions/uint32" }, "natural_height": { "$ref": "#/definitions/uint32" }, "padding": { "$ref": "#/definitions/int16" }, "top_padding": { "$ref": "#/definitions/int16" }, "right_padding": { "$ref": "#/definitions/int16" }, "bottom_padding": { "$ref": "#/definitions/int16" }, "left_padding": { "$ref": "#/definitions/int16" }, "margin": { "$ref": "#/definitions/int16" }, "top_margin": { "$ref": "#/definitions/int16" }, "right_margin": { "$ref": "#/definitions/int16" }, "bottom_margin": { "$ref": "#/definitions/int16" }, "left_margin": { "$ref": "#/definitions/int16" }, "effect": { "anyOf": [ { "type": "string", "const": "compilatron-hologram" } ] }, "effect_opacity": { "$ref": "#/definitions/float" }, "tooltip": { "$ref": "#/definitions/LocalisedString" }, "type": { "type": "string", "const": "label_style" }, "font": { "$ref": "#/definitions/string" }, "font_color": { "$ref": "#/definitions/Color" }, "hovered_font_color": { "$ref": "#/definitions/Color" }, "game_controller_hovered_font_color": { "$ref": "#/definitions/Color" }, "clicked_font_color": { "$ref": "#/definitions/Color" }, "disabled_font_color": { "$ref": "#/definitions/Color" }, "parent_hovered_font_color": { "$ref": "#/definitions/Color" }, "rich_text_setting": { "$ref": "#/definitions/RichTextSetting" }, "single_line": { "$ref": "#/definitions/bool" }, "underlined": { "$ref": "#/definitions/bool" }, "rich_text_highlight_error_color": { "$ref": "#/definitions/Color" }, "rich_text_highlight_warning_color": { "$ref": "#/definitions/Color" }, "rich_text_highlight_ok_color": { "$ref": "#/definitions/Color" } }, "required": [ "type" ] }, "LaboratoryProductivityModifier": { "description": "https://lua-api.factorio.com/stable/types/LaboratoryProductivityModifier.html", "type": "object", "properties": { "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "hidden": { "$ref": "#/definitions/bool" }, "modifier": { "$ref": "#/definitions/double" }, "type": { "type": "string", "const": "laboratory-productivity" }, "infer_icon": { "$ref": "#/definitions/bool" }, "use_icon_overlay_constant": { "$ref": "#/definitions/bool" } }, "required": [ "modifier", "type" ] }, "LaboratorySpeedModifier": { "description": "https://lua-api.factorio.com/stable/types/LaboratorySpeedModifier.html", "type": "object", "properties": { "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "hidden": { "$ref": "#/definitions/bool" }, "modifier": { "$ref": "#/definitions/double" }, "type": { "type": "string", "const": "laboratory-speed" }, "infer_icon": { "$ref": "#/definitions/bool" }, "use_icon_overlay_constant": { "$ref": "#/definitions/bool" } }, "required": [ "modifier", "type" ] }, "LayeredSound": { "description": "https://lua-api.factorio.com/stable/types/LayeredSound.html", "anyOf": [ { "type": "object", "properties": { "layers": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Sound" } }, { "type": "object", "additionalProperties": false } ] } }, "required": [ "layers" ] }, { "$ref": "#/definitions/Sound" } ] }, "LayeredSprite": { "description": "https://lua-api.factorio.com/stable/types/LayeredSprite.html", "anyOf": [ { "type": "object", "properties": { "filename": { "$ref": "#/definitions/FileName" }, "size": { "anyOf": [ { "$ref": "#/definitions/SpriteSizeType" }, { "type": "array", "items": [ { "$ref": "#/definitions/SpriteSizeType" }, { "$ref": "#/definitions/SpriteSizeType" } ], "minItems": 2, "maxItems": 2 } ] }, "width": { "$ref": "#/definitions/SpriteSizeType" }, "height": { "$ref": "#/definitions/SpriteSizeType" }, "x": { "$ref": "#/definitions/SpriteSizeType" }, "y": { "$ref": "#/definitions/SpriteSizeType" }, "position": { "type": "array", "items": [ { "$ref": "#/definitions/SpriteSizeType" }, { "$ref": "#/definitions/SpriteSizeType" } ], "minItems": 2, "maxItems": 2 }, "load_in_minimal_mode": { "$ref": "#/definitions/bool" }, "premul_alpha": { "$ref": "#/definitions/bool" }, "allow_forced_downscale": { "$ref": "#/definitions/bool" }, "priority": { "$ref": "#/definitions/SpritePriority" }, "flags": { "$ref": "#/definitions/SpriteFlags" }, "shift": { "$ref": "#/definitions/Vector" }, "rotate_shift": { "$ref": "#/definitions/bool" }, "apply_special_effect": { "$ref": "#/definitions/bool" }, "scale": { "$ref": "#/definitions/double" }, "draw_as_shadow": { "$ref": "#/definitions/bool" }, "draw_as_glow": { "$ref": "#/definitions/bool" }, "draw_as_light": { "$ref": "#/definitions/bool" }, "mipmap_count": { "$ref": "#/definitions/uint8" }, "apply_runtime_tint": { "$ref": "#/definitions/bool" }, "tint_as_overlay": { "$ref": "#/definitions/bool" }, "invert_colors": { "$ref": "#/definitions/bool" }, "tint": { "$ref": "#/definitions/Color" }, "blend_mode": { "$ref": "#/definitions/BlendMode" }, "generate_sdf": { "$ref": "#/definitions/bool" }, "surface": { "$ref": "#/definitions/SpriteUsageSurfaceHint" }, "usage": { "$ref": "#/definitions/SpriteUsageHint" }, "layers": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Sprite" } }, { "type": "object", "additionalProperties": false } ] }, "dice": { "$ref": "#/definitions/SpriteSizeType" }, "dice_x": { "$ref": "#/definitions/SpriteSizeType" }, "dice_y": { "$ref": "#/definitions/SpriteSizeType" }, "render_layer": { "$ref": "#/definitions/RenderLayer" } }, "required": [ "render_layer" ] }, { "oneOf": [ { "type": "array", "items": { "anyOf": [ { "$ref": "#/definitions/LayeredSprite" } ] } }, { "type": "object", "additionalProperties": false } ] } ] }, "LayeredSpriteVariations": { "description": "https://lua-api.factorio.com/stable/types/LayeredSpriteVariations.html", "oneOf": [ { "type": "array", "items": { "anyOf": [ { "$ref": "#/definitions/LayeredSprite" } ] } }, { "type": "object", "additionalProperties": false } ] }, "LightDefinition": { "description": "https://lua-api.factorio.com/stable/types/LightDefinition.html", "anyOf": [ { "type": "object", "properties": { "type": { "anyOf": [ { "type": "string", "const": "basic" }, { "type": "string", "const": "oriented" } ] }, "picture": { "$ref": "#/definitions/Sprite" }, "rotation_shift": { "$ref": "#/definitions/RealOrientation" }, "intensity": { "$ref": "#/definitions/float" }, "size": { "$ref": "#/definitions/float" }, "source_orientation_offset": { "$ref": "#/definitions/RealOrientation" }, "add_perspective": { "$ref": "#/definitions/bool" }, "flicker_interval": { "$ref": "#/definitions/uint8" }, "flicker_min_modifier": { "$ref": "#/definitions/float" }, "flicker_max_modifier": { "$ref": "#/definitions/float" }, "offset_flicker": { "$ref": "#/definitions/bool" }, "shift": { "$ref": "#/definitions/Vector" }, "color": { "$ref": "#/definitions/Color" }, "minimum_darkness": { "$ref": "#/definitions/float" } }, "required": [ "intensity", "size" ] }, { "oneOf": [ { "type": "array", "items": { "type": "object", "properties": { "type": { "anyOf": [ { "type": "string", "const": "basic" }, { "type": "string", "const": "oriented" } ] }, "picture": { "$ref": "#/definitions/Sprite" }, "rotation_shift": { "$ref": "#/definitions/RealOrientation" }, "intensity": { "$ref": "#/definitions/float" }, "size": { "$ref": "#/definitions/float" }, "source_orientation_offset": { "$ref": "#/definitions/RealOrientation" }, "add_perspective": { "$ref": "#/definitions/bool" }, "flicker_interval": { "$ref": "#/definitions/uint8" }, "flicker_min_modifier": { "$ref": "#/definitions/float" }, "flicker_max_modifier": { "$ref": "#/definitions/float" }, "offset_flicker": { "$ref": "#/definitions/bool" }, "shift": { "$ref": "#/definitions/Vector" }, "color": { "$ref": "#/definitions/Color" }, "minimum_darkness": { "$ref": "#/definitions/float" } }, "required": [ "intensity", "size" ] } }, { "type": "object", "additionalProperties": false } ] } ] }, "LightFlickeringDefinition": { "description": "https://lua-api.factorio.com/stable/types/LightFlickeringDefinition.html", "type": "object", "properties": { "minimum_intensity": { "$ref": "#/definitions/float" }, "maximum_intensity": { "$ref": "#/definitions/float" }, "derivation_change_frequency": { "$ref": "#/definitions/float" }, "derivation_change_deviation": { "$ref": "#/definitions/float" }, "border_fix_speed": { "$ref": "#/definitions/float" }, "minimum_light_size": { "$ref": "#/definitions/float" }, "light_intensity_to_size_coefficient": { "$ref": "#/definitions/float" }, "color": { "$ref": "#/definitions/Color" } } }, "LightProperties": { "description": "https://lua-api.factorio.com/stable/types/LightProperties.html", "type": "object", "properties": { "color": { "$ref": "#/definitions/Color" }, "direction": { "$ref": "#/definitions/Vector3D" } } }, "LightningGraphicsSet": { "description": "https://lua-api.factorio.com/stable/types/LightningGraphicsSet.html", "type": "object", "properties": { "shader_configuration": { "oneOf": [ { "type": "array", "items": { "type": "object", "properties": { "color": { "$ref": "#/definitions/Color" }, "distortion": { "$ref": "#/definitions/float" }, "thickness": { "$ref": "#/definitions/float" }, "power": { "$ref": "#/definitions/float" } }, "required": [ "color", "distortion", "thickness", "power" ] } }, { "type": "object", "additionalProperties": false } ] }, "bolt_half_width": { "$ref": "#/definitions/float" }, "bolt_midpoint_variance": { "$ref": "#/definitions/float" }, "max_bolt_offset": { "$ref": "#/definitions/float" }, "max_fork_probability": { "$ref": "#/definitions/float" }, "min_relative_fork_length": { "$ref": "#/definitions/float" }, "max_relative_fork_length": { "$ref": "#/definitions/float" }, "fork_orientation_variance": { "$ref": "#/definitions/float" }, "fork_intensity_multiplier": { "$ref": "#/definitions/float" }, "relative_cloud_fork_length": { "$ref": "#/definitions/float" }, "cloud_fork_orientation_variance": { "$ref": "#/definitions/float" }, "min_ground_streamer_distance": { "$ref": "#/definitions/float" }, "max_ground_streamer_distance": { "$ref": "#/definitions/float" }, "ground_streamer_variance": { "$ref": "#/definitions/float" }, "cloud_forks": { "$ref": "#/definitions/uint8" }, "cloud_detail_level": { "$ref": "#/definitions/uint8" }, "bolt_detail_level": { "$ref": "#/definitions/uint8" }, "cloud_background": { "$ref": "#/definitions/Animation" }, "explosion": { "$ref": "#/definitions/AnimationVariations" }, "attractor_hit_animation": { "$ref": "#/definitions/Animation" }, "ground_streamers": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Animation" } }, { "type": "object", "additionalProperties": false } ] }, "light": { "$ref": "#/definitions/LightDefinition" } } }, "LightningPriorityRule": { "description": "https://lua-api.factorio.com/stable/types/LightningPriorityRule.html", "type": "object", "properties": { "type": { "anyOf": [ { "type": "string", "const": "impact-soundset" }, { "type": "string", "const": "prototype" }, { "type": "string", "const": "id" }, { "type": "string", "const": "countAsRockForFilteredDeconstruction" } ] }, "string": { "$ref": "#/definitions/string" }, "priority_bonus": { "$ref": "#/definitions/int32" } }, "required": [ "type", "string", "priority_bonus" ] }, "LightningProperties": { "description": "https://lua-api.factorio.com/stable/types/LightningProperties.html", "type": "object", "properties": { "lightnings_per_chunk_per_tick": { "$ref": "#/definitions/double" }, "search_radius": { "$ref": "#/definitions/double" }, "lightning_types": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] }, "priority_rules": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/LightningPriorityRule" } }, { "type": "object", "additionalProperties": false } ] }, "exemption_rules": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/LightningRuleBase" } }, { "type": "object", "additionalProperties": false } ] } }, "required": [ "lightnings_per_chunk_per_tick", "search_radius", "lightning_types", "priority_rules", "exemption_rules" ] }, "LightningRuleBase": { "description": "https://lua-api.factorio.com/stable/types/LightningRuleBase.html", "type": "object", "properties": { "type": { "anyOf": [ { "type": "string", "const": "impact-soundset" }, { "type": "string", "const": "prototype" }, { "type": "string", "const": "id" }, { "type": "string", "const": "countAsRockForFilteredDeconstruction" } ] }, "string": { "$ref": "#/definitions/string" } }, "required": [ "type", "string" ] }, "LimitChestTipTrigger": { "description": "https://lua-api.factorio.com/stable/types/LimitChestTipTrigger.html", "type": "object", "properties": { "count": { "$ref": "#/definitions/uint32" }, "type": { "type": "string", "const": "limit-chest" } }, "required": [ "type" ] }, "LineStyleSpecification": { "description": "https://lua-api.factorio.com/stable/types/LineStyleSpecification.html", "type": "object", "properties": { "parent": { "$ref": "#/definitions/string" }, "horizontal_align": { "$ref": "#/definitions/HorizontalAlign" }, "vertical_align": { "$ref": "#/definitions/VerticalAlign" }, "ignored_by_search": { "$ref": "#/definitions/bool" }, "never_hide_by_search": { "$ref": "#/definitions/bool" }, "horizontally_stretchable": { "$ref": "#/definitions/StretchRule" }, "vertically_stretchable": { "$ref": "#/definitions/StretchRule" }, "horizontally_squashable": { "$ref": "#/definitions/StretchRule" }, "vertically_squashable": { "$ref": "#/definitions/StretchRule" }, "natural_size": { "anyOf": [ { "$ref": "#/definitions/uint32" }, { "type": "array", "items": [ { "$ref": "#/definitions/uint32" }, { "$ref": "#/definitions/uint32" } ], "minItems": 2, "maxItems": 2 } ] }, "size": { "anyOf": [ { "$ref": "#/definitions/uint32" }, { "type": "array", "items": [ { "$ref": "#/definitions/uint32" }, { "$ref": "#/definitions/uint32" } ], "minItems": 2, "maxItems": 2 } ] }, "width": { "$ref": "#/definitions/uint32" }, "minimal_width": { "$ref": "#/definitions/uint32" }, "maximal_width": { "$ref": "#/definitions/uint32" }, "natural_width": { "$ref": "#/definitions/uint32" }, "height": { "$ref": "#/definitions/uint32" }, "minimal_height": { "$ref": "#/definitions/uint32" }, "maximal_height": { "$ref": "#/definitions/uint32" }, "natural_height": { "$ref": "#/definitions/uint32" }, "padding": { "$ref": "#/definitions/int16" }, "top_padding": { "$ref": "#/definitions/int16" }, "right_padding": { "$ref": "#/definitions/int16" }, "bottom_padding": { "$ref": "#/definitions/int16" }, "left_padding": { "$ref": "#/definitions/int16" }, "margin": { "$ref": "#/definitions/int16" }, "top_margin": { "$ref": "#/definitions/int16" }, "right_margin": { "$ref": "#/definitions/int16" }, "bottom_margin": { "$ref": "#/definitions/int16" }, "left_margin": { "$ref": "#/definitions/int16" }, "effect": { "anyOf": [ { "type": "string", "const": "compilatron-hologram" } ] }, "effect_opacity": { "$ref": "#/definitions/float" }, "tooltip": { "$ref": "#/definitions/LocalisedString" }, "type": { "type": "string", "const": "line_style" }, "border": { "$ref": "#/definitions/BorderImageSet" } }, "required": [ "type" ] }, "LineTriggerItem": { "description": "https://lua-api.factorio.com/stable/types/LineTriggerItem.html", "type": "object", "properties": { "entity_flags": { "$ref": "#/definitions/EntityPrototypeFlags" }, "collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "ignore_collision_condition": { "$ref": "#/definitions/bool" }, "trigger_target_mask": { "$ref": "#/definitions/TriggerTargetMask" }, "repeat_count": { "$ref": "#/definitions/uint32" }, "probability": { "$ref": "#/definitions/float" }, "action_delivery": { "anyOf": [ { "$ref": "#/definitions/TriggerDelivery" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TriggerDelivery" } }, { "type": "object", "additionalProperties": false } ] } ] }, "force": { "$ref": "#/definitions/ForceCondition" }, "type": { "type": "string", "const": "line" }, "range": { "$ref": "#/definitions/double" }, "width": { "$ref": "#/definitions/double" }, "range_effects": { "$ref": "#/definitions/TriggerEffect" } }, "required": [ "type", "range", "width" ] }, "LinkedGameControl": { "description": "https://lua-api.factorio.com/stable/types/LinkedGameControl.html", "anyOf": [ { "type": "string", "const": "move-up" }, { "type": "string", "const": "move-down" }, { "type": "string", "const": "move-left" }, { "type": "string", "const": "move-right" }, { "type": "string", "const": "open-character-gui" }, { "type": "string", "const": "open-gui" }, { "type": "string", "const": "confirm-gui" }, { "type": "string", "const": "toggle-free-cursor" }, { "type": "string", "const": "mine" }, { "type": "string", "const": "build" }, { "type": "string", "const": "build-ghost" }, { "type": "string", "const": "super-forced-build" }, { "type": "string", "const": "clear-cursor" }, { "type": "string", "const": "pipette" }, { "type": "string", "const": "rotate" }, { "type": "string", "const": "reverse-rotate" }, { "type": "string", "const": "flip-horizontal" }, { "type": "string", "const": "flip-vertical" }, { "type": "string", "const": "pick-items" }, { "type": "string", "const": "drop-cursor" }, { "type": "string", "const": "show-info" }, { "type": "string", "const": "shoot-enemy" }, { "type": "string", "const": "shoot-selected" }, { "type": "string", "const": "next-weapon" }, { "type": "string", "const": "toggle-driving" }, { "type": "string", "const": "zoom-in" }, { "type": "string", "const": "zoom-out" }, { "type": "string", "const": "use-item" }, { "type": "string", "const": "alternative-use-item" }, { "type": "string", "const": "toggle-console" }, { "type": "string", "const": "copy-entity-settings" }, { "type": "string", "const": "paste-entity-settings" }, { "type": "string", "const": "controller-gui-logistics-tab" }, { "type": "string", "const": "controller-gui-character-tab" }, { "type": "string", "const": "controller-gui-crafting-tab" }, { "type": "string", "const": "toggle-rail-layer" }, { "type": "string", "const": "select-for-blueprint" }, { "type": "string", "const": "select-for-cancel-deconstruct" }, { "type": "string", "const": "select-for-super-forced-deconstruct" }, { "type": "string", "const": "reverse-select" }, { "type": "string", "const": "alt-reverse-select" }, { "type": "string", "const": "deselect" }, { "type": "string", "const": "cycle-blueprint-forwards" }, { "type": "string", "const": "cycle-blueprint-backwards" }, { "type": "string", "const": "focus-search" }, { "type": "string", "const": "larger-terrain-building-area" }, { "type": "string", "const": "smaller-terrain-building-area" }, { "type": "string", "const": "remove-pole-cables" }, { "type": "string", "const": "build-with-obstacle-avoidance" }, { "type": "string", "const": "add-station" }, { "type": "string", "const": "add-temporary-station" }, { "type": "string", "const": "rename-all" }, { "type": "string", "const": "fast-wait-condition" }, { "type": "string", "const": "drag-map" }, { "type": "string", "const": "move-tag" }, { "type": "string", "const": "place-in-chat" }, { "type": "string", "const": "place-ping" }, { "type": "string", "const": "pin" }, { "type": "string", "const": "activate-tooltip" }, { "type": "string", "const": "next-surface" }, { "type": "string", "const": "previous-surface" }, { "type": "string", "const": "cycle-quality-up" }, { "type": "string", "const": "cycle-quality-down" }, { "type": "string", "const": "craft" }, { "type": "string", "const": "craft-5" }, { "type": "string", "const": "craft-all" }, { "type": "string", "const": "cancel-craft" }, { "type": "string", "const": "cancel-craft-5" }, { "type": "string", "const": "cancel-craft-all" }, { "type": "string", "const": "pick-item" }, { "type": "string", "const": "stack-transfer" }, { "type": "string", "const": "inventory-transfer" }, { "type": "string", "const": "fast-entity-transfer" }, { "type": "string", "const": "cursor-split" }, { "type": "string", "const": "stack-split" }, { "type": "string", "const": "inventory-split" }, { "type": "string", "const": "fast-entity-split" }, { "type": "string", "const": "toggle-filter" }, { "type": "string", "const": "open-item" }, { "type": "string", "const": "copy-inventory-filter" }, { "type": "string", "const": "paste-inventory-filter" }, { "type": "string", "const": "show-quick-panel" }, { "type": "string", "const": "next-quick-panel-page" }, { "type": "string", "const": "previous-quick-panel-page" }, { "type": "string", "const": "next-quick-panel-tab" }, { "type": "string", "const": "previous-quick-panel-tab" }, { "type": "string", "const": "rotate-active-quick-bars" }, { "type": "string", "const": "next-active-quick-bar" }, { "type": "string", "const": "previous-active-quick-bar" }, { "type": "string", "const": "quick-bar-button-1" }, { "type": "string", "const": "quick-bar-button-2" }, { "type": "string", "const": "quick-bar-button-3" }, { "type": "string", "const": "quick-bar-button-4" }, { "type": "string", "const": "quick-bar-button-5" }, { "type": "string", "const": "quick-bar-button-6" }, { "type": "string", "const": "quick-bar-button-7" }, { "type": "string", "const": "quick-bar-button-8" }, { "type": "string", "const": "quick-bar-button-9" }, { "type": "string", "const": "quick-bar-button-10" }, { "type": "string", "const": "quick-bar-button-1-secondary" }, { "type": "string", "const": "quick-bar-button-2-secondary" }, { "type": "string", "const": "quick-bar-button-3-secondary" }, { "type": "string", "const": "quick-bar-button-4-secondary" }, { "type": "string", "const": "quick-bar-button-5-secondary" }, { "type": "string", "const": "quick-bar-button-6-secondary" }, { "type": "string", "const": "quick-bar-button-7-secondary" }, { "type": "string", "const": "quick-bar-button-8-secondary" }, { "type": "string", "const": "quick-bar-button-9-secondary" }, { "type": "string", "const": "quick-bar-button-10-secondary" }, { "type": "string", "const": "action-bar-select-page-1" }, { "type": "string", "const": "action-bar-select-page-2" }, { "type": "string", "const": "action-bar-select-page-3" }, { "type": "string", "const": "action-bar-select-page-4" }, { "type": "string", "const": "action-bar-select-page-5" }, { "type": "string", "const": "action-bar-select-page-6" }, { "type": "string", "const": "action-bar-select-page-7" }, { "type": "string", "const": "action-bar-select-page-8" }, { "type": "string", "const": "action-bar-select-page-9" }, { "type": "string", "const": "action-bar-select-page-10" }, { "type": "string", "const": "copy" }, { "type": "string", "const": "cut" }, { "type": "string", "const": "paste" }, { "type": "string", "const": "cycle-clipboard-forwards" }, { "type": "string", "const": "cycle-clipboard-backwards" }, { "type": "string", "const": "undo" }, { "type": "string", "const": "redo" }, { "type": "string", "const": "toggle-menu" }, { "type": "string", "const": "toggle-map" }, { "type": "string", "const": "close-menu" }, { "type": "string", "const": "open-technology-gui" }, { "type": "string", "const": "production-statistics" }, { "type": "string", "const": "logistic-networks" }, { "type": "string", "const": "toggle-blueprint-library" }, { "type": "string", "const": "open-trains-gui" }, { "type": "string", "const": "open-factoriopedia" }, { "type": "string", "const": "back" }, { "type": "string", "const": "forward" }, { "type": "string", "const": "pause-game" }, { "type": "string", "const": "confirm-message" }, { "type": "string", "const": "previous-technology" }, { "type": "string", "const": "previous-mod" }, { "type": "string", "const": "connect-train" }, { "type": "string", "const": "disconnect-train" }, { "type": "string", "const": "submit-feedback" }, { "type": "string", "const": "editor-next-variation" }, { "type": "string", "const": "editor-previous-variation" }, { "type": "string", "const": "editor-clone-item" }, { "type": "string", "const": "editor-delete-item" }, { "type": "string", "const": "editor-toggle-pause" }, { "type": "string", "const": "editor-tick-once" }, { "type": "string", "const": "editor-speed-up" }, { "type": "string", "const": "editor-speed-down" }, { "type": "string", "const": "editor-reset-speed" }, { "type": "string", "const": "editor-set-clone-brush-source" }, { "type": "string", "const": "editor-set-clone-brush-destination" }, { "type": "string", "const": "editor-switch-to-surface" }, { "type": "string", "const": "editor-remove-scripting-object" }, { "type": "string", "const": "debug-toggle-atlas-gui" }, { "type": "string", "const": "debug-toggle-gui-visibility" }, { "type": "string", "const": "debug-toggle-debug-settings" }, { "type": "string", "const": "debug-toggle-basic" }, { "type": "string", "const": "debug-reset-zoom" }, { "type": "string", "const": "debug-reset-zoom-2x" }, { "type": "string", "const": "toggle-gui-debug" }, { "type": "string", "const": "toggle-gui-style-view" }, { "type": "string", "const": "toggle-gui-shadows" }, { "type": "string", "const": "toggle-gui-glows" }, { "type": "string", "const": "open-prototypes-gui" }, { "type": "string", "const": "open-prototype-explorer-gui" }, { "type": "string", "const": "increase-ui-scale" }, { "type": "string", "const": "decrease-ui-scale" }, { "type": "string", "const": "reset-ui-scale" }, { "type": "string", "const": "slash-editor" }, { "type": "string", "const": "toggle-entity" }, { "type": "string", "const": "next-player-in-replay" }, { "type": "string", "const": "move-blueprint-absolute-grid-up" }, { "type": "string", "const": "move-blueprint-absolute-grid-down" }, { "type": "string", "const": "move-blueprint-absolute-grid-left" }, { "type": "string", "const": "move-blueprint-absolute-grid-right" }, { "type": "string", "const": "move-blueprint-entities-up" }, { "type": "string", "const": "move-blueprint-entities-down" }, { "type": "string", "const": "move-blueprint-entities-left" }, { "type": "string", "const": "move-blueprint-entities-right" }, { "type": "string", "const": "play-next-track" }, { "type": "string", "const": "play-previous-track" }, { "type": "string", "const": "pause-resume-music" } ] }, "ListBoxStyleSpecification": { "description": "https://lua-api.factorio.com/stable/types/ListBoxStyleSpecification.html", "type": "object", "properties": { "parent": { "$ref": "#/definitions/string" }, "horizontal_align": { "$ref": "#/definitions/HorizontalAlign" }, "vertical_align": { "$ref": "#/definitions/VerticalAlign" }, "ignored_by_search": { "$ref": "#/definitions/bool" }, "never_hide_by_search": { "$ref": "#/definitions/bool" }, "horizontally_stretchable": { "$ref": "#/definitions/StretchRule" }, "vertically_stretchable": { "$ref": "#/definitions/StretchRule" }, "horizontally_squashable": { "$ref": "#/definitions/StretchRule" }, "vertically_squashable": { "$ref": "#/definitions/StretchRule" }, "natural_size": { "anyOf": [ { "$ref": "#/definitions/uint32" }, { "type": "array", "items": [ { "$ref": "#/definitions/uint32" }, { "$ref": "#/definitions/uint32" } ], "minItems": 2, "maxItems": 2 } ] }, "size": { "anyOf": [ { "$ref": "#/definitions/uint32" }, { "type": "array", "items": [ { "$ref": "#/definitions/uint32" }, { "$ref": "#/definitions/uint32" } ], "minItems": 2, "maxItems": 2 } ] }, "width": { "$ref": "#/definitions/uint32" }, "minimal_width": { "$ref": "#/definitions/uint32" }, "maximal_width": { "$ref": "#/definitions/uint32" }, "natural_width": { "$ref": "#/definitions/uint32" }, "height": { "$ref": "#/definitions/uint32" }, "minimal_height": { "$ref": "#/definitions/uint32" }, "maximal_height": { "$ref": "#/definitions/uint32" }, "natural_height": { "$ref": "#/definitions/uint32" }, "padding": { "$ref": "#/definitions/int16" }, "top_padding": { "$ref": "#/definitions/int16" }, "right_padding": { "$ref": "#/definitions/int16" }, "bottom_padding": { "$ref": "#/definitions/int16" }, "left_padding": { "$ref": "#/definitions/int16" }, "margin": { "$ref": "#/definitions/int16" }, "top_margin": { "$ref": "#/definitions/int16" }, "right_margin": { "$ref": "#/definitions/int16" }, "bottom_margin": { "$ref": "#/definitions/int16" }, "left_margin": { "$ref": "#/definitions/int16" }, "effect": { "anyOf": [ { "type": "string", "const": "compilatron-hologram" } ] }, "effect_opacity": { "$ref": "#/definitions/float" }, "tooltip": { "$ref": "#/definitions/LocalisedString" }, "type": { "type": "string", "const": "list_box_style" }, "item_style": { "$ref": "#/definitions/ButtonStyleSpecification" }, "scroll_pane_style": { "$ref": "#/definitions/ScrollPaneStyleSpecification" } }, "required": [ "type" ] }, "LoaderStructure": { "description": "https://lua-api.factorio.com/stable/types/LoaderStructure.html", "type": "object", "properties": { "direction_in": { "$ref": "#/definitions/Sprite4Way" }, "direction_out": { "$ref": "#/definitions/Sprite4Way" }, "back_patch": { "$ref": "#/definitions/Sprite4Way" }, "front_patch": { "$ref": "#/definitions/Sprite4Way" }, "frozen_patch_in": { "$ref": "#/definitions/Sprite4Way" }, "frozen_patch_out": { "$ref": "#/definitions/Sprite4Way" } } }, "LocalisedString": { "description": "https://lua-api.factorio.com/stable/types/LocalisedString.html", "anyOf": [ { "$ref": "#/definitions/string" }, { "oneOf": [ { "type": "array", "items": { "anyOf": [ { "$ref": "#/definitions/LocalisedString" } ] } }, { "type": "object", "additionalProperties": false } ] } ] }, "LogisticFilterIndex": { "description": "https://lua-api.factorio.com/stable/types/LogisticFilterIndex.html", "anyOf": [ { "$ref": "#/definitions/uint16" } ] }, "LootItem": { "description": "https://lua-api.factorio.com/stable/types/LootItem.html", "type": "object", "properties": { "item": { "$ref": "#/definitions/ItemID" }, "probability": { "$ref": "#/definitions/double" }, "count_min": { "$ref": "#/definitions/double" }, "count_max": { "$ref": "#/definitions/double" } }, "required": [ "item" ] }, "LowPowerTipTrigger": { "description": "https://lua-api.factorio.com/stable/types/LowPowerTipTrigger.html", "type": "object", "properties": { "count": { "$ref": "#/definitions/uint32" }, "type": { "type": "string", "const": "low-power" } }, "required": [ "type" ] }, "MainSound": { "description": "https://lua-api.factorio.com/stable/types/MainSound.html", "type": "object", "properties": { "sound": { "$ref": "#/definitions/Sound" }, "audible_distance_modifier": { "$ref": "#/definitions/double" }, "probability": { "$ref": "#/definitions/double" }, "fade_in_ticks": { "$ref": "#/definitions/uint32" }, "fade_out_ticks": { "$ref": "#/definitions/uint32" }, "activity_to_volume_modifiers": { "$ref": "#/definitions/ActivityMatchingModifiers" }, "activity_to_speed_modifiers": { "$ref": "#/definitions/ActivityMatchingModifiers" }, "match_progress_to_activity": { "$ref": "#/definitions/bool" }, "match_volume_to_activity": { "$ref": "#/definitions/bool" }, "match_speed_to_activity": { "$ref": "#/definitions/bool" }, "play_for_working_visualisations": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/string" } }, { "type": "object", "additionalProperties": false } ] }, "volume_smoothing_window_size": { "$ref": "#/definitions/uint32" } } }, "ManualTransferTipTrigger": { "description": "https://lua-api.factorio.com/stable/types/ManualTransferTipTrigger.html", "type": "object", "properties": { "count": { "$ref": "#/definitions/uint32" }, "type": { "type": "string", "const": "manual-transfer" } }, "required": [ "type" ] }, "ManualWireDragTipTrigger": { "description": "https://lua-api.factorio.com/stable/types/ManualWireDragTipTrigger.html", "type": "object", "properties": { "count": { "$ref": "#/definitions/uint32" }, "type": { "type": "string", "const": "manual-wire-drag" }, "source": { "$ref": "#/definitions/EntityID" }, "target": { "$ref": "#/definitions/EntityID" }, "match_type_only": { "$ref": "#/definitions/bool" }, "wire_type": { "anyOf": [ { "type": "string", "const": "red" }, { "type": "string", "const": "green" }, { "type": "string", "const": "copper" } ] } }, "required": [ "type" ] }, "MapGenPreset": { "description": "https://lua-api.factorio.com/stable/types/MapGenPreset.html", "type": "object", "properties": { "order": { "$ref": "#/definitions/Order" }, "default": { "$ref": "#/definitions/bool" }, "basic_settings": { "$ref": "#/definitions/MapGenSettings" }, "advanced_settings": { "type": "object", "properties": { "asteroids": { "$ref": "#/definitions/MapGenPresetAsteroidSettings" }, "pollution": { "$ref": "#/definitions/MapGenPresetPollutionSettings" }, "enemy_evolution": { "$ref": "#/definitions/MapGenPresetEnemyEvolutionSettings" }, "enemy_expansion": { "$ref": "#/definitions/MapGenPresetEnemyExpansionSettings" }, "difficulty_settings": { "$ref": "#/definitions/MapGenPresetDifficultySettings" } } } }, "required": [ "order" ] }, "MapGenPresetAsteroidSettings": { "description": "https://lua-api.factorio.com/stable/types/MapGenPresetAsteroidSettings.html", "type": "object", "properties": { "spawning_rate": { "$ref": "#/definitions/double" }, "max_ray_portals_expanded_per_tick": { "$ref": "#/definitions/uint32" } } }, "MapGenPresetDifficultySettings": { "description": "https://lua-api.factorio.com/stable/types/MapGenPresetDifficultySettings.html", "type": "object", "properties": { "technology_price_multiplier": { "$ref": "#/definitions/double" } } }, "MapGenPresetEnemyEvolutionSettings": { "description": "https://lua-api.factorio.com/stable/types/MapGenPresetEnemyEvolutionSettings.html", "type": "object", "properties": { "enabled": { "$ref": "#/definitions/bool" }, "time_factor": { "$ref": "#/definitions/double" }, "destroy_factor": { "$ref": "#/definitions/double" }, "pollution_factor": { "$ref": "#/definitions/double" } } }, "MapGenPresetEnemyExpansionSettings": { "description": "https://lua-api.factorio.com/stable/types/MapGenPresetEnemyExpansionSettings.html", "type": "object", "properties": { "enabled": { "$ref": "#/definitions/bool" }, "max_expansion_distance": { "$ref": "#/definitions/uint32" }, "settler_group_min_size": { "$ref": "#/definitions/uint32" }, "settler_group_max_size": { "$ref": "#/definitions/uint32" }, "min_expansion_cooldown": { "$ref": "#/definitions/uint32" }, "max_expansion_cooldown": { "$ref": "#/definitions/uint32" } } }, "MapGenPresetPollutionSettings": { "description": "https://lua-api.factorio.com/stable/types/MapGenPresetPollutionSettings.html", "type": "object", "properties": { "enabled": { "$ref": "#/definitions/bool" }, "diffusion_ratio": { "$ref": "#/definitions/double" }, "ageing": { "$ref": "#/definitions/double" }, "min_pollution_to_damage_trees": { "$ref": "#/definitions/double" }, "enemy_attack_pollution_consumption_modifier": { "$ref": "#/definitions/double" }, "pollution_restored_per_tree_damage": { "$ref": "#/definitions/double" } } }, "MapGenSettings": { "description": "https://lua-api.factorio.com/stable/types/MapGenSettings.html", "type": "object", "properties": { "default_enable_all_autoplace_controls": { "$ref": "#/definitions/bool" }, "autoplace_controls": { "type": "object", "additionalProperties": { "$ref": "#/definitions/FrequencySizeRichness" }, "propertyNames": { "$ref": "#/definitions/AutoplaceControlID" } }, "autoplace_settings": { "type": "object", "additionalProperties": { "$ref": "#/definitions/AutoplaceSettings" }, "propertyNames": { "anyOf": [ { "type": "string", "const": "entity" }, { "type": "string", "const": "tile" }, { "type": "string", "const": "decorative" } ] } }, "property_expression_names": { "type": "object", "additionalProperties": { "anyOf": [ { "$ref": "#/definitions/string" }, { "$ref": "#/definitions/bool" }, { "$ref": "#/definitions/double" } ] }, "propertyNames": { "$ref": "#/definitions/string" } }, "starting_points": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/MapPosition" } }, { "type": "object", "additionalProperties": false } ] }, "seed": { "$ref": "#/definitions/uint32" }, "width": { "$ref": "#/definitions/uint32" }, "height": { "$ref": "#/definitions/uint32" }, "starting_area": { "$ref": "#/definitions/MapGenSize" }, "peaceful_mode": { "$ref": "#/definitions/bool" }, "no_enemies_mode": { "$ref": "#/definitions/bool" }, "cliff_settings": { "$ref": "#/definitions/CliffPlacementSettings" }, "territory_settings": { "$ref": "#/definitions/TerritorySettings" } } }, "MapGenSize": { "description": "https://lua-api.factorio.com/stable/types/MapGenSize.html", "anyOf": [ { "$ref": "#/definitions/float" }, { "type": "string", "const": "none" }, { "type": "string", "const": "very-low" }, { "type": "string", "const": "very-small" }, { "type": "string", "const": "very-poor" }, { "type": "string", "const": "low" }, { "type": "string", "const": "small" }, { "type": "string", "const": "poor" }, { "type": "string", "const": "normal" }, { "type": "string", "const": "medium" }, { "type": "string", "const": "regular" }, { "type": "string", "const": "high" }, { "type": "string", "const": "big" }, { "type": "string", "const": "good" }, { "type": "string", "const": "very-high" }, { "type": "string", "const": "very-big" }, { "type": "string", "const": "very-good" } ] }, "MapPosition": { "description": "https://lua-api.factorio.com/stable/types/MapPosition.html", "anyOf": [ { "type": "object", "properties": { "x": { "$ref": "#/definitions/double" }, "y": { "$ref": "#/definitions/double" } }, "required": [ "x", "y" ] }, { "type": "array", "items": [ { "anyOf": [ { "$ref": "#/definitions/double" } ] }, { "anyOf": [ { "$ref": "#/definitions/double" } ] } ], "minItems": 2, "maxItems": 2 } ] }, "MapTick": { "description": "https://lua-api.factorio.com/stable/types/MapTick.html", "anyOf": [ { "$ref": "#/definitions/uint64" } ] }, "MaterialAmountType": { "description": "https://lua-api.factorio.com/stable/types/MaterialAmountType.html", "anyOf": [ { "$ref": "#/definitions/double" } ] }, "MaterialTextureParameters": { "description": "https://lua-api.factorio.com/stable/types/MaterialTextureParameters.html", "type": "object", "properties": { "count": { "$ref": "#/definitions/uint32" }, "picture": { "$ref": "#/definitions/FileName" }, "scale": { "$ref": "#/definitions/float" }, "x": { "$ref": "#/definitions/SpriteSizeType" }, "y": { "$ref": "#/definitions/SpriteSizeType" }, "line_length": { "$ref": "#/definitions/uint32" } }, "required": [ "count", "picture" ] }, "MathExpression": { "description": "https://lua-api.factorio.com/stable/types/MathExpression.html", "anyOf": [ { "$ref": "#/definitions/string" } ] }, "MaxFailedAttemptsPerTickPerConstructionQueueModifier": { "description": "https://lua-api.factorio.com/stable/types/MaxFailedAttemptsPerTickPerConstructionQueueModifier.html", "type": "object", "properties": { "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "hidden": { "$ref": "#/definitions/bool" }, "modifier": { "$ref": "#/definitions/double" }, "type": { "type": "string", "const": "max-failed-attempts-per-tick-per-construction-queue" }, "use_icon_overlay_constant": { "$ref": "#/definitions/bool" } }, "required": [ "modifier", "type" ] }, "MaxSuccessfulAttemptsPerTickPerConstructionQueueModifier": { "description": "https://lua-api.factorio.com/stable/types/MaxSuccessfulAttemptsPerTickPerConstructionQueueModifier.html", "type": "object", "properties": { "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "hidden": { "$ref": "#/definitions/bool" }, "modifier": { "$ref": "#/definitions/double" }, "type": { "type": "string", "const": "max-successful-attempts-per-tick-per-construction-queue" }, "use_icon_overlay_constant": { "$ref": "#/definitions/bool" } }, "required": [ "modifier", "type" ] }, "MaximumFollowingRobotsCountModifier": { "description": "https://lua-api.factorio.com/stable/types/MaximumFollowingRobotsCountModifier.html", "type": "object", "properties": { "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "hidden": { "$ref": "#/definitions/bool" }, "modifier": { "$ref": "#/definitions/double" }, "type": { "type": "string", "const": "maximum-following-robots-count" }, "infer_icon": { "$ref": "#/definitions/bool" }, "use_icon_overlay_constant": { "$ref": "#/definitions/bool" } }, "required": [ "modifier", "type" ] }, "MinableProperties": { "description": "https://lua-api.factorio.com/stable/types/MinableProperties.html", "type": "object", "properties": { "mining_time": { "$ref": "#/definitions/double" }, "include_in_show_counts": { "$ref": "#/definitions/bool" }, "transfer_entity_health_to_products": { "$ref": "#/definitions/bool" }, "results": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ProductPrototype" } }, { "type": "object", "additionalProperties": false } ] }, "result": { "$ref": "#/definitions/ItemID" }, "fluid_amount": { "$ref": "#/definitions/FluidAmount" }, "mining_particle": { "$ref": "#/definitions/ParticleID" }, "required_fluid": { "$ref": "#/definitions/FluidID" }, "count": { "$ref": "#/definitions/uint16" }, "mining_trigger": { "$ref": "#/definitions/Trigger" } }, "required": [ "mining_time" ] }, "MineEntityTechnologyTrigger": { "description": "https://lua-api.factorio.com/stable/types/MineEntityTechnologyTrigger.html", "type": "object", "properties": { "type": { "type": "string", "const": "mine-entity" }, "entity": { "$ref": "#/definitions/EntityID" } }, "required": [ "type", "entity" ] }, "MineItemByRobotTipTrigger": { "description": "https://lua-api.factorio.com/stable/types/MineItemByRobotTipTrigger.html", "type": "object", "properties": { "count": { "$ref": "#/definitions/uint32" }, "type": { "type": "string", "const": "mine-item-by-robot" } }, "required": [ "type" ] }, "MinimapStyleSpecification": { "description": "https://lua-api.factorio.com/stable/types/MinimapStyleSpecification.html", "type": "object", "properties": { "parent": { "$ref": "#/definitions/string" }, "horizontal_align": { "$ref": "#/definitions/HorizontalAlign" }, "vertical_align": { "$ref": "#/definitions/VerticalAlign" }, "ignored_by_search": { "$ref": "#/definitions/bool" }, "never_hide_by_search": { "$ref": "#/definitions/bool" }, "horizontally_stretchable": { "$ref": "#/definitions/StretchRule" }, "vertically_stretchable": { "$ref": "#/definitions/StretchRule" }, "horizontally_squashable": { "$ref": "#/definitions/StretchRule" }, "vertically_squashable": { "$ref": "#/definitions/StretchRule" }, "natural_size": { "anyOf": [ { "$ref": "#/definitions/uint32" }, { "type": "array", "items": [ { "$ref": "#/definitions/uint32" }, { "$ref": "#/definitions/uint32" } ], "minItems": 2, "maxItems": 2 } ] }, "size": { "anyOf": [ { "$ref": "#/definitions/uint32" }, { "type": "array", "items": [ { "$ref": "#/definitions/uint32" }, { "$ref": "#/definitions/uint32" } ], "minItems": 2, "maxItems": 2 } ] }, "width": { "$ref": "#/definitions/uint32" }, "minimal_width": { "$ref": "#/definitions/uint32" }, "maximal_width": { "$ref": "#/definitions/uint32" }, "natural_width": { "$ref": "#/definitions/uint32" }, "height": { "$ref": "#/definitions/uint32" }, "minimal_height": { "$ref": "#/definitions/uint32" }, "maximal_height": { "$ref": "#/definitions/uint32" }, "natural_height": { "$ref": "#/definitions/uint32" }, "padding": { "$ref": "#/definitions/int16" }, "top_padding": { "$ref": "#/definitions/int16" }, "right_padding": { "$ref": "#/definitions/int16" }, "bottom_padding": { "$ref": "#/definitions/int16" }, "left_padding": { "$ref": "#/definitions/int16" }, "margin": { "$ref": "#/definitions/int16" }, "top_margin": { "$ref": "#/definitions/int16" }, "right_margin": { "$ref": "#/definitions/int16" }, "bottom_margin": { "$ref": "#/definitions/int16" }, "left_margin": { "$ref": "#/definitions/int16" }, "effect": { "anyOf": [ { "type": "string", "const": "compilatron-hologram" } ] }, "effect_opacity": { "$ref": "#/definitions/float" }, "tooltip": { "$ref": "#/definitions/LocalisedString" }, "type": { "type": "string", "const": "minimap_style" }, "graphical_set": { "$ref": "#/definitions/ElementImageSet" } }, "required": [ "type" ] }, "MiningDrillGraphicsSet": { "description": "https://lua-api.factorio.com/stable/types/MiningDrillGraphicsSet.html", "type": "object", "properties": { "animation": { "$ref": "#/definitions/Animation4Way" }, "idle_animation": { "$ref": "#/definitions/Animation4Way" }, "always_draw_idle_animation": { "$ref": "#/definitions/bool" }, "default_recipe_tint": { "$ref": "#/definitions/GlobalRecipeTints" }, "recipe_not_set_tint": { "$ref": "#/definitions/GlobalRecipeTints" }, "states": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/VisualState" } }, { "type": "object", "additionalProperties": false } ] }, "working_visualisations": { "anyOf": [ { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/WorkingVisualisation" } }, { "type": "object", "additionalProperties": false } ] }, { "type": "object", "additionalProperties": { "$ref": "#/definitions/WorkingVisualisation" } } ] }, "shift_animation_waypoints": { "$ref": "#/definitions/ShiftAnimationWaypoints" }, "shift_animation_waypoint_stop_duration": { "$ref": "#/definitions/uint16" }, "shift_animation_transition_duration": { "$ref": "#/definitions/uint16" }, "status_colors": { "$ref": "#/definitions/StatusColors" }, "frozen_patch": { "$ref": "#/definitions/Sprite4Way" }, "reset_animation_when_frozen": { "$ref": "#/definitions/bool" }, "circuit_connector_layer": { "anyOf": [ { "$ref": "#/definitions/RenderLayer" }, { "$ref": "#/definitions/CircuitConnectorLayer" } ] }, "circuit_connector_secondary_draw_order": { "anyOf": [ { "$ref": "#/definitions/int8" }, { "$ref": "#/definitions/CircuitConnectorSecondaryDrawOrder" } ] }, "drilling_vertical_movement_duration": { "$ref": "#/definitions/uint16" }, "animation_progress": { "$ref": "#/definitions/float" } } }, "MiningDrillProductivityBonusModifier": { "description": "https://lua-api.factorio.com/stable/types/MiningDrillProductivityBonusModifier.html", "type": "object", "properties": { "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "hidden": { "$ref": "#/definitions/bool" }, "modifier": { "$ref": "#/definitions/double" }, "type": { "type": "string", "const": "mining-drill-productivity-bonus" }, "infer_icon": { "$ref": "#/definitions/bool" }, "use_icon_overlay_constant": { "$ref": "#/definitions/bool" } }, "required": [ "modifier", "type" ] }, "MiningWithFluidModifier": { "description": "https://lua-api.factorio.com/stable/types/MiningWithFluidModifier.html", "type": "object", "properties": { "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "hidden": { "$ref": "#/definitions/bool" }, "modifier": { "$ref": "#/definitions/bool" }, "type": { "type": "string", "const": "mining-with-fluid" }, "use_icon_overlay_constant": { "$ref": "#/definitions/bool" } }, "required": [ "modifier", "type" ] }, "Mirroring": { "description": "https://lua-api.factorio.com/stable/types/Mirroring.html", "anyOf": [ { "type": "string", "const": "horizontal" }, { "type": "string", "const": "vertical" }, { "type": "string", "const": "diagonal-pos" }, { "type": "string", "const": "diagonal-neg" } ] }, "Modifier": { "description": "https://lua-api.factorio.com/stable/types/Modifier.html", "anyOf": [ { "$ref": "#/definitions/InserterStackSizeBonusModifier" }, { "$ref": "#/definitions/BulkInserterCapacityBonusModifier" }, { "$ref": "#/definitions/LaboratorySpeedModifier" }, { "$ref": "#/definitions/CharacterLogisticTrashSlotsModifier" }, { "$ref": "#/definitions/MaximumFollowingRobotsCountModifier" }, { "$ref": "#/definitions/WorkerRobotSpeedModifier" }, { "$ref": "#/definitions/WorkerRobotStorageModifier" }, { "$ref": "#/definitions/TurretAttackModifier" }, { "$ref": "#/definitions/AmmoDamageModifier" }, { "$ref": "#/definitions/GiveItemModifier" }, { "$ref": "#/definitions/GunSpeedModifier" }, { "$ref": "#/definitions/UnlockRecipeModifier" }, { "$ref": "#/definitions/CharacterCraftingSpeedModifier" }, { "$ref": "#/definitions/CharacterMiningSpeedModifier" }, { "$ref": "#/definitions/CharacterRunningSpeedModifier" }, { "$ref": "#/definitions/CharacterBuildDistanceModifier" }, { "$ref": "#/definitions/CharacterItemDropDistanceModifier" }, { "$ref": "#/definitions/CharacterReachDistanceModifier" }, { "$ref": "#/definitions/CharacterResourceReachDistanceModifier" }, { "$ref": "#/definitions/CharacterItemPickupDistanceModifier" }, { "$ref": "#/definitions/CharacterLootPickupDistanceModifier" }, { "$ref": "#/definitions/CharacterInventorySlotsBonusModifier" }, { "$ref": "#/definitions/DeconstructionTimeToLiveModifier" }, { "$ref": "#/definitions/MaxFailedAttemptsPerTickPerConstructionQueueModifier" }, { "$ref": "#/definitions/MaxSuccessfulAttemptsPerTickPerConstructionQueueModifier" }, { "$ref": "#/definitions/CharacterHealthBonusModifier" }, { "$ref": "#/definitions/MiningDrillProductivityBonusModifier" }, { "$ref": "#/definitions/TrainBrakingForceBonusModifier" }, { "$ref": "#/definitions/WorkerRobotBatteryModifier" }, { "$ref": "#/definitions/LaboratoryProductivityModifier" }, { "$ref": "#/definitions/FollowerRobotLifetimeModifier" }, { "$ref": "#/definitions/ArtilleryRangeModifier" }, { "$ref": "#/definitions/NothingModifier" }, { "$ref": "#/definitions/CharacterLogisticRequestsModifier" }, { "$ref": "#/definitions/VehicleLogisticsModifier" }, { "$ref": "#/definitions/UnlockSpaceLocationModifier" }, { "$ref": "#/definitions/UnlockQualityModifier" }, { "$ref": "#/definitions/SpacePlatformsModifier" }, { "$ref": "#/definitions/CircuitNetworkModifier" }, { "$ref": "#/definitions/CargoLandingPadLimitModifier" }, { "$ref": "#/definitions/ChangeRecipeProductivityModifier" }, { "$ref": "#/definitions/CliffDeconstructionEnabledModifier" }, { "$ref": "#/definitions/MiningWithFluidModifier" }, { "$ref": "#/definitions/RailSupportOnDeepOilOceanModifier" }, { "$ref": "#/definitions/RailPlannerAllowElevatedRailsModifier" }, { "$ref": "#/definitions/BeaconDistributionModifier" }, { "$ref": "#/definitions/CreateGhostOnEntityDeathModifier" }, { "$ref": "#/definitions/BeltStackSizeBonusModifier" } ] }, "ModuleCategoryID": { "description": "https://lua-api.factorio.com/stable/types/ModuleCategoryID.html", "anyOf": [ { "$ref": "#/definitions/string" } ] }, "ModuleTint": { "description": "https://lua-api.factorio.com/stable/types/ModuleTint.html", "anyOf": [ { "type": "string", "const": "primary" }, { "type": "string", "const": "secondary" }, { "type": "string", "const": "tertiary" }, { "type": "string", "const": "quaternary" }, { "type": "string", "const": "none" } ] }, "ModuleTransferTipTrigger": { "description": "https://lua-api.factorio.com/stable/types/ModuleTransferTipTrigger.html", "type": "object", "properties": { "count": { "$ref": "#/definitions/uint32" }, "type": { "type": "string", "const": "module-transfer" }, "module": { "$ref": "#/definitions/ItemID" } }, "required": [ "type", "module" ] }, "MouseCursorID": { "description": "https://lua-api.factorio.com/stable/types/MouseCursorID.html", "anyOf": [ { "$ref": "#/definitions/string" } ] }, "NeighbourConnectable": { "description": "https://lua-api.factorio.com/stable/types/NeighbourConnectable.html", "type": "object", "properties": { "affected_by_direction": { "$ref": "#/definitions/bool" }, "neighbour_search_distance": { "$ref": "#/definitions/float" }, "connections": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/NeighbourConnectableConnectionDefinition" } }, { "type": "object", "additionalProperties": false } ] } }, "required": [ "connections" ] }, "NeighbourConnectableConnectionCategory": { "description": "https://lua-api.factorio.com/stable/types/NeighbourConnectableConnectionCategory.html", "anyOf": [ { "$ref": "#/definitions/string" } ] }, "NeighbourConnectableConnectionDefinition": { "description": "https://lua-api.factorio.com/stable/types/NeighbourConnectableConnectionDefinition.html", "type": "object", "properties": { "location": { "type": "object", "properties": { "position": { "$ref": "#/definitions/MapPosition" }, "direction": { "$ref": "#/definitions/uint8" } }, "required": [ "position", "direction" ] }, "category": { "$ref": "#/definitions/NeighbourConnectableConnectionCategory" }, "neighbour_category": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/NeighbourConnectableConnectionCategory" } }, { "type": "object", "additionalProperties": false } ] } }, "required": [ "location", "category" ] }, "NestedTriggerEffectItem": { "description": "https://lua-api.factorio.com/stable/types/NestedTriggerEffectItem.html", "type": "object", "properties": { "repeat_count": { "$ref": "#/definitions/uint16" }, "repeat_count_deviation": { "$ref": "#/definitions/uint16" }, "probability": { "$ref": "#/definitions/float" }, "affects_target": { "$ref": "#/definitions/bool" }, "show_in_tooltip": { "$ref": "#/definitions/bool" }, "damage_type_filters": { "$ref": "#/definitions/DamageTypeFilters" }, "type": { "type": "string", "const": "nested-result" }, "action": { "$ref": "#/definitions/Trigger" } }, "required": [ "type", "action" ] }, "NoiseExpression": { "description": "https://lua-api.factorio.com/stable/types/NoiseExpression.html", "anyOf": [ { "$ref": "#/definitions/string" }, { "$ref": "#/definitions/bool" }, { "$ref": "#/definitions/double" } ] }, "NoiseFunction": { "description": "https://lua-api.factorio.com/stable/types/NoiseFunction.html", "type": "object", "properties": { "parameters": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/string" } }, { "type": "object", "additionalProperties": false } ] }, "expression": { "$ref": "#/definitions/NoiseExpression" }, "local_expressions": { "type": "object", "additionalProperties": { "$ref": "#/definitions/NoiseExpression" }, "propertyNames": { "$ref": "#/definitions/string" } }, "local_functions": { "type": "object", "additionalProperties": { "$ref": "#/definitions/NoiseFunction" }, "propertyNames": { "$ref": "#/definitions/string" } } }, "required": [ "parameters", "expression" ] }, "NothingModifier": { "description": "https://lua-api.factorio.com/stable/types/NothingModifier.html", "type": "object", "properties": { "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "hidden": { "$ref": "#/definitions/bool" }, "type": { "type": "string", "const": "nothing" }, "use_icon_overlay_constant": { "$ref": "#/definitions/bool" }, "effect_description": { "$ref": "#/definitions/LocalisedString" } }, "required": [ "type" ] }, "OffshorePumpGraphicsSet": { "description": "https://lua-api.factorio.com/stable/types/OffshorePumpGraphicsSet.html", "type": "object", "properties": { "animation": { "$ref": "#/definitions/Animation4Way" }, "base_render_layer": { "$ref": "#/definitions/RenderLayer" }, "underwater_layer_offset": { "$ref": "#/definitions/int8" }, "fluid_animation": { "$ref": "#/definitions/Animation4Way" }, "glass_pictures": { "$ref": "#/definitions/Sprite4Way" }, "base_pictures": { "$ref": "#/definitions/Sprite4Way" }, "underwater_pictures": { "$ref": "#/definitions/Sprite4Way" } } }, "OrTipTrigger": { "description": "https://lua-api.factorio.com/stable/types/OrTipTrigger.html", "type": "object", "properties": { "type": { "type": "string", "const": "or" }, "triggers": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TipTrigger" } }, { "type": "object", "additionalProperties": false } ] } }, "required": [ "type", "triggers" ] }, "Order": { "description": "https://lua-api.factorio.com/stable/types/Order.html", "anyOf": [ { "$ref": "#/definitions/string" } ] }, "OrientedCliffPrototype": { "description": "https://lua-api.factorio.com/stable/types/OrientedCliffPrototype.html", "type": "object", "properties": { "render_layer": { "$ref": "#/definitions/RenderLayer" }, "collision_bounding_box": { "$ref": "#/definitions/BoundingBox" }, "pictures": { "$ref": "#/definitions/SpriteVariations" }, "pictures_lower": { "$ref": "#/definitions/SpriteVariations" } }, "required": [ "collision_bounding_box" ] }, "ParticleID": { "description": "https://lua-api.factorio.com/stable/types/ParticleID.html", "anyOf": [ { "$ref": "#/definitions/string" } ] }, "PasteEntitySettingsTipTrigger": { "description": "https://lua-api.factorio.com/stable/types/PasteEntitySettingsTipTrigger.html", "type": "object", "properties": { "count": { "$ref": "#/definitions/uint32" }, "type": { "type": "string", "const": "paste-entity-settings" }, "source": { "$ref": "#/definitions/EntityID" }, "target": { "$ref": "#/definitions/EntityID" }, "match_type_only": { "$ref": "#/definitions/bool" } }, "required": [ "type" ] }, "PathFinderSettings": { "description": "https://lua-api.factorio.com/stable/types/PathFinderSettings.html", "type": "object", "properties": { "fwd2bwd_ratio": { "$ref": "#/definitions/uint32" }, "goal_pressure_ratio": { "$ref": "#/definitions/double" }, "use_path_cache": { "$ref": "#/definitions/bool" }, "max_steps_worked_per_tick": { "$ref": "#/definitions/double" }, "max_work_done_per_tick": { "$ref": "#/definitions/uint32" }, "short_cache_size": { "$ref": "#/definitions/uint32" }, "long_cache_size": { "$ref": "#/definitions/uint32" }, "short_cache_min_cacheable_distance": { "$ref": "#/definitions/double" }, "short_cache_min_algo_steps_to_cache": { "$ref": "#/definitions/uint32" }, "long_cache_min_cacheable_distance": { "$ref": "#/definitions/double" }, "cache_max_connect_to_cache_steps_multiplier": { "$ref": "#/definitions/uint32" }, "cache_accept_path_start_distance_ratio": { "$ref": "#/definitions/double" }, "cache_accept_path_end_distance_ratio": { "$ref": "#/definitions/double" }, "negative_cache_accept_path_start_distance_ratio": { "$ref": "#/definitions/double" }, "negative_cache_accept_path_end_distance_ratio": { "$ref": "#/definitions/double" }, "cache_path_start_distance_rating_multiplier": { "$ref": "#/definitions/double" }, "cache_path_end_distance_rating_multiplier": { "$ref": "#/definitions/double" }, "stale_enemy_with_same_destination_collision_penalty": { "$ref": "#/definitions/double" }, "ignore_moving_enemy_collision_distance": { "$ref": "#/definitions/double" }, "enemy_with_different_destination_collision_penalty": { "$ref": "#/definitions/double" }, "general_entity_collision_penalty": { "$ref": "#/definitions/double" }, "general_entity_subsequent_collision_penalty": { "$ref": "#/definitions/double" }, "extended_collision_penalty": { "$ref": "#/definitions/double" }, "max_clients_to_accept_any_new_request": { "$ref": "#/definitions/uint32" }, "max_clients_to_accept_short_new_request": { "$ref": "#/definitions/uint32" }, "direct_distance_to_consider_short_request": { "$ref": "#/definitions/uint32" }, "short_request_max_steps": { "$ref": "#/definitions/uint32" }, "short_request_ratio": { "$ref": "#/definitions/double" }, "min_steps_to_check_path_find_termination": { "$ref": "#/definitions/uint32" }, "start_to_goal_cost_multiplier_to_terminate_path_find": { "$ref": "#/definitions/double" }, "overload_levels": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/uint32" } }, { "type": "object", "additionalProperties": false } ] }, "overload_multipliers": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/double" } }, { "type": "object", "additionalProperties": false } ] }, "negative_path_cache_delay_interval": { "$ref": "#/definitions/uint32" } }, "required": [ "fwd2bwd_ratio", "goal_pressure_ratio", "use_path_cache", "max_steps_worked_per_tick", "max_work_done_per_tick", "short_cache_size", "long_cache_size", "short_cache_min_cacheable_distance", "short_cache_min_algo_steps_to_cache", "long_cache_min_cacheable_distance", "cache_max_connect_to_cache_steps_multiplier", "cache_accept_path_start_distance_ratio", "cache_accept_path_end_distance_ratio", "negative_cache_accept_path_start_distance_ratio", "negative_cache_accept_path_end_distance_ratio", "cache_path_start_distance_rating_multiplier", "cache_path_end_distance_rating_multiplier", "stale_enemy_with_same_destination_collision_penalty", "ignore_moving_enemy_collision_distance", "enemy_with_different_destination_collision_penalty", "general_entity_collision_penalty", "general_entity_subsequent_collision_penalty", "extended_collision_penalty", "max_clients_to_accept_any_new_request", "max_clients_to_accept_short_new_request", "direct_distance_to_consider_short_request", "short_request_max_steps", "short_request_ratio", "min_steps_to_check_path_find_termination", "start_to_goal_cost_multiplier_to_terminate_path_find", "overload_levels", "overload_multipliers", "negative_path_cache_delay_interval" ] }, "PerceivedPerformance": { "description": "https://lua-api.factorio.com/stable/types/PerceivedPerformance.html", "type": "object", "properties": { "minimum": { "$ref": "#/definitions/double" }, "maximum": { "$ref": "#/definitions/double" }, "performance_to_activity_rate": { "$ref": "#/definitions/double" } } }, "PersistentWorldAmbientSoundDefinition": { "description": "https://lua-api.factorio.com/stable/types/PersistentWorldAmbientSoundDefinition.html", "anyOf": [ { "type": "object", "properties": { "sound": { "$ref": "#/definitions/Sound" } }, "required": [ "sound" ] }, { "$ref": "#/definitions/Sound" } ] }, "PersistentWorldAmbientSoundsDefinition": { "description": "https://lua-api.factorio.com/stable/types/PersistentWorldAmbientSoundsDefinition.html", "type": "object", "properties": { "base_ambience": { "anyOf": [ { "$ref": "#/definitions/PersistentWorldAmbientSoundDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/PersistentWorldAmbientSoundDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "wind": { "anyOf": [ { "$ref": "#/definitions/PersistentWorldAmbientSoundDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/PersistentWorldAmbientSoundDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "crossfade": { "$ref": "#/definitions/PersistentWorldAmbientSoundsDefinitionCrossfade" }, "semi_persistent": { "anyOf": [ { "$ref": "#/definitions/SemiPersistentWorldAmbientSoundDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SemiPersistentWorldAmbientSoundDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] } } }, "PersistentWorldAmbientSoundsDefinitionCrossfade": { "description": "https://lua-api.factorio.com/stable/types/PersistentWorldAmbientSoundsDefinitionCrossfade.html", "type": "object", "properties": { "curve_type": { "$ref": "#/definitions/AttenuationType" }, "tuning_parameter": { "$ref": "#/definitions/float" }, "from": { "$ref": "#/definitions/ControlPoint" }, "to": { "$ref": "#/definitions/ControlPoint" }, "order": { "type": "array", "items": [ { "anyOf": [ { "type": "string", "const": "wind" }, { "type": "string", "const": "base_ambience" } ] }, { "anyOf": [ { "type": "string", "const": "wind" }, { "type": "string", "const": "base_ambience" } ] } ], "minItems": 2, "maxItems": 2 } }, "required": [ "curve_type", "order" ] }, "PipeConnectionDefinition": { "description": "https://lua-api.factorio.com/stable/types/PipeConnectionDefinition.html", "type": "object", "properties": { "flow_direction": { "anyOf": [ { "type": "string", "const": "input-output" }, { "type": "string", "const": "input" }, { "type": "string", "const": "output" } ] }, "connection_type": { "anyOf": [ { "type": "string", "const": "normal" }, { "type": "string", "const": "underground" }, { "type": "string", "const": "linked" } ] }, "enable_working_visualisations": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/string" } }, { "type": "object", "additionalProperties": false } ] }, "direction": { "$ref": "#/definitions/Direction" }, "position": { "$ref": "#/definitions/MapPosition" }, "positions": { "type": "array", "items": [ { "$ref": "#/definitions/MapPosition" }, { "$ref": "#/definitions/MapPosition" }, { "$ref": "#/definitions/MapPosition" }, { "$ref": "#/definitions/MapPosition" } ], "minItems": 4, "maxItems": 4 }, "connection_category": { "anyOf": [ { "$ref": "#/definitions/string" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/string" } }, { "type": "object", "additionalProperties": false } ] } ] }, "max_underground_distance": { "$ref": "#/definitions/uint8" }, "max_distance_tint": { "$ref": "#/definitions/Color" }, "underground_collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "linked_connection_id": { "$ref": "#/definitions/FluidBoxLinkedConnectionID" } } }, "PipePictures": { "description": "https://lua-api.factorio.com/stable/types/PipePictures.html", "type": "object", "properties": { "straight_vertical_single": { "$ref": "#/definitions/Sprite" }, "straight_vertical": { "$ref": "#/definitions/Sprite" }, "straight_vertical_window": { "$ref": "#/definitions/Sprite" }, "straight_horizontal": { "$ref": "#/definitions/Sprite" }, "straight_horizontal_window": { "$ref": "#/definitions/Sprite" }, "corner_up_right": { "$ref": "#/definitions/Sprite" }, "corner_up_left": { "$ref": "#/definitions/Sprite" }, "corner_down_right": { "$ref": "#/definitions/Sprite" }, "corner_down_left": { "$ref": "#/definitions/Sprite" }, "t_up": { "$ref": "#/definitions/Sprite" }, "t_down": { "$ref": "#/definitions/Sprite" }, "t_right": { "$ref": "#/definitions/Sprite" }, "t_left": { "$ref": "#/definitions/Sprite" }, "cross": { "$ref": "#/definitions/Sprite" }, "ending_up": { "$ref": "#/definitions/Sprite" }, "ending_down": { "$ref": "#/definitions/Sprite" }, "ending_right": { "$ref": "#/definitions/Sprite" }, "ending_left": { "$ref": "#/definitions/Sprite" }, "straight_vertical_single_frozen": { "$ref": "#/definitions/Sprite" }, "straight_vertical_frozen": { "$ref": "#/definitions/Sprite" }, "straight_vertical_window_frozen": { "$ref": "#/definitions/Sprite" }, "straight_horizontal_frozen": { "$ref": "#/definitions/Sprite" }, "straight_horizontal_window_frozen": { "$ref": "#/definitions/Sprite" }, "corner_up_right_frozen": { "$ref": "#/definitions/Sprite" }, "corner_up_left_frozen": { "$ref": "#/definitions/Sprite" }, "corner_down_right_frozen": { "$ref": "#/definitions/Sprite" }, "corner_down_left_frozen": { "$ref": "#/definitions/Sprite" }, "t_up_frozen": { "$ref": "#/definitions/Sprite" }, "t_down_frozen": { "$ref": "#/definitions/Sprite" }, "t_right_frozen": { "$ref": "#/definitions/Sprite" }, "t_left_frozen": { "$ref": "#/definitions/Sprite" }, "cross_frozen": { "$ref": "#/definitions/Sprite" }, "ending_up_frozen": { "$ref": "#/definitions/Sprite" }, "ending_down_frozen": { "$ref": "#/definitions/Sprite" }, "ending_right_frozen": { "$ref": "#/definitions/Sprite" }, "ending_left_frozen": { "$ref": "#/definitions/Sprite" }, "straight_vertical_single_visualization": { "$ref": "#/definitions/Sprite" }, "straight_vertical_visualization": { "$ref": "#/definitions/Sprite" }, "straight_vertical_window_visualization": { "$ref": "#/definitions/Sprite" }, "straight_horizontal_visualization": { "$ref": "#/definitions/Sprite" }, "straight_horizontal_window_visualization": { "$ref": "#/definitions/Sprite" }, "corner_up_right_visualization": { "$ref": "#/definitions/Sprite" }, "corner_up_left_visualization": { "$ref": "#/definitions/Sprite" }, "corner_down_right_visualization": { "$ref": "#/definitions/Sprite" }, "corner_down_left_visualization": { "$ref": "#/definitions/Sprite" }, "t_up_visualization": { "$ref": "#/definitions/Sprite" }, "t_down_visualization": { "$ref": "#/definitions/Sprite" }, "t_right_visualization": { "$ref": "#/definitions/Sprite" }, "t_left_visualization": { "$ref": "#/definitions/Sprite" }, "cross_visualization": { "$ref": "#/definitions/Sprite" }, "ending_up_visualization": { "$ref": "#/definitions/Sprite" }, "ending_down_visualization": { "$ref": "#/definitions/Sprite" }, "ending_right_visualization": { "$ref": "#/definitions/Sprite" }, "ending_left_visualization": { "$ref": "#/definitions/Sprite" }, "straight_vertical_single_disabled_visualization": { "$ref": "#/definitions/Sprite" }, "straight_vertical_disabled_visualization": { "$ref": "#/definitions/Sprite" }, "straight_vertical_window_disabled_visualization": { "$ref": "#/definitions/Sprite" }, "straight_horizontal_disabled_visualization": { "$ref": "#/definitions/Sprite" }, "straight_horizontal_window_disabled_visualization": { "$ref": "#/definitions/Sprite" }, "corner_up_right_disabled_visualization": { "$ref": "#/definitions/Sprite" }, "corner_up_left_disabled_visualization": { "$ref": "#/definitions/Sprite" }, "corner_down_right_disabled_visualization": { "$ref": "#/definitions/Sprite" }, "corner_down_left_disabled_visualization": { "$ref": "#/definitions/Sprite" }, "t_up_disabled_visualization": { "$ref": "#/definitions/Sprite" }, "t_down_disabled_visualization": { "$ref": "#/definitions/Sprite" }, "t_right_disabled_visualization": { "$ref": "#/definitions/Sprite" }, "t_left_disabled_visualization": { "$ref": "#/definitions/Sprite" }, "cross_disabled_visualization": { "$ref": "#/definitions/Sprite" }, "ending_up_disabled_visualization": { "$ref": "#/definitions/Sprite" }, "ending_down_disabled_visualization": { "$ref": "#/definitions/Sprite" }, "ending_right_disabled_visualization": { "$ref": "#/definitions/Sprite" }, "ending_left_disabled_visualization": { "$ref": "#/definitions/Sprite" }, "horizontal_window_background": { "$ref": "#/definitions/Sprite" }, "vertical_window_background": { "$ref": "#/definitions/Sprite" }, "fluid_background": { "$ref": "#/definitions/Sprite" }, "low_temperature_flow": { "$ref": "#/definitions/Sprite" }, "middle_temperature_flow": { "$ref": "#/definitions/Sprite" }, "high_temperature_flow": { "$ref": "#/definitions/Sprite" }, "gas_flow": { "$ref": "#/definitions/Animation" } } }, "PlaceEquipmentTipTrigger": { "description": "https://lua-api.factorio.com/stable/types/PlaceEquipmentTipTrigger.html", "type": "object", "properties": { "count": { "$ref": "#/definitions/uint32" }, "type": { "type": "string", "const": "place-equipment" }, "equipment": { "$ref": "#/definitions/EquipmentID" } }, "required": [ "type" ] }, "PlanTrainPathTipTrigger": { "description": "https://lua-api.factorio.com/stable/types/PlanTrainPathTipTrigger.html", "type": "object", "properties": { "type": { "type": "string", "const": "plan-train-path" }, "distance": { "$ref": "#/definitions/double" } }, "required": [ "type", "distance" ] }, "PlanetPrototypeMapGenSettings": { "description": "https://lua-api.factorio.com/stable/types/PlanetPrototypeMapGenSettings.html", "type": "object", "properties": { "cliff_settings": { "$ref": "#/definitions/CliffPlacementSettings" }, "territory_settings": { "$ref": "#/definitions/TerritorySettings" }, "autoplace_controls": { "type": "object", "additionalProperties": { "$ref": "#/definitions/FrequencySizeRichness" }, "propertyNames": { "$ref": "#/definitions/AutoplaceControlID" } }, "autoplace_settings": { "type": "object", "additionalProperties": { "$ref": "#/definitions/AutoplaceSettings" }, "propertyNames": { "anyOf": [ { "type": "string", "const": "entity" }, { "type": "string", "const": "tile" }, { "type": "string", "const": "decorative" } ] } }, "property_expression_names": { "type": "object", "additionalProperties": { "anyOf": [ { "$ref": "#/definitions/string" }, { "$ref": "#/definitions/bool" }, { "$ref": "#/definitions/double" } ] }, "propertyNames": { "$ref": "#/definitions/string" } }, "moisture_climate_control": { "$ref": "#/definitions/bool" }, "aux_climate_control": { "$ref": "#/definitions/bool" } } }, "PlaySoundTriggerEffectItem": { "description": "https://lua-api.factorio.com/stable/types/PlaySoundTriggerEffectItem.html", "type": "object", "properties": { "repeat_count": { "$ref": "#/definitions/uint16" }, "repeat_count_deviation": { "$ref": "#/definitions/uint16" }, "probability": { "$ref": "#/definitions/float" }, "affects_target": { "$ref": "#/definitions/bool" }, "show_in_tooltip": { "$ref": "#/definitions/bool" }, "damage_type_filters": { "$ref": "#/definitions/DamageTypeFilters" }, "type": { "type": "string", "const": "play-sound" }, "sound": { "$ref": "#/definitions/Sound" }, "min_distance": { "$ref": "#/definitions/float" }, "max_distance": { "$ref": "#/definitions/float" }, "volume_modifier": { "$ref": "#/definitions/float" }, "audible_distance_modifier": { "$ref": "#/definitions/float" }, "play_on_target_position": { "$ref": "#/definitions/bool" } }, "required": [ "type", "sound" ] }, "PlayerInputMethodFilter": { "description": "https://lua-api.factorio.com/stable/types/PlayerInputMethodFilter.html", "anyOf": [ { "type": "string", "const": "all" }, { "type": "string", "const": "keyboard_and_mouse" }, { "type": "string", "const": "game_controller" } ] }, "PlumeEffect": { "description": "https://lua-api.factorio.com/stable/types/PlumeEffect.html", "type": "object", "properties": { "animation": { "$ref": "#/definitions/AnimationVariations" }, "shadow": { "$ref": "#/definitions/AnimationVariations" }, "light": { "$ref": "#/definitions/LightDefinition" }, "count": { "$ref": "#/definitions/uint16" }, "min_count": { "$ref": "#/definitions/uint16" }, "max_count": { "$ref": "#/definitions/uint16" }, "period": { "$ref": "#/definitions/uint16" }, "particle_tick_offset": { "$ref": "#/definitions/float" }, "probability": { "$ref": "#/definitions/float" }, "offset_x": { "$ref": "#/definitions/RangedValue" }, "offset_y": { "$ref": "#/definitions/RangedValue" }, "offset_z": { "$ref": "#/definitions/RangedValue" }, "speed_x": { "$ref": "#/definitions/RangedValue" }, "speed_y": { "$ref": "#/definitions/RangedValue" }, "speed_z": { "$ref": "#/definitions/RangedValue" }, "acceleration_x": { "$ref": "#/definitions/float" }, "acceleration_y": { "$ref": "#/definitions/float" }, "acceleration_z": { "$ref": "#/definitions/float" }, "movement_slowdown_factor_x": { "$ref": "#/definitions/float" }, "movement_slowdown_factor_y": { "$ref": "#/definitions/float" }, "movement_slowdown_factor_z": { "$ref": "#/definitions/float" }, "scale": { "$ref": "#/definitions/RangedValue" }, "begin_scale": { "$ref": "#/definitions/float" }, "end_scale": { "$ref": "#/definitions/float" }, "fade_in_progress_duration": { "$ref": "#/definitions/float" }, "fade_out_progress_duration": { "$ref": "#/definitions/float" }, "spread_progress_duration": { "$ref": "#/definitions/float" }, "adjust_animation_speed_by_base_scale": { "$ref": "#/definitions/bool" }, "affected_by_wind": { "$ref": "#/definitions/bool" }, "render_layer": { "$ref": "#/definitions/RenderLayer" }, "positions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Vector" } }, { "type": "object", "additionalProperties": false } ] }, "nested_visualisations": { "anyOf": [ { "$ref": "#/definitions/StatelessVisualisation" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/StatelessVisualisation" } }, { "type": "object", "additionalProperties": false } ] } ] }, "can_lay_on_the_ground": { "$ref": "#/definitions/bool" }, "age_discrimination": { "$ref": "#/definitions/int8" } } }, "PlumesSpecification": { "description": "https://lua-api.factorio.com/stable/types/PlumesSpecification.html", "type": "object", "properties": { "min_probability": { "$ref": "#/definitions/float" }, "max_probability": { "$ref": "#/definitions/float" }, "min_y_offset": { "$ref": "#/definitions/float" }, "max_y_offset": { "$ref": "#/definitions/float" }, "stateless_visualisations": { "anyOf": [ { "$ref": "#/definitions/PlumeEffect" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/PlumeEffect" } }, { "type": "object", "additionalProperties": false } ] } ] } } }, "PodAnimationProcessionLayer": { "description": "https://lua-api.factorio.com/stable/types/PodAnimationProcessionLayer.html", "type": "object", "properties": { "type": { "type": "string", "const": "pod-animation" }, "graphic": { "$ref": "#/definitions/ProcessionGraphic" }, "frames": { "oneOf": [ { "type": "array", "items": { "type": "object", "properties": { "timestamp": { "$ref": "#/definitions/MapTick" }, "frame": { "$ref": "#/definitions/float" } }, "required": [ "timestamp", "frame" ] } }, { "type": "object", "additionalProperties": false } ] } }, "required": [ "type", "frames" ] }, "PodDistanceTraveledProcessionLayer": { "description": "https://lua-api.factorio.com/stable/types/PodDistanceTraveledProcessionLayer.html", "type": "object", "properties": { "type": { "type": "string", "const": "pod-distance-traveled" }, "reference_group": { "$ref": "#/definitions/ProcessionLayerInheritanceGroupID" }, "contribute_to_distance_traveled": { "$ref": "#/definitions/bool" }, "distance_traveled_contribution": { "$ref": "#/definitions/float" }, "frames": { "oneOf": [ { "type": "array", "items": { "type": "object", "properties": { "timestamp": { "$ref": "#/definitions/MapTick" }, "distance": { "$ref": "#/definitions/double" }, "distance_t": { "$ref": "#/definitions/double" } } } }, { "type": "object", "additionalProperties": false } ] } }, "required": [ "type", "frames" ] }, "PodMovementProcessionLayer": { "description": "https://lua-api.factorio.com/stable/types/PodMovementProcessionLayer.html", "type": "object", "properties": { "type": { "type": "string", "const": "pod-movement" }, "reference_group": { "$ref": "#/definitions/ProcessionLayerInheritanceGroupID" }, "inherit_from": { "$ref": "#/definitions/ProcessionLayerInheritanceGroupID" }, "contribute_to_distance_traveled": { "$ref": "#/definitions/bool" }, "distance_traveled_contribution": { "$ref": "#/definitions/float" }, "frames": { "oneOf": [ { "type": "array", "items": { "type": "object", "properties": { "timestamp": { "$ref": "#/definitions/MapTick" }, "tilt": { "$ref": "#/definitions/double" }, "tilt_t": { "$ref": "#/definitions/double" }, "offset": { "$ref": "#/definitions/Vector" }, "offset_t": { "$ref": "#/definitions/Vector" }, "offset_rate": { "$ref": "#/definitions/double" }, "offset_rate_t": { "$ref": "#/definitions/double" } } } }, { "type": "object", "additionalProperties": false } ] } }, "required": [ "type", "frames" ] }, "PodOpacityProcessionLayer": { "description": "https://lua-api.factorio.com/stable/types/PodOpacityProcessionLayer.html", "type": "object", "properties": { "type": { "type": "string", "const": "pod-opacity" }, "lut": { "$ref": "#/definitions/ColorLookupTable" }, "frames": { "oneOf": [ { "type": "array", "items": { "type": "object", "properties": { "timestamp": { "$ref": "#/definitions/MapTick" }, "cutscene_opacity": { "$ref": "#/definitions/double" }, "cutscene_opacity_t": { "$ref": "#/definitions/double" }, "outside_opacity": { "$ref": "#/definitions/double" }, "outside_opacity_t": { "$ref": "#/definitions/double" }, "lut_blend": { "$ref": "#/definitions/double" }, "lut_blend_t": { "$ref": "#/definitions/double" } } } }, { "type": "object", "additionalProperties": false } ] } }, "required": [ "type", "lut", "frames" ] }, "PollutionSettings": { "description": "https://lua-api.factorio.com/stable/types/PollutionSettings.html", "type": "object", "properties": { "enabled": { "$ref": "#/definitions/bool" }, "diffusion_ratio": { "$ref": "#/definitions/double" }, "min_to_diffuse": { "$ref": "#/definitions/double" }, "ageing": { "$ref": "#/definitions/double" }, "expected_max_per_chunk": { "$ref": "#/definitions/double" }, "min_to_show_per_chunk": { "$ref": "#/definitions/double" }, "min_pollution_to_damage_trees": { "$ref": "#/definitions/double" }, "pollution_with_max_forest_damage": { "$ref": "#/definitions/double" }, "pollution_restored_per_tree_damage": { "$ref": "#/definitions/double" }, "pollution_per_tree_damage": { "$ref": "#/definitions/double" }, "max_pollution_to_restore_trees": { "$ref": "#/definitions/double" }, "enemy_attack_pollution_consumption_modifier": { "$ref": "#/definitions/double" } }, "required": [ "enabled", "diffusion_ratio", "min_to_diffuse", "ageing", "expected_max_per_chunk", "min_to_show_per_chunk", "min_pollution_to_damage_trees", "pollution_with_max_forest_damage", "pollution_restored_per_tree_damage", "pollution_per_tree_damage", "max_pollution_to_restore_trees", "enemy_attack_pollution_consumption_modifier" ] }, "ProbabilityTable": { "description": "https://lua-api.factorio.com/stable/types/ProbabilityTable.html", "oneOf": [ { "type": "array", "items": { "anyOf": [ { "$ref": "#/definitions/ProbabilityTableItem" } ] } }, { "type": "object", "additionalProperties": false } ] }, "ProbabilityTableItem": { "description": "https://lua-api.factorio.com/stable/types/ProbabilityTableItem.html", "type": "array", "items": [ { "anyOf": [ { "$ref": "#/definitions/uint8" } ] }, { "anyOf": [ { "$ref": "#/definitions/uint8" } ] } ], "minItems": 2, "maxItems": 2 }, "ProcessionAudio": { "description": "https://lua-api.factorio.com/stable/types/ProcessionAudio.html", "type": "object", "properties": { "type": { "$ref": "#/definitions/ProcessionAudioType" }, "sound": { "$ref": "#/definitions/Sound" }, "looped_sound": { "$ref": "#/definitions/InterruptibleSound" }, "catalogue_id": { "$ref": "#/definitions/uint32" } }, "required": [ "type" ] }, "ProcessionAudioCatalogue": { "description": "https://lua-api.factorio.com/stable/types/ProcessionAudioCatalogue.html", "oneOf": [ { "type": "array", "items": { "anyOf": [ { "$ref": "#/definitions/ProcessionAudioCatalogueItem" } ] } }, { "type": "object", "additionalProperties": false } ] }, "ProcessionAudioCatalogueItem": { "description": "https://lua-api.factorio.com/stable/types/ProcessionAudioCatalogueItem.html", "type": "object", "properties": { "index": { "$ref": "#/definitions/uint32" }, "sound": { "$ref": "#/definitions/Sound" }, "looped_sound": { "$ref": "#/definitions/InterruptibleSound" } }, "required": [ "index" ] }, "ProcessionAudioEvent": { "description": "https://lua-api.factorio.com/stable/types/ProcessionAudioEvent.html", "type": "object", "properties": { "type": { "$ref": "#/definitions/ProcessionAudioEventType" }, "usage": { "$ref": "#/definitions/ProcessionAudioUsage" }, "audio": { "$ref": "#/definitions/ProcessionAudio" }, "loop_id": { "$ref": "#/definitions/uint32" } }, "required": [ "type" ] }, "ProcessionAudioEventType": { "description": "https://lua-api.factorio.com/stable/types/ProcessionAudioEventType.html", "anyOf": [ { "type": "string", "const": "play-sound" }, { "type": "string", "const": "start-looped-sound" }, { "type": "string", "const": "stop-looped-sound" } ] }, "ProcessionAudioType": { "description": "https://lua-api.factorio.com/stable/types/ProcessionAudioType.html", "anyOf": [ { "type": "string", "const": "none" }, { "type": "string", "const": "sound" }, { "type": "string", "const": "looped-sound" }, { "type": "string", "const": "pod-catalogue" }, { "type": "string", "const": "location-catalogue" } ] }, "ProcessionAudioUsage": { "description": "https://lua-api.factorio.com/stable/types/ProcessionAudioUsage.html", "anyOf": [ { "type": "string", "const": "both" }, { "type": "string", "const": "passenger" }, { "type": "string", "const": "outside" } ] }, "ProcessionGraphic": { "description": "https://lua-api.factorio.com/stable/types/ProcessionGraphic.html", "type": "object", "properties": { "type": { "$ref": "#/definitions/ProcessionGraphicType" }, "sprite": { "$ref": "#/definitions/Sprite" }, "animation": { "$ref": "#/definitions/Animation" }, "catalogue_id": { "$ref": "#/definitions/uint32" } }, "required": [ "type" ] }, "ProcessionGraphicCatalogue": { "description": "https://lua-api.factorio.com/stable/types/ProcessionGraphicCatalogue.html", "oneOf": [ { "type": "array", "items": { "anyOf": [ { "$ref": "#/definitions/ProcessionGraphicCatalogueItem" } ] } }, { "type": "object", "additionalProperties": false } ] }, "ProcessionGraphicCatalogueItem": { "description": "https://lua-api.factorio.com/stable/types/ProcessionGraphicCatalogueItem.html", "type": "object", "properties": { "index": { "$ref": "#/definitions/uint32" }, "animation": { "$ref": "#/definitions/Animation" }, "picture": { "$ref": "#/definitions/Sprite" } }, "required": [ "index" ] }, "ProcessionGraphicType": { "description": "https://lua-api.factorio.com/stable/types/ProcessionGraphicType.html", "anyOf": [ { "type": "string", "const": "none" }, { "type": "string", "const": "sprite" }, { "type": "string", "const": "animation" }, { "type": "string", "const": "pod-catalogue" }, { "type": "string", "const": "location-catalogue" }, { "type": "string", "const": "hatch-location-catalogue-index" } ] }, "ProcessionID": { "description": "https://lua-api.factorio.com/stable/types/ProcessionID.html", "anyOf": [ { "$ref": "#/definitions/string" } ] }, "ProcessionLayer": { "description": "https://lua-api.factorio.com/stable/types/ProcessionLayer.html", "anyOf": [ { "$ref": "#/definitions/PodDistanceTraveledProcessionLayer" }, { "$ref": "#/definitions/PodMovementProcessionLayer" }, { "$ref": "#/definitions/PodOpacityProcessionLayer" }, { "$ref": "#/definitions/SingleGraphicProcessionLayer" }, { "$ref": "#/definitions/CoverGraphicProcessionLayer" }, { "$ref": "#/definitions/TintProcessionLayer" }, { "$ref": "#/definitions/PodAnimationProcessionLayer" } ] }, "ProcessionLayerInheritanceGroupID": { "description": "https://lua-api.factorio.com/stable/types/ProcessionLayerInheritanceGroupID.html", "anyOf": [ { "$ref": "#/definitions/string" } ] }, "ProcessionSet": { "description": "https://lua-api.factorio.com/stable/types/ProcessionSet.html", "type": "object", "properties": { "arrival": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ProcessionID" } }, { "type": "object", "additionalProperties": false } ] }, "departure": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ProcessionID" } }, { "type": "object", "additionalProperties": false } ] } }, "required": [ "arrival", "departure" ] }, "ProcessionTimeline": { "description": "https://lua-api.factorio.com/stable/types/ProcessionTimeline.html", "type": "object", "properties": { "duration": { "$ref": "#/definitions/MapTick" }, "special_action_tick": { "$ref": "#/definitions/MapTick" }, "draw_switch_tick": { "$ref": "#/definitions/MapTick" }, "intermezzo_min_duration": { "$ref": "#/definitions/MapTick" }, "intermezzo_max_duration": { "$ref": "#/definitions/MapTick" }, "layers": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ProcessionLayer" } }, { "type": "object", "additionalProperties": false } ] }, "audio_events": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ProcessionAudioEvent" } }, { "type": "object", "additionalProperties": false } ] } }, "required": [ "duration", "layers" ] }, "ProductPrototype": { "description": "https://lua-api.factorio.com/stable/types/ProductPrototype.html", "anyOf": [ { "$ref": "#/definitions/ItemProductPrototype" }, { "$ref": "#/definitions/FluidProductPrototype" }, { "$ref": "#/definitions/ResearchProgressProductPrototype" } ] }, "ProductionHealthEffect": { "description": "https://lua-api.factorio.com/stable/types/ProductionHealthEffect.html", "type": "object", "properties": { "producing": { "$ref": "#/definitions/float" }, "not_producing": { "$ref": "#/definitions/float" } } }, "ProgrammableSpeakerNote": { "description": "https://lua-api.factorio.com/stable/types/ProgrammableSpeakerNote.html", "type": "object", "properties": { "name": { "$ref": "#/definitions/string" }, "sound": { "$ref": "#/definitions/Sound" } }, "required": [ "name", "sound" ] }, "ProgressBarStyleSpecification": { "description": "https://lua-api.factorio.com/stable/types/ProgressBarStyleSpecification.html", "type": "object", "properties": { "parent": { "$ref": "#/definitions/string" }, "horizontal_align": { "$ref": "#/definitions/HorizontalAlign" }, "vertical_align": { "$ref": "#/definitions/VerticalAlign" }, "ignored_by_search": { "$ref": "#/definitions/bool" }, "never_hide_by_search": { "$ref": "#/definitions/bool" }, "horizontally_stretchable": { "$ref": "#/definitions/StretchRule" }, "vertically_stretchable": { "$ref": "#/definitions/StretchRule" }, "horizontally_squashable": { "$ref": "#/definitions/StretchRule" }, "vertically_squashable": { "$ref": "#/definitions/StretchRule" }, "natural_size": { "anyOf": [ { "$ref": "#/definitions/uint32" }, { "type": "array", "items": [ { "$ref": "#/definitions/uint32" }, { "$ref": "#/definitions/uint32" } ], "minItems": 2, "maxItems": 2 } ] }, "size": { "anyOf": [ { "$ref": "#/definitions/uint32" }, { "type": "array", "items": [ { "$ref": "#/definitions/uint32" }, { "$ref": "#/definitions/uint32" } ], "minItems": 2, "maxItems": 2 } ] }, "width": { "$ref": "#/definitions/uint32" }, "minimal_width": { "$ref": "#/definitions/uint32" }, "maximal_width": { "$ref": "#/definitions/uint32" }, "natural_width": { "$ref": "#/definitions/uint32" }, "height": { "$ref": "#/definitions/uint32" }, "minimal_height": { "$ref": "#/definitions/uint32" }, "maximal_height": { "$ref": "#/definitions/uint32" }, "natural_height": { "$ref": "#/definitions/uint32" }, "padding": { "$ref": "#/definitions/int16" }, "top_padding": { "$ref": "#/definitions/int16" }, "right_padding": { "$ref": "#/definitions/int16" }, "bottom_padding": { "$ref": "#/definitions/int16" }, "left_padding": { "$ref": "#/definitions/int16" }, "margin": { "$ref": "#/definitions/int16" }, "top_margin": { "$ref": "#/definitions/int16" }, "right_margin": { "$ref": "#/definitions/int16" }, "bottom_margin": { "$ref": "#/definitions/int16" }, "left_margin": { "$ref": "#/definitions/int16" }, "effect": { "anyOf": [ { "type": "string", "const": "compilatron-hologram" } ] }, "effect_opacity": { "$ref": "#/definitions/float" }, "tooltip": { "$ref": "#/definitions/LocalisedString" }, "type": { "type": "string", "const": "progressbar_style" }, "bar_width": { "$ref": "#/definitions/uint32" }, "color": { "$ref": "#/definitions/Color" }, "other_colors": { "oneOf": [ { "type": "array", "items": { "type": "object", "properties": { "less_than": { "$ref": "#/definitions/double" }, "color": { "$ref": "#/definitions/Color" }, "bar": { "$ref": "#/definitions/ElementImageSet" } }, "required": [ "less_than" ] } }, { "type": "object", "additionalProperties": false } ] }, "bar": { "$ref": "#/definitions/ElementImageSet" }, "bar_background": { "$ref": "#/definitions/ElementImageSet" }, "font": { "$ref": "#/definitions/string" }, "font_color": { "$ref": "#/definitions/Color" }, "filled_font_color": { "$ref": "#/definitions/Color" }, "embed_text_in_bar": { "$ref": "#/definitions/bool" }, "side_text_padding": { "$ref": "#/definitions/int16" } }, "required": [ "type" ] }, "ProjectileAttackParameters": { "description": "https://lua-api.factorio.com/stable/types/ProjectileAttackParameters.html", "type": "object", "properties": { "range": { "$ref": "#/definitions/float" }, "cooldown": { "$ref": "#/definitions/float" }, "min_range": { "$ref": "#/definitions/float" }, "turn_range": { "$ref": "#/definitions/float" }, "fire_penalty": { "$ref": "#/definitions/float" }, "rotate_penalty": { "$ref": "#/definitions/float" }, "health_penalty": { "$ref": "#/definitions/float" }, "range_mode": { "$ref": "#/definitions/RangeMode" }, "min_attack_distance": { "$ref": "#/definitions/float" }, "damage_modifier": { "$ref": "#/definitions/float" }, "ammo_consumption_modifier": { "$ref": "#/definitions/float" }, "cooldown_deviation": { "$ref": "#/definitions/float" }, "warmup": { "$ref": "#/definitions/uint32" }, "lead_target_for_projectile_speed": { "$ref": "#/definitions/float" }, "lead_target_for_projectile_delay": { "$ref": "#/definitions/uint32" }, "movement_slow_down_cooldown": { "$ref": "#/definitions/float" }, "movement_slow_down_factor": { "$ref": "#/definitions/double" }, "ammo_type": { "$ref": "#/definitions/AmmoType" }, "activation_type": { "anyOf": [ { "type": "string", "const": "shoot" }, { "type": "string", "const": "throw" }, { "type": "string", "const": "consume" }, { "type": "string", "const": "activate" } ] }, "sound": { "$ref": "#/definitions/LayeredSound" }, "animation": { "$ref": "#/definitions/RotatedAnimation" }, "cyclic_sound": { "$ref": "#/definitions/CyclicSound" }, "use_shooter_direction": { "$ref": "#/definitions/bool" }, "ammo_categories": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/AmmoCategoryID" } }, { "type": "object", "additionalProperties": false } ] }, "ammo_category": { "$ref": "#/definitions/AmmoCategoryID" }, "type": { "type": "string", "const": "projectile" }, "apply_projection_to_projectile_creation_position": { "$ref": "#/definitions/bool" }, "projectile_center": { "$ref": "#/definitions/Vector" }, "projectile_creation_distance": { "$ref": "#/definitions/float" }, "shell_particle": { "$ref": "#/definitions/CircularParticleCreationSpecification" }, "projectile_creation_parameters": { "$ref": "#/definitions/CircularProjectileCreationSpecification" }, "projectile_orientation_offset": { "$ref": "#/definitions/RealOrientation" }, "projectile_creation_offsets": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Vector" } }, { "type": "object", "additionalProperties": false } ] } }, "required": [ "range", "cooldown", "type" ] }, "ProjectileTriggerDelivery": { "description": "https://lua-api.factorio.com/stable/types/ProjectileTriggerDelivery.html", "type": "object", "properties": { "source_effects": { "$ref": "#/definitions/TriggerEffect" }, "target_effects": { "$ref": "#/definitions/TriggerEffect" }, "type": { "type": "string", "const": "projectile" }, "projectile": { "$ref": "#/definitions/EntityID" }, "starting_speed": { "$ref": "#/definitions/float" }, "starting_speed_deviation": { "$ref": "#/definitions/float" }, "direction_deviation": { "$ref": "#/definitions/float" }, "range_deviation": { "$ref": "#/definitions/float" }, "max_range": { "$ref": "#/definitions/double" }, "min_range": { "$ref": "#/definitions/double" } }, "required": [ "type", "projectile", "starting_speed" ] }, "PrototypeStrafeSettings": { "description": "https://lua-api.factorio.com/stable/types/PrototypeStrafeSettings.html", "type": "object", "properties": { "max_distance": { "$ref": "#/definitions/double" }, "ideal_distance": { "$ref": "#/definitions/double" }, "ideal_distance_tolerance": { "$ref": "#/definitions/double" }, "ideal_distance_variance": { "$ref": "#/definitions/double" }, "ideal_distance_importance": { "$ref": "#/definitions/float" }, "ideal_distance_importance_variance": { "$ref": "#/definitions/float" }, "clockwise_chance": { "$ref": "#/definitions/float" }, "face_target": { "$ref": "#/definitions/bool" } } }, "PuddleTileEffectParameters": { "description": "https://lua-api.factorio.com/stable/types/PuddleTileEffectParameters.html", "type": "object", "properties": { "puddle_noise_texture": { "$ref": "#/definitions/EffectTexture" }, "water_effect_parameters": { "$ref": "#/definitions/WaterTileEffectParameters" }, "water_effect": { "$ref": "#/definitions/TileEffectDefinitionID" } }, "required": [ "puddle_noise_texture" ] }, "PumpConnectorGraphics": { "description": "https://lua-api.factorio.com/stable/types/PumpConnectorGraphics.html", "type": "object", "properties": { "north": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/PumpConnectorGraphicsAnimation" } }, { "type": "object", "additionalProperties": false } ] }, "east": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/PumpConnectorGraphicsAnimation" } }, { "type": "object", "additionalProperties": false } ] }, "south": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/PumpConnectorGraphicsAnimation" } }, { "type": "object", "additionalProperties": false } ] }, "west": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/PumpConnectorGraphicsAnimation" } }, { "type": "object", "additionalProperties": false } ] } }, "required": [ "north", "east", "south", "west" ] }, "PumpConnectorGraphicsAnimation": { "description": "https://lua-api.factorio.com/stable/types/PumpConnectorGraphicsAnimation.html", "type": "object", "properties": { "standup_base": { "$ref": "#/definitions/Animation" }, "standup_top": { "$ref": "#/definitions/Animation" }, "standup_shadow": { "$ref": "#/definitions/Animation" }, "connector": { "$ref": "#/definitions/Animation" }, "connector_shadow": { "$ref": "#/definitions/Animation" } } }, "PushBackTriggerEffectItem": { "description": "https://lua-api.factorio.com/stable/types/PushBackTriggerEffectItem.html", "type": "object", "properties": { "repeat_count": { "$ref": "#/definitions/uint16" }, "repeat_count_deviation": { "$ref": "#/definitions/uint16" }, "probability": { "$ref": "#/definitions/float" }, "affects_target": { "$ref": "#/definitions/bool" }, "show_in_tooltip": { "$ref": "#/definitions/bool" }, "damage_type_filters": { "$ref": "#/definitions/DamageTypeFilters" }, "type": { "type": "string", "const": "push-back" }, "distance": { "$ref": "#/definitions/float" } }, "required": [ "type", "distance" ] }, "QualityID": { "description": "https://lua-api.factorio.com/stable/types/QualityID.html", "anyOf": [ { "$ref": "#/definitions/string" } ] }, "RadioButtonStyleSpecification": { "description": "https://lua-api.factorio.com/stable/types/RadioButtonStyleSpecification.html", "type": "object", "properties": { "parent": { "$ref": "#/definitions/string" }, "horizontal_align": { "$ref": "#/definitions/HorizontalAlign" }, "vertical_align": { "$ref": "#/definitions/VerticalAlign" }, "ignored_by_search": { "$ref": "#/definitions/bool" }, "never_hide_by_search": { "$ref": "#/definitions/bool" }, "horizontally_stretchable": { "$ref": "#/definitions/StretchRule" }, "vertically_stretchable": { "$ref": "#/definitions/StretchRule" }, "horizontally_squashable": { "$ref": "#/definitions/StretchRule" }, "vertically_squashable": { "$ref": "#/definitions/StretchRule" }, "natural_size": { "anyOf": [ { "$ref": "#/definitions/uint32" }, { "type": "array", "items": [ { "$ref": "#/definitions/uint32" }, { "$ref": "#/definitions/uint32" } ], "minItems": 2, "maxItems": 2 } ] }, "size": { "anyOf": [ { "$ref": "#/definitions/uint32" }, { "type": "array", "items": [ { "$ref": "#/definitions/uint32" }, { "$ref": "#/definitions/uint32" } ], "minItems": 2, "maxItems": 2 } ] }, "width": { "$ref": "#/definitions/uint32" }, "minimal_width": { "$ref": "#/definitions/uint32" }, "maximal_width": { "$ref": "#/definitions/uint32" }, "natural_width": { "$ref": "#/definitions/uint32" }, "height": { "$ref": "#/definitions/uint32" }, "minimal_height": { "$ref": "#/definitions/uint32" }, "maximal_height": { "$ref": "#/definitions/uint32" }, "natural_height": { "$ref": "#/definitions/uint32" }, "padding": { "$ref": "#/definitions/int16" }, "top_padding": { "$ref": "#/definitions/int16" }, "right_padding": { "$ref": "#/definitions/int16" }, "bottom_padding": { "$ref": "#/definitions/int16" }, "left_padding": { "$ref": "#/definitions/int16" }, "margin": { "$ref": "#/definitions/int16" }, "top_margin": { "$ref": "#/definitions/int16" }, "right_margin": { "$ref": "#/definitions/int16" }, "bottom_margin": { "$ref": "#/definitions/int16" }, "left_margin": { "$ref": "#/definitions/int16" }, "effect": { "anyOf": [ { "type": "string", "const": "compilatron-hologram" } ] }, "effect_opacity": { "$ref": "#/definitions/float" }, "tooltip": { "$ref": "#/definitions/LocalisedString" }, "default_graphical_set": { "$ref": "#/definitions/ElementImageSet" }, "hovered_graphical_set": { "$ref": "#/definitions/ElementImageSet" }, "clicked_graphical_set": { "$ref": "#/definitions/ElementImageSet" }, "disabled_graphical_set": { "$ref": "#/definitions/ElementImageSet" }, "selected_graphical_set": { "$ref": "#/definitions/ElementImageSet" }, "selected_hovered_graphical_set": { "$ref": "#/definitions/ElementImageSet" }, "game_controller_selected_hovered_graphical_set": { "$ref": "#/definitions/ElementImageSet" }, "selected_clicked_graphical_set": { "$ref": "#/definitions/ElementImageSet" }, "left_click_sound": { "$ref": "#/definitions/Sound" }, "type": { "type": "string", "const": "radiobutton_style" }, "font": { "$ref": "#/definitions/string" }, "font_color": { "$ref": "#/definitions/Color" }, "disabled_font_color": { "$ref": "#/definitions/Color" }, "text_padding": { "$ref": "#/definitions/uint32" } }, "required": [ "type" ] }, "RadiusVisualisationSpecification": { "description": "https://lua-api.factorio.com/stable/types/RadiusVisualisationSpecification.html", "type": "object", "properties": { "sprite": { "$ref": "#/definitions/Sprite" }, "distance": { "$ref": "#/definitions/double" }, "offset": { "$ref": "#/definitions/Vector" }, "draw_in_cursor": { "$ref": "#/definitions/bool" }, "draw_on_selection": { "$ref": "#/definitions/bool" } } }, "RailFenceDirectionSet": { "description": "https://lua-api.factorio.com/stable/types/RailFenceDirectionSet.html", "type": "object", "properties": { "north": { "$ref": "#/definitions/SpriteVariations" }, "northeast": { "$ref": "#/definitions/SpriteVariations" }, "east": { "$ref": "#/definitions/SpriteVariations" }, "southeast": { "$ref": "#/definitions/SpriteVariations" }, "south": { "$ref": "#/definitions/SpriteVariations" }, "southwest": { "$ref": "#/definitions/SpriteVariations" }, "west": { "$ref": "#/definitions/SpriteVariations" }, "northwest": { "$ref": "#/definitions/SpriteVariations" } } }, "RailFenceGraphicsSet": { "description": "https://lua-api.factorio.com/stable/types/RailFenceGraphicsSet.html", "type": "object", "properties": { "segment_count": { "$ref": "#/definitions/uint8" }, "back_fence_render_layer": { "$ref": "#/definitions/RenderLayer" }, "front_fence_render_layer": { "$ref": "#/definitions/RenderLayer" }, "back_fence_render_layer_secondary": { "$ref": "#/definitions/RenderLayer" }, "front_fence_render_layer_secondary": { "$ref": "#/definitions/RenderLayer" }, "side_A": { "$ref": "#/definitions/RailFencePictureSet" }, "side_B": { "$ref": "#/definitions/RailFencePictureSet" } }, "required": [ "segment_count", "side_A", "side_B" ] }, "RailFencePictureSet": { "description": "https://lua-api.factorio.com/stable/types/RailFencePictureSet.html", "type": "object", "properties": { "ends": { "type": "array", "items": [ { "$ref": "#/definitions/RailFenceDirectionSet" }, { "$ref": "#/definitions/RailFenceDirectionSet" }, { "$ref": "#/definitions/RailFenceDirectionSet" }, { "$ref": "#/definitions/RailFenceDirectionSet" } ], "minItems": 4, "maxItems": 4 }, "fence": { "$ref": "#/definitions/RailFenceDirectionSet" }, "ends_upper": { "type": "array", "items": [ { "$ref": "#/definitions/RailFenceDirectionSet" }, { "$ref": "#/definitions/RailFenceDirectionSet" }, { "$ref": "#/definitions/RailFenceDirectionSet" }, { "$ref": "#/definitions/RailFenceDirectionSet" } ], "minItems": 4, "maxItems": 4 }, "fence_upper": { "$ref": "#/definitions/RailFenceDirectionSet" } }, "required": [ "ends", "fence" ] }, "RailPictureSet": { "description": "https://lua-api.factorio.com/stable/types/RailPictureSet.html", "type": "object", "properties": { "north": { "$ref": "#/definitions/RailPieceLayers" }, "northeast": { "$ref": "#/definitions/RailPieceLayers" }, "east": { "$ref": "#/definitions/RailPieceLayers" }, "southeast": { "$ref": "#/definitions/RailPieceLayers" }, "south": { "$ref": "#/definitions/RailPieceLayers" }, "southwest": { "$ref": "#/definitions/RailPieceLayers" }, "west": { "$ref": "#/definitions/RailPieceLayers" }, "northwest": { "$ref": "#/definitions/RailPieceLayers" }, "front_rail_endings": { "$ref": "#/definitions/Sprite16Way" }, "back_rail_endings": { "$ref": "#/definitions/Sprite16Way" }, "rail_endings": { "$ref": "#/definitions/Sprite16Way" }, "segment_visualisation_endings": { "$ref": "#/definitions/RotatedAnimation" }, "render_layers": { "$ref": "#/definitions/RailRenderLayers" }, "secondary_render_layers": { "$ref": "#/definitions/RailRenderLayers" }, "slice_origin": { "type": "object", "properties": { "north": { "$ref": "#/definitions/Vector" }, "east": { "$ref": "#/definitions/Vector" }, "south": { "$ref": "#/definitions/Vector" }, "west": { "$ref": "#/definitions/Vector" } } }, "fog_mask": { "type": "object", "properties": { "north": { "$ref": "#/definitions/FogMaskShapeDefinition" }, "east": { "$ref": "#/definitions/FogMaskShapeDefinition" }, "south": { "$ref": "#/definitions/FogMaskShapeDefinition" }, "west": { "$ref": "#/definitions/FogMaskShapeDefinition" } } } }, "required": [ "north", "northeast", "east", "southeast", "south", "southwest", "west", "northwest", "render_layers" ] }, "RailPieceLayers": { "description": "https://lua-api.factorio.com/stable/types/RailPieceLayers.html", "type": "object", "properties": { "metals": { "$ref": "#/definitions/SpriteVariations" }, "backplates": { "$ref": "#/definitions/SpriteVariations" }, "ties": { "$ref": "#/definitions/SpriteVariations" }, "stone_path": { "$ref": "#/definitions/SpriteVariations" }, "stone_path_background": { "$ref": "#/definitions/SpriteVariations" }, "segment_visualisation_middle": { "$ref": "#/definitions/Sprite" }, "water_reflection": { "$ref": "#/definitions/Sprite" }, "underwater_structure": { "$ref": "#/definitions/Sprite" }, "shadow_subtract_mask": { "$ref": "#/definitions/Sprite" }, "shadow_mask": { "$ref": "#/definitions/Sprite" } } }, "RailPlannerAllowElevatedRailsModifier": { "description": "https://lua-api.factorio.com/stable/types/RailPlannerAllowElevatedRailsModifier.html", "type": "object", "properties": { "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "hidden": { "$ref": "#/definitions/bool" }, "modifier": { "$ref": "#/definitions/bool" }, "type": { "type": "string", "const": "rail-planner-allow-elevated-rails" }, "use_icon_overlay_constant": { "$ref": "#/definitions/bool" } }, "required": [ "modifier", "type" ] }, "RailRenderLayers": { "description": "https://lua-api.factorio.com/stable/types/RailRenderLayers.html", "type": "object", "properties": { "stone_path_lower": { "$ref": "#/definitions/RenderLayer" }, "stone_path": { "$ref": "#/definitions/RenderLayer" }, "tie": { "$ref": "#/definitions/RenderLayer" }, "screw": { "$ref": "#/definitions/RenderLayer" }, "metal": { "$ref": "#/definitions/RenderLayer" }, "front_end": { "$ref": "#/definitions/RenderLayer" }, "back_end": { "$ref": "#/definitions/RenderLayer" }, "underwater_layer_offset": { "$ref": "#/definitions/int8" } } }, "RailSignalColorToFrameIndex": { "description": "https://lua-api.factorio.com/stable/types/RailSignalColorToFrameIndex.html", "type": "object", "properties": { "none": { "$ref": "#/definitions/uint8" }, "red": { "$ref": "#/definitions/uint8" }, "green": { "$ref": "#/definitions/uint8" }, "blue": { "$ref": "#/definitions/uint8" }, "yellow": { "$ref": "#/definitions/uint8" } } }, "RailSignalLightDefinition": { "description": "https://lua-api.factorio.com/stable/types/RailSignalLightDefinition.html", "type": "object", "properties": { "light": { "$ref": "#/definitions/LightDefinition" }, "shift": { "$ref": "#/definitions/Vector" } }, "required": [ "light" ] }, "RailSignalLights": { "description": "https://lua-api.factorio.com/stable/types/RailSignalLights.html", "type": "object", "properties": { "red": { "$ref": "#/definitions/RailSignalLightDefinition" }, "green": { "$ref": "#/definitions/RailSignalLightDefinition" }, "blue": { "$ref": "#/definitions/RailSignalLightDefinition" }, "yellow": { "$ref": "#/definitions/RailSignalLightDefinition" } } }, "RailSignalPictureSet": { "description": "https://lua-api.factorio.com/stable/types/RailSignalPictureSet.html", "type": "object", "properties": { "structure": { "$ref": "#/definitions/RotatedAnimation" }, "structure_render_layer": { "$ref": "#/definitions/RenderLayer" }, "signal_color_to_structure_frame_index": { "$ref": "#/definitions/RailSignalColorToFrameIndex" }, "rail_piece": { "$ref": "#/definitions/RailSignalStaticSpriteLayer" }, "upper_rail_piece": { "$ref": "#/definitions/RailSignalStaticSpriteLayer" }, "lights": { "$ref": "#/definitions/RailSignalLights" }, "circuit_connector": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/CircuitConnectorDefinition" } }, { "type": "object", "additionalProperties": false } ] }, "circuit_connector_render_layer": { "$ref": "#/definitions/RenderLayer" }, "structure_align_to_animation_index": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/uint8" } }, { "type": "object", "additionalProperties": false } ] }, "selection_box_shift": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Vector" } }, { "type": "object", "additionalProperties": false } ] } }, "required": [ "structure", "signal_color_to_structure_frame_index", "lights" ] }, "RailSignalStaticSpriteLayer": { "description": "https://lua-api.factorio.com/stable/types/RailSignalStaticSpriteLayer.html", "type": "object", "properties": { "sprites": { "$ref": "#/definitions/Animation" }, "render_layer": { "$ref": "#/definitions/RenderLayer" }, "hide_if_simulation": { "$ref": "#/definitions/bool" }, "hide_if_not_connected_to_rails": { "$ref": "#/definitions/bool" }, "shifts": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/MapPosition" } }, { "type": "object", "additionalProperties": false } ] }, "align_to_frame_index": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/uint8" } }, { "type": "object", "additionalProperties": false } ] } }, "required": [ "sprites" ] }, "RailSupportOnDeepOilOceanModifier": { "description": "https://lua-api.factorio.com/stable/types/RailSupportOnDeepOilOceanModifier.html", "type": "object", "properties": { "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "hidden": { "$ref": "#/definitions/bool" }, "modifier": { "$ref": "#/definitions/bool" }, "type": { "type": "string", "const": "rail-support-on-deep-oil-ocean" }, "use_icon_overlay_constant": { "$ref": "#/definitions/bool" } }, "required": [ "modifier", "type" ] }, "RandomRange": { "description": "https://lua-api.factorio.com/stable/types/RandomRange.html", "anyOf": [ { "type": "array", "items": [ { "$ref": "#/definitions/uint8" }, { "$ref": "#/definitions/uint8" } ], "minItems": 2, "maxItems": 2 }, { "$ref": "#/definitions/uint8" } ] }, "RangeMode": { "description": "https://lua-api.factorio.com/stable/types/RangeMode.html", "anyOf": [ { "type": "string", "const": "center-to-center" }, { "type": "string", "const": "bounding-box-to-bounding-box" }, { "type": "string", "const": "center-to-bounding-box" } ] }, "RangedValue": { "description": "https://lua-api.factorio.com/stable/types/RangedValue.html", "anyOf": [ { "type": "array", "items": [ { "anyOf": [ { "$ref": "#/definitions/float" } ] }, { "anyOf": [ { "$ref": "#/definitions/float" } ] } ], "minItems": 2, "maxItems": 2 }, { "$ref": "#/definitions/float" } ] }, "RealOrientation": { "description": "https://lua-api.factorio.com/stable/types/RealOrientation.html", "anyOf": [ { "$ref": "#/definitions/float" } ] }, "RecipeCategoryID": { "description": "https://lua-api.factorio.com/stable/types/RecipeCategoryID.html", "anyOf": [ { "$ref": "#/definitions/string" } ] }, "RecipeID": { "description": "https://lua-api.factorio.com/stable/types/RecipeID.html", "anyOf": [ { "$ref": "#/definitions/string" } ] }, "RecipeTints": { "description": "https://lua-api.factorio.com/stable/types/RecipeTints.html", "type": "object", "properties": { "primary": { "$ref": "#/definitions/Color" }, "secondary": { "$ref": "#/definitions/Color" }, "tertiary": { "$ref": "#/definitions/Color" }, "quaternary": { "$ref": "#/definitions/Color" } } }, "RenderLayer": { "description": "https://lua-api.factorio.com/stable/types/RenderLayer.html", "anyOf": [ { "type": "string", "const": "zero" }, { "type": "string", "const": "background-transitions" }, { "type": "string", "const": "under-tiles" }, { "type": "string", "const": "decals" }, { "type": "string", "const": "above-tiles" }, { "type": "string", "const": "ground-layer-1" }, { "type": "string", "const": "ground-layer-2" }, { "type": "string", "const": "ground-layer-3" }, { "type": "string", "const": "ground-layer-4" }, { "type": "string", "const": "ground-layer-5" }, { "type": "string", "const": "lower-radius-visualization" }, { "type": "string", "const": "radius-visualization" }, { "type": "string", "const": "transport-belt-integration" }, { "type": "string", "const": "resource" }, { "type": "string", "const": "building-smoke" }, { "type": "string", "const": "rail-stone-path-lower" }, { "type": "string", "const": "rail-stone-path" }, { "type": "string", "const": "rail-tie" }, { "type": "string", "const": "decorative" }, { "type": "string", "const": "ground-patch" }, { "type": "string", "const": "ground-patch-higher" }, { "type": "string", "const": "ground-patch-higher2" }, { "type": "string", "const": "rail-chain-signal-metal" }, { "type": "string", "const": "rail-screw" }, { "type": "string", "const": "rail-metal" }, { "type": "string", "const": "remnants" }, { "type": "string", "const": "floor" }, { "type": "string", "const": "transport-belt" }, { "type": "string", "const": "transport-belt-endings" }, { "type": "string", "const": "floor-mechanics-under-corpse" }, { "type": "string", "const": "corpse" }, { "type": "string", "const": "floor-mechanics" }, { "type": "string", "const": "item" }, { "type": "string", "const": "transport-belt-reader" }, { "type": "string", "const": "lower-object" }, { "type": "string", "const": "transport-belt-circuit-connector" }, { "type": "string", "const": "lower-object-above-shadow" }, { "type": "string", "const": "lower-object-overlay" }, { "type": "string", "const": "object-under" }, { "type": "string", "const": "object" }, { "type": "string", "const": "cargo-hatch" }, { "type": "string", "const": "higher-object-under" }, { "type": "string", "const": "higher-object-above" }, { "type": "string", "const": "train-stop-top" }, { "type": "string", "const": "item-in-inserter-hand" }, { "type": "string", "const": "above-inserters" }, { "type": "string", "const": "wires" }, { "type": "string", "const": "under-elevated" }, { "type": "string", "const": "elevated-rail-stone-path-lower" }, { "type": "string", "const": "elevated-rail-stone-path" }, { "type": "string", "const": "elevated-rail-tie" }, { "type": "string", "const": "elevated-rail-screw" }, { "type": "string", "const": "elevated-rail-metal" }, { "type": "string", "const": "elevated-lower-object" }, { "type": "string", "const": "elevated-object" }, { "type": "string", "const": "elevated-higher-object" }, { "type": "string", "const": "fluid-visualization" }, { "type": "string", "const": "wires-above" }, { "type": "string", "const": "entity-info-icon" }, { "type": "string", "const": "entity-info-icon-above" }, { "type": "string", "const": "explosion" }, { "type": "string", "const": "projectile" }, { "type": "string", "const": "smoke" }, { "type": "string", "const": "air-object" }, { "type": "string", "const": "air-entity-info-icon" }, { "type": "string", "const": "light-effect" }, { "type": "string", "const": "selection-box" }, { "type": "string", "const": "higher-selection-box" }, { "type": "string", "const": "collision-selection-box" }, { "type": "string", "const": "arrow" }, { "type": "string", "const": "cursor" } ] }, "ResearchIngredient": { "description": "https://lua-api.factorio.com/stable/types/ResearchIngredient.html", "type": "array", "items": [ { "anyOf": [ { "$ref": "#/definitions/ItemID" } ] }, { "anyOf": [ { "$ref": "#/definitions/uint16" } ] } ], "minItems": 2, "maxItems": 2 }, "ResearchProgressProductPrototype": { "description": "https://lua-api.factorio.com/stable/types/ResearchProgressProductPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "research-progress" }, "amount": { "$ref": "#/definitions/double" }, "research_item": { "$ref": "#/definitions/ItemID" } }, "required": [ "type", "research_item" ] }, "ResearchTechnologyTipTrigger": { "description": "https://lua-api.factorio.com/stable/types/ResearchTechnologyTipTrigger.html", "type": "object", "properties": { "type": { "type": "string", "const": "research" }, "technology": { "$ref": "#/definitions/TechnologyID" } }, "required": [ "type", "technology" ] }, "ResearchWithSciencePackTipTrigger": { "description": "https://lua-api.factorio.com/stable/types/ResearchWithSciencePackTipTrigger.html", "type": "object", "properties": { "type": { "type": "string", "const": "research-with-science-pack" }, "science_pack": { "$ref": "#/definitions/ItemID" } }, "required": [ "type", "science_pack" ] }, "Resistance": { "description": "https://lua-api.factorio.com/stable/types/Resistance.html", "type": "object", "properties": { "type": { "$ref": "#/definitions/DamageTypeID" }, "decrease": { "$ref": "#/definitions/float" }, "percent": { "$ref": "#/definitions/float" } }, "required": [ "type" ] }, "ResourceCategoryID": { "description": "https://lua-api.factorio.com/stable/types/ResourceCategoryID.html", "anyOf": [ { "$ref": "#/definitions/string" } ] }, "RichTextSetting": { "description": "https://lua-api.factorio.com/stable/types/RichTextSetting.html", "anyOf": [ { "type": "string", "const": "enabled" }, { "type": "string", "const": "disabled" }, { "type": "string", "const": "highlight" } ] }, "RollingStockRotatedSlopedGraphics": { "description": "https://lua-api.factorio.com/stable/types/RollingStockRotatedSlopedGraphics.html", "type": "object", "properties": { "rotated": { "$ref": "#/definitions/RotatedSprite" }, "sloped": { "$ref": "#/definitions/RotatedSprite" }, "slope_back_equals_front": { "$ref": "#/definitions/bool" }, "slope_angle_between_frames": { "$ref": "#/definitions/double" } }, "required": [ "rotated" ] }, "RotateEntityTipTrigger": { "description": "https://lua-api.factorio.com/stable/types/RotateEntityTipTrigger.html", "type": "object", "properties": { "count": { "$ref": "#/definitions/uint32" }, "type": { "type": "string", "const": "rotate-entity" } }, "required": [ "type" ] }, "RotatedAnimation": { "description": "https://lua-api.factorio.com/stable/types/RotatedAnimation.html", "type": "object", "properties": { "filename": { "$ref": "#/definitions/FileName" }, "size": { "anyOf": [ { "$ref": "#/definitions/SpriteSizeType" }, { "type": "array", "items": [ { "$ref": "#/definitions/SpriteSizeType" }, { "$ref": "#/definitions/SpriteSizeType" } ], "minItems": 2, "maxItems": 2 } ] }, "width": { "$ref": "#/definitions/SpriteSizeType" }, "height": { "$ref": "#/definitions/SpriteSizeType" }, "x": { "$ref": "#/definitions/SpriteSizeType" }, "y": { "$ref": "#/definitions/SpriteSizeType" }, "position": { "type": "array", "items": [ { "$ref": "#/definitions/SpriteSizeType" }, { "$ref": "#/definitions/SpriteSizeType" } ], "minItems": 2, "maxItems": 2 }, "load_in_minimal_mode": { "$ref": "#/definitions/bool" }, "premul_alpha": { "$ref": "#/definitions/bool" }, "allow_forced_downscale": { "$ref": "#/definitions/bool" }, "priority": { "$ref": "#/definitions/SpritePriority" }, "flags": { "$ref": "#/definitions/SpriteFlags" }, "shift": { "$ref": "#/definitions/Vector" }, "rotate_shift": { "$ref": "#/definitions/bool" }, "apply_special_effect": { "$ref": "#/definitions/bool" }, "scale": { "$ref": "#/definitions/double" }, "draw_as_shadow": { "$ref": "#/definitions/bool" }, "draw_as_glow": { "$ref": "#/definitions/bool" }, "draw_as_light": { "$ref": "#/definitions/bool" }, "mipmap_count": { "$ref": "#/definitions/uint8" }, "apply_runtime_tint": { "$ref": "#/definitions/bool" }, "tint_as_overlay": { "$ref": "#/definitions/bool" }, "invert_colors": { "$ref": "#/definitions/bool" }, "tint": { "$ref": "#/definitions/Color" }, "blend_mode": { "$ref": "#/definitions/BlendMode" }, "generate_sdf": { "$ref": "#/definitions/bool" }, "surface": { "$ref": "#/definitions/SpriteUsageSurfaceHint" }, "usage": { "$ref": "#/definitions/SpriteUsageHint" }, "run_mode": { "$ref": "#/definitions/AnimationRunMode" }, "frame_count": { "$ref": "#/definitions/uint32" }, "line_length": { "$ref": "#/definitions/uint32" }, "animation_speed": { "$ref": "#/definitions/float" }, "max_advance": { "$ref": "#/definitions/float" }, "repeat_count": { "$ref": "#/definitions/uint8" }, "dice": { "$ref": "#/definitions/uint8" }, "dice_x": { "$ref": "#/definitions/uint8" }, "dice_y": { "$ref": "#/definitions/uint8" }, "frame_sequence": { "$ref": "#/definitions/AnimationFrameSequence" }, "layers": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/RotatedAnimation" } }, { "type": "object", "additionalProperties": false } ] }, "direction_count": { "$ref": "#/definitions/uint32" }, "filenames": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/FileName" } }, { "type": "object", "additionalProperties": false } ] }, "lines_per_file": { "$ref": "#/definitions/uint32" }, "slice": { "$ref": "#/definitions/uint32" }, "still_frame": { "$ref": "#/definitions/uint32" }, "axially_symmetrical": { "$ref": "#/definitions/bool" }, "counterclockwise": { "$ref": "#/definitions/bool" }, "middle_orientation": { "$ref": "#/definitions/RealOrientation" }, "orientation_range": { "$ref": "#/definitions/float" }, "apply_projection": { "$ref": "#/definitions/bool" }, "stripes": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Stripe" } }, { "type": "object", "additionalProperties": false } ] } } }, "RotatedAnimation8Way": { "description": "https://lua-api.factorio.com/stable/types/RotatedAnimation8Way.html", "anyOf": [ { "type": "object", "properties": { "north": { "$ref": "#/definitions/RotatedAnimation" }, "north_east": { "$ref": "#/definitions/RotatedAnimation" }, "east": { "$ref": "#/definitions/RotatedAnimation" }, "south_east": { "$ref": "#/definitions/RotatedAnimation" }, "south": { "$ref": "#/definitions/RotatedAnimation" }, "south_west": { "$ref": "#/definitions/RotatedAnimation" }, "west": { "$ref": "#/definitions/RotatedAnimation" }, "north_west": { "$ref": "#/definitions/RotatedAnimation" } }, "required": [ "north" ] }, { "$ref": "#/definitions/RotatedAnimation" } ] }, "RotatedAnimationVariations": { "description": "https://lua-api.factorio.com/stable/types/RotatedAnimationVariations.html", "anyOf": [ { "$ref": "#/definitions/RotatedAnimation" }, { "oneOf": [ { "type": "array", "items": { "anyOf": [ { "$ref": "#/definitions/RotatedAnimation" } ] } }, { "type": "object", "additionalProperties": false } ] } ] }, "RotatedSprite": { "description": "https://lua-api.factorio.com/stable/types/RotatedSprite.html", "type": "object", "properties": { "filename": { "$ref": "#/definitions/FileName" }, "size": { "anyOf": [ { "$ref": "#/definitions/SpriteSizeType" }, { "type": "array", "items": [ { "$ref": "#/definitions/SpriteSizeType" }, { "$ref": "#/definitions/SpriteSizeType" } ], "minItems": 2, "maxItems": 2 } ] }, "width": { "$ref": "#/definitions/SpriteSizeType" }, "height": { "$ref": "#/definitions/SpriteSizeType" }, "x": { "$ref": "#/definitions/SpriteSizeType" }, "y": { "$ref": "#/definitions/SpriteSizeType" }, "position": { "type": "array", "items": [ { "$ref": "#/definitions/SpriteSizeType" }, { "$ref": "#/definitions/SpriteSizeType" } ], "minItems": 2, "maxItems": 2 }, "load_in_minimal_mode": { "$ref": "#/definitions/bool" }, "premul_alpha": { "$ref": "#/definitions/bool" }, "allow_forced_downscale": { "$ref": "#/definitions/bool" }, "priority": { "$ref": "#/definitions/SpritePriority" }, "flags": { "$ref": "#/definitions/SpriteFlags" }, "shift": { "$ref": "#/definitions/Vector" }, "rotate_shift": { "$ref": "#/definitions/bool" }, "apply_special_effect": { "$ref": "#/definitions/bool" }, "scale": { "$ref": "#/definitions/double" }, "draw_as_shadow": { "$ref": "#/definitions/bool" }, "draw_as_glow": { "$ref": "#/definitions/bool" }, "draw_as_light": { "$ref": "#/definitions/bool" }, "mipmap_count": { "$ref": "#/definitions/uint8" }, "apply_runtime_tint": { "$ref": "#/definitions/bool" }, "tint_as_overlay": { "$ref": "#/definitions/bool" }, "invert_colors": { "$ref": "#/definitions/bool" }, "tint": { "$ref": "#/definitions/Color" }, "blend_mode": { "$ref": "#/definitions/BlendMode" }, "generate_sdf": { "$ref": "#/definitions/bool" }, "surface": { "$ref": "#/definitions/SpriteUsageSurfaceHint" }, "usage": { "$ref": "#/definitions/SpriteUsageHint" }, "layers": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/RotatedSprite" } }, { "type": "object", "additionalProperties": false } ] }, "direction_count": { "$ref": "#/definitions/uint16" }, "filenames": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/FileName" } }, { "type": "object", "additionalProperties": false } ] }, "lines_per_file": { "$ref": "#/definitions/uint64" }, "dice": { "$ref": "#/definitions/SpriteSizeType" }, "dice_x": { "$ref": "#/definitions/SpriteSizeType" }, "dice_y": { "$ref": "#/definitions/SpriteSizeType" }, "axially_symmetrical": { "$ref": "#/definitions/bool" }, "back_equals_front": { "$ref": "#/definitions/bool" }, "apply_projection": { "$ref": "#/definitions/bool" }, "counterclockwise": { "$ref": "#/definitions/bool" }, "line_length": { "$ref": "#/definitions/uint32" }, "allow_low_quality_rotation": { "$ref": "#/definitions/bool" }, "frames": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/RotatedSpriteFrame" } }, { "type": "object", "additionalProperties": false } ] } } }, "RotatedSpriteFrame": { "description": "https://lua-api.factorio.com/stable/types/RotatedSpriteFrame.html", "type": "object", "properties": { "width": { "$ref": "#/definitions/SpriteSizeType" }, "height": { "$ref": "#/definitions/SpriteSizeType" }, "x": { "$ref": "#/definitions/SpriteSizeType" }, "y": { "$ref": "#/definitions/SpriteSizeType" }, "shift": { "$ref": "#/definitions/Vector" } } }, "ScriptTriggerEffectItem": { "description": "https://lua-api.factorio.com/stable/types/ScriptTriggerEffectItem.html", "type": "object", "properties": { "repeat_count": { "$ref": "#/definitions/uint16" }, "repeat_count_deviation": { "$ref": "#/definitions/uint16" }, "probability": { "$ref": "#/definitions/float" }, "affects_target": { "$ref": "#/definitions/bool" }, "show_in_tooltip": { "$ref": "#/definitions/bool" }, "damage_type_filters": { "$ref": "#/definitions/DamageTypeFilters" }, "type": { "type": "string", "const": "script" }, "effect_id": { "$ref": "#/definitions/string" } }, "required": [ "type", "effect_id" ] }, "ScrollPaneStyleSpecification": { "description": "https://lua-api.factorio.com/stable/types/ScrollPaneStyleSpecification.html", "type": "object", "properties": { "parent": { "$ref": "#/definitions/string" }, "horizontal_align": { "$ref": "#/definitions/HorizontalAlign" }, "vertical_align": { "$ref": "#/definitions/VerticalAlign" }, "ignored_by_search": { "$ref": "#/definitions/bool" }, "never_hide_by_search": { "$ref": "#/definitions/bool" }, "horizontally_stretchable": { "$ref": "#/definitions/StretchRule" }, "vertically_stretchable": { "$ref": "#/definitions/StretchRule" }, "horizontally_squashable": { "$ref": "#/definitions/StretchRule" }, "vertically_squashable": { "$ref": "#/definitions/StretchRule" }, "natural_size": { "anyOf": [ { "$ref": "#/definitions/uint32" }, { "type": "array", "items": [ { "$ref": "#/definitions/uint32" }, { "$ref": "#/definitions/uint32" } ], "minItems": 2, "maxItems": 2 } ] }, "size": { "anyOf": [ { "$ref": "#/definitions/uint32" }, { "type": "array", "items": [ { "$ref": "#/definitions/uint32" }, { "$ref": "#/definitions/uint32" } ], "minItems": 2, "maxItems": 2 } ] }, "width": { "$ref": "#/definitions/uint32" }, "minimal_width": { "$ref": "#/definitions/uint32" }, "maximal_width": { "$ref": "#/definitions/uint32" }, "natural_width": { "$ref": "#/definitions/uint32" }, "height": { "$ref": "#/definitions/uint32" }, "minimal_height": { "$ref": "#/definitions/uint32" }, "maximal_height": { "$ref": "#/definitions/uint32" }, "natural_height": { "$ref": "#/definitions/uint32" }, "padding": { "$ref": "#/definitions/int16" }, "top_padding": { "$ref": "#/definitions/int16" }, "right_padding": { "$ref": "#/definitions/int16" }, "bottom_padding": { "$ref": "#/definitions/int16" }, "left_padding": { "$ref": "#/definitions/int16" }, "margin": { "$ref": "#/definitions/int16" }, "top_margin": { "$ref": "#/definitions/int16" }, "right_margin": { "$ref": "#/definitions/int16" }, "bottom_margin": { "$ref": "#/definitions/int16" }, "left_margin": { "$ref": "#/definitions/int16" }, "effect": { "anyOf": [ { "type": "string", "const": "compilatron-hologram" } ] }, "effect_opacity": { "$ref": "#/definitions/float" }, "tooltip": { "$ref": "#/definitions/LocalisedString" }, "type": { "type": "string", "const": "scroll_pane_style" }, "vertical_flow_style": { "$ref": "#/definitions/VerticalFlowStyleSpecification" }, "horizontal_scrollbar_style": { "$ref": "#/definitions/HorizontalScrollBarStyleSpecification" }, "vertical_scrollbar_style": { "$ref": "#/definitions/VerticalScrollBarStyleSpecification" }, "graphical_set": { "$ref": "#/definitions/ElementImageSet" }, "background_graphical_set": { "$ref": "#/definitions/ElementImageSet" }, "extra_padding_when_activated": { "$ref": "#/definitions/int32" }, "extra_top_padding_when_activated": { "$ref": "#/definitions/int32" }, "extra_bottom_padding_when_activated": { "$ref": "#/definitions/int32" }, "extra_left_padding_when_activated": { "$ref": "#/definitions/int32" }, "extra_right_padding_when_activated": { "$ref": "#/definitions/int32" }, "extra_margin_when_activated": { "$ref": "#/definitions/int32" }, "extra_top_margin_when_activated": { "$ref": "#/definitions/int32" }, "extra_bottom_margin_when_activated": { "$ref": "#/definitions/int32" }, "extra_left_margin_when_activated": { "$ref": "#/definitions/int32" }, "extra_right_margin_when_activated": { "$ref": "#/definitions/int32" }, "dont_force_clipping_rect_for_contents": { "$ref": "#/definitions/bool" }, "always_draw_borders": { "$ref": "#/definitions/bool" }, "scrollbars_go_outside": { "$ref": "#/definitions/bool" } }, "required": [ "type" ] }, "SegmentEngineSpecification": { "description": "https://lua-api.factorio.com/stable/types/SegmentEngineSpecification.html", "type": "object", "properties": { "segments": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SegmentSpecification" } }, { "type": "object", "additionalProperties": false } ] } }, "required": [ "segments" ] }, "SegmentSpecification": { "description": "https://lua-api.factorio.com/stable/types/SegmentSpecification.html", "type": "object", "properties": { "segment": { "$ref": "#/definitions/EntityID" } }, "required": [ "segment" ] }, "SelectionModeData": { "description": "https://lua-api.factorio.com/stable/types/SelectionModeData.html", "type": "object", "properties": { "border_color": { "$ref": "#/definitions/Color" }, "count_button_color": { "$ref": "#/definitions/Color" }, "chart_color": { "$ref": "#/definitions/Color" }, "cursor_box_type": { "$ref": "#/definitions/CursorBoxType" }, "mode": { "$ref": "#/definitions/SelectionModeFlags" }, "entity_filters": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] }, "entity_type_filters": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/string" } }, { "type": "object", "additionalProperties": false } ] }, "tile_filters": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileID" } }, { "type": "object", "additionalProperties": false } ] }, "started_sound": { "$ref": "#/definitions/Sound" }, "ended_sound": { "$ref": "#/definitions/Sound" }, "play_ended_sound_when_nothing_selected": { "$ref": "#/definitions/bool" }, "entity_filter_mode": { "anyOf": [ { "type": "string", "const": "whitelist" }, { "type": "string", "const": "blacklist" } ] }, "tile_filter_mode": { "anyOf": [ { "type": "string", "const": "whitelist" }, { "type": "string", "const": "blacklist" } ] } }, "required": [ "border_color", "cursor_box_type", "mode" ] }, "SelectionModeFlags": { "description": "https://lua-api.factorio.com/stable/types/SelectionModeFlags.html", "anyOf": [ { "type": "string", "const": "blueprint" }, { "type": "string", "const": "deconstruct" }, { "type": "string", "const": "cancel-deconstruct" }, { "type": "string", "const": "items" }, { "type": "string", "const": "trees" }, { "type": "string", "const": "buildable-type" }, { "type": "string", "const": "nothing" }, { "type": "string", "const": "items-to-place" }, { "type": "string", "const": "any-entity" }, { "type": "string", "const": "any-tile" }, { "type": "string", "const": "same-force" }, { "type": "string", "const": "not-same-force" }, { "type": "string", "const": "friend" }, { "type": "string", "const": "enemy" }, { "type": "string", "const": "upgrade" }, { "type": "string", "const": "cancel-upgrade" }, { "type": "string", "const": "downgrade" }, { "type": "string", "const": "entity-with-health" }, { "type": "string", "const": "is-military-target" }, { "type": "string", "const": "entity-with-owner" }, { "type": "string", "const": "avoid-rolling-stock" }, { "type": "string", "const": "avoid-vehicle" }, { "type": "string", "const": "controllable" }, { "type": "string", "const": "controllable-add" }, { "type": "string", "const": "controllable-remove" }, { "type": "string", "const": "entity-ghost" }, { "type": "string", "const": "tile-ghost" }, { "oneOf": [ { "type": "array", "items": { "anyOf": [ { "type": "string", "const": "blueprint" }, { "type": "string", "const": "deconstruct" }, { "type": "string", "const": "cancel-deconstruct" }, { "type": "string", "const": "items" }, { "type": "string", "const": "trees" }, { "type": "string", "const": "buildable-type" }, { "type": "string", "const": "nothing" }, { "type": "string", "const": "items-to-place" }, { "type": "string", "const": "any-entity" }, { "type": "string", "const": "any-tile" }, { "type": "string", "const": "same-force" }, { "type": "string", "const": "not-same-force" }, { "type": "string", "const": "friend" }, { "type": "string", "const": "enemy" }, { "type": "string", "const": "upgrade" }, { "type": "string", "const": "cancel-upgrade" }, { "type": "string", "const": "downgrade" }, { "type": "string", "const": "entity-with-health" }, { "type": "string", "const": "is-military-target" }, { "type": "string", "const": "entity-with-owner" }, { "type": "string", "const": "avoid-rolling-stock" }, { "type": "string", "const": "avoid-vehicle" }, { "type": "string", "const": "controllable" }, { "type": "string", "const": "controllable-add" }, { "type": "string", "const": "controllable-remove" }, { "type": "string", "const": "entity-ghost" }, { "type": "string", "const": "tile-ghost" } ] } }, { "type": "object", "additionalProperties": false } ] } ] }, "SemiPersistentWorldAmbientSoundDefinition": { "description": "https://lua-api.factorio.com/stable/types/SemiPersistentWorldAmbientSoundDefinition.html", "anyOf": [ { "type": "object", "properties": { "sound": { "$ref": "#/definitions/Sound" }, "delay_mean_seconds": { "$ref": "#/definitions/float" }, "delay_variance_seconds": { "$ref": "#/definitions/float" } }, "required": [ "sound" ] }, { "$ref": "#/definitions/Sound" } ] }, "SendItemToOrbitTechnologyTrigger": { "description": "https://lua-api.factorio.com/stable/types/SendItemToOrbitTechnologyTrigger.html", "type": "object", "properties": { "type": { "type": "string", "const": "send-item-to-orbit" }, "item": { "$ref": "#/definitions/ItemIDFilter" } }, "required": [ "type", "item" ] }, "SendSpidertronTipTrigger": { "description": "https://lua-api.factorio.com/stable/types/SendSpidertronTipTrigger.html", "type": "object", "properties": { "count": { "$ref": "#/definitions/uint32" }, "type": { "type": "string", "const": "send-spidertron" }, "append": { "$ref": "#/definitions/bool" } }, "required": [ "type" ] }, "SendToOrbitMode": { "description": "https://lua-api.factorio.com/stable/types/SendToOrbitMode.html", "anyOf": [ { "type": "string", "const": "not-sendable" }, { "type": "string", "const": "manual" }, { "type": "string", "const": "automated" } ] }, "SequenceTipTrigger": { "description": "https://lua-api.factorio.com/stable/types/SequenceTipTrigger.html", "type": "object", "properties": { "type": { "type": "string", "const": "sequence" }, "triggers": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TipTrigger" } }, { "type": "object", "additionalProperties": false } ] } }, "required": [ "type", "triggers" ] }, "SetFilterTipTrigger": { "description": "https://lua-api.factorio.com/stable/types/SetFilterTipTrigger.html", "type": "object", "properties": { "count": { "$ref": "#/definitions/uint32" }, "type": { "type": "string", "const": "set-filter" }, "entity": { "$ref": "#/definitions/EntityID" }, "match_type_only": { "$ref": "#/definitions/bool" }, "consecutive": { "$ref": "#/definitions/bool" } }, "required": [ "type" ] }, "SetLogisticRequestTipTrigger": { "description": "https://lua-api.factorio.com/stable/types/SetLogisticRequestTipTrigger.html", "type": "object", "properties": { "count": { "$ref": "#/definitions/uint32" }, "type": { "type": "string", "const": "set-logistic-request" }, "logistic_chest_only": { "$ref": "#/definitions/bool" }, "entity": { "$ref": "#/definitions/EntityID" } }, "required": [ "type" ] }, "SetRecipeTipTrigger": { "description": "https://lua-api.factorio.com/stable/types/SetRecipeTipTrigger.html", "type": "object", "properties": { "count": { "$ref": "#/definitions/uint32" }, "type": { "type": "string", "const": "set-recipe" }, "recipe": { "$ref": "#/definitions/RecipeID" }, "machine": { "$ref": "#/definitions/EntityID" }, "consecutive": { "$ref": "#/definitions/bool" }, "any_quality": { "$ref": "#/definitions/bool" }, "uses_fluid": { "$ref": "#/definitions/bool" } }, "required": [ "type" ] }, "SetTileTriggerEffectItem": { "description": "https://lua-api.factorio.com/stable/types/SetTileTriggerEffectItem.html", "type": "object", "properties": { "repeat_count": { "$ref": "#/definitions/uint16" }, "repeat_count_deviation": { "$ref": "#/definitions/uint16" }, "probability": { "$ref": "#/definitions/float" }, "affects_target": { "$ref": "#/definitions/bool" }, "show_in_tooltip": { "$ref": "#/definitions/bool" }, "damage_type_filters": { "$ref": "#/definitions/DamageTypeFilters" }, "type": { "type": "string", "const": "set-tile" }, "tile_name": { "$ref": "#/definitions/TileID" }, "radius": { "$ref": "#/definitions/float" }, "apply_projection": { "$ref": "#/definitions/bool" }, "apply_on_space_platform": { "$ref": "#/definitions/bool" }, "tile_collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" } }, "required": [ "type", "tile_name", "radius" ] }, "ShiftAnimationWaypoints": { "description": "https://lua-api.factorio.com/stable/types/ShiftAnimationWaypoints.html", "type": "object", "properties": { "north": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Vector" } }, { "type": "object", "additionalProperties": false } ] }, "east": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Vector" } }, { "type": "object", "additionalProperties": false } ] }, "south": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Vector" } }, { "type": "object", "additionalProperties": false } ] }, "west": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Vector" } }, { "type": "object", "additionalProperties": false } ] } }, "required": [ "north", "east", "south", "west" ] }, "ShootTipTrigger": { "description": "https://lua-api.factorio.com/stable/types/ShootTipTrigger.html", "type": "object", "properties": { "count": { "$ref": "#/definitions/uint32" }, "type": { "type": "string", "const": "shoot" }, "target": { "anyOf": [ { "type": "string", "const": "enemy" }, { "type": "string", "const": "entity" } ] } }, "required": [ "type" ] }, "ShowExplosionOnChartTriggerEffectItem": { "description": "https://lua-api.factorio.com/stable/types/ShowExplosionOnChartTriggerEffectItem.html", "type": "object", "properties": { "repeat_count": { "$ref": "#/definitions/uint16" }, "repeat_count_deviation": { "$ref": "#/definitions/uint16" }, "probability": { "$ref": "#/definitions/float" }, "affects_target": { "$ref": "#/definitions/bool" }, "show_in_tooltip": { "$ref": "#/definitions/bool" }, "damage_type_filters": { "$ref": "#/definitions/DamageTypeFilters" }, "type": { "type": "string", "const": "show-explosion-on-chart" }, "scale": { "$ref": "#/definitions/float" } }, "required": [ "type", "scale" ] }, "SignalColorMapping": { "description": "https://lua-api.factorio.com/stable/types/SignalColorMapping.html", "type": "object", "properties": { "type": { "anyOf": [ { "type": "string", "const": "virtual" }, { "type": "string", "const": "item" }, { "type": "string", "const": "fluid" }, { "type": "string", "const": "recipe" }, { "type": "string", "const": "entity" }, { "type": "string", "const": "space-location" }, { "type": "string", "const": "asteroid-chunk" }, { "type": "string", "const": "quality" } ] }, "name": { "anyOf": [ { "$ref": "#/definitions/VirtualSignalID" }, { "$ref": "#/definitions/ItemID" }, { "$ref": "#/definitions/FluidID" }, { "$ref": "#/definitions/RecipeID" }, { "$ref": "#/definitions/EntityID" }, { "$ref": "#/definitions/SpaceLocationID" }, { "$ref": "#/definitions/AsteroidChunkID" }, { "$ref": "#/definitions/QualityID" } ] }, "color": { "$ref": "#/definitions/Color" } }, "required": [ "type", "name", "color" ] }, "SignalIDConnector": { "description": "https://lua-api.factorio.com/stable/types/SignalIDConnector.html", "type": "object", "properties": { "type": { "anyOf": [ { "type": "string", "const": "virtual" }, { "type": "string", "const": "item" }, { "type": "string", "const": "fluid" }, { "type": "string", "const": "recipe" }, { "type": "string", "const": "entity" }, { "type": "string", "const": "space-location" }, { "type": "string", "const": "asteroid-chunk" }, { "type": "string", "const": "quality" } ] }, "name": { "anyOf": [ { "$ref": "#/definitions/VirtualSignalID" }, { "$ref": "#/definitions/ItemID" }, { "$ref": "#/definitions/FluidID" }, { "$ref": "#/definitions/RecipeID" }, { "$ref": "#/definitions/EntityID" }, { "$ref": "#/definitions/SpaceLocationID" }, { "$ref": "#/definitions/AsteroidChunkID" }, { "$ref": "#/definitions/QualityID" } ] } }, "required": [ "type", "name" ] }, "SimpleBoundingBox": { "description": "https://lua-api.factorio.com/stable/types/SimpleBoundingBox.html", "anyOf": [ { "type": "object", "properties": { "left_top": { "$ref": "#/definitions/MapPosition" }, "right_bottom": { "$ref": "#/definitions/MapPosition" } }, "required": [ "left_top", "right_bottom" ] }, { "type": "array", "items": [ { "anyOf": [ { "$ref": "#/definitions/MapPosition" } ] }, { "anyOf": [ { "$ref": "#/definitions/MapPosition" } ] } ], "minItems": 2, "maxItems": 2 } ] }, "SimulationDefinition": { "description": "https://lua-api.factorio.com/stable/types/SimulationDefinition.html", "type": "object", "properties": { "planet": { "$ref": "#/definitions/SpaceLocationID" }, "game_view_settings": { "$ref": "#/definitions/GameViewSettings" }, "save": { "$ref": "#/definitions/FileName" }, "init_file": { "$ref": "#/definitions/FileName" }, "init": { "$ref": "#/definitions/string" }, "update_file": { "$ref": "#/definitions/FileName" }, "update": { "$ref": "#/definitions/string" }, "mods": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/string" } }, { "type": "object", "additionalProperties": false } ] }, "init_update_count": { "$ref": "#/definitions/uint32" }, "length": { "$ref": "#/definitions/uint32" }, "generate_map": { "$ref": "#/definitions/bool" }, "checkboard": { "$ref": "#/definitions/bool" }, "hide_health_bars": { "$ref": "#/definitions/bool" }, "mute_technology_finished_sound": { "$ref": "#/definitions/bool" }, "mute_alert_sounds": { "$ref": "#/definitions/bool" }, "volume_modifier": { "$ref": "#/definitions/float" }, "override_volume": { "$ref": "#/definitions/bool" }, "mute_wind_sounds": { "$ref": "#/definitions/bool" }, "hide_factoriopedia_gradient": { "$ref": "#/definitions/bool" } } }, "SingleGraphicProcessionLayer": { "description": "https://lua-api.factorio.com/stable/types/SingleGraphicProcessionLayer.html", "type": "object", "properties": { "type": { "type": "string", "const": "single-graphic" }, "graphic": { "$ref": "#/definitions/ProcessionGraphic" }, "render_layer": { "$ref": "#/definitions/RenderLayer" }, "secondary_draw_order": { "$ref": "#/definitions/int8" }, "relative_to": { "$ref": "#/definitions/EffectRelativeTo" }, "compensated_pivot": { "$ref": "#/definitions/bool" }, "rotates_with_pod": { "$ref": "#/definitions/bool" }, "shift_rotates_with_pod": { "$ref": "#/definitions/bool" }, "is_passenger_only": { "$ref": "#/definitions/bool" }, "clip_with_hatches": { "$ref": "#/definitions/bool" }, "animation_driven_by_curve": { "$ref": "#/definitions/bool" }, "frames": { "oneOf": [ { "type": "array", "items": { "type": "object", "properties": { "timestamp": { "$ref": "#/definitions/MapTick" }, "opacity": { "$ref": "#/definitions/double" }, "opacity_t": { "$ref": "#/definitions/double" }, "tint": { "$ref": "#/definitions/Color" }, "tint_t": { "$ref": "#/definitions/Color" }, "rotation": { "$ref": "#/definitions/double" }, "rotation_t": { "$ref": "#/definitions/double" }, "scale": { "$ref": "#/definitions/double" }, "scale_t": { "$ref": "#/definitions/double" }, "shift": { "$ref": "#/definitions/Vector" }, "shift_t": { "$ref": "#/definitions/Vector" }, "shift_rate": { "$ref": "#/definitions/double" }, "shift_rate_t": { "$ref": "#/definitions/double" }, "frame": { "$ref": "#/definitions/float" } } } }, { "type": "object", "additionalProperties": false } ] } }, "required": [ "type", "graphic", "frames" ] }, "SliderStyleSpecification": { "description": "https://lua-api.factorio.com/stable/types/SliderStyleSpecification.html", "type": "object", "properties": { "parent": { "$ref": "#/definitions/string" }, "horizontal_align": { "$ref": "#/definitions/HorizontalAlign" }, "vertical_align": { "$ref": "#/definitions/VerticalAlign" }, "ignored_by_search": { "$ref": "#/definitions/bool" }, "never_hide_by_search": { "$ref": "#/definitions/bool" }, "horizontally_stretchable": { "$ref": "#/definitions/StretchRule" }, "vertically_stretchable": { "$ref": "#/definitions/StretchRule" }, "horizontally_squashable": { "$ref": "#/definitions/StretchRule" }, "vertically_squashable": { "$ref": "#/definitions/StretchRule" }, "natural_size": { "anyOf": [ { "$ref": "#/definitions/uint32" }, { "type": "array", "items": [ { "$ref": "#/definitions/uint32" }, { "$ref": "#/definitions/uint32" } ], "minItems": 2, "maxItems": 2 } ] }, "size": { "anyOf": [ { "$ref": "#/definitions/uint32" }, { "type": "array", "items": [ { "$ref": "#/definitions/uint32" }, { "$ref": "#/definitions/uint32" } ], "minItems": 2, "maxItems": 2 } ] }, "width": { "$ref": "#/definitions/uint32" }, "minimal_width": { "$ref": "#/definitions/uint32" }, "maximal_width": { "$ref": "#/definitions/uint32" }, "natural_width": { "$ref": "#/definitions/uint32" }, "height": { "$ref": "#/definitions/uint32" }, "minimal_height": { "$ref": "#/definitions/uint32" }, "maximal_height": { "$ref": "#/definitions/uint32" }, "natural_height": { "$ref": "#/definitions/uint32" }, "padding": { "$ref": "#/definitions/int16" }, "top_padding": { "$ref": "#/definitions/int16" }, "right_padding": { "$ref": "#/definitions/int16" }, "bottom_padding": { "$ref": "#/definitions/int16" }, "left_padding": { "$ref": "#/definitions/int16" }, "margin": { "$ref": "#/definitions/int16" }, "top_margin": { "$ref": "#/definitions/int16" }, "right_margin": { "$ref": "#/definitions/int16" }, "bottom_margin": { "$ref": "#/definitions/int16" }, "left_margin": { "$ref": "#/definitions/int16" }, "effect": { "anyOf": [ { "type": "string", "const": "compilatron-hologram" } ] }, "effect_opacity": { "$ref": "#/definitions/float" }, "tooltip": { "$ref": "#/definitions/LocalisedString" }, "type": { "type": "string", "const": "slider_style" }, "full_bar": { "$ref": "#/definitions/ElementImageSet" }, "full_bar_disabled": { "$ref": "#/definitions/ElementImageSet" }, "empty_bar": { "$ref": "#/definitions/ElementImageSet" }, "empty_bar_disabled": { "$ref": "#/definitions/ElementImageSet" }, "draw_notches": { "$ref": "#/definitions/bool" }, "notch": { "$ref": "#/definitions/ElementImageSet" }, "button": { "$ref": "#/definitions/ButtonStyleSpecification" }, "high_button": { "$ref": "#/definitions/ButtonStyleSpecification" } }, "required": [ "type" ] }, "SmokeSource": { "description": "https://lua-api.factorio.com/stable/types/SmokeSource.html", "type": "object", "properties": { "name": { "$ref": "#/definitions/TrivialSmokeID" }, "frequency": { "$ref": "#/definitions/float" }, "offset": { "$ref": "#/definitions/float" }, "position": { "$ref": "#/definitions/Vector" }, "has_8_directions": { "$ref": "#/definitions/bool" }, "north_position": { "$ref": "#/definitions/Vector" }, "north_east_position": { "$ref": "#/definitions/Vector" }, "east_position": { "$ref": "#/definitions/Vector" }, "south_east_position": { "$ref": "#/definitions/Vector" }, "south_position": { "$ref": "#/definitions/Vector" }, "south_west_position": { "$ref": "#/definitions/Vector" }, "west_position": { "$ref": "#/definitions/Vector" }, "north_west_position": { "$ref": "#/definitions/Vector" }, "deviation": { "$ref": "#/definitions/Vector" }, "starting_frame": { "$ref": "#/definitions/uint16" }, "starting_frame_deviation": { "$ref": "#/definitions/uint16" }, "height": { "$ref": "#/definitions/float" }, "height_deviation": { "$ref": "#/definitions/float" }, "starting_vertical_speed": { "$ref": "#/definitions/float" }, "starting_vertical_speed_deviation": { "$ref": "#/definitions/float" }, "vertical_speed_slowdown": { "$ref": "#/definitions/float" } }, "required": [ "name", "frequency" ] }, "Sound": { "description": "https://lua-api.factorio.com/stable/types/Sound.html", "anyOf": [ { "type": "object", "properties": { "category": { "$ref": "#/definitions/SoundType" }, "priority": { "$ref": "#/definitions/uint8" }, "aggregation": { "$ref": "#/definitions/AggregationSpecification" }, "allow_random_repeat": { "$ref": "#/definitions/bool" }, "audible_distance_modifier": { "$ref": "#/definitions/double" }, "game_controller_vibration_data": { "$ref": "#/definitions/GameControllerVibrationData" }, "advanced_volume_control": { "$ref": "#/definitions/AdvancedVolumeControl" }, "speed_smoothing_window_size": { "$ref": "#/definitions/uint32" }, "variations": { "anyOf": [ { "$ref": "#/definitions/SoundDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SoundDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "filename": { "$ref": "#/definitions/FileName" }, "volume": { "$ref": "#/definitions/float" }, "min_volume": { "$ref": "#/definitions/float" }, "max_volume": { "$ref": "#/definitions/float" }, "preload": { "$ref": "#/definitions/bool" }, "speed": { "$ref": "#/definitions/float" }, "min_speed": { "$ref": "#/definitions/float" }, "max_speed": { "$ref": "#/definitions/float" }, "modifiers": { "anyOf": [ { "$ref": "#/definitions/SoundModifier" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SoundModifier" } }, { "type": "object", "additionalProperties": false } ] } ] } } }, { "oneOf": [ { "type": "array", "items": { "anyOf": [ { "$ref": "#/definitions/SoundDefinition" } ] } }, { "type": "object", "additionalProperties": false } ] }, { "$ref": "#/definitions/string" } ] }, "SoundAccent": { "description": "https://lua-api.factorio.com/stable/types/SoundAccent.html", "type": "object", "properties": { "sound": { "$ref": "#/definitions/Sound" }, "frame": { "$ref": "#/definitions/uint16" }, "audible_distance_modifier": { "$ref": "#/definitions/float" }, "play_for_working_visualisations": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/string" } }, { "type": "object", "additionalProperties": false } ] } } }, "SoundDefinition": { "description": "https://lua-api.factorio.com/stable/types/SoundDefinition.html", "anyOf": [ { "type": "object", "properties": { "filename": { "$ref": "#/definitions/FileName" }, "volume": { "$ref": "#/definitions/float" }, "min_volume": { "$ref": "#/definitions/float" }, "max_volume": { "$ref": "#/definitions/float" }, "preload": { "$ref": "#/definitions/bool" }, "speed": { "$ref": "#/definitions/float" }, "min_speed": { "$ref": "#/definitions/float" }, "max_speed": { "$ref": "#/definitions/float" }, "modifiers": { "anyOf": [ { "$ref": "#/definitions/SoundModifier" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SoundModifier" } }, { "type": "object", "additionalProperties": false } ] } ] } }, "required": [ "filename" ] }, { "$ref": "#/definitions/FileName" } ] }, "SoundModifier": { "description": "https://lua-api.factorio.com/stable/types/SoundModifier.html", "type": "object", "properties": { "type": { "$ref": "#/definitions/SoundModifierType" }, "volume_multiplier": { "$ref": "#/definitions/float" } }, "required": [ "type", "volume_multiplier" ] }, "SoundModifierType": { "description": "https://lua-api.factorio.com/stable/types/SoundModifierType.html", "anyOf": [ { "type": "string", "const": "game" }, { "type": "string", "const": "main-menu" }, { "type": "string", "const": "tips-and-tricks" }, { "type": "string", "const": "driving" }, { "type": "string", "const": "elevation" }, { "type": "string", "const": "space-platform" } ] }, "SoundType": { "description": "https://lua-api.factorio.com/stable/types/SoundType.html", "anyOf": [ { "type": "string", "const": "game-effect" }, { "type": "string", "const": "gui-effect" }, { "type": "string", "const": "ambient" }, { "type": "string", "const": "environment" }, { "type": "string", "const": "walking" }, { "type": "string", "const": "alert" }, { "type": "string", "const": "wind" }, { "type": "string", "const": "world-ambient" }, { "type": "string", "const": "weapon" }, { "type": "string", "const": "explosion" }, { "type": "string", "const": "enemy" } ] }, "SpaceConnectionAsteroidSpawnDefinition": { "description": "https://lua-api.factorio.com/stable/types/SpaceConnectionAsteroidSpawnDefinition.html", "anyOf": [ { "type": "object", "properties": { "type": { "anyOf": [ { "type": "string", "const": "entity" }, { "type": "string", "const": "asteroid-chunk" } ] }, "asteroid": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "$ref": "#/definitions/AsteroidChunkID" } ] }, "spawn_points": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SpaceConnectionAsteroidSpawnPoint" } }, { "type": "object", "additionalProperties": false } ] } }, "required": [ "asteroid", "spawn_points" ] }, { "type": "array", "items": [ { "anyOf": [ { "$ref": "#/definitions/EntityID" } ] }, { "oneOf": [ { "type": "array", "items": { "anyOf": [ { "$ref": "#/definitions/SpaceConnectionAsteroidSpawnPoint" } ] } }, { "type": "object", "additionalProperties": false } ] } ], "minItems": 2, "maxItems": 2 } ] }, "SpaceConnectionAsteroidSpawnPoint": { "description": "https://lua-api.factorio.com/stable/types/SpaceConnectionAsteroidSpawnPoint.html", "type": "object", "properties": { "probability": { "$ref": "#/definitions/double" }, "speed": { "$ref": "#/definitions/double" }, "angle_when_stopped": { "$ref": "#/definitions/double" }, "distance": { "$ref": "#/definitions/double" } }, "required": [ "probability", "speed", "distance" ] }, "SpaceConnectionID": { "description": "https://lua-api.factorio.com/stable/types/SpaceConnectionID.html", "anyOf": [ { "$ref": "#/definitions/string" } ] }, "SpaceDustEffectProperties": { "description": "https://lua-api.factorio.com/stable/types/SpaceDustEffectProperties.html", "type": "object", "properties": { "noise_texture": { "$ref": "#/definitions/EffectTexture" }, "asteroid_texture": { "$ref": "#/definitions/EffectTexture" }, "asteroid_normal_texture": { "$ref": "#/definitions/EffectTexture" }, "animation_speed": { "$ref": "#/definitions/float" } }, "required": [ "noise_texture", "asteroid_texture", "asteroid_normal_texture" ] }, "SpaceLocationAsteroidSpawnDefinition": { "description": "https://lua-api.factorio.com/stable/types/SpaceLocationAsteroidSpawnDefinition.html", "type": "object", "properties": { "probability": { "$ref": "#/definitions/double" }, "speed": { "$ref": "#/definitions/double" }, "angle_when_stopped": { "$ref": "#/definitions/double" }, "type": { "anyOf": [ { "type": "string", "const": "entity" }, { "type": "string", "const": "asteroid-chunk" } ] }, "asteroid": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "$ref": "#/definitions/AsteroidChunkID" } ] } }, "required": [ "probability", "speed", "asteroid" ] }, "SpaceLocationID": { "description": "https://lua-api.factorio.com/stable/types/SpaceLocationID.html", "anyOf": [ { "$ref": "#/definitions/string" } ] }, "SpacePlatformTileDefinition": { "description": "https://lua-api.factorio.com/stable/types/SpacePlatformTileDefinition.html", "type": "object", "properties": { "tile": { "$ref": "#/definitions/TileID" }, "position": { "$ref": "#/definitions/TilePosition" } }, "required": [ "tile", "position" ] }, "SpacePlatformsModifier": { "description": "https://lua-api.factorio.com/stable/types/SpacePlatformsModifier.html", "type": "object", "properties": { "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "hidden": { "$ref": "#/definitions/bool" }, "modifier": { "$ref": "#/definitions/bool" }, "type": { "type": "string", "const": "unlock-space-platforms" }, "use_icon_overlay_constant": { "$ref": "#/definitions/bool" } }, "required": [ "modifier", "type" ] }, "SpaceTileEffectParameters": { "description": "https://lua-api.factorio.com/stable/types/SpaceTileEffectParameters.html", "type": "object", "properties": { "scroll_factor": { "$ref": "#/definitions/float" }, "zoom_base_factor": { "$ref": "#/definitions/float" }, "zoom_base_offset": { "$ref": "#/definitions/float" }, "zoom_exponent": { "$ref": "#/definitions/float" }, "zoom_factor": { "$ref": "#/definitions/float" }, "zoom_offset": { "$ref": "#/definitions/float" }, "nebula_scale": { "$ref": "#/definitions/float" }, "nebula_brightness": { "$ref": "#/definitions/float" }, "nebula_saturation": { "$ref": "#/definitions/float" }, "star_density": { "$ref": "#/definitions/float" }, "star_scale": { "$ref": "#/definitions/float" }, "star_parallax": { "$ref": "#/definitions/float" }, "star_shape": { "$ref": "#/definitions/float" }, "star_brightness": { "$ref": "#/definitions/float" }, "star_saturations": { "$ref": "#/definitions/float" } } }, "SpacingItem": { "description": "https://lua-api.factorio.com/stable/types/SpacingItem.html", "type": "object", "properties": { "index": { "$ref": "#/definitions/uint32" }, "spacing": { "$ref": "#/definitions/int32" } }, "required": [ "index", "spacing" ] }, "SpawnPoint": { "description": "https://lua-api.factorio.com/stable/types/SpawnPoint.html", "anyOf": [ { "type": "object", "properties": { "evolution_factor": { "$ref": "#/definitions/double" }, "spawn_weight": { "$ref": "#/definitions/double" } }, "required": [ "evolution_factor", "spawn_weight" ] }, { "type": "array", "items": [ { "anyOf": [ { "$ref": "#/definitions/double" } ] }, { "anyOf": [ { "$ref": "#/definitions/double" } ] } ], "minItems": 2, "maxItems": 2 } ] }, "SpeechBubbleStyleSpecification": { "description": "https://lua-api.factorio.com/stable/types/SpeechBubbleStyleSpecification.html", "type": "object", "properties": { "parent": { "$ref": "#/definitions/string" }, "horizontal_align": { "$ref": "#/definitions/HorizontalAlign" }, "vertical_align": { "$ref": "#/definitions/VerticalAlign" }, "ignored_by_search": { "$ref": "#/definitions/bool" }, "never_hide_by_search": { "$ref": "#/definitions/bool" }, "horizontally_stretchable": { "$ref": "#/definitions/StretchRule" }, "vertically_stretchable": { "$ref": "#/definitions/StretchRule" }, "horizontally_squashable": { "$ref": "#/definitions/StretchRule" }, "vertically_squashable": { "$ref": "#/definitions/StretchRule" }, "natural_size": { "anyOf": [ { "$ref": "#/definitions/uint32" }, { "type": "array", "items": [ { "$ref": "#/definitions/uint32" }, { "$ref": "#/definitions/uint32" } ], "minItems": 2, "maxItems": 2 } ] }, "size": { "anyOf": [ { "$ref": "#/definitions/uint32" }, { "type": "array", "items": [ { "$ref": "#/definitions/uint32" }, { "$ref": "#/definitions/uint32" } ], "minItems": 2, "maxItems": 2 } ] }, "width": { "$ref": "#/definitions/uint32" }, "minimal_width": { "$ref": "#/definitions/uint32" }, "maximal_width": { "$ref": "#/definitions/uint32" }, "natural_width": { "$ref": "#/definitions/uint32" }, "height": { "$ref": "#/definitions/uint32" }, "minimal_height": { "$ref": "#/definitions/uint32" }, "maximal_height": { "$ref": "#/definitions/uint32" }, "natural_height": { "$ref": "#/definitions/uint32" }, "padding": { "$ref": "#/definitions/int16" }, "top_padding": { "$ref": "#/definitions/int16" }, "right_padding": { "$ref": "#/definitions/int16" }, "bottom_padding": { "$ref": "#/definitions/int16" }, "left_padding": { "$ref": "#/definitions/int16" }, "margin": { "$ref": "#/definitions/int16" }, "top_margin": { "$ref": "#/definitions/int16" }, "right_margin": { "$ref": "#/definitions/int16" }, "bottom_margin": { "$ref": "#/definitions/int16" }, "left_margin": { "$ref": "#/definitions/int16" }, "effect": { "anyOf": [ { "type": "string", "const": "compilatron-hologram" } ] }, "effect_opacity": { "$ref": "#/definitions/float" }, "tooltip": { "$ref": "#/definitions/LocalisedString" }, "type": { "type": "string", "const": "speech_bubble_style" }, "frame_style": { "$ref": "#/definitions/FrameStyleSpecification" }, "label_style": { "$ref": "#/definitions/LabelStyleSpecification" }, "arrow_graphical_set": { "$ref": "#/definitions/ElementImageSet" }, "close_color": { "$ref": "#/definitions/Color" }, "arrow_indent": { "$ref": "#/definitions/double" }, "pass_through_mouse": { "$ref": "#/definitions/bool" } }, "required": [ "type" ] }, "SpiderEngineSpecification": { "description": "https://lua-api.factorio.com/stable/types/SpiderEngineSpecification.html", "type": "object", "properties": { "legs": { "anyOf": [ { "$ref": "#/definitions/SpiderLegSpecification" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SpiderLegSpecification" } }, { "type": "object", "additionalProperties": false } ] } ] }, "walking_group_overlap": { "$ref": "#/definitions/float" } }, "required": [ "legs" ] }, "SpiderLegPart": { "description": "https://lua-api.factorio.com/stable/types/SpiderLegPart.html", "type": "object", "properties": { "top_end": { "$ref": "#/definitions/RotatedSprite" }, "middle": { "$ref": "#/definitions/RotatedSprite" }, "bottom_end": { "$ref": "#/definitions/RotatedSprite" }, "middle_offset_from_top": { "$ref": "#/definitions/float" }, "middle_offset_from_bottom": { "$ref": "#/definitions/float" }, "top_end_length": { "$ref": "#/definitions/float" }, "bottom_end_length": { "$ref": "#/definitions/float" }, "top_end_offset": { "$ref": "#/definitions/float" }, "bottom_end_offset": { "$ref": "#/definitions/float" }, "render_layer": { "$ref": "#/definitions/RenderLayer" } } }, "SpiderLegSpecification": { "description": "https://lua-api.factorio.com/stable/types/SpiderLegSpecification.html", "type": "object", "properties": { "leg": { "$ref": "#/definitions/EntityID" }, "mount_position": { "$ref": "#/definitions/Vector" }, "ground_position": { "$ref": "#/definitions/Vector" }, "leg_hit_the_ground_trigger": { "$ref": "#/definitions/TriggerEffect" }, "leg_hit_the_ground_when_attacking_trigger": { "$ref": "#/definitions/TriggerEffect" }, "walking_group": { "$ref": "#/definitions/uint8" } }, "required": [ "leg", "mount_position", "ground_position", "walking_group" ] }, "SpiderLegTriggerEffect": { "description": "https://lua-api.factorio.com/stable/types/SpiderLegTriggerEffect.html", "type": "object", "properties": { "position": { "$ref": "#/definitions/float" }, "effect": { "$ref": "#/definitions/TriggerEffect" } }, "required": [ "position", "effect" ] }, "SpiderTorsoGraphicsSet": { "description": "https://lua-api.factorio.com/stable/types/SpiderTorsoGraphicsSet.html", "type": "object", "properties": { "base_animation": { "$ref": "#/definitions/RotatedAnimation" }, "shadow_base_animation": { "$ref": "#/definitions/RotatedAnimation" }, "animation": { "$ref": "#/definitions/RotatedAnimation" }, "shadow_animation": { "$ref": "#/definitions/RotatedAnimation" }, "base_render_layer": { "$ref": "#/definitions/RenderLayer" }, "render_layer": { "$ref": "#/definitions/RenderLayer" } } }, "SpiderVehicleGraphicsSet": { "description": "https://lua-api.factorio.com/stable/types/SpiderVehicleGraphicsSet.html", "type": "object", "properties": { "base_animation": { "$ref": "#/definitions/RotatedAnimation" }, "shadow_base_animation": { "$ref": "#/definitions/RotatedAnimation" }, "animation": { "$ref": "#/definitions/RotatedAnimation" }, "shadow_animation": { "$ref": "#/definitions/RotatedAnimation" }, "base_render_layer": { "$ref": "#/definitions/RenderLayer" }, "render_layer": { "$ref": "#/definitions/RenderLayer" }, "autopilot_destination_visualisation_render_layer": { "$ref": "#/definitions/RenderLayer" }, "light": { "$ref": "#/definitions/LightDefinition" }, "eye_light": { "$ref": "#/definitions/LightDefinition" }, "autopilot_destination_on_map_visualisation": { "$ref": "#/definitions/Animation" }, "autopilot_destination_queue_on_map_visualisation": { "$ref": "#/definitions/Animation" }, "autopilot_destination_visualisation": { "$ref": "#/definitions/Animation" }, "autopilot_destination_queue_visualisation": { "$ref": "#/definitions/Animation" }, "autopilot_path_visualisation_line_width": { "$ref": "#/definitions/float" }, "autopilot_path_visualisation_on_map_line_width": { "$ref": "#/definitions/float" }, "light_positions": { "oneOf": [ { "type": "array", "items": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Vector" } }, { "type": "object", "additionalProperties": false } ] } }, { "type": "object", "additionalProperties": false } ] } } }, "SpoilToTriggerResult": { "description": "https://lua-api.factorio.com/stable/types/SpoilToTriggerResult.html", "type": "object", "properties": { "trigger": { "$ref": "#/definitions/Trigger" }, "items_per_trigger": { "$ref": "#/definitions/ItemCountType" } }, "required": [ "trigger", "items_per_trigger" ] }, "Sprite": { "description": "https://lua-api.factorio.com/stable/types/Sprite.html", "type": "object", "properties": { "filename": { "$ref": "#/definitions/FileName" }, "size": { "anyOf": [ { "$ref": "#/definitions/SpriteSizeType" }, { "type": "array", "items": [ { "$ref": "#/definitions/SpriteSizeType" }, { "$ref": "#/definitions/SpriteSizeType" } ], "minItems": 2, "maxItems": 2 } ] }, "width": { "$ref": "#/definitions/SpriteSizeType" }, "height": { "$ref": "#/definitions/SpriteSizeType" }, "x": { "$ref": "#/definitions/SpriteSizeType" }, "y": { "$ref": "#/definitions/SpriteSizeType" }, "position": { "type": "array", "items": [ { "$ref": "#/definitions/SpriteSizeType" }, { "$ref": "#/definitions/SpriteSizeType" } ], "minItems": 2, "maxItems": 2 }, "load_in_minimal_mode": { "$ref": "#/definitions/bool" }, "premul_alpha": { "$ref": "#/definitions/bool" }, "allow_forced_downscale": { "$ref": "#/definitions/bool" }, "priority": { "$ref": "#/definitions/SpritePriority" }, "flags": { "$ref": "#/definitions/SpriteFlags" }, "shift": { "$ref": "#/definitions/Vector" }, "rotate_shift": { "$ref": "#/definitions/bool" }, "apply_special_effect": { "$ref": "#/definitions/bool" }, "scale": { "$ref": "#/definitions/double" }, "draw_as_shadow": { "$ref": "#/definitions/bool" }, "draw_as_glow": { "$ref": "#/definitions/bool" }, "draw_as_light": { "$ref": "#/definitions/bool" }, "mipmap_count": { "$ref": "#/definitions/uint8" }, "apply_runtime_tint": { "$ref": "#/definitions/bool" }, "tint_as_overlay": { "$ref": "#/definitions/bool" }, "invert_colors": { "$ref": "#/definitions/bool" }, "tint": { "$ref": "#/definitions/Color" }, "blend_mode": { "$ref": "#/definitions/BlendMode" }, "generate_sdf": { "$ref": "#/definitions/bool" }, "surface": { "$ref": "#/definitions/SpriteUsageSurfaceHint" }, "usage": { "$ref": "#/definitions/SpriteUsageHint" }, "layers": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Sprite" } }, { "type": "object", "additionalProperties": false } ] }, "dice": { "$ref": "#/definitions/SpriteSizeType" }, "dice_x": { "$ref": "#/definitions/SpriteSizeType" }, "dice_y": { "$ref": "#/definitions/SpriteSizeType" } } }, "Sprite16Way": { "description": "https://lua-api.factorio.com/stable/types/Sprite16Way.html", "type": "object", "properties": { "sheets": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SpriteNWaySheet" } }, { "type": "object", "additionalProperties": false } ] }, "sheet": { "$ref": "#/definitions/SpriteNWaySheet" }, "north": { "$ref": "#/definitions/Sprite" }, "north_north_east": { "$ref": "#/definitions/Sprite" }, "north_east": { "$ref": "#/definitions/Sprite" }, "east_north_east": { "$ref": "#/definitions/Sprite" }, "east": { "$ref": "#/definitions/Sprite" }, "east_south_east": { "$ref": "#/definitions/Sprite" }, "south_east": { "$ref": "#/definitions/Sprite" }, "south_south_east": { "$ref": "#/definitions/Sprite" }, "south": { "$ref": "#/definitions/Sprite" }, "south_south_west": { "$ref": "#/definitions/Sprite" }, "south_west": { "$ref": "#/definitions/Sprite" }, "west_south_west": { "$ref": "#/definitions/Sprite" }, "west": { "$ref": "#/definitions/Sprite" }, "west_north_west": { "$ref": "#/definitions/Sprite" }, "north_west": { "$ref": "#/definitions/Sprite" }, "north_north_west": { "$ref": "#/definitions/Sprite" } } }, "Sprite4Way": { "description": "https://lua-api.factorio.com/stable/types/Sprite4Way.html", "anyOf": [ { "type": "object", "properties": { "sheets": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SpriteNWaySheet" } }, { "type": "object", "additionalProperties": false } ] }, "sheet": { "$ref": "#/definitions/SpriteNWaySheet" }, "north": { "$ref": "#/definitions/Sprite" }, "east": { "$ref": "#/definitions/Sprite" }, "south": { "$ref": "#/definitions/Sprite" }, "west": { "$ref": "#/definitions/Sprite" } } }, { "$ref": "#/definitions/Sprite" } ] }, "SpriteFlags": { "description": "https://lua-api.factorio.com/stable/types/SpriteFlags.html", "oneOf": [ { "type": "array", "items": { "anyOf": [ { "type": "string", "const": "no-crop" }, { "type": "string", "const": "not-compressed" }, { "type": "string", "const": "always-compressed" }, { "type": "string", "const": "mipmap" }, { "type": "string", "const": "linear-minification" }, { "type": "string", "const": "linear-magnification" }, { "type": "string", "const": "linear-mip-level" }, { "type": "string", "const": "alpha-mask" }, { "type": "string", "const": "no-scale" }, { "type": "string", "const": "mask" }, { "type": "string", "const": "icon" }, { "type": "string", "const": "gui" }, { "type": "string", "const": "gui-icon" }, { "type": "string", "const": "light" }, { "type": "string", "const": "terrain" }, { "type": "string", "const": "terrain-effect-map" }, { "type": "string", "const": "reflection-effect-map" }, { "type": "string", "const": "shadow" }, { "type": "string", "const": "smoke" }, { "type": "string", "const": "decal" }, { "type": "string", "const": "low-object" }, { "type": "string", "const": "corpse-decay" }, { "type": "string", "const": "trilinear-filtering" }, { "type": "string", "const": "group=none" }, { "type": "string", "const": "group=terrain" }, { "type": "string", "const": "group=shadow" }, { "type": "string", "const": "group=smoke" }, { "type": "string", "const": "group=decal" }, { "type": "string", "const": "group=low-object" }, { "type": "string", "const": "group=gui" }, { "type": "string", "const": "group=icon" }, { "type": "string", "const": "group=icon-background" }, { "type": "string", "const": "group=effect-texture" } ] } }, { "type": "object", "additionalProperties": false } ] }, "SpriteNWaySheet": { "description": "https://lua-api.factorio.com/stable/types/SpriteNWaySheet.html", "type": "object", "properties": { "filename": { "$ref": "#/definitions/FileName" }, "size": { "anyOf": [ { "$ref": "#/definitions/SpriteSizeType" }, { "type": "array", "items": [ { "$ref": "#/definitions/SpriteSizeType" }, { "$ref": "#/definitions/SpriteSizeType" } ], "minItems": 2, "maxItems": 2 } ] }, "width": { "$ref": "#/definitions/SpriteSizeType" }, "height": { "$ref": "#/definitions/SpriteSizeType" }, "x": { "$ref": "#/definitions/SpriteSizeType" }, "y": { "$ref": "#/definitions/SpriteSizeType" }, "position": { "type": "array", "items": [ { "$ref": "#/definitions/SpriteSizeType" }, { "$ref": "#/definitions/SpriteSizeType" } ], "minItems": 2, "maxItems": 2 }, "load_in_minimal_mode": { "$ref": "#/definitions/bool" }, "premul_alpha": { "$ref": "#/definitions/bool" }, "allow_forced_downscale": { "$ref": "#/definitions/bool" }, "priority": { "$ref": "#/definitions/SpritePriority" }, "flags": { "$ref": "#/definitions/SpriteFlags" }, "shift": { "$ref": "#/definitions/Vector" }, "rotate_shift": { "$ref": "#/definitions/bool" }, "apply_special_effect": { "$ref": "#/definitions/bool" }, "scale": { "$ref": "#/definitions/double" }, "draw_as_shadow": { "$ref": "#/definitions/bool" }, "draw_as_glow": { "$ref": "#/definitions/bool" }, "draw_as_light": { "$ref": "#/definitions/bool" }, "mipmap_count": { "$ref": "#/definitions/uint8" }, "apply_runtime_tint": { "$ref": "#/definitions/bool" }, "tint_as_overlay": { "$ref": "#/definitions/bool" }, "invert_colors": { "$ref": "#/definitions/bool" }, "tint": { "$ref": "#/definitions/Color" }, "blend_mode": { "$ref": "#/definitions/BlendMode" }, "generate_sdf": { "$ref": "#/definitions/bool" }, "surface": { "$ref": "#/definitions/SpriteUsageSurfaceHint" }, "usage": { "$ref": "#/definitions/SpriteUsageHint" }, "frames": { "$ref": "#/definitions/uint32" } } }, "SpritePriority": { "description": "https://lua-api.factorio.com/stable/types/SpritePriority.html", "anyOf": [ { "type": "string", "const": "extra-high-no-scale" }, { "type": "string", "const": "extra-high" }, { "type": "string", "const": "high" }, { "type": "string", "const": "medium" }, { "type": "string", "const": "low" }, { "type": "string", "const": "very-low" }, { "type": "string", "const": "no-atlas" } ] }, "SpriteSheet": { "description": "https://lua-api.factorio.com/stable/types/SpriteSheet.html", "type": "object", "properties": { "filename": { "$ref": "#/definitions/FileName" }, "size": { "anyOf": [ { "$ref": "#/definitions/SpriteSizeType" }, { "type": "array", "items": [ { "$ref": "#/definitions/SpriteSizeType" }, { "$ref": "#/definitions/SpriteSizeType" } ], "minItems": 2, "maxItems": 2 } ] }, "width": { "$ref": "#/definitions/SpriteSizeType" }, "height": { "$ref": "#/definitions/SpriteSizeType" }, "x": { "$ref": "#/definitions/SpriteSizeType" }, "y": { "$ref": "#/definitions/SpriteSizeType" }, "position": { "type": "array", "items": [ { "$ref": "#/definitions/SpriteSizeType" }, { "$ref": "#/definitions/SpriteSizeType" } ], "minItems": 2, "maxItems": 2 }, "load_in_minimal_mode": { "$ref": "#/definitions/bool" }, "premul_alpha": { "$ref": "#/definitions/bool" }, "allow_forced_downscale": { "$ref": "#/definitions/bool" }, "priority": { "$ref": "#/definitions/SpritePriority" }, "flags": { "$ref": "#/definitions/SpriteFlags" }, "shift": { "$ref": "#/definitions/Vector" }, "rotate_shift": { "$ref": "#/definitions/bool" }, "apply_special_effect": { "$ref": "#/definitions/bool" }, "scale": { "$ref": "#/definitions/double" }, "draw_as_shadow": { "$ref": "#/definitions/bool" }, "draw_as_glow": { "$ref": "#/definitions/bool" }, "draw_as_light": { "$ref": "#/definitions/bool" }, "mipmap_count": { "$ref": "#/definitions/uint8" }, "apply_runtime_tint": { "$ref": "#/definitions/bool" }, "tint_as_overlay": { "$ref": "#/definitions/bool" }, "invert_colors": { "$ref": "#/definitions/bool" }, "tint": { "$ref": "#/definitions/Color" }, "blend_mode": { "$ref": "#/definitions/BlendMode" }, "generate_sdf": { "$ref": "#/definitions/bool" }, "surface": { "$ref": "#/definitions/SpriteUsageSurfaceHint" }, "usage": { "$ref": "#/definitions/SpriteUsageHint" }, "layers": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SpriteSheet" } }, { "type": "object", "additionalProperties": false } ] }, "variation_count": { "$ref": "#/definitions/uint32" }, "repeat_count": { "$ref": "#/definitions/uint32" }, "line_length": { "$ref": "#/definitions/uint32" }, "filenames": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/FileName" } }, { "type": "object", "additionalProperties": false } ] }, "lines_per_file": { "$ref": "#/definitions/uint32" }, "dice": { "$ref": "#/definitions/SpriteSizeType" }, "dice_x": { "$ref": "#/definitions/SpriteSizeType" }, "dice_y": { "$ref": "#/definitions/SpriteSizeType" } } }, "SpriteSizeType": { "description": "https://lua-api.factorio.com/stable/types/SpriteSizeType.html", "anyOf": [ { "$ref": "#/definitions/int16" } ] }, "SpriteUsageHint": { "description": "https://lua-api.factorio.com/stable/types/SpriteUsageHint.html", "anyOf": [ { "type": "string", "const": "any" }, { "type": "string", "const": "mining" }, { "type": "string", "const": "tile-artifical" }, { "type": "string", "const": "corpse-decay" }, { "type": "string", "const": "enemy" }, { "type": "string", "const": "player" }, { "type": "string", "const": "train" }, { "type": "string", "const": "vehicle" }, { "type": "string", "const": "explosion" }, { "type": "string", "const": "rail" }, { "type": "string", "const": "elevated-rail" }, { "type": "string", "const": "air" }, { "type": "string", "const": "remnant" }, { "type": "string", "const": "decorative" } ] }, "SpriteUsageSurfaceHint": { "description": "https://lua-api.factorio.com/stable/types/SpriteUsageSurfaceHint.html", "anyOf": [ { "type": "string", "const": "any" }, { "type": "string", "const": "nauvis" }, { "type": "string", "const": "vulcanus" }, { "type": "string", "const": "gleba" }, { "type": "string", "const": "fulgora" }, { "type": "string", "const": "aquilo" }, { "type": "string", "const": "space" } ] }, "SpriteVariations": { "description": "https://lua-api.factorio.com/stable/types/SpriteVariations.html", "anyOf": [ { "type": "object", "properties": { "sheet": { "$ref": "#/definitions/SpriteSheet" } }, "required": [ "sheet" ] }, { "$ref": "#/definitions/SpriteSheet" }, { "oneOf": [ { "type": "array", "items": { "anyOf": [ { "$ref": "#/definitions/Sprite" } ] } }, { "type": "object", "additionalProperties": false } ] } ] }, "StackTransferTipTrigger": { "description": "https://lua-api.factorio.com/stable/types/StackTransferTipTrigger.html", "type": "object", "properties": { "count": { "$ref": "#/definitions/uint32" }, "type": { "type": "string", "const": "stack-transfer" }, "transfer": { "anyOf": [ { "type": "string", "const": "stack" }, { "type": "string", "const": "inventory" }, { "type": "string", "const": "whole-inventory" } ] } }, "required": [ "type" ] }, "StateSteeringSettings": { "description": "https://lua-api.factorio.com/stable/types/StateSteeringSettings.html", "type": "object", "properties": { "radius": { "$ref": "#/definitions/double" }, "separation_factor": { "$ref": "#/definitions/double" }, "separation_force": { "$ref": "#/definitions/double" }, "force_unit_fuzzy_goto_behavior": { "$ref": "#/definitions/bool" } }, "required": [ "radius", "separation_factor", "separation_force", "force_unit_fuzzy_goto_behavior" ] }, "StatelessVisualisation": { "description": "https://lua-api.factorio.com/stable/types/StatelessVisualisation.html", "type": "object", "properties": { "animation": { "$ref": "#/definitions/AnimationVariations" }, "shadow": { "$ref": "#/definitions/AnimationVariations" }, "light": { "$ref": "#/definitions/LightDefinition" }, "count": { "$ref": "#/definitions/uint16" }, "min_count": { "$ref": "#/definitions/uint16" }, "max_count": { "$ref": "#/definitions/uint16" }, "period": { "$ref": "#/definitions/uint16" }, "particle_tick_offset": { "$ref": "#/definitions/float" }, "probability": { "$ref": "#/definitions/float" }, "offset_x": { "$ref": "#/definitions/RangedValue" }, "offset_y": { "$ref": "#/definitions/RangedValue" }, "offset_z": { "$ref": "#/definitions/RangedValue" }, "speed_x": { "$ref": "#/definitions/RangedValue" }, "speed_y": { "$ref": "#/definitions/RangedValue" }, "speed_z": { "$ref": "#/definitions/RangedValue" }, "acceleration_x": { "$ref": "#/definitions/float" }, "acceleration_y": { "$ref": "#/definitions/float" }, "acceleration_z": { "$ref": "#/definitions/float" }, "movement_slowdown_factor_x": { "$ref": "#/definitions/float" }, "movement_slowdown_factor_y": { "$ref": "#/definitions/float" }, "movement_slowdown_factor_z": { "$ref": "#/definitions/float" }, "scale": { "$ref": "#/definitions/RangedValue" }, "begin_scale": { "$ref": "#/definitions/float" }, "end_scale": { "$ref": "#/definitions/float" }, "fade_in_progress_duration": { "$ref": "#/definitions/float" }, "fade_out_progress_duration": { "$ref": "#/definitions/float" }, "spread_progress_duration": { "$ref": "#/definitions/float" }, "adjust_animation_speed_by_base_scale": { "$ref": "#/definitions/bool" }, "affected_by_wind": { "$ref": "#/definitions/bool" }, "render_layer": { "$ref": "#/definitions/RenderLayer" }, "positions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Vector" } }, { "type": "object", "additionalProperties": false } ] }, "nested_visualisations": { "anyOf": [ { "$ref": "#/definitions/StatelessVisualisation" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/StatelessVisualisation" } }, { "type": "object", "additionalProperties": false } ] } ] }, "can_lay_on_the_ground": { "$ref": "#/definitions/bool" } } }, "StatelessVisualisations": { "description": "https://lua-api.factorio.com/stable/types/StatelessVisualisations.html", "anyOf": [ { "$ref": "#/definitions/StatelessVisualisation" }, { "oneOf": [ { "type": "array", "items": { "anyOf": [ { "$ref": "#/definitions/StatelessVisualisation" } ] } }, { "type": "object", "additionalProperties": false } ] } ] }, "StatusColors": { "description": "https://lua-api.factorio.com/stable/types/StatusColors.html", "type": "object", "properties": { "idle": { "$ref": "#/definitions/Color" }, "no_minable_resources": { "$ref": "#/definitions/Color" }, "full_output": { "$ref": "#/definitions/Color" }, "insufficient_input": { "$ref": "#/definitions/Color" }, "disabled": { "$ref": "#/definitions/Color" }, "no_power": { "$ref": "#/definitions/Color" }, "working": { "$ref": "#/definitions/Color" }, "low_power": { "$ref": "#/definitions/Color" } } }, "StreamAttackParameters": { "description": "https://lua-api.factorio.com/stable/types/StreamAttackParameters.html", "type": "object", "properties": { "range": { "$ref": "#/definitions/float" }, "cooldown": { "$ref": "#/definitions/float" }, "min_range": { "$ref": "#/definitions/float" }, "turn_range": { "$ref": "#/definitions/float" }, "fire_penalty": { "$ref": "#/definitions/float" }, "rotate_penalty": { "$ref": "#/definitions/float" }, "health_penalty": { "$ref": "#/definitions/float" }, "range_mode": { "$ref": "#/definitions/RangeMode" }, "min_attack_distance": { "$ref": "#/definitions/float" }, "damage_modifier": { "$ref": "#/definitions/float" }, "ammo_consumption_modifier": { "$ref": "#/definitions/float" }, "cooldown_deviation": { "$ref": "#/definitions/float" }, "warmup": { "$ref": "#/definitions/uint32" }, "lead_target_for_projectile_speed": { "$ref": "#/definitions/float" }, "lead_target_for_projectile_delay": { "$ref": "#/definitions/uint32" }, "movement_slow_down_cooldown": { "$ref": "#/definitions/float" }, "movement_slow_down_factor": { "$ref": "#/definitions/double" }, "ammo_type": { "$ref": "#/definitions/AmmoType" }, "activation_type": { "anyOf": [ { "type": "string", "const": "shoot" }, { "type": "string", "const": "throw" }, { "type": "string", "const": "consume" }, { "type": "string", "const": "activate" } ] }, "sound": { "$ref": "#/definitions/LayeredSound" }, "animation": { "$ref": "#/definitions/RotatedAnimation" }, "cyclic_sound": { "$ref": "#/definitions/CyclicSound" }, "use_shooter_direction": { "$ref": "#/definitions/bool" }, "ammo_categories": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/AmmoCategoryID" } }, { "type": "object", "additionalProperties": false } ] }, "ammo_category": { "$ref": "#/definitions/AmmoCategoryID" }, "type": { "type": "string", "const": "stream" }, "fluid_consumption": { "$ref": "#/definitions/FluidAmount" }, "gun_barrel_length": { "$ref": "#/definitions/float" }, "projectile_creation_parameters": { "$ref": "#/definitions/CircularProjectileCreationSpecification" }, "gun_center_shift": { "anyOf": [ { "$ref": "#/definitions/Vector" }, { "type": "object", "properties": { "north": { "$ref": "#/definitions/Vector" }, "east": { "$ref": "#/definitions/Vector" }, "south": { "$ref": "#/definitions/Vector" }, "west": { "$ref": "#/definitions/Vector" } }, "required": [ "north" ] } ] }, "fluids": { "oneOf": [ { "type": "array", "items": { "type": "object", "properties": { "type": { "$ref": "#/definitions/FluidID" }, "damage_modifier": { "$ref": "#/definitions/double" } }, "required": [ "type" ] } }, { "type": "object", "additionalProperties": false } ] } }, "required": [ "range", "cooldown", "type" ] }, "StreamTriggerDelivery": { "description": "https://lua-api.factorio.com/stable/types/StreamTriggerDelivery.html", "type": "object", "properties": { "source_effects": { "$ref": "#/definitions/TriggerEffect" }, "target_effects": { "$ref": "#/definitions/TriggerEffect" }, "type": { "type": "string", "const": "stream" }, "stream": { "$ref": "#/definitions/EntityID" }, "source_offset": { "$ref": "#/definitions/Vector" } }, "required": [ "type", "stream" ] }, "StretchRule": { "description": "https://lua-api.factorio.com/stable/types/StretchRule.html", "anyOf": [ { "type": "string", "const": "on" }, { "type": "string", "const": "off" }, { "type": "string", "const": "auto" }, { "type": "string", "const": "stretch_and_expand" } ] }, "Stripe": { "description": "https://lua-api.factorio.com/stable/types/Stripe.html", "type": "object", "properties": { "width_in_frames": { "$ref": "#/definitions/uint32" }, "height_in_frames": { "$ref": "#/definitions/uint32" }, "filename": { "$ref": "#/definitions/FileName" }, "x": { "$ref": "#/definitions/uint32" }, "y": { "$ref": "#/definitions/uint32" } }, "required": [ "width_in_frames", "height_in_frames", "filename" ] }, "StyleSpecification": { "description": "https://lua-api.factorio.com/stable/types/StyleSpecification.html", "anyOf": [ { "$ref": "#/definitions/ActivityBarStyleSpecification" }, { "$ref": "#/definitions/ButtonStyleSpecification" }, { "$ref": "#/definitions/CameraStyleSpecification" }, { "$ref": "#/definitions/CheckBoxStyleSpecification" }, { "$ref": "#/definitions/DropDownStyleSpecification" }, { "$ref": "#/definitions/FlowStyleSpecification" }, { "$ref": "#/definitions/FrameStyleSpecification" }, { "$ref": "#/definitions/GraphStyleSpecification" }, { "$ref": "#/definitions/HorizontalFlowStyleSpecification" }, { "$ref": "#/definitions/LineStyleSpecification" }, { "$ref": "#/definitions/ImageStyleSpecification" }, { "$ref": "#/definitions/LabelStyleSpecification" }, { "$ref": "#/definitions/ListBoxStyleSpecification" }, { "$ref": "#/definitions/ProgressBarStyleSpecification" }, { "$ref": "#/definitions/RadioButtonStyleSpecification" }, { "$ref": "#/definitions/HorizontalScrollBarStyleSpecification" }, { "$ref": "#/definitions/VerticalScrollBarStyleSpecification" }, { "$ref": "#/definitions/ScrollPaneStyleSpecification" }, { "$ref": "#/definitions/SliderStyleSpecification" }, { "$ref": "#/definitions/SwitchStyleSpecification" }, { "$ref": "#/definitions/TableStyleSpecification" }, { "$ref": "#/definitions/TabStyleSpecification" }, { "$ref": "#/definitions/TextBoxStyleSpecification" }, { "$ref": "#/definitions/VerticalFlowStyleSpecification" }, { "$ref": "#/definitions/TabbedPaneStyleSpecification" }, { "$ref": "#/definitions/EmptyWidgetStyleSpecification" }, { "$ref": "#/definitions/MinimapStyleSpecification" }, { "$ref": "#/definitions/TechnologySlotStyleSpecification" }, { "$ref": "#/definitions/GlowStyleSpecification" }, { "$ref": "#/definitions/SpeechBubbleStyleSpecification" }, { "$ref": "#/definitions/DoubleSliderStyleSpecification" } ] }, "SurfaceCondition": { "description": "https://lua-api.factorio.com/stable/types/SurfaceCondition.html", "type": "object", "properties": { "property": { "$ref": "#/definitions/SurfacePropertyID" }, "min": { "$ref": "#/definitions/double" }, "max": { "$ref": "#/definitions/double" } }, "required": [ "property" ] }, "SurfaceID": { "description": "https://lua-api.factorio.com/stable/types/SurfaceID.html", "anyOf": [ { "$ref": "#/definitions/string" } ] }, "SurfacePropertyID": { "description": "https://lua-api.factorio.com/stable/types/SurfacePropertyID.html", "anyOf": [ { "$ref": "#/definitions/string" } ] }, "SurfaceRenderParameters": { "description": "https://lua-api.factorio.com/stable/types/SurfaceRenderParameters.html", "type": "object", "properties": { "day_night_cycle_color_lookup": { "$ref": "#/definitions/DaytimeColorLookupTable" }, "shadow_opacity": { "$ref": "#/definitions/float" }, "draw_sprite_clouds": { "$ref": "#/definitions/bool" }, "clouds": { "$ref": "#/definitions/CloudsEffectProperties" }, "fog": { "$ref": "#/definitions/FogEffectProperties" }, "terrain_tint_effect": { "$ref": "#/definitions/GlobalTintEffectProperties" }, "space_dust_background": { "$ref": "#/definitions/SpaceDustEffectProperties" }, "space_dust_foreground": { "$ref": "#/definitions/SpaceDustEffectProperties" } } }, "SwitchStyleSpecification": { "description": "https://lua-api.factorio.com/stable/types/SwitchStyleSpecification.html", "type": "object", "properties": { "parent": { "$ref": "#/definitions/string" }, "horizontal_align": { "$ref": "#/definitions/HorizontalAlign" }, "vertical_align": { "$ref": "#/definitions/VerticalAlign" }, "ignored_by_search": { "$ref": "#/definitions/bool" }, "never_hide_by_search": { "$ref": "#/definitions/bool" }, "horizontally_stretchable": { "$ref": "#/definitions/StretchRule" }, "vertically_stretchable": { "$ref": "#/definitions/StretchRule" }, "horizontally_squashable": { "$ref": "#/definitions/StretchRule" }, "vertically_squashable": { "$ref": "#/definitions/StretchRule" }, "natural_size": { "anyOf": [ { "$ref": "#/definitions/uint32" }, { "type": "array", "items": [ { "$ref": "#/definitions/uint32" }, { "$ref": "#/definitions/uint32" } ], "minItems": 2, "maxItems": 2 } ] }, "size": { "anyOf": [ { "$ref": "#/definitions/uint32" }, { "type": "array", "items": [ { "$ref": "#/definitions/uint32" }, { "$ref": "#/definitions/uint32" } ], "minItems": 2, "maxItems": 2 } ] }, "width": { "$ref": "#/definitions/uint32" }, "minimal_width": { "$ref": "#/definitions/uint32" }, "maximal_width": { "$ref": "#/definitions/uint32" }, "natural_width": { "$ref": "#/definitions/uint32" }, "height": { "$ref": "#/definitions/uint32" }, "minimal_height": { "$ref": "#/definitions/uint32" }, "maximal_height": { "$ref": "#/definitions/uint32" }, "natural_height": { "$ref": "#/definitions/uint32" }, "padding": { "$ref": "#/definitions/int16" }, "top_padding": { "$ref": "#/definitions/int16" }, "right_padding": { "$ref": "#/definitions/int16" }, "bottom_padding": { "$ref": "#/definitions/int16" }, "left_padding": { "$ref": "#/definitions/int16" }, "margin": { "$ref": "#/definitions/int16" }, "top_margin": { "$ref": "#/definitions/int16" }, "right_margin": { "$ref": "#/definitions/int16" }, "bottom_margin": { "$ref": "#/definitions/int16" }, "left_margin": { "$ref": "#/definitions/int16" }, "effect": { "anyOf": [ { "type": "string", "const": "compilatron-hologram" } ] }, "effect_opacity": { "$ref": "#/definitions/float" }, "tooltip": { "$ref": "#/definitions/LocalisedString" }, "type": { "type": "string", "const": "switch_style" }, "left_button_position": { "$ref": "#/definitions/uint32" }, "middle_button_position": { "$ref": "#/definitions/uint32" }, "right_button_position": { "$ref": "#/definitions/uint32" }, "default_background": { "$ref": "#/definitions/Sprite" }, "hover_background": { "$ref": "#/definitions/Sprite" }, "disabled_background": { "$ref": "#/definitions/Sprite" }, "button": { "$ref": "#/definitions/ButtonStyleSpecification" }, "active_label": { "$ref": "#/definitions/LabelStyleSpecification" }, "inactive_label": { "$ref": "#/definitions/LabelStyleSpecification" } }, "required": [ "type" ] }, "TabStyleSpecification": { "description": "https://lua-api.factorio.com/stable/types/TabStyleSpecification.html", "type": "object", "properties": { "parent": { "$ref": "#/definitions/string" }, "horizontal_align": { "$ref": "#/definitions/HorizontalAlign" }, "vertical_align": { "$ref": "#/definitions/VerticalAlign" }, "ignored_by_search": { "$ref": "#/definitions/bool" }, "never_hide_by_search": { "$ref": "#/definitions/bool" }, "horizontally_stretchable": { "$ref": "#/definitions/StretchRule" }, "vertically_stretchable": { "$ref": "#/definitions/StretchRule" }, "horizontally_squashable": { "$ref": "#/definitions/StretchRule" }, "vertically_squashable": { "$ref": "#/definitions/StretchRule" }, "natural_size": { "anyOf": [ { "$ref": "#/definitions/uint32" }, { "type": "array", "items": [ { "$ref": "#/definitions/uint32" }, { "$ref": "#/definitions/uint32" } ], "minItems": 2, "maxItems": 2 } ] }, "size": { "anyOf": [ { "$ref": "#/definitions/uint32" }, { "type": "array", "items": [ { "$ref": "#/definitions/uint32" }, { "$ref": "#/definitions/uint32" } ], "minItems": 2, "maxItems": 2 } ] }, "width": { "$ref": "#/definitions/uint32" }, "minimal_width": { "$ref": "#/definitions/uint32" }, "maximal_width": { "$ref": "#/definitions/uint32" }, "natural_width": { "$ref": "#/definitions/uint32" }, "height": { "$ref": "#/definitions/uint32" }, "minimal_height": { "$ref": "#/definitions/uint32" }, "maximal_height": { "$ref": "#/definitions/uint32" }, "natural_height": { "$ref": "#/definitions/uint32" }, "padding": { "$ref": "#/definitions/int16" }, "top_padding": { "$ref": "#/definitions/int16" }, "right_padding": { "$ref": "#/definitions/int16" }, "bottom_padding": { "$ref": "#/definitions/int16" }, "left_padding": { "$ref": "#/definitions/int16" }, "margin": { "$ref": "#/definitions/int16" }, "top_margin": { "$ref": "#/definitions/int16" }, "right_margin": { "$ref": "#/definitions/int16" }, "bottom_margin": { "$ref": "#/definitions/int16" }, "left_margin": { "$ref": "#/definitions/int16" }, "effect": { "anyOf": [ { "type": "string", "const": "compilatron-hologram" } ] }, "effect_opacity": { "$ref": "#/definitions/float" }, "tooltip": { "$ref": "#/definitions/LocalisedString" }, "default_graphical_set": { "$ref": "#/definitions/ElementImageSet" }, "hovered_graphical_set": { "$ref": "#/definitions/ElementImageSet" }, "clicked_graphical_set": { "$ref": "#/definitions/ElementImageSet" }, "disabled_graphical_set": { "$ref": "#/definitions/ElementImageSet" }, "selected_graphical_set": { "$ref": "#/definitions/ElementImageSet" }, "selected_hovered_graphical_set": { "$ref": "#/definitions/ElementImageSet" }, "game_controller_selected_hovered_graphical_set": { "$ref": "#/definitions/ElementImageSet" }, "selected_clicked_graphical_set": { "$ref": "#/definitions/ElementImageSet" }, "left_click_sound": { "$ref": "#/definitions/Sound" }, "type": { "type": "string", "const": "tab_style" }, "font": { "$ref": "#/definitions/string" }, "badge_font": { "$ref": "#/definitions/string" }, "badge_horizontal_spacing": { "$ref": "#/definitions/int16" }, "default_font_color": { "$ref": "#/definitions/Color" }, "selected_font_color": { "$ref": "#/definitions/Color" }, "disabled_font_color": { "$ref": "#/definitions/Color" }, "default_badge_font_color": { "$ref": "#/definitions/Color" }, "selected_badge_font_color": { "$ref": "#/definitions/Color" }, "disabled_badge_font_color": { "$ref": "#/definitions/Color" }, "override_graphics_on_edges": { "$ref": "#/definitions/bool" }, "increase_height_when_selected": { "$ref": "#/definitions/bool" }, "left_edge_selected_graphical_set": { "$ref": "#/definitions/ElementImageSet" }, "right_edge_selected_graphical_set": { "$ref": "#/definitions/ElementImageSet" }, "default_badge_graphical_set": { "$ref": "#/definitions/ElementImageSet" }, "selected_badge_graphical_set": { "$ref": "#/definitions/ElementImageSet" }, "hover_badge_graphical_set": { "$ref": "#/definitions/ElementImageSet" }, "press_badge_graphical_set": { "$ref": "#/definitions/ElementImageSet" }, "disabled_badge_graphical_set": { "$ref": "#/definitions/ElementImageSet" }, "draw_grayscale_picture": { "$ref": "#/definitions/bool" } }, "required": [ "type" ] }, "TabbedPaneStyleSpecification": { "description": "https://lua-api.factorio.com/stable/types/TabbedPaneStyleSpecification.html", "type": "object", "properties": { "parent": { "$ref": "#/definitions/string" }, "horizontal_align": { "$ref": "#/definitions/HorizontalAlign" }, "vertical_align": { "$ref": "#/definitions/VerticalAlign" }, "ignored_by_search": { "$ref": "#/definitions/bool" }, "never_hide_by_search": { "$ref": "#/definitions/bool" }, "horizontally_stretchable": { "$ref": "#/definitions/StretchRule" }, "vertically_stretchable": { "$ref": "#/definitions/StretchRule" }, "horizontally_squashable": { "$ref": "#/definitions/StretchRule" }, "vertically_squashable": { "$ref": "#/definitions/StretchRule" }, "natural_size": { "anyOf": [ { "$ref": "#/definitions/uint32" }, { "type": "array", "items": [ { "$ref": "#/definitions/uint32" }, { "$ref": "#/definitions/uint32" } ], "minItems": 2, "maxItems": 2 } ] }, "size": { "anyOf": [ { "$ref": "#/definitions/uint32" }, { "type": "array", "items": [ { "$ref": "#/definitions/uint32" }, { "$ref": "#/definitions/uint32" } ], "minItems": 2, "maxItems": 2 } ] }, "width": { "$ref": "#/definitions/uint32" }, "minimal_width": { "$ref": "#/definitions/uint32" }, "maximal_width": { "$ref": "#/definitions/uint32" }, "natural_width": { "$ref": "#/definitions/uint32" }, "height": { "$ref": "#/definitions/uint32" }, "minimal_height": { "$ref": "#/definitions/uint32" }, "maximal_height": { "$ref": "#/definitions/uint32" }, "natural_height": { "$ref": "#/definitions/uint32" }, "padding": { "$ref": "#/definitions/int16" }, "top_padding": { "$ref": "#/definitions/int16" }, "right_padding": { "$ref": "#/definitions/int16" }, "bottom_padding": { "$ref": "#/definitions/int16" }, "left_padding": { "$ref": "#/definitions/int16" }, "margin": { "$ref": "#/definitions/int16" }, "top_margin": { "$ref": "#/definitions/int16" }, "right_margin": { "$ref": "#/definitions/int16" }, "bottom_margin": { "$ref": "#/definitions/int16" }, "left_margin": { "$ref": "#/definitions/int16" }, "effect": { "anyOf": [ { "type": "string", "const": "compilatron-hologram" } ] }, "effect_opacity": { "$ref": "#/definitions/float" }, "tooltip": { "$ref": "#/definitions/LocalisedString" }, "type": { "type": "string", "const": "tabbed_pane_style" }, "vertical_spacing": { "$ref": "#/definitions/uint32" }, "tab_content_frame": { "$ref": "#/definitions/FrameStyleSpecification" }, "tab_container": { "$ref": "#/definitions/TableStyleSpecification" } }, "required": [ "type" ] }, "TableStyleSpecification": { "description": "https://lua-api.factorio.com/stable/types/TableStyleSpecification.html", "type": "object", "properties": { "parent": { "$ref": "#/definitions/string" }, "horizontal_align": { "$ref": "#/definitions/HorizontalAlign" }, "vertical_align": { "$ref": "#/definitions/VerticalAlign" }, "ignored_by_search": { "$ref": "#/definitions/bool" }, "never_hide_by_search": { "$ref": "#/definitions/bool" }, "horizontally_stretchable": { "$ref": "#/definitions/StretchRule" }, "vertically_stretchable": { "$ref": "#/definitions/StretchRule" }, "horizontally_squashable": { "$ref": "#/definitions/StretchRule" }, "vertically_squashable": { "$ref": "#/definitions/StretchRule" }, "natural_size": { "anyOf": [ { "$ref": "#/definitions/uint32" }, { "type": "array", "items": [ { "$ref": "#/definitions/uint32" }, { "$ref": "#/definitions/uint32" } ], "minItems": 2, "maxItems": 2 } ] }, "size": { "anyOf": [ { "$ref": "#/definitions/uint32" }, { "type": "array", "items": [ { "$ref": "#/definitions/uint32" }, { "$ref": "#/definitions/uint32" } ], "minItems": 2, "maxItems": 2 } ] }, "width": { "$ref": "#/definitions/uint32" }, "minimal_width": { "$ref": "#/definitions/uint32" }, "maximal_width": { "$ref": "#/definitions/uint32" }, "natural_width": { "$ref": "#/definitions/uint32" }, "height": { "$ref": "#/definitions/uint32" }, "minimal_height": { "$ref": "#/definitions/uint32" }, "maximal_height": { "$ref": "#/definitions/uint32" }, "natural_height": { "$ref": "#/definitions/uint32" }, "padding": { "$ref": "#/definitions/int16" }, "top_padding": { "$ref": "#/definitions/int16" }, "right_padding": { "$ref": "#/definitions/int16" }, "bottom_padding": { "$ref": "#/definitions/int16" }, "left_padding": { "$ref": "#/definitions/int16" }, "margin": { "$ref": "#/definitions/int16" }, "top_margin": { "$ref": "#/definitions/int16" }, "right_margin": { "$ref": "#/definitions/int16" }, "bottom_margin": { "$ref": "#/definitions/int16" }, "left_margin": { "$ref": "#/definitions/int16" }, "effect": { "anyOf": [ { "type": "string", "const": "compilatron-hologram" } ] }, "effect_opacity": { "$ref": "#/definitions/float" }, "tooltip": { "$ref": "#/definitions/LocalisedString" }, "type": { "type": "string", "const": "table_style" }, "horizontal_spacing": { "anyOf": [ { "$ref": "#/definitions/int32" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SpacingItem" } }, { "type": "object", "additionalProperties": false } ] } ] }, "vertical_spacing": { "anyOf": [ { "$ref": "#/definitions/int32" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SpacingItem" } }, { "type": "object", "additionalProperties": false } ] } ] }, "cell_padding": { "$ref": "#/definitions/int16" }, "top_cell_padding": { "$ref": "#/definitions/int16" }, "right_cell_padding": { "$ref": "#/definitions/int16" }, "bottom_cell_padding": { "$ref": "#/definitions/int16" }, "left_cell_padding": { "$ref": "#/definitions/int16" }, "apply_row_graphical_set_per_column": { "$ref": "#/definitions/bool" }, "wide_as_column_count": { "$ref": "#/definitions/bool" }, "column_graphical_set": { "$ref": "#/definitions/ElementImageSet" }, "default_row_graphical_set": { "$ref": "#/definitions/ElementImageSet" }, "even_row_graphical_set": { "$ref": "#/definitions/ElementImageSet" }, "odd_row_graphical_set": { "$ref": "#/definitions/ElementImageSet" }, "hovered_graphical_set": { "$ref": "#/definitions/ElementImageSet" }, "clicked_graphical_set": { "$ref": "#/definitions/ElementImageSet" }, "selected_graphical_set": { "$ref": "#/definitions/ElementImageSet" }, "selected_hovered_graphical_set": { "$ref": "#/definitions/ElementImageSet" }, "selected_clicked_graphical_set": { "$ref": "#/definitions/ElementImageSet" }, "background_graphical_set": { "$ref": "#/definitions/ElementImageSet" }, "column_alignments": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ColumnAlignment" } }, { "type": "object", "additionalProperties": false } ] }, "column_widths": { "anyOf": [ { "$ref": "#/definitions/ColumnWidthItem" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ColumnWidth" } }, { "type": "object", "additionalProperties": false } ] } ] }, "hovered_row_color": { "$ref": "#/definitions/Color" }, "selected_row_color": { "$ref": "#/definitions/Color" }, "vertical_line_color": { "$ref": "#/definitions/Color" }, "horizontal_line_color": { "$ref": "#/definitions/Color" }, "column_ordering_ascending_button_style": { "$ref": "#/definitions/ButtonStyleSpecification" }, "column_ordering_descending_button_style": { "$ref": "#/definitions/ButtonStyleSpecification" }, "inactive_column_ordering_ascending_button_style": { "$ref": "#/definitions/ButtonStyleSpecification" }, "inactive_column_ordering_descending_button_style": { "$ref": "#/definitions/ButtonStyleSpecification" }, "border": { "$ref": "#/definitions/BorderImageSet" } }, "required": [ "type" ] }, "TechnologyID": { "description": "https://lua-api.factorio.com/stable/types/TechnologyID.html", "anyOf": [ { "$ref": "#/definitions/string" } ] }, "TechnologySlotStyleSpecification": { "description": "https://lua-api.factorio.com/stable/types/TechnologySlotStyleSpecification.html", "type": "object", "properties": { "parent": { "$ref": "#/definitions/string" }, "horizontal_align": { "$ref": "#/definitions/HorizontalAlign" }, "vertical_align": { "$ref": "#/definitions/VerticalAlign" }, "ignored_by_search": { "$ref": "#/definitions/bool" }, "never_hide_by_search": { "$ref": "#/definitions/bool" }, "horizontally_stretchable": { "$ref": "#/definitions/StretchRule" }, "vertically_stretchable": { "$ref": "#/definitions/StretchRule" }, "horizontally_squashable": { "$ref": "#/definitions/StretchRule" }, "vertically_squashable": { "$ref": "#/definitions/StretchRule" }, "natural_size": { "anyOf": [ { "$ref": "#/definitions/uint32" }, { "type": "array", "items": [ { "$ref": "#/definitions/uint32" }, { "$ref": "#/definitions/uint32" } ], "minItems": 2, "maxItems": 2 } ] }, "size": { "anyOf": [ { "$ref": "#/definitions/uint32" }, { "type": "array", "items": [ { "$ref": "#/definitions/uint32" }, { "$ref": "#/definitions/uint32" } ], "minItems": 2, "maxItems": 2 } ] }, "width": { "$ref": "#/definitions/uint32" }, "minimal_width": { "$ref": "#/definitions/uint32" }, "maximal_width": { "$ref": "#/definitions/uint32" }, "natural_width": { "$ref": "#/definitions/uint32" }, "height": { "$ref": "#/definitions/uint32" }, "minimal_height": { "$ref": "#/definitions/uint32" }, "maximal_height": { "$ref": "#/definitions/uint32" }, "natural_height": { "$ref": "#/definitions/uint32" }, "padding": { "$ref": "#/definitions/int16" }, "top_padding": { "$ref": "#/definitions/int16" }, "right_padding": { "$ref": "#/definitions/int16" }, "bottom_padding": { "$ref": "#/definitions/int16" }, "left_padding": { "$ref": "#/definitions/int16" }, "margin": { "$ref": "#/definitions/int16" }, "top_margin": { "$ref": "#/definitions/int16" }, "right_margin": { "$ref": "#/definitions/int16" }, "bottom_margin": { "$ref": "#/definitions/int16" }, "left_margin": { "$ref": "#/definitions/int16" }, "effect": { "anyOf": [ { "type": "string", "const": "compilatron-hologram" } ] }, "effect_opacity": { "$ref": "#/definitions/float" }, "tooltip": { "$ref": "#/definitions/LocalisedString" }, "default_graphical_set": { "$ref": "#/definitions/ElementImageSet" }, "hovered_graphical_set": { "$ref": "#/definitions/ElementImageSet" }, "clicked_graphical_set": { "$ref": "#/definitions/ElementImageSet" }, "disabled_graphical_set": { "$ref": "#/definitions/ElementImageSet" }, "selected_graphical_set": { "$ref": "#/definitions/ElementImageSet" }, "selected_hovered_graphical_set": { "$ref": "#/definitions/ElementImageSet" }, "game_controller_selected_hovered_graphical_set": { "$ref": "#/definitions/ElementImageSet" }, "selected_clicked_graphical_set": { "$ref": "#/definitions/ElementImageSet" }, "left_click_sound": { "$ref": "#/definitions/Sound" }, "type": { "type": "string", "const": "technology_slot_style" }, "font": { "$ref": "#/definitions/string" }, "default_font_color": { "$ref": "#/definitions/Color" }, "hovered_font_color": { "$ref": "#/definitions/Color" }, "clicked_font_color": { "$ref": "#/definitions/Color" }, "disabled_font_color": { "$ref": "#/definitions/Color" }, "selected_font_color": { "$ref": "#/definitions/Color" }, "selected_hovered_font_color": { "$ref": "#/definitions/Color" }, "selected_clicked_font_color": { "$ref": "#/definitions/Color" }, "strikethrough_color": { "$ref": "#/definitions/Color" }, "pie_progress_color": { "$ref": "#/definitions/Color" }, "clicked_vertical_offset": { "$ref": "#/definitions/uint32" }, "draw_shadow_under_picture": { "$ref": "#/definitions/bool" }, "draw_grayscale_picture": { "$ref": "#/definitions/bool" }, "invert_colors_of_picture_when_hovered_or_toggled": { "$ref": "#/definitions/bool" }, "invert_colors_of_picture_when_disabled": { "$ref": "#/definitions/bool" }, "icon_horizontal_align": { "$ref": "#/definitions/HorizontalAlign" }, "highlighted_graphical_set": { "$ref": "#/definitions/ElementImageSet" }, "default_background_shadow": { "$ref": "#/definitions/ElementImageSet" }, "level_band": { "$ref": "#/definitions/ElementImageSet" }, "hovered_level_band": { "$ref": "#/definitions/ElementImageSet" }, "level_offset_x": { "$ref": "#/definitions/int32" }, "level_offset_y": { "$ref": "#/definitions/int32" }, "level_band_width": { "$ref": "#/definitions/uint32" }, "level_band_height": { "$ref": "#/definitions/uint32" }, "level_font": { "$ref": "#/definitions/string" }, "level_range_font": { "$ref": "#/definitions/string" }, "level_font_color": { "$ref": "#/definitions/Color" }, "hovered_level_font_color": { "$ref": "#/definitions/Color" }, "level_range_font_color": { "$ref": "#/definitions/Color" }, "hovered_level_range_font_color": { "$ref": "#/definitions/Color" }, "level_range_band": { "$ref": "#/definitions/ElementImageSet" }, "hovered_level_range_band": { "$ref": "#/definitions/ElementImageSet" }, "level_range_offset_x": { "$ref": "#/definitions/int32" }, "level_range_offset_y": { "$ref": "#/definitions/int32" }, "ingredients_height": { "$ref": "#/definitions/uint32" }, "default_ingredients_background": { "$ref": "#/definitions/ElementImageSet" }, "hovered_ingredients_background": { "$ref": "#/definitions/ElementImageSet" }, "clicked_ingredients_background": { "$ref": "#/definitions/ElementImageSet" }, "disabled_ingredients_background": { "$ref": "#/definitions/ElementImageSet" }, "highlighted_ingredients_background": { "$ref": "#/definitions/ElementImageSet" }, "ingredients_padding": { "$ref": "#/definitions/uint32" }, "ingredient_icon_size": { "$ref": "#/definitions/uint32" }, "ingredient_icon_overlap": { "$ref": "#/definitions/uint32" }, "clicked_overlay": { "$ref": "#/definitions/ElementImageSet" }, "progress_bar_background": { "$ref": "#/definitions/ElementImageSet" }, "progress_bar": { "$ref": "#/definitions/ElementImageSet" }, "progress_bar_shadow": { "$ref": "#/definitions/ElementImageSet" }, "progress_bar_height": { "$ref": "#/definitions/uint32" }, "progress_bar_color": { "$ref": "#/definitions/Color" }, "drag_handle_style": { "$ref": "#/definitions/EmptyWidgetStyleSpecification" } }, "required": [ "type" ] }, "TechnologyTrigger": { "description": "https://lua-api.factorio.com/stable/types/TechnologyTrigger.html", "anyOf": [ { "$ref": "#/definitions/MineEntityTechnologyTrigger" }, { "$ref": "#/definitions/CraftItemTechnologyTrigger" }, { "$ref": "#/definitions/CraftFluidTechnologyTrigger" }, { "$ref": "#/definitions/SendItemToOrbitTechnologyTrigger" }, { "$ref": "#/definitions/CaptureSpawnerTechnologyTrigger" }, { "$ref": "#/definitions/BuildEntityTechnologyTrigger" }, { "$ref": "#/definitions/CreateSpacePlatformTechnologyTrigger" } ] }, "TechnologyUnit": { "description": "https://lua-api.factorio.com/stable/types/TechnologyUnit.html", "type": "object", "properties": { "count": { "$ref": "#/definitions/uint64" }, "count_formula": { "$ref": "#/definitions/MathExpression" }, "time": { "$ref": "#/definitions/double" }, "ingredients": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ResearchIngredient" } }, { "type": "object", "additionalProperties": false } ] } }, "required": [ "time", "ingredients" ] }, "TerritorySettings": { "description": "https://lua-api.factorio.com/stable/types/TerritorySettings.html", "type": "object", "properties": { "units": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] }, "territory_index_expression": { "$ref": "#/definitions/string" }, "territory_variation_expression": { "$ref": "#/definitions/string" }, "minimum_territory_size": { "$ref": "#/definitions/uint32" } } }, "TextBoxStyleSpecification": { "description": "https://lua-api.factorio.com/stable/types/TextBoxStyleSpecification.html", "type": "object", "properties": { "parent": { "$ref": "#/definitions/string" }, "horizontal_align": { "$ref": "#/definitions/HorizontalAlign" }, "vertical_align": { "$ref": "#/definitions/VerticalAlign" }, "ignored_by_search": { "$ref": "#/definitions/bool" }, "never_hide_by_search": { "$ref": "#/definitions/bool" }, "horizontally_stretchable": { "$ref": "#/definitions/StretchRule" }, "vertically_stretchable": { "$ref": "#/definitions/StretchRule" }, "horizontally_squashable": { "$ref": "#/definitions/StretchRule" }, "vertically_squashable": { "$ref": "#/definitions/StretchRule" }, "natural_size": { "anyOf": [ { "$ref": "#/definitions/uint32" }, { "type": "array", "items": [ { "$ref": "#/definitions/uint32" }, { "$ref": "#/definitions/uint32" } ], "minItems": 2, "maxItems": 2 } ] }, "size": { "anyOf": [ { "$ref": "#/definitions/uint32" }, { "type": "array", "items": [ { "$ref": "#/definitions/uint32" }, { "$ref": "#/definitions/uint32" } ], "minItems": 2, "maxItems": 2 } ] }, "width": { "$ref": "#/definitions/uint32" }, "minimal_width": { "$ref": "#/definitions/uint32" }, "maximal_width": { "$ref": "#/definitions/uint32" }, "natural_width": { "$ref": "#/definitions/uint32" }, "height": { "$ref": "#/definitions/uint32" }, "minimal_height": { "$ref": "#/definitions/uint32" }, "maximal_height": { "$ref": "#/definitions/uint32" }, "natural_height": { "$ref": "#/definitions/uint32" }, "padding": { "$ref": "#/definitions/int16" }, "top_padding": { "$ref": "#/definitions/int16" }, "right_padding": { "$ref": "#/definitions/int16" }, "bottom_padding": { "$ref": "#/definitions/int16" }, "left_padding": { "$ref": "#/definitions/int16" }, "margin": { "$ref": "#/definitions/int16" }, "top_margin": { "$ref": "#/definitions/int16" }, "right_margin": { "$ref": "#/definitions/int16" }, "bottom_margin": { "$ref": "#/definitions/int16" }, "left_margin": { "$ref": "#/definitions/int16" }, "effect": { "anyOf": [ { "type": "string", "const": "compilatron-hologram" } ] }, "effect_opacity": { "$ref": "#/definitions/float" }, "tooltip": { "$ref": "#/definitions/LocalisedString" }, "type": { "type": "string", "const": "textbox_style" }, "font": { "$ref": "#/definitions/string" }, "font_color": { "$ref": "#/definitions/Color" }, "disabled_font_color": { "$ref": "#/definitions/Color" }, "selection_background_color": { "$ref": "#/definitions/Color" }, "default_background": { "$ref": "#/definitions/ElementImageSet" }, "active_background": { "$ref": "#/definitions/ElementImageSet" }, "game_controller_hovered_background": { "$ref": "#/definitions/ElementImageSet" }, "disabled_background": { "$ref": "#/definitions/ElementImageSet" }, "rich_text_setting": { "$ref": "#/definitions/RichTextSetting" }, "rich_text_highlight_error_color": { "$ref": "#/definitions/Color" }, "rich_text_highlight_warning_color": { "$ref": "#/definitions/Color" }, "rich_text_highlight_ok_color": { "$ref": "#/definitions/Color" }, "selected_rich_text_highlight_error_color": { "$ref": "#/definitions/Color" }, "selected_rich_text_highlight_warning_color": { "$ref": "#/definitions/Color" }, "selected_rich_text_highlight_ok_color": { "$ref": "#/definitions/Color" } }, "required": [ "type" ] }, "ThrowCapsuleAction": { "description": "https://lua-api.factorio.com/stable/types/ThrowCapsuleAction.html", "type": "object", "properties": { "type": { "type": "string", "const": "throw" }, "attack_parameters": { "$ref": "#/definitions/AttackParameters" }, "uses_stack": { "$ref": "#/definitions/bool" } }, "required": [ "type", "attack_parameters" ] }, "ThrusterGraphicsSet": { "description": "https://lua-api.factorio.com/stable/types/ThrusterGraphicsSet.html", "type": "object", "properties": { "animation": { "$ref": "#/definitions/Animation4Way" }, "idle_animation": { "$ref": "#/definitions/Animation4Way" }, "always_draw_idle_animation": { "$ref": "#/definitions/bool" }, "default_recipe_tint": { "$ref": "#/definitions/GlobalRecipeTints" }, "recipe_not_set_tint": { "$ref": "#/definitions/GlobalRecipeTints" }, "states": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/VisualState" } }, { "type": "object", "additionalProperties": false } ] }, "working_visualisations": { "anyOf": [ { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/WorkingVisualisation" } }, { "type": "object", "additionalProperties": false } ] }, { "type": "object", "additionalProperties": { "$ref": "#/definitions/WorkingVisualisation" } } ] }, "shift_animation_waypoints": { "$ref": "#/definitions/ShiftAnimationWaypoints" }, "shift_animation_waypoint_stop_duration": { "$ref": "#/definitions/uint16" }, "shift_animation_transition_duration": { "$ref": "#/definitions/uint16" }, "status_colors": { "$ref": "#/definitions/StatusColors" }, "flame": { "$ref": "#/definitions/Sprite" }, "flame_effect": { "$ref": "#/definitions/EffectTexture" }, "flame_position": { "$ref": "#/definitions/Vector" }, "flame_effect_height": { "$ref": "#/definitions/float" }, "flame_effect_width": { "$ref": "#/definitions/float" }, "flame_half_height": { "$ref": "#/definitions/float" }, "flame_effect_offset": { "$ref": "#/definitions/float" } } }, "ThrusterPerformancePoint": { "description": "https://lua-api.factorio.com/stable/types/ThrusterPerformancePoint.html", "anyOf": [ { "type": "object", "properties": { "fluid_volume": { "$ref": "#/definitions/double" }, "fluid_usage": { "$ref": "#/definitions/FluidAmount" }, "effectivity": { "$ref": "#/definitions/double" } }, "required": [ "fluid_volume", "fluid_usage", "effectivity" ] }, { "type": "array", "items": [ { "anyOf": [ { "$ref": "#/definitions/double" } ] }, { "anyOf": [ { "$ref": "#/definitions/double" } ] }, { "anyOf": [ { "$ref": "#/definitions/double" } ] } ], "minItems": 3, "maxItems": 3 } ] }, "TileBasedParticleTints": { "description": "https://lua-api.factorio.com/stable/types/TileBasedParticleTints.html", "type": "object", "properties": { "primary": { "$ref": "#/definitions/Color" }, "secondary": { "$ref": "#/definitions/Color" } } }, "TileBuildabilityRule": { "description": "https://lua-api.factorio.com/stable/types/TileBuildabilityRule.html", "type": "object", "properties": { "area": { "$ref": "#/definitions/SimpleBoundingBox" }, "required_tiles": { "$ref": "#/definitions/CollisionMaskConnector" }, "colliding_tiles": { "$ref": "#/definitions/CollisionMaskConnector" }, "remove_on_collision": { "$ref": "#/definitions/bool" } }, "required": [ "area" ] }, "TileEffectDefinitionID": { "description": "https://lua-api.factorio.com/stable/types/TileEffectDefinitionID.html", "anyOf": [ { "$ref": "#/definitions/string" } ] }, "TileID": { "description": "https://lua-api.factorio.com/stable/types/TileID.html", "anyOf": [ { "$ref": "#/definitions/string" } ] }, "TileLightPictures": { "description": "https://lua-api.factorio.com/stable/types/TileLightPictures.html", "type": "object", "properties": { "picture": { "$ref": "#/definitions/FileName" }, "scale": { "$ref": "#/definitions/float" }, "x": { "$ref": "#/definitions/SpriteSizeType" }, "y": { "$ref": "#/definitions/SpriteSizeType" }, "line_length": { "$ref": "#/definitions/uint8" }, "count": { "$ref": "#/definitions/uint8" }, "size": { "$ref": "#/definitions/uint32" } }, "required": [ "picture", "size" ] }, "TileMainPictures": { "description": "https://lua-api.factorio.com/stable/types/TileMainPictures.html", "type": "object", "properties": { "picture": { "$ref": "#/definitions/FileName" }, "scale": { "$ref": "#/definitions/float" }, "x": { "$ref": "#/definitions/SpriteSizeType" }, "y": { "$ref": "#/definitions/SpriteSizeType" }, "line_length": { "$ref": "#/definitions/uint8" }, "count": { "$ref": "#/definitions/uint8" }, "size": { "$ref": "#/definitions/uint32" }, "probability": { "$ref": "#/definitions/double" }, "weights": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/double" } }, { "type": "object", "additionalProperties": false } ] } }, "required": [ "picture", "size" ] }, "TilePosition": { "description": "https://lua-api.factorio.com/stable/types/TilePosition.html", "anyOf": [ { "type": "object", "properties": { "x": { "$ref": "#/definitions/int32" }, "y": { "$ref": "#/definitions/int32" } }, "required": [ "x", "y" ] }, { "type": "array", "items": [ { "anyOf": [ { "$ref": "#/definitions/int32" } ] }, { "anyOf": [ { "$ref": "#/definitions/int32" } ] } ], "minItems": 2, "maxItems": 2 } ] }, "TileRenderLayer": { "description": "https://lua-api.factorio.com/stable/types/TileRenderLayer.html", "anyOf": [ { "type": "string", "const": "zero" }, { "type": "string", "const": "water" }, { "type": "string", "const": "water-overlay" }, { "type": "string", "const": "ground-natural" }, { "type": "string", "const": "ground-artificial" }, { "type": "string", "const": "top" } ] }, "TileSpriteLayoutVariant": { "description": "https://lua-api.factorio.com/stable/types/TileSpriteLayoutVariant.html", "type": "object", "properties": { "spritesheet": { "$ref": "#/definitions/FileName" }, "scale": { "$ref": "#/definitions/float" }, "x": { "$ref": "#/definitions/SpriteSizeType" }, "y": { "$ref": "#/definitions/SpriteSizeType" }, "tile_height": { "$ref": "#/definitions/uint8" }, "line_length": { "$ref": "#/definitions/uint8" }, "count": { "$ref": "#/definitions/uint8" } } }, "TileTransitionSpritesheetLayout": { "description": "https://lua-api.factorio.com/stable/types/TileTransitionSpritesheetLayout.html", "type": "object", "properties": { "spritesheet": { "$ref": "#/definitions/FileName" }, "scale": { "$ref": "#/definitions/float" }, "x": { "$ref": "#/definitions/SpriteSizeType" }, "y": { "$ref": "#/definitions/SpriteSizeType" }, "tile_height": { "$ref": "#/definitions/uint8" }, "line_length": { "$ref": "#/definitions/uint8" }, "count": { "$ref": "#/definitions/uint8" }, "overlay": { "$ref": "#/definitions/TileTransitionVariantLayout" }, "mask": { "$ref": "#/definitions/TileTransitionVariantLayout" }, "background": { "$ref": "#/definitions/TileTransitionVariantLayout" }, "background_mask": { "$ref": "#/definitions/TileTransitionVariantLayout" }, "effect_map": { "$ref": "#/definitions/TileTransitionVariantLayout" }, "lightmap": { "$ref": "#/definitions/TileTransitionVariantLayout" }, "auxiliary_effect_mask": { "$ref": "#/definitions/TileTransitionVariantLayout" }, "inner_corner_scale": { "$ref": "#/definitions/float" }, "inner_corner_x": { "$ref": "#/definitions/SpriteSizeType" }, "inner_corner_y": { "$ref": "#/definitions/SpriteSizeType" }, "inner_corner_tile_height": { "$ref": "#/definitions/uint8" }, "inner_corner_line_length": { "$ref": "#/definitions/uint8" }, "inner_corner_count": { "$ref": "#/definitions/uint8" }, "outer_corner_scale": { "$ref": "#/definitions/float" }, "outer_corner_x": { "$ref": "#/definitions/SpriteSizeType" }, "outer_corner_y": { "$ref": "#/definitions/SpriteSizeType" }, "outer_corner_tile_height": { "$ref": "#/definitions/uint8" }, "outer_corner_line_length": { "$ref": "#/definitions/uint8" }, "outer_corner_count": { "$ref": "#/definitions/uint8" }, "side_scale": { "$ref": "#/definitions/float" }, "side_x": { "$ref": "#/definitions/SpriteSizeType" }, "side_y": { "$ref": "#/definitions/SpriteSizeType" }, "side_tile_height": { "$ref": "#/definitions/uint8" }, "side_line_length": { "$ref": "#/definitions/uint8" }, "side_count": { "$ref": "#/definitions/uint8" }, "double_side_scale": { "$ref": "#/definitions/float" }, "double_side_x": { "$ref": "#/definitions/SpriteSizeType" }, "double_side_y": { "$ref": "#/definitions/SpriteSizeType" }, "double_side_tile_height": { "$ref": "#/definitions/uint8" }, "double_side_line_length": { "$ref": "#/definitions/uint8" }, "double_side_count": { "$ref": "#/definitions/uint8" }, "u_transition_scale": { "$ref": "#/definitions/float" }, "u_transition_x": { "$ref": "#/definitions/SpriteSizeType" }, "u_transition_y": { "$ref": "#/definitions/SpriteSizeType" }, "u_transition_tile_height": { "$ref": "#/definitions/uint8" }, "u_transition_line_length": { "$ref": "#/definitions/uint8" }, "u_transition_count": { "$ref": "#/definitions/uint8" }, "o_transition_scale": { "$ref": "#/definitions/float" }, "o_transition_x": { "$ref": "#/definitions/SpriteSizeType" }, "o_transition_y": { "$ref": "#/definitions/SpriteSizeType" }, "o_transition_tile_height": { "$ref": "#/definitions/uint8" }, "o_transition_line_length": { "$ref": "#/definitions/uint8" }, "o_transition_count": { "$ref": "#/definitions/uint8" } } }, "TileTransitionVariantLayout": { "description": "https://lua-api.factorio.com/stable/types/TileTransitionVariantLayout.html", "type": "object", "properties": { "spritesheet": { "$ref": "#/definitions/FileName" }, "scale": { "$ref": "#/definitions/float" }, "x": { "$ref": "#/definitions/SpriteSizeType" }, "y": { "$ref": "#/definitions/SpriteSizeType" }, "tile_height": { "$ref": "#/definitions/uint8" }, "line_length": { "$ref": "#/definitions/uint8" }, "count": { "$ref": "#/definitions/uint8" }, "x_offset": { "$ref": "#/definitions/SpriteSizeType" }, "y_offset": { "$ref": "#/definitions/SpriteSizeType" }, "inner_corner": { "$ref": "#/definitions/TileSpriteLayoutVariant" }, "outer_corner": { "$ref": "#/definitions/TileSpriteLayoutVariant" }, "side": { "$ref": "#/definitions/TileSpriteLayoutVariant" }, "double_side": { "$ref": "#/definitions/TileSpriteLayoutVariant" }, "u_transition": { "$ref": "#/definitions/TileSpriteLayoutVariant" }, "o_transition": { "$ref": "#/definitions/TileSpriteLayoutVariant" }, "inner_corner_scale": { "$ref": "#/definitions/float" }, "inner_corner_x": { "$ref": "#/definitions/SpriteSizeType" }, "inner_corner_y": { "$ref": "#/definitions/SpriteSizeType" }, "inner_corner_tile_height": { "$ref": "#/definitions/uint8" }, "inner_corner_line_length": { "$ref": "#/definitions/uint8" }, "inner_corner_count": { "$ref": "#/definitions/uint8" }, "outer_corner_scale": { "$ref": "#/definitions/float" }, "outer_corner_x": { "$ref": "#/definitions/SpriteSizeType" }, "outer_corner_y": { "$ref": "#/definitions/SpriteSizeType" }, "outer_corner_tile_height": { "$ref": "#/definitions/uint8" }, "outer_corner_line_length": { "$ref": "#/definitions/uint8" }, "outer_corner_count": { "$ref": "#/definitions/uint8" }, "side_scale": { "$ref": "#/definitions/float" }, "side_x": { "$ref": "#/definitions/SpriteSizeType" }, "side_y": { "$ref": "#/definitions/SpriteSizeType" }, "side_tile_height": { "$ref": "#/definitions/uint8" }, "side_line_length": { "$ref": "#/definitions/uint8" }, "side_count": { "$ref": "#/definitions/uint8" }, "double_side_scale": { "$ref": "#/definitions/float" }, "double_side_x": { "$ref": "#/definitions/SpriteSizeType" }, "double_side_y": { "$ref": "#/definitions/SpriteSizeType" }, "double_side_tile_height": { "$ref": "#/definitions/uint8" }, "double_side_line_length": { "$ref": "#/definitions/uint8" }, "double_side_count": { "$ref": "#/definitions/uint8" }, "u_transition_scale": { "$ref": "#/definitions/float" }, "u_transition_x": { "$ref": "#/definitions/SpriteSizeType" }, "u_transition_y": { "$ref": "#/definitions/SpriteSizeType" }, "u_transition_tile_height": { "$ref": "#/definitions/uint8" }, "u_transition_line_length": { "$ref": "#/definitions/uint8" }, "u_transition_count": { "$ref": "#/definitions/uint8" }, "o_transition_scale": { "$ref": "#/definitions/float" }, "o_transition_x": { "$ref": "#/definitions/SpriteSizeType" }, "o_transition_y": { "$ref": "#/definitions/SpriteSizeType" }, "o_transition_tile_height": { "$ref": "#/definitions/uint8" }, "o_transition_line_length": { "$ref": "#/definitions/uint8" }, "o_transition_count": { "$ref": "#/definitions/uint8" } } }, "TileTransitions": { "description": "https://lua-api.factorio.com/stable/types/TileTransitions.html", "type": "object", "properties": { "layout": { "$ref": "#/definitions/TileTransitionSpritesheetLayout" }, "spritesheet": { "$ref": "#/definitions/FileName" }, "overlay_enabled": { "$ref": "#/definitions/bool" }, "mask_enabled": { "$ref": "#/definitions/bool" }, "background_enabled": { "$ref": "#/definitions/bool" }, "background_mask_enabled": { "$ref": "#/definitions/bool" }, "effect_map_enabled": { "$ref": "#/definitions/bool" }, "lightmap_enabled": { "$ref": "#/definitions/bool" }, "auxiliary_effect_mask_enabled": { "$ref": "#/definitions/bool" }, "overlay_layout": { "$ref": "#/definitions/TileTransitionVariantLayout" }, "mask_layout": { "$ref": "#/definitions/TileTransitionVariantLayout" }, "background_layout": { "$ref": "#/definitions/TileTransitionVariantLayout" }, "background_mask_layout": { "$ref": "#/definitions/TileTransitionVariantLayout" }, "effect_map_layout": { "$ref": "#/definitions/TileTransitionVariantLayout" }, "lightmap_layout": { "$ref": "#/definitions/TileTransitionVariantLayout" }, "auxiliary_effect_mask_layout": { "$ref": "#/definitions/TileTransitionVariantLayout" }, "mask_spritesheet": { "$ref": "#/definitions/FileName" }, "background_spritesheet": { "$ref": "#/definitions/FileName" }, "background_mask_spritesheet": { "$ref": "#/definitions/FileName" }, "effect_map_spritesheet": { "$ref": "#/definitions/FileName" }, "lightmap_spritesheet": { "$ref": "#/definitions/FileName" }, "auxiliary_effect_mask_spritesheet": { "$ref": "#/definitions/FileName" }, "water_patch": { "$ref": "#/definitions/Sprite" }, "overlay_layer_group": { "$ref": "#/definitions/TileRenderLayer" }, "background_layer_group": { "$ref": "#/definitions/TileRenderLayer" }, "waving_effect_time_scale": { "$ref": "#/definitions/float" }, "overlay_layer_offset": { "$ref": "#/definitions/int8" }, "masked_overlay_layer_offset": { "$ref": "#/definitions/int8" }, "background_layer_offset": { "$ref": "#/definitions/int8" }, "masked_background_layer_offset": { "$ref": "#/definitions/int8" }, "draw_background_layer_under_tiles": { "$ref": "#/definitions/bool" }, "apply_effect_color_to_overlay": { "$ref": "#/definitions/bool" }, "apply_waving_effect_on_masks": { "$ref": "#/definitions/bool" }, "apply_waving_effect_on_background_mask": { "$ref": "#/definitions/bool" }, "draw_simple_outer_corner_over_diagonal": { "$ref": "#/definitions/bool" }, "offset_background_layer_by_tile_layer": { "$ref": "#/definitions/bool" }, "inner_corner_weights": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/float" } }, { "type": "object", "additionalProperties": false } ] }, "outer_corner_weights": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/float" } }, { "type": "object", "additionalProperties": false } ] }, "side_weights": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/float" } }, { "type": "object", "additionalProperties": false } ] }, "side_variations_in_group": { "$ref": "#/definitions/uint8" }, "double_side_weights": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/float" } }, { "type": "object", "additionalProperties": false } ] }, "double_side_variations_in_group": { "$ref": "#/definitions/uint8" }, "u_transition_weights": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/float" } }, { "type": "object", "additionalProperties": false } ] } } }, "TileTransitionsBetweenTransitions": { "description": "https://lua-api.factorio.com/stable/types/TileTransitionsBetweenTransitions.html", "type": "object", "properties": { "layout": { "$ref": "#/definitions/TileTransitionSpritesheetLayout" }, "spritesheet": { "$ref": "#/definitions/FileName" }, "overlay_enabled": { "$ref": "#/definitions/bool" }, "mask_enabled": { "$ref": "#/definitions/bool" }, "background_enabled": { "$ref": "#/definitions/bool" }, "background_mask_enabled": { "$ref": "#/definitions/bool" }, "effect_map_enabled": { "$ref": "#/definitions/bool" }, "lightmap_enabled": { "$ref": "#/definitions/bool" }, "auxiliary_effect_mask_enabled": { "$ref": "#/definitions/bool" }, "overlay_layout": { "$ref": "#/definitions/TileTransitionVariantLayout" }, "mask_layout": { "$ref": "#/definitions/TileTransitionVariantLayout" }, "background_layout": { "$ref": "#/definitions/TileTransitionVariantLayout" }, "background_mask_layout": { "$ref": "#/definitions/TileTransitionVariantLayout" }, "effect_map_layout": { "$ref": "#/definitions/TileTransitionVariantLayout" }, "lightmap_layout": { "$ref": "#/definitions/TileTransitionVariantLayout" }, "auxiliary_effect_mask_layout": { "$ref": "#/definitions/TileTransitionVariantLayout" }, "mask_spritesheet": { "$ref": "#/definitions/FileName" }, "background_spritesheet": { "$ref": "#/definitions/FileName" }, "background_mask_spritesheet": { "$ref": "#/definitions/FileName" }, "effect_map_spritesheet": { "$ref": "#/definitions/FileName" }, "lightmap_spritesheet": { "$ref": "#/definitions/FileName" }, "auxiliary_effect_mask_spritesheet": { "$ref": "#/definitions/FileName" }, "water_patch": { "$ref": "#/definitions/Sprite" }, "overlay_layer_group": { "$ref": "#/definitions/TileRenderLayer" }, "background_layer_group": { "$ref": "#/definitions/TileRenderLayer" }, "waving_effect_time_scale": { "$ref": "#/definitions/float" }, "overlay_layer_offset": { "$ref": "#/definitions/int8" }, "masked_overlay_layer_offset": { "$ref": "#/definitions/int8" }, "background_layer_offset": { "$ref": "#/definitions/int8" }, "masked_background_layer_offset": { "$ref": "#/definitions/int8" }, "draw_background_layer_under_tiles": { "$ref": "#/definitions/bool" }, "apply_effect_color_to_overlay": { "$ref": "#/definitions/bool" }, "apply_waving_effect_on_masks": { "$ref": "#/definitions/bool" }, "apply_waving_effect_on_background_mask": { "$ref": "#/definitions/bool" }, "draw_simple_outer_corner_over_diagonal": { "$ref": "#/definitions/bool" }, "offset_background_layer_by_tile_layer": { "$ref": "#/definitions/bool" }, "inner_corner_weights": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/float" } }, { "type": "object", "additionalProperties": false } ] }, "outer_corner_weights": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/float" } }, { "type": "object", "additionalProperties": false } ] }, "side_weights": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/float" } }, { "type": "object", "additionalProperties": false } ] }, "side_variations_in_group": { "$ref": "#/definitions/uint8" }, "double_side_weights": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/float" } }, { "type": "object", "additionalProperties": false } ] }, "double_side_variations_in_group": { "$ref": "#/definitions/uint8" }, "u_transition_weights": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/float" } }, { "type": "object", "additionalProperties": false } ] }, "transition_group1": { "$ref": "#/definitions/uint8" }, "transition_group2": { "$ref": "#/definitions/uint8" } }, "required": [ "transition_group1", "transition_group2" ] }, "TileTransitionsToTiles": { "description": "https://lua-api.factorio.com/stable/types/TileTransitionsToTiles.html", "type": "object", "properties": { "layout": { "$ref": "#/definitions/TileTransitionSpritesheetLayout" }, "spritesheet": { "$ref": "#/definitions/FileName" }, "overlay_enabled": { "$ref": "#/definitions/bool" }, "mask_enabled": { "$ref": "#/definitions/bool" }, "background_enabled": { "$ref": "#/definitions/bool" }, "background_mask_enabled": { "$ref": "#/definitions/bool" }, "effect_map_enabled": { "$ref": "#/definitions/bool" }, "lightmap_enabled": { "$ref": "#/definitions/bool" }, "auxiliary_effect_mask_enabled": { "$ref": "#/definitions/bool" }, "overlay_layout": { "$ref": "#/definitions/TileTransitionVariantLayout" }, "mask_layout": { "$ref": "#/definitions/TileTransitionVariantLayout" }, "background_layout": { "$ref": "#/definitions/TileTransitionVariantLayout" }, "background_mask_layout": { "$ref": "#/definitions/TileTransitionVariantLayout" }, "effect_map_layout": { "$ref": "#/definitions/TileTransitionVariantLayout" }, "lightmap_layout": { "$ref": "#/definitions/TileTransitionVariantLayout" }, "auxiliary_effect_mask_layout": { "$ref": "#/definitions/TileTransitionVariantLayout" }, "mask_spritesheet": { "$ref": "#/definitions/FileName" }, "background_spritesheet": { "$ref": "#/definitions/FileName" }, "background_mask_spritesheet": { "$ref": "#/definitions/FileName" }, "effect_map_spritesheet": { "$ref": "#/definitions/FileName" }, "lightmap_spritesheet": { "$ref": "#/definitions/FileName" }, "auxiliary_effect_mask_spritesheet": { "$ref": "#/definitions/FileName" }, "water_patch": { "$ref": "#/definitions/Sprite" }, "overlay_layer_group": { "$ref": "#/definitions/TileRenderLayer" }, "background_layer_group": { "$ref": "#/definitions/TileRenderLayer" }, "waving_effect_time_scale": { "$ref": "#/definitions/float" }, "overlay_layer_offset": { "$ref": "#/definitions/int8" }, "masked_overlay_layer_offset": { "$ref": "#/definitions/int8" }, "background_layer_offset": { "$ref": "#/definitions/int8" }, "masked_background_layer_offset": { "$ref": "#/definitions/int8" }, "draw_background_layer_under_tiles": { "$ref": "#/definitions/bool" }, "apply_effect_color_to_overlay": { "$ref": "#/definitions/bool" }, "apply_waving_effect_on_masks": { "$ref": "#/definitions/bool" }, "apply_waving_effect_on_background_mask": { "$ref": "#/definitions/bool" }, "draw_simple_outer_corner_over_diagonal": { "$ref": "#/definitions/bool" }, "offset_background_layer_by_tile_layer": { "$ref": "#/definitions/bool" }, "inner_corner_weights": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/float" } }, { "type": "object", "additionalProperties": false } ] }, "outer_corner_weights": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/float" } }, { "type": "object", "additionalProperties": false } ] }, "side_weights": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/float" } }, { "type": "object", "additionalProperties": false } ] }, "side_variations_in_group": { "$ref": "#/definitions/uint8" }, "double_side_weights": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/float" } }, { "type": "object", "additionalProperties": false } ] }, "double_side_variations_in_group": { "$ref": "#/definitions/uint8" }, "u_transition_weights": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/float" } }, { "type": "object", "additionalProperties": false } ] }, "to_tiles": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileID" } }, { "type": "object", "additionalProperties": false } ] }, "transition_group": { "$ref": "#/definitions/uint8" } }, "required": [ "to_tiles", "transition_group" ] }, "TileTransitionsVariants": { "description": "https://lua-api.factorio.com/stable/types/TileTransitionsVariants.html", "type": "object", "properties": { "main": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileMainPictures" } }, { "type": "object", "additionalProperties": false } ] }, "material_texture_width_in_tiles": { "$ref": "#/definitions/uint8" }, "material_texture_height_in_tiles": { "$ref": "#/definitions/uint8" }, "material_background": { "$ref": "#/definitions/MaterialTextureParameters" }, "light": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileLightPictures" } }, { "type": "object", "additionalProperties": false } ] }, "material_light": { "$ref": "#/definitions/MaterialTextureParameters" }, "empty_transitions": { "$ref": "#/definitions/bool" }, "transition": { "$ref": "#/definitions/TileTransitions" } } }, "TimeElapsedTipTrigger": { "description": "https://lua-api.factorio.com/stable/types/TimeElapsedTipTrigger.html", "type": "object", "properties": { "type": { "type": "string", "const": "time-elapsed" }, "ticks": { "$ref": "#/definitions/uint32" } }, "required": [ "type", "ticks" ] }, "TimeSinceLastTipActivationTipTrigger": { "description": "https://lua-api.factorio.com/stable/types/TimeSinceLastTipActivationTipTrigger.html", "type": "object", "properties": { "type": { "type": "string", "const": "time-since-last-tip-activation" }, "ticks": { "$ref": "#/definitions/MapTick" } }, "required": [ "type", "ticks" ] }, "TintProcessionLayer": { "description": "https://lua-api.factorio.com/stable/types/TintProcessionLayer.html", "type": "object", "properties": { "type": { "type": "string", "const": "tint" }, "render_layer": { "$ref": "#/definitions/RenderLayer" }, "frames": { "oneOf": [ { "type": "array", "items": { "type": "object", "properties": { "timestamp": { "$ref": "#/definitions/MapTick" }, "opacity": { "$ref": "#/definitions/double" }, "opacity_t": { "$ref": "#/definitions/double" }, "tint_upper": { "$ref": "#/definitions/Color" }, "tint_upper_t": { "$ref": "#/definitions/Color" }, "tint_lower": { "$ref": "#/definitions/Color" }, "tint_lower_t": { "$ref": "#/definitions/Color" } } } }, { "type": "object", "additionalProperties": false } ] } }, "required": [ "type", "frames" ] }, "TipStatus": { "description": "https://lua-api.factorio.com/stable/types/TipStatus.html", "anyOf": [ { "type": "string", "const": "locked" }, { "type": "string", "const": "optional" }, { "type": "string", "const": "dependencies-not-met" }, { "type": "string", "const": "unlocked" }, { "type": "string", "const": "suggested" }, { "type": "string", "const": "not-to-be-suggested" }, { "type": "string", "const": "completed-without-tutorial" }, { "type": "string", "const": "completed" } ] }, "TipTrigger": { "description": "https://lua-api.factorio.com/stable/types/TipTrigger.html", "anyOf": [ { "$ref": "#/definitions/OrTipTrigger" }, { "$ref": "#/definitions/AndTipTrigger" }, { "$ref": "#/definitions/SequenceTipTrigger" }, { "$ref": "#/definitions/DependenciesMetTipTrigger" }, { "$ref": "#/definitions/TimeElapsedTipTrigger" }, { "$ref": "#/definitions/TimeSinceLastTipActivationTipTrigger" }, { "$ref": "#/definitions/ResearchTechnologyTipTrigger" }, { "$ref": "#/definitions/ResearchWithSciencePackTipTrigger" }, { "$ref": "#/definitions/UnlockRecipeTipTrigger" }, { "$ref": "#/definitions/CraftItemTipTrigger" }, { "$ref": "#/definitions/BuildEntityTipTrigger" }, { "$ref": "#/definitions/ManualTransferTipTrigger" }, { "$ref": "#/definitions/ModuleTransferTipTrigger" }, { "$ref": "#/definitions/StackTransferTipTrigger" }, { "$ref": "#/definitions/EntityTransferTipTrigger" }, { "$ref": "#/definitions/DropItemTipTrigger" }, { "$ref": "#/definitions/SetRecipeTipTrigger" }, { "$ref": "#/definitions/SetFilterTipTrigger" }, { "$ref": "#/definitions/LimitChestTipTrigger" }, { "$ref": "#/definitions/UsePipetteTipTrigger" }, { "$ref": "#/definitions/SetLogisticRequestTipTrigger" }, { "$ref": "#/definitions/UseConfirmTipTrigger" }, { "$ref": "#/definitions/ToggleShowEntityInfoTipTrigger" }, { "$ref": "#/definitions/GeneratingPowerTipTrigger" }, { "$ref": "#/definitions/LowPowerTipTrigger" }, { "$ref": "#/definitions/PasteEntitySettingsTipTrigger" }, { "$ref": "#/definitions/FastReplaceTipTrigger" }, { "$ref": "#/definitions/GroupAttackTipTrigger" }, { "$ref": "#/definitions/FastBeltBendTipTrigger" }, { "$ref": "#/definitions/BeltTraverseTipTrigger" }, { "$ref": "#/definitions/PlaceEquipmentTipTrigger" }, { "$ref": "#/definitions/ClearCursorTipTrigger" }, { "$ref": "#/definitions/RotateEntityTipTrigger" }, { "$ref": "#/definitions/FlipEntityTipTrigger" }, { "$ref": "#/definitions/AlternativeBuildTipTrigger" }, { "$ref": "#/definitions/GateOverRailBuildTipTrigger" }, { "$ref": "#/definitions/ManualWireDragTipTrigger" }, { "$ref": "#/definitions/ShootTipTrigger" }, { "$ref": "#/definitions/ChangeSurfaceTipTrigger" }, { "$ref": "#/definitions/ApplyStarterPackTipTrigger" }, { "$ref": "#/definitions/MineItemByRobotTipTrigger" }, { "$ref": "#/definitions/BuildEntityByRobotTipTrigger" }, { "$ref": "#/definitions/PlanTrainPathTipTrigger" }, { "$ref": "#/definitions/UseRailPlannerTipTrigger" }, { "$ref": "#/definitions/ToggleRailLayerTipTrigger" }, { "$ref": "#/definitions/EnterVehicleTipTrigger" }, { "$ref": "#/definitions/SendSpidertronTipTrigger" }, { "$ref": "#/definitions/ActivatePasteTipTrigger" }, { "$ref": "#/definitions/KillTipTrigger" } ] }, "ToggleRailLayerTipTrigger": { "description": "https://lua-api.factorio.com/stable/types/ToggleRailLayerTipTrigger.html", "type": "object", "properties": { "count": { "$ref": "#/definitions/uint32" }, "type": { "type": "string", "const": "toggle-rail-layer" } }, "required": [ "type" ] }, "ToggleShowEntityInfoTipTrigger": { "description": "https://lua-api.factorio.com/stable/types/ToggleShowEntityInfoTipTrigger.html", "type": "object", "properties": { "count": { "$ref": "#/definitions/uint32" }, "type": { "type": "string", "const": "toggle-show-entity-info" } }, "required": [ "type" ] }, "TrainBrakingForceBonusModifier": { "description": "https://lua-api.factorio.com/stable/types/TrainBrakingForceBonusModifier.html", "type": "object", "properties": { "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "hidden": { "$ref": "#/definitions/bool" }, "modifier": { "$ref": "#/definitions/double" }, "type": { "type": "string", "const": "train-braking-force-bonus" }, "infer_icon": { "$ref": "#/definitions/bool" }, "use_icon_overlay_constant": { "$ref": "#/definitions/bool" } }, "required": [ "modifier", "type" ] }, "TrainStopLight": { "description": "https://lua-api.factorio.com/stable/types/TrainStopLight.html", "type": "object", "properties": { "picture": { "$ref": "#/definitions/Sprite4Way" }, "red_picture": { "$ref": "#/definitions/Sprite4Way" }, "light": { "$ref": "#/definitions/LightDefinition" } }, "required": [ "picture", "red_picture", "light" ] }, "TrainVisualizationConstants": { "description": "https://lua-api.factorio.com/stable/types/TrainVisualizationConstants.html", "type": "object", "properties": { "not_last_box_color": { "$ref": "#/definitions/Color" }, "last_box_color": { "$ref": "#/definitions/Color" }, "box_width": { "$ref": "#/definitions/float" }, "box_length": { "$ref": "#/definitions/float" }, "joint_distance": { "$ref": "#/definitions/float" }, "connection_distance": { "$ref": "#/definitions/float" }, "final_margin": { "$ref": "#/definitions/float" }, "stock_number_scale": { "$ref": "#/definitions/float" } }, "required": [ "not_last_box_color", "last_box_color", "box_width", "box_length", "joint_distance", "connection_distance", "final_margin", "stock_number_scale" ] }, "TransitionApplication": { "description": "https://lua-api.factorio.com/stable/types/TransitionApplication.html", "type": "object", "properties": { "offset": { "$ref": "#/definitions/bool" }, "pod_offset": { "$ref": "#/definitions/bool" }, "rotation": { "$ref": "#/definitions/bool" } } }, "TransportBeltAnimationSet": { "description": "https://lua-api.factorio.com/stable/types/TransportBeltAnimationSet.html", "type": "object", "properties": { "animation_set": { "$ref": "#/definitions/RotatedAnimation" }, "east_index": { "$ref": "#/definitions/uint8" }, "west_index": { "$ref": "#/definitions/uint8" }, "north_index": { "$ref": "#/definitions/uint8" }, "south_index": { "$ref": "#/definitions/uint8" }, "starting_south_index": { "$ref": "#/definitions/uint8" }, "ending_south_index": { "$ref": "#/definitions/uint8" }, "starting_west_index": { "$ref": "#/definitions/uint8" }, "ending_west_index": { "$ref": "#/definitions/uint8" }, "starting_north_index": { "$ref": "#/definitions/uint8" }, "ending_north_index": { "$ref": "#/definitions/uint8" }, "starting_east_index": { "$ref": "#/definitions/uint8" }, "ending_east_index": { "$ref": "#/definitions/uint8" }, "frozen_patch": { "$ref": "#/definitions/RotatedSprite" }, "east_index_frozen": { "$ref": "#/definitions/uint8" }, "west_index_frozen": { "$ref": "#/definitions/uint8" }, "north_index_frozen": { "$ref": "#/definitions/uint8" }, "south_index_frozen": { "$ref": "#/definitions/uint8" }, "starting_south_index_frozen": { "$ref": "#/definitions/uint8" }, "ending_south_index_frozen": { "$ref": "#/definitions/uint8" }, "starting_west_index_frozen": { "$ref": "#/definitions/uint8" }, "ending_west_index_frozen": { "$ref": "#/definitions/uint8" }, "starting_north_index_frozen": { "$ref": "#/definitions/uint8" }, "ending_north_index_frozen": { "$ref": "#/definitions/uint8" }, "starting_east_index_frozen": { "$ref": "#/definitions/uint8" }, "ending_east_index_frozen": { "$ref": "#/definitions/uint8" }, "alternate": { "$ref": "#/definitions/bool" }, "belt_reader": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/BeltReaderLayer" } }, { "type": "object", "additionalProperties": false } ] } }, "required": [ "animation_set" ] }, "TransportBeltAnimationSetWithCorners": { "description": "https://lua-api.factorio.com/stable/types/TransportBeltAnimationSetWithCorners.html", "type": "object", "properties": { "animation_set": { "$ref": "#/definitions/RotatedAnimation" }, "east_index": { "$ref": "#/definitions/uint8" }, "west_index": { "$ref": "#/definitions/uint8" }, "north_index": { "$ref": "#/definitions/uint8" }, "south_index": { "$ref": "#/definitions/uint8" }, "starting_south_index": { "$ref": "#/definitions/uint8" }, "ending_south_index": { "$ref": "#/definitions/uint8" }, "starting_west_index": { "$ref": "#/definitions/uint8" }, "ending_west_index": { "$ref": "#/definitions/uint8" }, "starting_north_index": { "$ref": "#/definitions/uint8" }, "ending_north_index": { "$ref": "#/definitions/uint8" }, "starting_east_index": { "$ref": "#/definitions/uint8" }, "ending_east_index": { "$ref": "#/definitions/uint8" }, "frozen_patch": { "$ref": "#/definitions/RotatedSprite" }, "east_index_frozen": { "$ref": "#/definitions/uint8" }, "west_index_frozen": { "$ref": "#/definitions/uint8" }, "north_index_frozen": { "$ref": "#/definitions/uint8" }, "south_index_frozen": { "$ref": "#/definitions/uint8" }, "starting_south_index_frozen": { "$ref": "#/definitions/uint8" }, "ending_south_index_frozen": { "$ref": "#/definitions/uint8" }, "starting_west_index_frozen": { "$ref": "#/definitions/uint8" }, "ending_west_index_frozen": { "$ref": "#/definitions/uint8" }, "starting_north_index_frozen": { "$ref": "#/definitions/uint8" }, "ending_north_index_frozen": { "$ref": "#/definitions/uint8" }, "starting_east_index_frozen": { "$ref": "#/definitions/uint8" }, "ending_east_index_frozen": { "$ref": "#/definitions/uint8" }, "alternate": { "$ref": "#/definitions/bool" }, "belt_reader": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/BeltReaderLayer" } }, { "type": "object", "additionalProperties": false } ] }, "east_to_north_index": { "$ref": "#/definitions/uint8" }, "north_to_east_index": { "$ref": "#/definitions/uint8" }, "west_to_north_index": { "$ref": "#/definitions/uint8" }, "north_to_west_index": { "$ref": "#/definitions/uint8" }, "south_to_east_index": { "$ref": "#/definitions/uint8" }, "east_to_south_index": { "$ref": "#/definitions/uint8" }, "south_to_west_index": { "$ref": "#/definitions/uint8" }, "west_to_south_index": { "$ref": "#/definitions/uint8" }, "east_to_north_index_frozen": { "$ref": "#/definitions/uint8" }, "north_to_east_index_frozen": { "$ref": "#/definitions/uint8" }, "west_to_north_index_frozen": { "$ref": "#/definitions/uint8" }, "north_to_west_index_frozen": { "$ref": "#/definitions/uint8" }, "south_to_east_index_frozen": { "$ref": "#/definitions/uint8" }, "east_to_south_index_frozen": { "$ref": "#/definitions/uint8" }, "south_to_west_index_frozen": { "$ref": "#/definitions/uint8" }, "west_to_south_index_frozen": { "$ref": "#/definitions/uint8" } }, "required": [ "animation_set" ] }, "TransportBeltConnectorFrame": { "description": "https://lua-api.factorio.com/stable/types/TransportBeltConnectorFrame.html", "type": "object", "properties": { "frame_main": { "$ref": "#/definitions/AnimationVariations" }, "frame_shadow": { "$ref": "#/definitions/AnimationVariations" }, "frame_main_scanner": { "$ref": "#/definitions/Animation" }, "frame_main_scanner_movement_speed": { "$ref": "#/definitions/float" }, "frame_main_scanner_horizontal_start_shift": { "$ref": "#/definitions/Vector" }, "frame_main_scanner_horizontal_end_shift": { "$ref": "#/definitions/Vector" }, "frame_main_scanner_horizontal_y_scale": { "$ref": "#/definitions/float" }, "frame_main_scanner_horizontal_rotation": { "$ref": "#/definitions/RealOrientation" }, "frame_main_scanner_vertical_start_shift": { "$ref": "#/definitions/Vector" }, "frame_main_scanner_vertical_end_shift": { "$ref": "#/definitions/Vector" }, "frame_main_scanner_vertical_y_scale": { "$ref": "#/definitions/float" }, "frame_main_scanner_vertical_rotation": { "$ref": "#/definitions/RealOrientation" }, "frame_main_scanner_cross_horizontal_start_shift": { "$ref": "#/definitions/Vector" }, "frame_main_scanner_cross_horizontal_end_shift": { "$ref": "#/definitions/Vector" }, "frame_main_scanner_cross_horizontal_y_scale": { "$ref": "#/definitions/float" }, "frame_main_scanner_cross_horizontal_rotation": { "$ref": "#/definitions/RealOrientation" }, "frame_main_scanner_cross_vertical_start_shift": { "$ref": "#/definitions/Vector" }, "frame_main_scanner_cross_vertical_end_shift": { "$ref": "#/definitions/Vector" }, "frame_main_scanner_cross_vertical_y_scale": { "$ref": "#/definitions/float" }, "frame_main_scanner_cross_vertical_rotation": { "$ref": "#/definitions/RealOrientation" }, "frame_main_scanner_nw_ne": { "$ref": "#/definitions/Animation" }, "frame_main_scanner_sw_se": { "$ref": "#/definitions/Animation" }, "frame_back_patch": { "$ref": "#/definitions/SpriteVariations" }, "frame_front_patch": { "$ref": "#/definitions/SpriteVariations" } }, "required": [ "frame_main", "frame_shadow", "frame_main_scanner", "frame_main_scanner_movement_speed", "frame_main_scanner_horizontal_start_shift", "frame_main_scanner_horizontal_end_shift", "frame_main_scanner_horizontal_y_scale", "frame_main_scanner_horizontal_rotation", "frame_main_scanner_vertical_start_shift", "frame_main_scanner_vertical_end_shift", "frame_main_scanner_vertical_y_scale", "frame_main_scanner_vertical_rotation", "frame_main_scanner_cross_horizontal_start_shift", "frame_main_scanner_cross_horizontal_end_shift", "frame_main_scanner_cross_horizontal_y_scale", "frame_main_scanner_cross_horizontal_rotation", "frame_main_scanner_cross_vertical_start_shift", "frame_main_scanner_cross_vertical_end_shift", "frame_main_scanner_cross_vertical_y_scale", "frame_main_scanner_cross_vertical_rotation", "frame_main_scanner_nw_ne", "frame_main_scanner_sw_se" ] }, "TreeVariation": { "description": "https://lua-api.factorio.com/stable/types/TreeVariation.html", "type": "object", "properties": { "trunk": { "$ref": "#/definitions/Animation" }, "leaves": { "$ref": "#/definitions/Animation" }, "leaf_generation": { "$ref": "#/definitions/CreateParticleTriggerEffectItem" }, "branch_generation": { "$ref": "#/definitions/CreateParticleTriggerEffectItem" }, "shadow": { "$ref": "#/definitions/Animation" }, "disable_shadow_distortion_beginning_at_frame": { "$ref": "#/definitions/uint32" }, "normal": { "$ref": "#/definitions/Animation" }, "overlay": { "$ref": "#/definitions/Animation" }, "underwater": { "$ref": "#/definitions/Animation" }, "underwater_layer_offset": { "$ref": "#/definitions/int8" }, "water_reflection": { "$ref": "#/definitions/WaterReflectionDefinition" } }, "required": [ "trunk", "leaves", "leaf_generation", "branch_generation" ] }, "Trigger": { "description": "https://lua-api.factorio.com/stable/types/Trigger.html", "anyOf": [ { "$ref": "#/definitions/DirectTriggerItem" }, { "$ref": "#/definitions/AreaTriggerItem" }, { "$ref": "#/definitions/LineTriggerItem" }, { "$ref": "#/definitions/ClusterTriggerItem" }, { "oneOf": [ { "type": "array", "items": { "anyOf": [ { "$ref": "#/definitions/DirectTriggerItem" }, { "$ref": "#/definitions/AreaTriggerItem" }, { "$ref": "#/definitions/LineTriggerItem" }, { "$ref": "#/definitions/ClusterTriggerItem" } ] } }, { "type": "object", "additionalProperties": false } ] } ] }, "TriggerDelivery": { "description": "https://lua-api.factorio.com/stable/types/TriggerDelivery.html", "anyOf": [ { "$ref": "#/definitions/InstantTriggerDelivery" }, { "$ref": "#/definitions/ProjectileTriggerDelivery" }, { "$ref": "#/definitions/BeamTriggerDelivery" }, { "$ref": "#/definitions/StreamTriggerDelivery" }, { "$ref": "#/definitions/ArtilleryTriggerDelivery" }, { "$ref": "#/definitions/ChainTriggerDelivery" }, { "$ref": "#/definitions/DelayedTriggerDelivery" } ] }, "TriggerEffect": { "description": "https://lua-api.factorio.com/stable/types/TriggerEffect.html", "anyOf": [ { "$ref": "#/definitions/DamageTriggerEffectItem" }, { "$ref": "#/definitions/DamageTileTriggerEffectItem" }, { "$ref": "#/definitions/CreateEntityTriggerEffectItem" }, { "$ref": "#/definitions/CreateExplosionTriggerEffectItem" }, { "$ref": "#/definitions/CreateFireTriggerEffectItem" }, { "$ref": "#/definitions/CreateSmokeTriggerEffectItem" }, { "$ref": "#/definitions/CreateTrivialSmokeEffectItem" }, { "$ref": "#/definitions/CreateAsteroidChunkEffectItem" }, { "$ref": "#/definitions/CreateParticleTriggerEffectItem" }, { "$ref": "#/definitions/CreateStickerTriggerEffectItem" }, { "$ref": "#/definitions/CreateDecorativesTriggerEffectItem" }, { "$ref": "#/definitions/NestedTriggerEffectItem" }, { "$ref": "#/definitions/PlaySoundTriggerEffectItem" }, { "$ref": "#/definitions/PushBackTriggerEffectItem" }, { "$ref": "#/definitions/DestroyCliffsTriggerEffectItem" }, { "$ref": "#/definitions/ShowExplosionOnChartTriggerEffectItem" }, { "$ref": "#/definitions/InsertItemTriggerEffectItem" }, { "$ref": "#/definitions/ScriptTriggerEffectItem" }, { "$ref": "#/definitions/SetTileTriggerEffectItem" }, { "$ref": "#/definitions/InvokeTileEffectTriggerEffectItem" }, { "$ref": "#/definitions/DestroyDecorativesTriggerEffectItem" }, { "$ref": "#/definitions/CameraEffectTriggerEffectItem" }, { "$ref": "#/definitions/ActivateImpactTriggerEffectItem" }, { "oneOf": [ { "type": "array", "items": { "anyOf": [ { "$ref": "#/definitions/DamageTriggerEffectItem" }, { "$ref": "#/definitions/DamageTileTriggerEffectItem" }, { "$ref": "#/definitions/CreateEntityTriggerEffectItem" }, { "$ref": "#/definitions/CreateExplosionTriggerEffectItem" }, { "$ref": "#/definitions/CreateFireTriggerEffectItem" }, { "$ref": "#/definitions/CreateSmokeTriggerEffectItem" }, { "$ref": "#/definitions/CreateTrivialSmokeEffectItem" }, { "$ref": "#/definitions/CreateAsteroidChunkEffectItem" }, { "$ref": "#/definitions/CreateParticleTriggerEffectItem" }, { "$ref": "#/definitions/CreateStickerTriggerEffectItem" }, { "$ref": "#/definitions/CreateDecorativesTriggerEffectItem" }, { "$ref": "#/definitions/NestedTriggerEffectItem" }, { "$ref": "#/definitions/PlaySoundTriggerEffectItem" }, { "$ref": "#/definitions/PushBackTriggerEffectItem" }, { "$ref": "#/definitions/DestroyCliffsTriggerEffectItem" }, { "$ref": "#/definitions/ShowExplosionOnChartTriggerEffectItem" }, { "$ref": "#/definitions/InsertItemTriggerEffectItem" }, { "$ref": "#/definitions/ScriptTriggerEffectItem" }, { "$ref": "#/definitions/SetTileTriggerEffectItem" }, { "$ref": "#/definitions/InvokeTileEffectTriggerEffectItem" }, { "$ref": "#/definitions/DestroyDecorativesTriggerEffectItem" }, { "$ref": "#/definitions/CameraEffectTriggerEffectItem" }, { "$ref": "#/definitions/ActivateImpactTriggerEffectItem" } ] } }, { "type": "object", "additionalProperties": false } ] } ] }, "TriggerEffectItem": { "description": "https://lua-api.factorio.com/stable/types/TriggerEffectItem.html", "type": "object", "properties": { "repeat_count": { "$ref": "#/definitions/uint16" }, "repeat_count_deviation": { "$ref": "#/definitions/uint16" }, "probability": { "$ref": "#/definitions/float" }, "affects_target": { "$ref": "#/definitions/bool" }, "show_in_tooltip": { "$ref": "#/definitions/bool" }, "damage_type_filters": { "$ref": "#/definitions/DamageTypeFilters" } } }, "TriggerEffectWithCooldown": { "description": "https://lua-api.factorio.com/stable/types/TriggerEffectWithCooldown.html", "type": "object", "properties": { "distance_cooldown": { "$ref": "#/definitions/double" }, "initial_distance_cooldown": { "$ref": "#/definitions/double" }, "time_cooldown": { "$ref": "#/definitions/MapTick" }, "initial_time_cooldown": { "$ref": "#/definitions/MapTick" }, "effect": { "$ref": "#/definitions/TriggerEffect" } }, "required": [ "effect" ] }, "TriggerTargetMask": { "description": "https://lua-api.factorio.com/stable/types/TriggerTargetMask.html", "oneOf": [ { "type": "array", "items": { "anyOf": [ { "$ref": "#/definitions/string" } ] } }, { "type": "object", "additionalProperties": false } ] }, "TrivialSmokeID": { "description": "https://lua-api.factorio.com/stable/types/TrivialSmokeID.html", "anyOf": [ { "$ref": "#/definitions/string" } ] }, "TurretAttackModifier": { "description": "https://lua-api.factorio.com/stable/types/TurretAttackModifier.html", "type": "object", "properties": { "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "hidden": { "$ref": "#/definitions/bool" }, "type": { "type": "string", "const": "turret-attack" }, "infer_icon": { "$ref": "#/definitions/bool" }, "use_icon_overlay_constant": { "$ref": "#/definitions/bool" }, "turret_id": { "$ref": "#/definitions/EntityID" }, "modifier": { "$ref": "#/definitions/double" } }, "required": [ "type", "turret_id", "modifier" ] }, "TurretBaseVisualisation": { "description": "https://lua-api.factorio.com/stable/types/TurretBaseVisualisation.html", "type": "object", "properties": { "render_layer": { "$ref": "#/definitions/RenderLayer" }, "secondary_draw_order": { "$ref": "#/definitions/int8" }, "enabled_states": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TurretState" } }, { "type": "object", "additionalProperties": false } ] }, "draw_when_has_energy": { "$ref": "#/definitions/bool" }, "draw_when_no_energy": { "$ref": "#/definitions/bool" }, "draw_when_has_ammo": { "$ref": "#/definitions/bool" }, "draw_when_no_ammo": { "$ref": "#/definitions/bool" }, "draw_when_frozen": { "$ref": "#/definitions/bool" }, "draw_when_not_frozen": { "$ref": "#/definitions/bool" }, "animation": { "$ref": "#/definitions/Animation4Way" } }, "required": [ "animation" ] }, "TurretGraphicsSet": { "description": "https://lua-api.factorio.com/stable/types/TurretGraphicsSet.html", "type": "object", "properties": { "base_visualisation": { "anyOf": [ { "$ref": "#/definitions/TurretBaseVisualisation" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TurretBaseVisualisation" } }, { "type": "object", "additionalProperties": false } ] } ] } } }, "TurretSpecialEffect": { "description": "https://lua-api.factorio.com/stable/types/TurretSpecialEffect.html", "type": "object", "properties": { "type": { "type": "string", "const": "mask-by-circle" }, "center": { "$ref": "#/definitions/TurretSpecialEffectCenter" }, "min_radius": { "$ref": "#/definitions/float" }, "max_radius": { "$ref": "#/definitions/float" }, "falloff": { "$ref": "#/definitions/float" }, "attacking_min_radius": { "$ref": "#/definitions/float" }, "attacking_max_radius": { "$ref": "#/definitions/float" }, "attacking_falloff": { "$ref": "#/definitions/float" } }, "required": [ "type" ] }, "TurretSpecialEffectCenter": { "description": "https://lua-api.factorio.com/stable/types/TurretSpecialEffectCenter.html", "anyOf": [ { "type": "object", "properties": { "default": { "$ref": "#/definitions/Vector" }, "north": { "$ref": "#/definitions/Vector" }, "north_east": { "$ref": "#/definitions/Vector" }, "east": { "$ref": "#/definitions/Vector" }, "south_east": { "$ref": "#/definitions/Vector" }, "south": { "$ref": "#/definitions/Vector" }, "south_west": { "$ref": "#/definitions/Vector" }, "west": { "$ref": "#/definitions/Vector" }, "north_west": { "$ref": "#/definitions/Vector" } } }, { "$ref": "#/definitions/Vector" } ] }, "TurretState": { "description": "https://lua-api.factorio.com/stable/types/TurretState.html", "anyOf": [ { "type": "string", "const": "folded" }, { "type": "string", "const": "preparing" }, { "type": "string", "const": "prepared" }, { "type": "string", "const": "starting-attack" }, { "type": "string", "const": "attacking" }, { "type": "string", "const": "ending-attack" }, { "type": "string", "const": "rotate-for-folding" }, { "type": "string", "const": "folding" } ] }, "UnitAISettings": { "description": "https://lua-api.factorio.com/stable/types/UnitAISettings.html", "type": "object", "properties": { "destroy_when_commands_fail": { "$ref": "#/definitions/bool" }, "allow_try_return_to_spawner": { "$ref": "#/definitions/bool" }, "do_separation": { "$ref": "#/definitions/bool" }, "path_resolution_modifier": { "$ref": "#/definitions/int8" }, "strafe_settings": { "$ref": "#/definitions/PrototypeStrafeSettings" }, "size_in_group": { "$ref": "#/definitions/float" }, "join_attacks": { "$ref": "#/definitions/bool" } } }, "UnitAlternativeFrameSequence": { "description": "https://lua-api.factorio.com/stable/types/UnitAlternativeFrameSequence.html", "type": "object", "properties": { "warmup_frame_sequence": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/uint16" } }, { "type": "object", "additionalProperties": false } ] }, "warmup2_frame_sequence": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/uint16" } }, { "type": "object", "additionalProperties": false } ] }, "attacking_frame_sequence": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/uint16" } }, { "type": "object", "additionalProperties": false } ] }, "cooldown_frame_sequence": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/uint16" } }, { "type": "object", "additionalProperties": false } ] }, "prepared_frame_sequence": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/uint16" } }, { "type": "object", "additionalProperties": false } ] }, "back_to_walk_frame_sequence": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/uint16" } }, { "type": "object", "additionalProperties": false } ] }, "warmup_animation_speed": { "$ref": "#/definitions/float" }, "attacking_animation_speed": { "$ref": "#/definitions/float" }, "cooldown_animation_speed": { "$ref": "#/definitions/float" }, "prepared_animation_speed": { "$ref": "#/definitions/float" }, "back_to_walk_animation_speed": { "$ref": "#/definitions/float" } }, "required": [ "warmup_frame_sequence", "warmup2_frame_sequence", "attacking_frame_sequence", "cooldown_frame_sequence", "prepared_frame_sequence", "back_to_walk_frame_sequence", "warmup_animation_speed", "attacking_animation_speed", "cooldown_animation_speed", "prepared_animation_speed", "back_to_walk_animation_speed" ] }, "UnitGroupSettings": { "description": "https://lua-api.factorio.com/stable/types/UnitGroupSettings.html", "type": "object", "properties": { "min_group_gathering_time": { "$ref": "#/definitions/uint32" }, "max_group_gathering_time": { "$ref": "#/definitions/uint32" }, "max_wait_time_for_late_members": { "$ref": "#/definitions/uint32" }, "max_group_radius": { "$ref": "#/definitions/double" }, "min_group_radius": { "$ref": "#/definitions/double" }, "max_member_speedup_when_behind": { "$ref": "#/definitions/double" }, "max_member_slowdown_when_ahead": { "$ref": "#/definitions/double" }, "max_group_slowdown_factor": { "$ref": "#/definitions/double" }, "max_group_member_fallback_factor": { "$ref": "#/definitions/double" }, "member_disown_distance": { "$ref": "#/definitions/double" }, "tick_tolerance_when_member_arrives": { "$ref": "#/definitions/uint32" }, "max_gathering_unit_groups": { "$ref": "#/definitions/uint32" }, "max_unit_group_size": { "$ref": "#/definitions/uint32" } }, "required": [ "min_group_gathering_time", "max_group_gathering_time", "max_wait_time_for_late_members", "max_group_radius", "min_group_radius", "max_member_speedup_when_behind", "max_member_slowdown_when_ahead", "max_group_slowdown_factor", "max_group_member_fallback_factor", "member_disown_distance", "tick_tolerance_when_member_arrives", "max_gathering_unit_groups", "max_unit_group_size" ] }, "UnitSpawnDefinition": { "description": "https://lua-api.factorio.com/stable/types/UnitSpawnDefinition.html", "anyOf": [ { "type": "object", "properties": { "unit": { "$ref": "#/definitions/EntityID" }, "spawn_points": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SpawnPoint" } }, { "type": "object", "additionalProperties": false } ] } }, "required": [ "unit", "spawn_points" ] }, { "type": "array", "items": [ { "anyOf": [ { "$ref": "#/definitions/EntityID" } ] }, { "oneOf": [ { "type": "array", "items": { "anyOf": [ { "$ref": "#/definitions/SpawnPoint" } ] } }, { "type": "object", "additionalProperties": false } ] } ], "minItems": 2, "maxItems": 2 } ] }, "UnlockQualityModifier": { "description": "https://lua-api.factorio.com/stable/types/UnlockQualityModifier.html", "type": "object", "properties": { "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "hidden": { "$ref": "#/definitions/bool" }, "type": { "type": "string", "const": "unlock-quality" }, "use_icon_overlay_constant": { "$ref": "#/definitions/bool" }, "quality": { "$ref": "#/definitions/QualityID" } }, "required": [ "type", "quality" ] }, "UnlockRecipeModifier": { "description": "https://lua-api.factorio.com/stable/types/UnlockRecipeModifier.html", "type": "object", "properties": { "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "hidden": { "$ref": "#/definitions/bool" }, "type": { "type": "string", "const": "unlock-recipe" }, "use_icon_overlay_constant": { "$ref": "#/definitions/bool" }, "recipe": { "$ref": "#/definitions/RecipeID" } }, "required": [ "type", "recipe" ] }, "UnlockRecipeTipTrigger": { "description": "https://lua-api.factorio.com/stable/types/UnlockRecipeTipTrigger.html", "type": "object", "properties": { "type": { "type": "string", "const": "unlock-recipe" }, "recipe": { "$ref": "#/definitions/RecipeID" } }, "required": [ "type", "recipe" ] }, "UnlockSpaceLocationModifier": { "description": "https://lua-api.factorio.com/stable/types/UnlockSpaceLocationModifier.html", "type": "object", "properties": { "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "hidden": { "$ref": "#/definitions/bool" }, "type": { "type": "string", "const": "unlock-space-location" }, "use_icon_overlay_constant": { "$ref": "#/definitions/bool" }, "space_location": { "$ref": "#/definitions/SpaceLocationID" } }, "required": [ "type", "space_location" ] }, "UseConfirmTipTrigger": { "description": "https://lua-api.factorio.com/stable/types/UseConfirmTipTrigger.html", "type": "object", "properties": { "count": { "$ref": "#/definitions/uint32" }, "type": { "type": "string", "const": "use-confirm" } }, "required": [ "type" ] }, "UseOnSelfCapsuleAction": { "description": "https://lua-api.factorio.com/stable/types/UseOnSelfCapsuleAction.html", "type": "object", "properties": { "type": { "type": "string", "const": "use-on-self" }, "attack_parameters": { "$ref": "#/definitions/AttackParameters" }, "uses_stack": { "$ref": "#/definitions/bool" } }, "required": [ "type", "attack_parameters" ] }, "UsePipetteTipTrigger": { "description": "https://lua-api.factorio.com/stable/types/UsePipetteTipTrigger.html", "type": "object", "properties": { "count": { "$ref": "#/definitions/uint32" }, "type": { "type": "string", "const": "use-pipette" } }, "required": [ "type" ] }, "UseRailPlannerTipTrigger": { "description": "https://lua-api.factorio.com/stable/types/UseRailPlannerTipTrigger.html", "type": "object", "properties": { "count": { "$ref": "#/definitions/uint32" }, "type": { "type": "string", "const": "use-rail-planner" }, "build_mode": { "$ref": "#/definitions/BuildMode" } }, "required": [ "type", "build_mode" ] }, "VariableAmbientSoundCompositionMode": { "description": "https://lua-api.factorio.com/stable/types/VariableAmbientSoundCompositionMode.html", "anyOf": [ { "type": "string", "const": "randomized" }, { "type": "string", "const": "semi-randomized" }, { "type": "string", "const": "shuffled" }, { "type": "string", "const": "layer-controlled" } ] }, "VariableAmbientSoundLayer": { "description": "https://lua-api.factorio.com/stable/types/VariableAmbientSoundLayer.html", "type": "object", "properties": { "name": { "$ref": "#/definitions/string" }, "variants": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Sound" } }, { "type": "object", "additionalProperties": false } ] }, "composition_mode": { "$ref": "#/definitions/VariableAmbientSoundCompositionMode" }, "control_layer": { "$ref": "#/definitions/string" }, "control_layer_sample_mapping": { "oneOf": [ { "type": "array", "items": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/uint8" } }, { "type": "object", "additionalProperties": false } ] } }, { "type": "object", "additionalProperties": false } ] }, "has_start_sample": { "$ref": "#/definitions/bool" }, "has_end_sample": { "$ref": "#/definitions/bool" }, "number_of_sublayers": { "$ref": "#/definitions/uint8" }, "sublayer_starting_offset": { "anyOf": [ { "$ref": "#/definitions/RandomRange" }, { "$ref": "#/definitions/ProbabilityTable" } ] }, "sublayer_offset": { "anyOf": [ { "$ref": "#/definitions/RandomRange" }, { "$ref": "#/definitions/ProbabilityTable" } ] }, "sample_length": { "$ref": "#/definitions/RandomRange" } }, "required": [ "name", "variants", "composition_mode" ] }, "VariableAmbientSoundLayerSample": { "description": "https://lua-api.factorio.com/stable/types/VariableAmbientSoundLayerSample.html", "type": "array", "items": [ { "anyOf": [ { "$ref": "#/definitions/string" } ] }, { "anyOf": [ { "$ref": "#/definitions/uint32" } ] } ], "minItems": 2, "maxItems": 2 }, "VariableAmbientSoundLayerStateProperties": { "description": "https://lua-api.factorio.com/stable/types/VariableAmbientSoundLayerStateProperties.html", "type": "object", "properties": { "enabled": { "$ref": "#/definitions/bool" }, "variant": { "$ref": "#/definitions/uint8" }, "sequence_length": { "$ref": "#/definitions/RandomRange" }, "number_of_repetitions": { "anyOf": [ { "$ref": "#/definitions/RandomRange" }, { "$ref": "#/definitions/ProbabilityTable" } ] }, "start_pause": { "$ref": "#/definitions/RandomRange" }, "pause_between_samples": { "$ref": "#/definitions/RandomRange" }, "pause_between_repetitions": { "$ref": "#/definitions/RandomRange" }, "end_pause": { "$ref": "#/definitions/RandomRange" }, "silence_instead_of_sample_probability": { "$ref": "#/definitions/float" } } }, "VariableAmbientSoundNextStateConditions": { "description": "https://lua-api.factorio.com/stable/types/VariableAmbientSoundNextStateConditions.html", "type": "object", "properties": { "weight": { "$ref": "#/definitions/uint32" }, "layer_sample": { "$ref": "#/definitions/VariableAmbientSoundLayerSample" }, "previous_state": { "$ref": "#/definitions/string" } }, "required": [ "weight" ] }, "VariableAmbientSoundNextStateItem": { "description": "https://lua-api.factorio.com/stable/types/VariableAmbientSoundNextStateItem.html", "type": "object", "properties": { "state": { "$ref": "#/definitions/string" }, "conditions": { "$ref": "#/definitions/VariableAmbientSoundNextStateConditions" } }, "required": [ "state", "conditions" ] }, "VariableAmbientSoundNextStateTrigger": { "description": "https://lua-api.factorio.com/stable/types/VariableAmbientSoundNextStateTrigger.html", "anyOf": [ { "type": "string", "const": "layers-finished" }, { "type": "string", "const": "duration" } ] }, "VariableAmbientSoundState": { "description": "https://lua-api.factorio.com/stable/types/VariableAmbientSoundState.html", "type": "object", "properties": { "name": { "$ref": "#/definitions/string" }, "type": { "$ref": "#/definitions/VariableAmbientSoundStateType" }, "next_state": { "$ref": "#/definitions/string" }, "next_states": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/VariableAmbientSoundNextStateItem" } }, { "type": "object", "additionalProperties": false } ] }, "next_state_trigger": { "$ref": "#/definitions/VariableAmbientSoundNextStateTrigger" }, "next_state_layers_finished_layers": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/string" } }, { "type": "object", "additionalProperties": false } ] }, "state_duration_seconds": { "$ref": "#/definitions/uint32" }, "layers_properties": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/VariableAmbientSoundLayerStateProperties" } }, { "type": "object", "additionalProperties": false } ] }, "start_pause": { "$ref": "#/definitions/RandomRange" }, "end_pause": { "$ref": "#/definitions/RandomRange" }, "number_of_enabled_layers": { "$ref": "#/definitions/RandomRange" } }, "required": [ "name" ] }, "VariableAmbientSoundStateType": { "description": "https://lua-api.factorio.com/stable/types/VariableAmbientSoundStateType.html", "anyOf": [ { "type": "string", "const": "regular" }, { "type": "string", "const": "intermezzo" }, { "type": "string", "const": "final" }, { "type": "string", "const": "stop" } ] }, "VariableAmbientSoundVariableSound": { "description": "https://lua-api.factorio.com/stable/types/VariableAmbientSoundVariableSound.html", "type": "object", "properties": { "layers": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/VariableAmbientSoundLayer" } }, { "type": "object", "additionalProperties": false } ] }, "intermezzo": { "$ref": "#/definitions/Sound" }, "states": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/VariableAmbientSoundState" } }, { "type": "object", "additionalProperties": false } ] }, "length_seconds": { "$ref": "#/definitions/uint32" }, "alignment_samples": { "$ref": "#/definitions/uint32" } }, "required": [ "layers", "states", "length_seconds" ] }, "Vector": { "description": "https://lua-api.factorio.com/stable/types/Vector.html", "anyOf": [ { "type": "object", "properties": { "x": { "$ref": "#/definitions/double" }, "y": { "$ref": "#/definitions/double" } }, "required": [ "x", "y" ] }, { "type": "array", "items": [ { "anyOf": [ { "$ref": "#/definitions/double" } ] }, { "anyOf": [ { "$ref": "#/definitions/double" } ] } ], "minItems": 2, "maxItems": 2 } ] }, "Vector3D": { "description": "https://lua-api.factorio.com/stable/types/Vector3D.html", "anyOf": [ { "type": "object", "properties": { "x": { "$ref": "#/definitions/float" }, "y": { "$ref": "#/definitions/float" }, "z": { "$ref": "#/definitions/float" } }, "required": [ "x", "y", "z" ] }, { "type": "array", "items": [ { "anyOf": [ { "$ref": "#/definitions/float" } ] }, { "anyOf": [ { "$ref": "#/definitions/float" } ] }, { "anyOf": [ { "$ref": "#/definitions/float" } ] } ], "minItems": 3, "maxItems": 3 } ] }, "Vector4f": { "description": "https://lua-api.factorio.com/stable/types/Vector4f.html", "anyOf": [ { "type": "object", "properties": { "x": { "$ref": "#/definitions/float" }, "y": { "$ref": "#/definitions/float" }, "z": { "$ref": "#/definitions/float" }, "w": { "$ref": "#/definitions/float" } }, "required": [ "x", "y", "z", "w" ] }, { "type": "array", "items": [ { "anyOf": [ { "$ref": "#/definitions/float" } ] }, { "anyOf": [ { "$ref": "#/definitions/float" } ] }, { "anyOf": [ { "$ref": "#/definitions/float" } ] }, { "anyOf": [ { "$ref": "#/definitions/float" } ] } ], "minItems": 4, "maxItems": 4 } ] }, "VehicleLogisticsModifier": { "description": "https://lua-api.factorio.com/stable/types/VehicleLogisticsModifier.html", "type": "object", "properties": { "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "hidden": { "$ref": "#/definitions/bool" }, "modifier": { "$ref": "#/definitions/bool" }, "type": { "type": "string", "const": "vehicle-logistics" }, "use_icon_overlay_constant": { "$ref": "#/definitions/bool" } }, "required": [ "modifier", "type" ] }, "VerticalAlign": { "description": "https://lua-api.factorio.com/stable/types/VerticalAlign.html", "anyOf": [ { "type": "string", "const": "top" }, { "type": "string", "const": "center" }, { "type": "string", "const": "bottom" } ] }, "VerticalFlowStyleSpecification": { "description": "https://lua-api.factorio.com/stable/types/VerticalFlowStyleSpecification.html", "type": "object", "properties": { "parent": { "$ref": "#/definitions/string" }, "horizontal_align": { "$ref": "#/definitions/HorizontalAlign" }, "vertical_align": { "$ref": "#/definitions/VerticalAlign" }, "ignored_by_search": { "$ref": "#/definitions/bool" }, "never_hide_by_search": { "$ref": "#/definitions/bool" }, "horizontally_stretchable": { "$ref": "#/definitions/StretchRule" }, "vertically_stretchable": { "$ref": "#/definitions/StretchRule" }, "horizontally_squashable": { "$ref": "#/definitions/StretchRule" }, "vertically_squashable": { "$ref": "#/definitions/StretchRule" }, "natural_size": { "anyOf": [ { "$ref": "#/definitions/uint32" }, { "type": "array", "items": [ { "$ref": "#/definitions/uint32" }, { "$ref": "#/definitions/uint32" } ], "minItems": 2, "maxItems": 2 } ] }, "size": { "anyOf": [ { "$ref": "#/definitions/uint32" }, { "type": "array", "items": [ { "$ref": "#/definitions/uint32" }, { "$ref": "#/definitions/uint32" } ], "minItems": 2, "maxItems": 2 } ] }, "width": { "$ref": "#/definitions/uint32" }, "minimal_width": { "$ref": "#/definitions/uint32" }, "maximal_width": { "$ref": "#/definitions/uint32" }, "natural_width": { "$ref": "#/definitions/uint32" }, "height": { "$ref": "#/definitions/uint32" }, "minimal_height": { "$ref": "#/definitions/uint32" }, "maximal_height": { "$ref": "#/definitions/uint32" }, "natural_height": { "$ref": "#/definitions/uint32" }, "padding": { "$ref": "#/definitions/int16" }, "top_padding": { "$ref": "#/definitions/int16" }, "right_padding": { "$ref": "#/definitions/int16" }, "bottom_padding": { "$ref": "#/definitions/int16" }, "left_padding": { "$ref": "#/definitions/int16" }, "margin": { "$ref": "#/definitions/int16" }, "top_margin": { "$ref": "#/definitions/int16" }, "right_margin": { "$ref": "#/definitions/int16" }, "bottom_margin": { "$ref": "#/definitions/int16" }, "left_margin": { "$ref": "#/definitions/int16" }, "effect": { "anyOf": [ { "type": "string", "const": "compilatron-hologram" } ] }, "effect_opacity": { "$ref": "#/definitions/float" }, "tooltip": { "$ref": "#/definitions/LocalisedString" }, "type": { "type": "string", "const": "vertical_flow_style" }, "vertical_spacing": { "$ref": "#/definitions/int32" } }, "required": [ "type" ] }, "VerticalScrollBarStyleSpecification": { "description": "https://lua-api.factorio.com/stable/types/VerticalScrollBarStyleSpecification.html", "type": "object", "properties": { "parent": { "$ref": "#/definitions/string" }, "horizontal_align": { "$ref": "#/definitions/HorizontalAlign" }, "vertical_align": { "$ref": "#/definitions/VerticalAlign" }, "ignored_by_search": { "$ref": "#/definitions/bool" }, "never_hide_by_search": { "$ref": "#/definitions/bool" }, "horizontally_stretchable": { "$ref": "#/definitions/StretchRule" }, "vertically_stretchable": { "$ref": "#/definitions/StretchRule" }, "horizontally_squashable": { "$ref": "#/definitions/StretchRule" }, "vertically_squashable": { "$ref": "#/definitions/StretchRule" }, "natural_size": { "anyOf": [ { "$ref": "#/definitions/uint32" }, { "type": "array", "items": [ { "$ref": "#/definitions/uint32" }, { "$ref": "#/definitions/uint32" } ], "minItems": 2, "maxItems": 2 } ] }, "size": { "anyOf": [ { "$ref": "#/definitions/uint32" }, { "type": "array", "items": [ { "$ref": "#/definitions/uint32" }, { "$ref": "#/definitions/uint32" } ], "minItems": 2, "maxItems": 2 } ] }, "width": { "$ref": "#/definitions/uint32" }, "minimal_width": { "$ref": "#/definitions/uint32" }, "maximal_width": { "$ref": "#/definitions/uint32" }, "natural_width": { "$ref": "#/definitions/uint32" }, "height": { "$ref": "#/definitions/uint32" }, "minimal_height": { "$ref": "#/definitions/uint32" }, "maximal_height": { "$ref": "#/definitions/uint32" }, "natural_height": { "$ref": "#/definitions/uint32" }, "padding": { "$ref": "#/definitions/int16" }, "top_padding": { "$ref": "#/definitions/int16" }, "right_padding": { "$ref": "#/definitions/int16" }, "bottom_padding": { "$ref": "#/definitions/int16" }, "left_padding": { "$ref": "#/definitions/int16" }, "margin": { "$ref": "#/definitions/int16" }, "top_margin": { "$ref": "#/definitions/int16" }, "right_margin": { "$ref": "#/definitions/int16" }, "bottom_margin": { "$ref": "#/definitions/int16" }, "left_margin": { "$ref": "#/definitions/int16" }, "effect": { "anyOf": [ { "type": "string", "const": "compilatron-hologram" } ] }, "effect_opacity": { "$ref": "#/definitions/float" }, "tooltip": { "$ref": "#/definitions/LocalisedString" }, "background_graphical_set": { "$ref": "#/definitions/ElementImageSet" }, "thumb_button_style": { "$ref": "#/definitions/ButtonStyleSpecification" }, "type": { "type": "string", "const": "vertical_scrollbar_style" } }, "required": [ "type" ] }, "VirtualSignalID": { "description": "https://lua-api.factorio.com/stable/types/VirtualSignalID.html", "anyOf": [ { "$ref": "#/definitions/string" } ] }, "VisualState": { "description": "https://lua-api.factorio.com/stable/types/VisualState.html", "type": "object", "properties": { "name": { "$ref": "#/definitions/string" }, "next_active": { "$ref": "#/definitions/string" }, "next_inactive": { "$ref": "#/definitions/string" }, "duration": { "$ref": "#/definitions/uint8" }, "color": { "$ref": "#/definitions/Color" } }, "required": [ "name", "next_active", "next_inactive", "duration" ] }, "VoidEnergySource": { "description": "https://lua-api.factorio.com/stable/types/VoidEnergySource.html", "type": "object", "properties": { "emissions_per_minute": { "type": "object", "additionalProperties": { "$ref": "#/definitions/double" }, "propertyNames": { "$ref": "#/definitions/AirbornePollutantID" } }, "render_no_power_icon": { "$ref": "#/definitions/bool" }, "render_no_network_icon": { "$ref": "#/definitions/bool" }, "type": { "type": "string", "const": "void" } }, "required": [ "type" ] }, "WaterReflectionDefinition": { "description": "https://lua-api.factorio.com/stable/types/WaterReflectionDefinition.html", "type": "object", "properties": { "pictures": { "$ref": "#/definitions/SpriteVariations" }, "orientation_to_variation": { "$ref": "#/definitions/bool" }, "rotate": { "$ref": "#/definitions/bool" } } }, "WaterTileEffectParameters": { "description": "https://lua-api.factorio.com/stable/types/WaterTileEffectParameters.html", "type": "object", "properties": { "specular_lightness": { "$ref": "#/definitions/Color" }, "foam_color": { "$ref": "#/definitions/Color" }, "foam_color_multiplier": { "$ref": "#/definitions/float" }, "tick_scale": { "$ref": "#/definitions/float" }, "animation_speed": { "$ref": "#/definitions/float" }, "animation_scale": { "anyOf": [ { "$ref": "#/definitions/float" }, { "type": "array", "items": [ { "$ref": "#/definitions/float" }, { "$ref": "#/definitions/float" } ], "minItems": 2, "maxItems": 2 } ] }, "dark_threshold": { "anyOf": [ { "$ref": "#/definitions/float" }, { "type": "array", "items": [ { "$ref": "#/definitions/float" }, { "$ref": "#/definitions/float" } ], "minItems": 2, "maxItems": 2 } ] }, "reflection_threshold": { "anyOf": [ { "$ref": "#/definitions/float" }, { "type": "array", "items": [ { "$ref": "#/definitions/float" }, { "$ref": "#/definitions/float" } ], "minItems": 2, "maxItems": 2 } ] }, "specular_threshold": { "anyOf": [ { "$ref": "#/definitions/float" }, { "type": "array", "items": [ { "$ref": "#/definitions/float" }, { "$ref": "#/definitions/float" } ], "minItems": 2, "maxItems": 2 } ] }, "textures": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EffectTexture" } }, { "type": "object", "additionalProperties": false } ] }, "near_zoom": { "$ref": "#/definitions/float" }, "far_zoom": { "$ref": "#/definitions/float" }, "shader_variation": { "$ref": "#/definitions/EffectVariation" }, "texture_variations_rows": { "$ref": "#/definitions/uint8" }, "texture_variations_columns": { "$ref": "#/definitions/uint8" }, "secondary_texture_variations_rows": { "$ref": "#/definitions/uint8" }, "secondary_texture_variations_columns": { "$ref": "#/definitions/uint8" } }, "required": [ "specular_lightness", "foam_color", "foam_color_multiplier", "tick_scale", "animation_speed", "animation_scale", "dark_threshold", "reflection_threshold", "specular_threshold", "textures" ] }, "Weight": { "description": "https://lua-api.factorio.com/stable/types/Weight.html", "anyOf": [ { "$ref": "#/definitions/double" } ] }, "WireConnectionPoint": { "description": "https://lua-api.factorio.com/stable/types/WireConnectionPoint.html", "type": "object", "properties": { "wire": { "$ref": "#/definitions/WirePosition" }, "shadow": { "$ref": "#/definitions/WirePosition" } }, "required": [ "wire", "shadow" ] }, "WirePosition": { "description": "https://lua-api.factorio.com/stable/types/WirePosition.html", "type": "object", "properties": { "copper": { "$ref": "#/definitions/Vector" }, "red": { "$ref": "#/definitions/Vector" }, "green": { "$ref": "#/definitions/Vector" } } }, "WorkerRobotBatteryModifier": { "description": "https://lua-api.factorio.com/stable/types/WorkerRobotBatteryModifier.html", "type": "object", "properties": { "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "hidden": { "$ref": "#/definitions/bool" }, "modifier": { "$ref": "#/definitions/double" }, "type": { "type": "string", "const": "worker-robot-battery" }, "infer_icon": { "$ref": "#/definitions/bool" }, "use_icon_overlay_constant": { "$ref": "#/definitions/bool" } }, "required": [ "modifier", "type" ] }, "WorkerRobotSpeedModifier": { "description": "https://lua-api.factorio.com/stable/types/WorkerRobotSpeedModifier.html", "type": "object", "properties": { "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "hidden": { "$ref": "#/definitions/bool" }, "modifier": { "$ref": "#/definitions/double" }, "type": { "type": "string", "const": "worker-robot-speed" }, "infer_icon": { "$ref": "#/definitions/bool" }, "use_icon_overlay_constant": { "$ref": "#/definitions/bool" } }, "required": [ "modifier", "type" ] }, "WorkerRobotStorageModifier": { "description": "https://lua-api.factorio.com/stable/types/WorkerRobotStorageModifier.html", "type": "object", "properties": { "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "hidden": { "$ref": "#/definitions/bool" }, "modifier": { "$ref": "#/definitions/double" }, "type": { "type": "string", "const": "worker-robot-storage" }, "infer_icon": { "$ref": "#/definitions/bool" }, "use_icon_overlay_constant": { "$ref": "#/definitions/bool" } }, "required": [ "modifier", "type" ] }, "WorkingSound": { "description": "https://lua-api.factorio.com/stable/types/WorkingSound.html", "anyOf": [ { "type": "object", "properties": { "sound": { "$ref": "#/definitions/Sound" }, "audible_distance_modifier": { "$ref": "#/definitions/double" }, "probability": { "$ref": "#/definitions/double" }, "fade_in_ticks": { "$ref": "#/definitions/uint32" }, "fade_out_ticks": { "$ref": "#/definitions/uint32" }, "activity_to_volume_modifiers": { "$ref": "#/definitions/ActivityMatchingModifiers" }, "activity_to_speed_modifiers": { "$ref": "#/definitions/ActivityMatchingModifiers" }, "match_progress_to_activity": { "$ref": "#/definitions/bool" }, "match_volume_to_activity": { "$ref": "#/definitions/bool" }, "match_speed_to_activity": { "$ref": "#/definitions/bool" }, "play_for_working_visualisations": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/string" } }, { "type": "object", "additionalProperties": false } ] }, "volume_smoothing_window_size": { "$ref": "#/definitions/uint32" }, "main_sounds": { "anyOf": [ { "$ref": "#/definitions/MainSound" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/MainSound" } }, { "type": "object", "additionalProperties": false } ] } ] }, "apparent_volume": { "$ref": "#/definitions/float" }, "max_sounds_per_type": { "$ref": "#/definitions/uint8" }, "extra_sounds_ignore_limit": { "$ref": "#/definitions/bool" }, "persistent": { "$ref": "#/definitions/bool" }, "use_doppler_shift": { "$ref": "#/definitions/bool" }, "idle_sound": { "$ref": "#/definitions/Sound" }, "activate_sound": { "$ref": "#/definitions/Sound" }, "deactivate_sound": { "$ref": "#/definitions/Sound" }, "sound_accents": { "anyOf": [ { "$ref": "#/definitions/SoundAccent" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SoundAccent" } }, { "type": "object", "additionalProperties": false } ] } ] } } }, { "$ref": "#/definitions/Sound" } ] }, "WorkingVisualisation": { "description": "https://lua-api.factorio.com/stable/types/WorkingVisualisation.html", "type": "object", "properties": { "render_layer": { "$ref": "#/definitions/RenderLayer" }, "fadeout": { "$ref": "#/definitions/bool" }, "synced_fadeout": { "$ref": "#/definitions/bool" }, "constant_speed": { "$ref": "#/definitions/bool" }, "always_draw": { "$ref": "#/definitions/bool" }, "animated_shift": { "$ref": "#/definitions/bool" }, "align_to_waypoint": { "$ref": "#/definitions/bool" }, "mining_drill_scorch_mark": { "$ref": "#/definitions/bool" }, "secondary_draw_order": { "$ref": "#/definitions/int8" }, "light": { "$ref": "#/definitions/LightDefinition" }, "effect": { "anyOf": [ { "type": "string", "const": "flicker" }, { "type": "string", "const": "uranium-glow" }, { "type": "string", "const": "none" } ] }, "apply_recipe_tint": { "anyOf": [ { "type": "string", "const": "primary" }, { "type": "string", "const": "secondary" }, { "type": "string", "const": "tertiary" }, { "type": "string", "const": "quaternary" }, { "type": "string", "const": "none" } ] }, "apply_tint": { "anyOf": [ { "type": "string", "const": "resource-color" }, { "type": "string", "const": "input-fluid-base-color" }, { "type": "string", "const": "input-fluid-flow-color" }, { "type": "string", "const": "status" }, { "type": "string", "const": "none" }, { "type": "string", "const": "visual-state-color" } ] }, "north_animation": { "$ref": "#/definitions/Animation" }, "east_animation": { "$ref": "#/definitions/Animation" }, "south_animation": { "$ref": "#/definitions/Animation" }, "west_animation": { "$ref": "#/definitions/Animation" }, "north_position": { "$ref": "#/definitions/Vector" }, "east_position": { "$ref": "#/definitions/Vector" }, "south_position": { "$ref": "#/definitions/Vector" }, "west_position": { "$ref": "#/definitions/Vector" }, "north_secondary_draw_order": { "$ref": "#/definitions/int8" }, "east_secondary_draw_order": { "$ref": "#/definitions/int8" }, "south_secondary_draw_order": { "$ref": "#/definitions/int8" }, "west_secondary_draw_order": { "$ref": "#/definitions/int8" }, "north_fog_mask": { "$ref": "#/definitions/FogMaskShapeDefinition" }, "east_fog_mask": { "$ref": "#/definitions/FogMaskShapeDefinition" }, "south_fog_mask": { "$ref": "#/definitions/FogMaskShapeDefinition" }, "west_fog_mask": { "$ref": "#/definitions/FogMaskShapeDefinition" }, "fog_mask": { "$ref": "#/definitions/FogMaskShapeDefinition" }, "animation": { "$ref": "#/definitions/Animation" }, "draw_in_states": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/string" } }, { "type": "object", "additionalProperties": false } ] }, "draw_when_state_filter_matches": { "$ref": "#/definitions/bool" }, "enabled_by_name": { "$ref": "#/definitions/bool" }, "name": { "$ref": "#/definitions/string" }, "enabled_in_animated_shift_during_waypoint_stop": { "$ref": "#/definitions/bool" }, "enabled_in_animated_shift_during_transition": { "$ref": "#/definitions/bool" }, "frame_based_on_shift_animation_progress": { "$ref": "#/definitions/bool" }, "scorch_mark_fade_out_duration": { "$ref": "#/definitions/uint16" }, "scorch_mark_lifetime": { "$ref": "#/definitions/uint16" }, "scorch_mark_fade_in_frames": { "$ref": "#/definitions/uint8" } } }, "WorldAmbientSoundDefinition": { "description": "https://lua-api.factorio.com/stable/types/WorldAmbientSoundDefinition.html", "anyOf": [ { "type": "object", "properties": { "sound": { "$ref": "#/definitions/Sound" }, "radius": { "$ref": "#/definitions/double" }, "min_entity_count": { "$ref": "#/definitions/uint32" }, "max_entity_count": { "$ref": "#/definitions/uint32" }, "entity_to_sound_ratio": { "$ref": "#/definitions/float" }, "average_pause_seconds": { "$ref": "#/definitions/double" } } }, { "$ref": "#/definitions/Sound" } ] }, "bool": { "description": "https://lua-api.factorio.com/stable/types/bool.html", "type": "boolean" }, "double": { "description": "https://lua-api.factorio.com/stable/types/double.html", "type": "number" }, "float": { "description": "https://lua-api.factorio.com/stable/types/float.html", "type": "number" }, "int16": { "description": "https://lua-api.factorio.com/stable/types/int16.html", "type": "number" }, "int32": { "description": "https://lua-api.factorio.com/stable/types/int32.html", "type": "number" }, "int8": { "description": "https://lua-api.factorio.com/stable/types/int8.html", "type": "number" }, "string": { "description": "https://lua-api.factorio.com/stable/types/string.html", "type": "string" }, "uint16": { "description": "https://lua-api.factorio.com/stable/types/uint16.html", "type": "number" }, "uint32": { "description": "https://lua-api.factorio.com/stable/types/uint32.html", "type": "number" }, "uint64": { "description": "https://lua-api.factorio.com/stable/types/uint64.html", "type": "number" }, "uint8": { "description": "https://lua-api.factorio.com/stable/types/uint8.html", "type": "number" }, "AccumulatorPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/AccumulatorPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "accumulator" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "collision_box": { "$ref": "#/definitions/BoundingBox" }, "collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "map_generator_bounding_box": { "$ref": "#/definitions/BoundingBox" }, "selection_box": { "$ref": "#/definitions/BoundingBox" }, "drawing_box_vertical_extension": { "$ref": "#/definitions/double" }, "sticker_box": { "$ref": "#/definitions/BoundingBox" }, "hit_visualization_box": { "$ref": "#/definitions/BoundingBox" }, "trigger_target_mask": { "$ref": "#/definitions/TriggerTargetMask" }, "flags": { "$ref": "#/definitions/EntityPrototypeFlags" }, "tile_buildability_rules": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileBuildabilityRule" } }, { "type": "object", "additionalProperties": false } ] }, "minable": { "$ref": "#/definitions/MinableProperties" }, "surface_conditions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SurfaceCondition" } }, { "type": "object", "additionalProperties": false } ] }, "deconstruction_alternative": { "$ref": "#/definitions/EntityID" }, "selection_priority": { "$ref": "#/definitions/uint8" }, "build_grid_size": { "$ref": "#/definitions/uint8" }, "remove_decoratives": { "anyOf": [ { "type": "string", "const": "automatic" }, { "type": "string", "const": "true" }, { "type": "string", "const": "false" } ] }, "emissions_per_second": { "type": "object", "additionalProperties": { "$ref": "#/definitions/double" }, "propertyNames": { "$ref": "#/definitions/AirbornePollutantID" } }, "shooting_cursor_size": { "$ref": "#/definitions/double" }, "created_smoke": { "$ref": "#/definitions/CreateTrivialSmokeEffectItem" }, "working_sound": { "$ref": "#/definitions/WorkingSound" }, "created_effect": { "$ref": "#/definitions/Trigger" }, "build_sound": { "$ref": "#/definitions/Sound" }, "mined_sound": { "$ref": "#/definitions/Sound" }, "mining_sound": { "$ref": "#/definitions/Sound" }, "rotated_sound": { "$ref": "#/definitions/Sound" }, "impact_category": { "$ref": "#/definitions/string" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "placeable_position_visualization": { "$ref": "#/definitions/Sprite" }, "radius_visualisation_specification": { "$ref": "#/definitions/RadiusVisualisationSpecification" }, "stateless_visualisation": { "$ref": "#/definitions/StatelessVisualisations" }, "build_base_evolution_requirement": { "$ref": "#/definitions/double" }, "alert_icon_shift": { "$ref": "#/definitions/Vector" }, "alert_icon_scale": { "$ref": "#/definitions/float" }, "fast_replaceable_group": { "$ref": "#/definitions/string" }, "next_upgrade": { "$ref": "#/definitions/EntityID" }, "protected_from_tile_building": { "$ref": "#/definitions/bool" }, "heating_energy": { "$ref": "#/definitions/Energy" }, "allow_copy_paste": { "$ref": "#/definitions/bool" }, "selectable_in_game": { "$ref": "#/definitions/bool" }, "placeable_by": { "anyOf": [ { "$ref": "#/definitions/ItemToPlace" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemToPlace" } }, { "type": "object", "additionalProperties": false } ] } ] }, "remains_when_mined": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "additional_pastable_entities": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] }, "tile_width": { "$ref": "#/definitions/int32" }, "tile_height": { "$ref": "#/definitions/int32" }, "diagonal_tile_grid_size": { "$ref": "#/definitions/TilePosition" }, "autoplace": { "$ref": "#/definitions/AutoplaceSpecification" }, "map_color": { "$ref": "#/definitions/Color" }, "friendly_map_color": { "$ref": "#/definitions/Color" }, "enemy_map_color": { "$ref": "#/definitions/Color" }, "water_reflection": { "$ref": "#/definitions/WaterReflectionDefinition" }, "ambient_sounds_group": { "$ref": "#/definitions/EntityID" }, "ambient_sounds": { "anyOf": [ { "$ref": "#/definitions/WorldAmbientSoundDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/WorldAmbientSoundDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "icon_draw_specification": { "$ref": "#/definitions/IconDrawSpecification" }, "icons_positioning": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconSequencePositioning" } }, { "type": "object", "additionalProperties": false } ] }, "max_health": { "$ref": "#/definitions/float" }, "healing_per_tick": { "$ref": "#/definitions/float" }, "repair_speed_modifier": { "$ref": "#/definitions/float" }, "dying_explosion": { "anyOf": [ { "$ref": "#/definitions/ExplosionDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ExplosionDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "dying_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "damaged_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "loot": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/LootItem" } }, { "type": "object", "additionalProperties": false } ] }, "resistances": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Resistance" } }, { "type": "object", "additionalProperties": false } ] }, "attack_reaction": { "anyOf": [ { "$ref": "#/definitions/AttackReactionItem" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/AttackReactionItem" } }, { "type": "object", "additionalProperties": false } ] } ] }, "repair_sound": { "$ref": "#/definitions/Sound" }, "alert_when_damaged": { "$ref": "#/definitions/bool" }, "hide_resistances": { "$ref": "#/definitions/bool" }, "create_ghost_on_death": { "$ref": "#/definitions/bool" }, "random_corpse_variation": { "$ref": "#/definitions/bool" }, "integration_patch_render_layer": { "$ref": "#/definitions/RenderLayer" }, "corpse": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "integration_patch": { "$ref": "#/definitions/Sprite4Way" }, "overkill_fraction": { "$ref": "#/definitions/float" }, "is_military_target": { "$ref": "#/definitions/bool" }, "allow_run_time_change_of_is_military_target": { "$ref": "#/definitions/bool" }, "quality_indicator_scale": { "$ref": "#/definitions/double" }, "energy_source": { "$ref": "#/definitions/ElectricEnergySource" }, "chargable_graphics": { "$ref": "#/definitions/ChargableGraphics" }, "circuit_wire_max_distance": { "$ref": "#/definitions/double" }, "draw_copper_wires": { "$ref": "#/definitions/bool" }, "draw_circuit_wires": { "$ref": "#/definitions/bool" }, "circuit_connector": { "$ref": "#/definitions/CircuitConnectorDefinition" }, "default_output_signal": { "$ref": "#/definitions/SignalIDConnector" } }, "required": [ "type", "name", "energy_source" ] }, "AchievementPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/AchievementPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "achievement" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "steam_stats_name": { "$ref": "#/definitions/string" }, "allowed_without_fight": { "$ref": "#/definitions/bool" } }, "required": [ "type", "name" ] }, "ActiveDefenseEquipmentPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/ActiveDefenseEquipmentPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "active-defense-equipment" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "sprite": { "$ref": "#/definitions/Sprite" }, "shape": { "$ref": "#/definitions/EquipmentShape" }, "categories": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EquipmentCategoryID" } }, { "type": "object", "additionalProperties": false } ] }, "energy_source": { "$ref": "#/definitions/ElectricEnergySource" }, "take_result": { "$ref": "#/definitions/ItemID" }, "background_color": { "$ref": "#/definitions/Color" }, "background_border_color": { "$ref": "#/definitions/Color" }, "grabbed_background_color": { "$ref": "#/definitions/Color" }, "automatic": { "$ref": "#/definitions/bool" }, "attack_parameters": { "$ref": "#/definitions/AttackParameters" } }, "required": [ "type", "name", "sprite", "shape", "categories", "energy_source", "automatic", "attack_parameters" ] }, "AgriculturalTowerPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/AgriculturalTowerPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "agricultural-tower" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "collision_box": { "$ref": "#/definitions/BoundingBox" }, "collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "map_generator_bounding_box": { "$ref": "#/definitions/BoundingBox" }, "selection_box": { "$ref": "#/definitions/BoundingBox" }, "drawing_box_vertical_extension": { "$ref": "#/definitions/double" }, "sticker_box": { "$ref": "#/definitions/BoundingBox" }, "hit_visualization_box": { "$ref": "#/definitions/BoundingBox" }, "trigger_target_mask": { "$ref": "#/definitions/TriggerTargetMask" }, "flags": { "$ref": "#/definitions/EntityPrototypeFlags" }, "tile_buildability_rules": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileBuildabilityRule" } }, { "type": "object", "additionalProperties": false } ] }, "minable": { "$ref": "#/definitions/MinableProperties" }, "surface_conditions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SurfaceCondition" } }, { "type": "object", "additionalProperties": false } ] }, "deconstruction_alternative": { "$ref": "#/definitions/EntityID" }, "selection_priority": { "$ref": "#/definitions/uint8" }, "build_grid_size": { "$ref": "#/definitions/uint8" }, "remove_decoratives": { "anyOf": [ { "type": "string", "const": "automatic" }, { "type": "string", "const": "true" }, { "type": "string", "const": "false" } ] }, "emissions_per_second": { "type": "object", "additionalProperties": { "$ref": "#/definitions/double" }, "propertyNames": { "$ref": "#/definitions/AirbornePollutantID" } }, "shooting_cursor_size": { "$ref": "#/definitions/double" }, "created_smoke": { "$ref": "#/definitions/CreateTrivialSmokeEffectItem" }, "working_sound": { "$ref": "#/definitions/WorkingSound" }, "created_effect": { "$ref": "#/definitions/Trigger" }, "build_sound": { "$ref": "#/definitions/Sound" }, "mined_sound": { "$ref": "#/definitions/Sound" }, "mining_sound": { "$ref": "#/definitions/Sound" }, "rotated_sound": { "$ref": "#/definitions/Sound" }, "impact_category": { "$ref": "#/definitions/string" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "placeable_position_visualization": { "$ref": "#/definitions/Sprite" }, "radius_visualisation_specification": { "$ref": "#/definitions/RadiusVisualisationSpecification" }, "stateless_visualisation": { "$ref": "#/definitions/StatelessVisualisations" }, "build_base_evolution_requirement": { "$ref": "#/definitions/double" }, "alert_icon_shift": { "$ref": "#/definitions/Vector" }, "alert_icon_scale": { "$ref": "#/definitions/float" }, "fast_replaceable_group": { "$ref": "#/definitions/string" }, "next_upgrade": { "$ref": "#/definitions/EntityID" }, "protected_from_tile_building": { "$ref": "#/definitions/bool" }, "heating_energy": { "$ref": "#/definitions/Energy" }, "allow_copy_paste": { "$ref": "#/definitions/bool" }, "selectable_in_game": { "$ref": "#/definitions/bool" }, "placeable_by": { "anyOf": [ { "$ref": "#/definitions/ItemToPlace" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemToPlace" } }, { "type": "object", "additionalProperties": false } ] } ] }, "remains_when_mined": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "additional_pastable_entities": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] }, "tile_width": { "$ref": "#/definitions/int32" }, "tile_height": { "$ref": "#/definitions/int32" }, "diagonal_tile_grid_size": { "$ref": "#/definitions/TilePosition" }, "autoplace": { "$ref": "#/definitions/AutoplaceSpecification" }, "map_color": { "$ref": "#/definitions/Color" }, "friendly_map_color": { "$ref": "#/definitions/Color" }, "enemy_map_color": { "$ref": "#/definitions/Color" }, "water_reflection": { "$ref": "#/definitions/WaterReflectionDefinition" }, "ambient_sounds_group": { "$ref": "#/definitions/EntityID" }, "ambient_sounds": { "anyOf": [ { "$ref": "#/definitions/WorldAmbientSoundDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/WorldAmbientSoundDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "icon_draw_specification": { "$ref": "#/definitions/IconDrawSpecification" }, "icons_positioning": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconSequencePositioning" } }, { "type": "object", "additionalProperties": false } ] }, "max_health": { "$ref": "#/definitions/float" }, "healing_per_tick": { "$ref": "#/definitions/float" }, "repair_speed_modifier": { "$ref": "#/definitions/float" }, "dying_explosion": { "anyOf": [ { "$ref": "#/definitions/ExplosionDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ExplosionDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "dying_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "damaged_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "loot": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/LootItem" } }, { "type": "object", "additionalProperties": false } ] }, "resistances": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Resistance" } }, { "type": "object", "additionalProperties": false } ] }, "attack_reaction": { "anyOf": [ { "$ref": "#/definitions/AttackReactionItem" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/AttackReactionItem" } }, { "type": "object", "additionalProperties": false } ] } ] }, "repair_sound": { "$ref": "#/definitions/Sound" }, "alert_when_damaged": { "$ref": "#/definitions/bool" }, "hide_resistances": { "$ref": "#/definitions/bool" }, "create_ghost_on_death": { "$ref": "#/definitions/bool" }, "random_corpse_variation": { "$ref": "#/definitions/bool" }, "integration_patch_render_layer": { "$ref": "#/definitions/RenderLayer" }, "corpse": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "integration_patch": { "$ref": "#/definitions/Sprite4Way" }, "overkill_fraction": { "$ref": "#/definitions/float" }, "is_military_target": { "$ref": "#/definitions/bool" }, "allow_run_time_change_of_is_military_target": { "$ref": "#/definitions/bool" }, "quality_indicator_scale": { "$ref": "#/definitions/double" }, "graphics_set": { "$ref": "#/definitions/CraftingMachineGraphicsSet" }, "crane": { "$ref": "#/definitions/AgriculturalCraneProperties" }, "energy_source": { "$ref": "#/definitions/EnergySource" }, "input_inventory_size": { "$ref": "#/definitions/ItemStackIndex" }, "output_inventory_size": { "$ref": "#/definitions/ItemStackIndex" }, "energy_usage": { "$ref": "#/definitions/Energy" }, "crane_energy_usage": { "$ref": "#/definitions/Energy" }, "random_growth_offset": { "$ref": "#/definitions/double" }, "growth_grid_tile_size": { "$ref": "#/definitions/uint32" }, "central_orienting_sound": { "$ref": "#/definitions/InterruptibleSound" }, "arm_extending_sound": { "$ref": "#/definitions/InterruptibleSound" }, "grappler_orienting_sound": { "$ref": "#/definitions/InterruptibleSound" }, "grappler_extending_sound": { "$ref": "#/definitions/InterruptibleSound" }, "planting_sound": { "$ref": "#/definitions/Sound" }, "harvesting_sound": { "$ref": "#/definitions/Sound" }, "radius_visualisation_picture": { "$ref": "#/definitions/Sprite" }, "radius": { "$ref": "#/definitions/double" }, "central_orienting_sound_source": { "$ref": "#/definitions/string" }, "arm_extending_sound_source": { "$ref": "#/definitions/string" }, "grappler_orienting_sound_source": { "$ref": "#/definitions/string" }, "grappler_extending_sound_source": { "$ref": "#/definitions/string" }, "planting_procedure_points": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Vector3D" } }, { "type": "object", "additionalProperties": false } ] }, "harvesting_procedure_points": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Vector3D" } }, { "type": "object", "additionalProperties": false } ] }, "circuit_wire_max_distance": { "$ref": "#/definitions/double" }, "draw_copper_wires": { "$ref": "#/definitions/bool" }, "draw_circuit_wires": { "$ref": "#/definitions/bool" }, "circuit_connector": { "$ref": "#/definitions/CircuitConnectorDefinition" } }, "required": [ "type", "name", "crane", "energy_source", "input_inventory_size", "energy_usage", "crane_energy_usage", "radius" ] }, "AirbornePollutantPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/AirbornePollutantPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "airborne-pollutant" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "localised_name_with_amount": { "$ref": "#/definitions/string" }, "chart_color": { "$ref": "#/definitions/Color" }, "icon": { "$ref": "#/definitions/Sprite" }, "affects_evolution": { "$ref": "#/definitions/bool" }, "affects_water_tint": { "$ref": "#/definitions/bool" } }, "required": [ "type", "name", "chart_color", "icon", "affects_evolution", "affects_water_tint" ] }, "AmbientSound": { "description": "https://lua-api.factorio.com/stable/prototypes/AmbientSound.html", "type": "object", "properties": { "type": { "type": "string", "const": "ambient-sound" }, "name": { "$ref": "#/definitions/string" }, "weight": { "$ref": "#/definitions/double" }, "track_type": { "$ref": "#/definitions/AmbientSoundType" }, "planet": { "$ref": "#/definitions/SpaceLocationID" }, "sound": { "$ref": "#/definitions/Sound" }, "variable_sound": { "$ref": "#/definitions/VariableAmbientSoundVariableSound" } }, "required": [ "type", "name", "track_type" ] }, "AmmoCategory": { "description": "https://lua-api.factorio.com/stable/prototypes/AmmoCategory.html", "type": "object", "properties": { "type": { "type": "string", "const": "ammo-category" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "bonus_gui_order": { "$ref": "#/definitions/Order" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" } }, "required": [ "type", "name" ] }, "AmmoItemPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/AmmoItemPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "ammo" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "stack_size": { "$ref": "#/definitions/ItemCountType" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "dark_background_icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "dark_background_icon": { "$ref": "#/definitions/FileName" }, "dark_background_icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "place_result": { "$ref": "#/definitions/EntityID" }, "place_as_equipment_result": { "$ref": "#/definitions/EquipmentID" }, "fuel_category": { "$ref": "#/definitions/FuelCategoryID" }, "burnt_result": { "$ref": "#/definitions/ItemID" }, "spoil_result": { "$ref": "#/definitions/ItemID" }, "plant_result": { "$ref": "#/definitions/EntityID" }, "place_as_tile": { "type": "object", "properties": { "result": { "$ref": "#/definitions/TileID" }, "condition": { "$ref": "#/definitions/CollisionMaskConnector" }, "invert": { "$ref": "#/definitions/bool" }, "condition_size": { "$ref": "#/definitions/uint32" }, "tile_condition": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileID" } }, { "type": "object", "additionalProperties": false } ] } }, "required": [ "result", "condition", "condition_size" ] }, "pictures": { "$ref": "#/definitions/SpriteVariations" }, "flags": { "$ref": "#/definitions/ItemPrototypeFlags" }, "spoil_ticks": { "$ref": "#/definitions/uint32" }, "fuel_value": { "$ref": "#/definitions/Energy" }, "fuel_acceleration_multiplier": { "$ref": "#/definitions/double" }, "fuel_top_speed_multiplier": { "$ref": "#/definitions/double" }, "fuel_emissions_multiplier": { "$ref": "#/definitions/double" }, "fuel_acceleration_multiplier_quality_bonus": { "$ref": "#/definitions/double" }, "fuel_top_speed_multiplier_quality_bonus": { "$ref": "#/definitions/double" }, "weight": { "$ref": "#/definitions/Weight" }, "ingredient_to_weight_coefficient": { "$ref": "#/definitions/double" }, "fuel_glow_color": { "$ref": "#/definitions/Color" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "pick_sound": { "$ref": "#/definitions/Sound" }, "drop_sound": { "$ref": "#/definitions/Sound" }, "inventory_move_sound": { "$ref": "#/definitions/Sound" }, "default_import_location": { "$ref": "#/definitions/SpaceLocationID" }, "color_hint": { "$ref": "#/definitions/ColorHintSpecification" }, "has_random_tint": { "$ref": "#/definitions/bool" }, "spoil_to_trigger_result": { "$ref": "#/definitions/SpoilToTriggerResult" }, "destroyed_by_dropping_trigger": { "$ref": "#/definitions/Trigger" }, "rocket_launch_products": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemProductPrototype" } }, { "type": "object", "additionalProperties": false } ] }, "send_to_orbit_mode": { "$ref": "#/definitions/SendToOrbitMode" }, "random_tint_color": { "$ref": "#/definitions/Color" }, "spoil_level": { "$ref": "#/definitions/uint8" }, "ammo_type": { "anyOf": [ { "$ref": "#/definitions/AmmoType" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/AmmoType" } }, { "type": "object", "additionalProperties": false } ] } ] }, "magazine_size": { "$ref": "#/definitions/float" }, "reload_time": { "$ref": "#/definitions/float" }, "ammo_category": { "$ref": "#/definitions/AmmoCategoryID" }, "shoot_protected": { "$ref": "#/definitions/bool" } }, "required": [ "type", "name", "stack_size", "ammo_type", "ammo_category" ] }, "AmmoTurretPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/AmmoTurretPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "ammo-turret" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "collision_box": { "$ref": "#/definitions/BoundingBox" }, "collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "map_generator_bounding_box": { "$ref": "#/definitions/BoundingBox" }, "selection_box": { "$ref": "#/definitions/BoundingBox" }, "drawing_box_vertical_extension": { "$ref": "#/definitions/double" }, "sticker_box": { "$ref": "#/definitions/BoundingBox" }, "hit_visualization_box": { "$ref": "#/definitions/BoundingBox" }, "trigger_target_mask": { "$ref": "#/definitions/TriggerTargetMask" }, "flags": { "$ref": "#/definitions/EntityPrototypeFlags" }, "tile_buildability_rules": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileBuildabilityRule" } }, { "type": "object", "additionalProperties": false } ] }, "minable": { "$ref": "#/definitions/MinableProperties" }, "surface_conditions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SurfaceCondition" } }, { "type": "object", "additionalProperties": false } ] }, "deconstruction_alternative": { "$ref": "#/definitions/EntityID" }, "selection_priority": { "$ref": "#/definitions/uint8" }, "build_grid_size": { "$ref": "#/definitions/uint8" }, "remove_decoratives": { "anyOf": [ { "type": "string", "const": "automatic" }, { "type": "string", "const": "true" }, { "type": "string", "const": "false" } ] }, "emissions_per_second": { "type": "object", "additionalProperties": { "$ref": "#/definitions/double" }, "propertyNames": { "$ref": "#/definitions/AirbornePollutantID" } }, "shooting_cursor_size": { "$ref": "#/definitions/double" }, "created_smoke": { "$ref": "#/definitions/CreateTrivialSmokeEffectItem" }, "working_sound": { "$ref": "#/definitions/WorkingSound" }, "created_effect": { "$ref": "#/definitions/Trigger" }, "build_sound": { "$ref": "#/definitions/Sound" }, "mined_sound": { "$ref": "#/definitions/Sound" }, "mining_sound": { "$ref": "#/definitions/Sound" }, "rotated_sound": { "$ref": "#/definitions/Sound" }, "impact_category": { "$ref": "#/definitions/string" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "placeable_position_visualization": { "$ref": "#/definitions/Sprite" }, "radius_visualisation_specification": { "$ref": "#/definitions/RadiusVisualisationSpecification" }, "stateless_visualisation": { "$ref": "#/definitions/StatelessVisualisations" }, "build_base_evolution_requirement": { "$ref": "#/definitions/double" }, "alert_icon_shift": { "$ref": "#/definitions/Vector" }, "alert_icon_scale": { "$ref": "#/definitions/float" }, "fast_replaceable_group": { "$ref": "#/definitions/string" }, "next_upgrade": { "$ref": "#/definitions/EntityID" }, "protected_from_tile_building": { "$ref": "#/definitions/bool" }, "heating_energy": { "$ref": "#/definitions/Energy" }, "allow_copy_paste": { "$ref": "#/definitions/bool" }, "selectable_in_game": { "$ref": "#/definitions/bool" }, "placeable_by": { "anyOf": [ { "$ref": "#/definitions/ItemToPlace" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemToPlace" } }, { "type": "object", "additionalProperties": false } ] } ] }, "remains_when_mined": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "additional_pastable_entities": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] }, "tile_width": { "$ref": "#/definitions/int32" }, "tile_height": { "$ref": "#/definitions/int32" }, "diagonal_tile_grid_size": { "$ref": "#/definitions/TilePosition" }, "autoplace": { "$ref": "#/definitions/AutoplaceSpecification" }, "map_color": { "$ref": "#/definitions/Color" }, "friendly_map_color": { "$ref": "#/definitions/Color" }, "enemy_map_color": { "$ref": "#/definitions/Color" }, "water_reflection": { "$ref": "#/definitions/WaterReflectionDefinition" }, "ambient_sounds_group": { "$ref": "#/definitions/EntityID" }, "ambient_sounds": { "anyOf": [ { "$ref": "#/definitions/WorldAmbientSoundDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/WorldAmbientSoundDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "icon_draw_specification": { "$ref": "#/definitions/IconDrawSpecification" }, "icons_positioning": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconSequencePositioning" } }, { "type": "object", "additionalProperties": false } ] }, "max_health": { "$ref": "#/definitions/float" }, "healing_per_tick": { "$ref": "#/definitions/float" }, "repair_speed_modifier": { "$ref": "#/definitions/float" }, "dying_explosion": { "anyOf": [ { "$ref": "#/definitions/ExplosionDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ExplosionDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "dying_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "damaged_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "loot": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/LootItem" } }, { "type": "object", "additionalProperties": false } ] }, "resistances": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Resistance" } }, { "type": "object", "additionalProperties": false } ] }, "attack_reaction": { "anyOf": [ { "$ref": "#/definitions/AttackReactionItem" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/AttackReactionItem" } }, { "type": "object", "additionalProperties": false } ] } ] }, "repair_sound": { "$ref": "#/definitions/Sound" }, "alert_when_damaged": { "$ref": "#/definitions/bool" }, "hide_resistances": { "$ref": "#/definitions/bool" }, "create_ghost_on_death": { "$ref": "#/definitions/bool" }, "random_corpse_variation": { "$ref": "#/definitions/bool" }, "integration_patch_render_layer": { "$ref": "#/definitions/RenderLayer" }, "corpse": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "integration_patch": { "$ref": "#/definitions/Sprite4Way" }, "overkill_fraction": { "$ref": "#/definitions/float" }, "is_military_target": { "$ref": "#/definitions/bool" }, "allow_run_time_change_of_is_military_target": { "$ref": "#/definitions/bool" }, "quality_indicator_scale": { "$ref": "#/definitions/double" }, "attack_parameters": { "$ref": "#/definitions/AttackParameters" }, "folded_animation": { "$ref": "#/definitions/RotatedAnimation8Way" }, "call_for_help_radius": { "$ref": "#/definitions/double" }, "attack_target_mask": { "$ref": "#/definitions/TriggerTargetMask" }, "ignore_target_mask": { "$ref": "#/definitions/TriggerTargetMask" }, "shoot_in_prepare_state": { "$ref": "#/definitions/bool" }, "start_attacking_only_when_can_shoot": { "$ref": "#/definitions/bool" }, "turret_base_has_direction": { "$ref": "#/definitions/bool" }, "random_animation_offset": { "$ref": "#/definitions/bool" }, "attack_from_start_frame": { "$ref": "#/definitions/bool" }, "allow_turning_when_starting_attack": { "$ref": "#/definitions/bool" }, "gun_animation_secondary_draw_order": { "$ref": "#/definitions/uint8" }, "gun_animation_render_layer": { "$ref": "#/definitions/RenderLayer" }, "graphics_set": { "$ref": "#/definitions/TurretGraphicsSet" }, "preparing_animation": { "$ref": "#/definitions/RotatedAnimation8Way" }, "prepared_animation": { "$ref": "#/definitions/RotatedAnimation8Way" }, "prepared_alternative_animation": { "$ref": "#/definitions/RotatedAnimation8Way" }, "starting_attack_animation": { "$ref": "#/definitions/RotatedAnimation8Way" }, "attacking_animation": { "$ref": "#/definitions/RotatedAnimation8Way" }, "energy_glow_animation": { "$ref": "#/definitions/RotatedAnimation8Way" }, "resource_indicator_animation": { "$ref": "#/definitions/RotatedAnimation8Way" }, "ending_attack_animation": { "$ref": "#/definitions/RotatedAnimation8Way" }, "folding_animation": { "$ref": "#/definitions/RotatedAnimation8Way" }, "integration": { "$ref": "#/definitions/Sprite" }, "special_effect": { "$ref": "#/definitions/TurretSpecialEffect" }, "glow_light_intensity": { "$ref": "#/definitions/float" }, "energy_glow_animation_flicker_strength": { "$ref": "#/definitions/float" }, "starting_attack_sound": { "$ref": "#/definitions/Sound" }, "dying_sound": { "$ref": "#/definitions/Sound" }, "preparing_sound": { "$ref": "#/definitions/Sound" }, "folding_sound": { "$ref": "#/definitions/Sound" }, "prepared_sound": { "$ref": "#/definitions/Sound" }, "prepared_alternative_sound": { "$ref": "#/definitions/Sound" }, "rotating_sound": { "$ref": "#/definitions/InterruptibleSound" }, "default_speed": { "$ref": "#/definitions/float" }, "default_speed_secondary": { "$ref": "#/definitions/float" }, "default_speed_when_killed": { "$ref": "#/definitions/float" }, "default_starting_progress_when_killed": { "$ref": "#/definitions/float" }, "rotation_speed": { "$ref": "#/definitions/float" }, "rotation_speed_secondary": { "$ref": "#/definitions/float" }, "rotation_speed_when_killed": { "$ref": "#/definitions/float" }, "rotation_starting_progress_when_killed": { "$ref": "#/definitions/float" }, "preparing_speed": { "$ref": "#/definitions/float" }, "preparing_speed_secondary": { "$ref": "#/definitions/float" }, "preparing_speed_when_killed": { "$ref": "#/definitions/float" }, "preparing_starting_progress_when_killed": { "$ref": "#/definitions/float" }, "folded_speed": { "$ref": "#/definitions/float" }, "folded_speed_secondary": { "$ref": "#/definitions/float" }, "folded_speed_when_killed": { "$ref": "#/definitions/float" }, "folded_starting_progress_when_killed": { "$ref": "#/definitions/float" }, "prepared_speed": { "$ref": "#/definitions/float" }, "prepared_speed_secondary": { "$ref": "#/definitions/float" }, "prepared_speed_when_killed": { "$ref": "#/definitions/float" }, "prepared_starting_progress_when_killed": { "$ref": "#/definitions/float" }, "prepared_alternative_speed": { "$ref": "#/definitions/float" }, "prepared_alternative_speed_secondary": { "$ref": "#/definitions/float" }, "prepared_alternative_speed_when_killed": { "$ref": "#/definitions/float" }, "prepared_alternative_starting_progress_when_killed": { "$ref": "#/definitions/float" }, "prepared_alternative_chance": { "$ref": "#/definitions/float" }, "starting_attack_speed": { "$ref": "#/definitions/float" }, "starting_attack_speed_secondary": { "$ref": "#/definitions/float" }, "starting_attack_speed_when_killed": { "$ref": "#/definitions/float" }, "starting_attack_starting_progress_when_killed": { "$ref": "#/definitions/float" }, "attacking_speed": { "$ref": "#/definitions/float" }, "ending_attack_speed": { "$ref": "#/definitions/float" }, "ending_attack_speed_secondary": { "$ref": "#/definitions/float" }, "ending_attack_speed_when_killed": { "$ref": "#/definitions/float" }, "ending_attack_starting_progress_when_killed": { "$ref": "#/definitions/float" }, "folding_speed": { "$ref": "#/definitions/float" }, "folding_speed_secondary": { "$ref": "#/definitions/float" }, "folding_speed_when_killed": { "$ref": "#/definitions/float" }, "folding_starting_progress_when_killed": { "$ref": "#/definitions/float" }, "prepare_range": { "$ref": "#/definitions/double" }, "alert_when_attacking": { "$ref": "#/definitions/bool" }, "spawn_decorations_on_expansion": { "$ref": "#/definitions/bool" }, "folded_animation_is_stateless": { "$ref": "#/definitions/bool" }, "unfolds_before_dying": { "$ref": "#/definitions/bool" }, "spawn_decoration": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/CreateDecorativesTriggerEffectItem" } }, { "type": "object", "additionalProperties": false } ] }, "folded_state_corpse": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "can_retarget_while_starting_attack": { "$ref": "#/definitions/bool" }, "circuit_wire_max_distance": { "$ref": "#/definitions/double" }, "draw_copper_wires": { "$ref": "#/definitions/bool" }, "draw_circuit_wires": { "$ref": "#/definitions/bool" }, "circuit_connector": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/CircuitConnectorDefinition" } }, { "type": "object", "additionalProperties": false } ] }, "energy_source": { "$ref": "#/definitions/ElectricEnergySource" }, "energy_per_shot": { "$ref": "#/definitions/Energy" }, "inventory_size": { "$ref": "#/definitions/ItemStackIndex" }, "automated_ammo_count": { "$ref": "#/definitions/ItemCountType" }, "prepare_with_no_ammo": { "$ref": "#/definitions/bool" } }, "required": [ "type", "name", "attack_parameters", "folded_animation", "call_for_help_radius", "graphics_set", "inventory_size", "automated_ammo_count" ] }, "AnimationPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/AnimationPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "animation" }, "name": { "$ref": "#/definitions/string" }, "layers": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Animation" } }, { "type": "object", "additionalProperties": false } ] }, "filename": { "$ref": "#/definitions/FileName" }, "priority": { "$ref": "#/definitions/SpritePriority" }, "flags": { "$ref": "#/definitions/SpriteFlags" }, "size": { "anyOf": [ { "$ref": "#/definitions/SpriteSizeType" }, { "type": "array", "items": [ { "$ref": "#/definitions/SpriteSizeType" }, { "$ref": "#/definitions/SpriteSizeType" } ], "minItems": 2, "maxItems": 2 } ] }, "width": { "$ref": "#/definitions/SpriteSizeType" }, "height": { "$ref": "#/definitions/SpriteSizeType" }, "x": { "$ref": "#/definitions/SpriteSizeType" }, "y": { "$ref": "#/definitions/SpriteSizeType" }, "position": { "type": "array", "items": [ { "$ref": "#/definitions/SpriteSizeType" }, { "$ref": "#/definitions/SpriteSizeType" } ], "minItems": 2, "maxItems": 2 }, "shift": { "$ref": "#/definitions/Vector" }, "rotate_shift": { "$ref": "#/definitions/bool" }, "apply_special_effect": { "$ref": "#/definitions/bool" }, "scale": { "$ref": "#/definitions/double" }, "draw_as_shadow": { "$ref": "#/definitions/bool" }, "draw_as_glow": { "$ref": "#/definitions/bool" }, "draw_as_light": { "$ref": "#/definitions/bool" }, "mipmap_count": { "$ref": "#/definitions/uint8" }, "apply_runtime_tint": { "$ref": "#/definitions/bool" }, "tint_as_overlay": { "$ref": "#/definitions/bool" }, "invert_colors": { "$ref": "#/definitions/bool" }, "tint": { "$ref": "#/definitions/Color" }, "blend_mode": { "$ref": "#/definitions/BlendMode" }, "load_in_minimal_mode": { "$ref": "#/definitions/bool" }, "premul_alpha": { "$ref": "#/definitions/bool" }, "allow_forced_downscale": { "$ref": "#/definitions/bool" }, "generate_sdf": { "$ref": "#/definitions/bool" }, "surface": { "$ref": "#/definitions/SpriteUsageSurfaceHint" }, "usage": { "$ref": "#/definitions/SpriteUsageHint" }, "run_mode": { "$ref": "#/definitions/AnimationRunMode" }, "frame_count": { "$ref": "#/definitions/uint32" }, "line_length": { "$ref": "#/definitions/uint32" }, "animation_speed": { "$ref": "#/definitions/float" }, "max_advance": { "$ref": "#/definitions/float" }, "repeat_count": { "$ref": "#/definitions/uint8" }, "dice": { "$ref": "#/definitions/uint8" }, "dice_x": { "$ref": "#/definitions/uint8" }, "dice_y": { "$ref": "#/definitions/uint8" }, "frame_sequence": { "$ref": "#/definitions/AnimationFrameSequence" }, "stripes": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Stripe" } }, { "type": "object", "additionalProperties": false } ] }, "filenames": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/FileName" } }, { "type": "object", "additionalProperties": false } ] }, "slice": { "$ref": "#/definitions/uint32" }, "lines_per_file": { "$ref": "#/definitions/uint32" } }, "required": [ "type", "name" ] }, "ArithmeticCombinatorPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/ArithmeticCombinatorPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "arithmetic-combinator" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "collision_box": { "$ref": "#/definitions/BoundingBox" }, "collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "map_generator_bounding_box": { "$ref": "#/definitions/BoundingBox" }, "selection_box": { "$ref": "#/definitions/BoundingBox" }, "drawing_box_vertical_extension": { "$ref": "#/definitions/double" }, "sticker_box": { "$ref": "#/definitions/BoundingBox" }, "hit_visualization_box": { "$ref": "#/definitions/BoundingBox" }, "trigger_target_mask": { "$ref": "#/definitions/TriggerTargetMask" }, "flags": { "$ref": "#/definitions/EntityPrototypeFlags" }, "tile_buildability_rules": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileBuildabilityRule" } }, { "type": "object", "additionalProperties": false } ] }, "minable": { "$ref": "#/definitions/MinableProperties" }, "surface_conditions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SurfaceCondition" } }, { "type": "object", "additionalProperties": false } ] }, "deconstruction_alternative": { "$ref": "#/definitions/EntityID" }, "selection_priority": { "$ref": "#/definitions/uint8" }, "build_grid_size": { "$ref": "#/definitions/uint8" }, "remove_decoratives": { "anyOf": [ { "type": "string", "const": "automatic" }, { "type": "string", "const": "true" }, { "type": "string", "const": "false" } ] }, "emissions_per_second": { "type": "object", "additionalProperties": { "$ref": "#/definitions/double" }, "propertyNames": { "$ref": "#/definitions/AirbornePollutantID" } }, "shooting_cursor_size": { "$ref": "#/definitions/double" }, "created_smoke": { "$ref": "#/definitions/CreateTrivialSmokeEffectItem" }, "working_sound": { "$ref": "#/definitions/WorkingSound" }, "created_effect": { "$ref": "#/definitions/Trigger" }, "build_sound": { "$ref": "#/definitions/Sound" }, "mined_sound": { "$ref": "#/definitions/Sound" }, "mining_sound": { "$ref": "#/definitions/Sound" }, "rotated_sound": { "$ref": "#/definitions/Sound" }, "impact_category": { "$ref": "#/definitions/string" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "placeable_position_visualization": { "$ref": "#/definitions/Sprite" }, "radius_visualisation_specification": { "$ref": "#/definitions/RadiusVisualisationSpecification" }, "stateless_visualisation": { "$ref": "#/definitions/StatelessVisualisations" }, "build_base_evolution_requirement": { "$ref": "#/definitions/double" }, "alert_icon_shift": { "$ref": "#/definitions/Vector" }, "alert_icon_scale": { "$ref": "#/definitions/float" }, "fast_replaceable_group": { "$ref": "#/definitions/string" }, "next_upgrade": { "$ref": "#/definitions/EntityID" }, "protected_from_tile_building": { "$ref": "#/definitions/bool" }, "heating_energy": { "$ref": "#/definitions/Energy" }, "allow_copy_paste": { "$ref": "#/definitions/bool" }, "selectable_in_game": { "$ref": "#/definitions/bool" }, "placeable_by": { "anyOf": [ { "$ref": "#/definitions/ItemToPlace" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemToPlace" } }, { "type": "object", "additionalProperties": false } ] } ] }, "remains_when_mined": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "additional_pastable_entities": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] }, "tile_width": { "$ref": "#/definitions/int32" }, "tile_height": { "$ref": "#/definitions/int32" }, "diagonal_tile_grid_size": { "$ref": "#/definitions/TilePosition" }, "autoplace": { "$ref": "#/definitions/AutoplaceSpecification" }, "map_color": { "$ref": "#/definitions/Color" }, "friendly_map_color": { "$ref": "#/definitions/Color" }, "enemy_map_color": { "$ref": "#/definitions/Color" }, "water_reflection": { "$ref": "#/definitions/WaterReflectionDefinition" }, "ambient_sounds_group": { "$ref": "#/definitions/EntityID" }, "ambient_sounds": { "anyOf": [ { "$ref": "#/definitions/WorldAmbientSoundDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/WorldAmbientSoundDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "icon_draw_specification": { "$ref": "#/definitions/IconDrawSpecification" }, "icons_positioning": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconSequencePositioning" } }, { "type": "object", "additionalProperties": false } ] }, "max_health": { "$ref": "#/definitions/float" }, "healing_per_tick": { "$ref": "#/definitions/float" }, "repair_speed_modifier": { "$ref": "#/definitions/float" }, "dying_explosion": { "anyOf": [ { "$ref": "#/definitions/ExplosionDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ExplosionDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "dying_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "damaged_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "loot": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/LootItem" } }, { "type": "object", "additionalProperties": false } ] }, "resistances": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Resistance" } }, { "type": "object", "additionalProperties": false } ] }, "attack_reaction": { "anyOf": [ { "$ref": "#/definitions/AttackReactionItem" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/AttackReactionItem" } }, { "type": "object", "additionalProperties": false } ] } ] }, "repair_sound": { "$ref": "#/definitions/Sound" }, "alert_when_damaged": { "$ref": "#/definitions/bool" }, "hide_resistances": { "$ref": "#/definitions/bool" }, "create_ghost_on_death": { "$ref": "#/definitions/bool" }, "random_corpse_variation": { "$ref": "#/definitions/bool" }, "integration_patch_render_layer": { "$ref": "#/definitions/RenderLayer" }, "corpse": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "integration_patch": { "$ref": "#/definitions/Sprite4Way" }, "overkill_fraction": { "$ref": "#/definitions/float" }, "is_military_target": { "$ref": "#/definitions/bool" }, "allow_run_time_change_of_is_military_target": { "$ref": "#/definitions/bool" }, "quality_indicator_scale": { "$ref": "#/definitions/double" }, "energy_source": { "anyOf": [ { "$ref": "#/definitions/ElectricEnergySource" }, { "$ref": "#/definitions/VoidEnergySource" } ] }, "active_energy_usage": { "$ref": "#/definitions/Energy" }, "sprites": { "$ref": "#/definitions/Sprite4Way" }, "frozen_patch": { "$ref": "#/definitions/Sprite4Way" }, "activity_led_sprites": { "$ref": "#/definitions/Sprite4Way" }, "input_connection_bounding_box": { "$ref": "#/definitions/BoundingBox" }, "output_connection_bounding_box": { "$ref": "#/definitions/BoundingBox" }, "activity_led_light_offsets": { "type": "array", "items": [ { "$ref": "#/definitions/Vector" }, { "$ref": "#/definitions/Vector" }, { "$ref": "#/definitions/Vector" }, { "$ref": "#/definitions/Vector" } ], "minItems": 4, "maxItems": 4 }, "screen_light_offsets": { "type": "array", "items": [ { "$ref": "#/definitions/Vector" }, { "$ref": "#/definitions/Vector" }, { "$ref": "#/definitions/Vector" }, { "$ref": "#/definitions/Vector" } ], "minItems": 4, "maxItems": 4 }, "input_connection_points": { "type": "array", "items": [ { "$ref": "#/definitions/WireConnectionPoint" }, { "$ref": "#/definitions/WireConnectionPoint" }, { "$ref": "#/definitions/WireConnectionPoint" }, { "$ref": "#/definitions/WireConnectionPoint" } ], "minItems": 4, "maxItems": 4 }, "output_connection_points": { "type": "array", "items": [ { "$ref": "#/definitions/WireConnectionPoint" }, { "$ref": "#/definitions/WireConnectionPoint" }, { "$ref": "#/definitions/WireConnectionPoint" }, { "$ref": "#/definitions/WireConnectionPoint" } ], "minItems": 4, "maxItems": 4 }, "activity_led_light": { "$ref": "#/definitions/LightDefinition" }, "screen_light": { "$ref": "#/definitions/LightDefinition" }, "activity_led_hold_time": { "$ref": "#/definitions/uint8" }, "circuit_wire_max_distance": { "$ref": "#/definitions/double" }, "draw_copper_wires": { "$ref": "#/definitions/bool" }, "draw_circuit_wires": { "$ref": "#/definitions/bool" }, "plus_symbol_sprites": { "$ref": "#/definitions/Sprite4Way" }, "minus_symbol_sprites": { "$ref": "#/definitions/Sprite4Way" }, "multiply_symbol_sprites": { "$ref": "#/definitions/Sprite4Way" }, "divide_symbol_sprites": { "$ref": "#/definitions/Sprite4Way" }, "modulo_symbol_sprites": { "$ref": "#/definitions/Sprite4Way" }, "power_symbol_sprites": { "$ref": "#/definitions/Sprite4Way" }, "left_shift_symbol_sprites": { "$ref": "#/definitions/Sprite4Way" }, "right_shift_symbol_sprites": { "$ref": "#/definitions/Sprite4Way" }, "and_symbol_sprites": { "$ref": "#/definitions/Sprite4Way" }, "or_symbol_sprites": { "$ref": "#/definitions/Sprite4Way" }, "xor_symbol_sprites": { "$ref": "#/definitions/Sprite4Way" } }, "required": [ "type", "name", "energy_source", "active_energy_usage", "input_connection_bounding_box", "output_connection_bounding_box", "activity_led_light_offsets", "screen_light_offsets", "input_connection_points", "output_connection_points" ] }, "ArmorPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/ArmorPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "armor" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "stack_size": { "$ref": "#/definitions/ItemCountType" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "dark_background_icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "dark_background_icon": { "$ref": "#/definitions/FileName" }, "dark_background_icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "place_result": { "$ref": "#/definitions/EntityID" }, "place_as_equipment_result": { "$ref": "#/definitions/EquipmentID" }, "fuel_category": { "$ref": "#/definitions/FuelCategoryID" }, "burnt_result": { "$ref": "#/definitions/ItemID" }, "spoil_result": { "$ref": "#/definitions/ItemID" }, "plant_result": { "$ref": "#/definitions/EntityID" }, "place_as_tile": { "type": "object", "properties": { "result": { "$ref": "#/definitions/TileID" }, "condition": { "$ref": "#/definitions/CollisionMaskConnector" }, "invert": { "$ref": "#/definitions/bool" }, "condition_size": { "$ref": "#/definitions/uint32" }, "tile_condition": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileID" } }, { "type": "object", "additionalProperties": false } ] } }, "required": [ "result", "condition", "condition_size" ] }, "pictures": { "$ref": "#/definitions/SpriteVariations" }, "flags": { "$ref": "#/definitions/ItemPrototypeFlags" }, "spoil_ticks": { "$ref": "#/definitions/uint32" }, "fuel_value": { "$ref": "#/definitions/Energy" }, "fuel_acceleration_multiplier": { "$ref": "#/definitions/double" }, "fuel_top_speed_multiplier": { "$ref": "#/definitions/double" }, "fuel_emissions_multiplier": { "$ref": "#/definitions/double" }, "fuel_acceleration_multiplier_quality_bonus": { "$ref": "#/definitions/double" }, "fuel_top_speed_multiplier_quality_bonus": { "$ref": "#/definitions/double" }, "weight": { "$ref": "#/definitions/Weight" }, "ingredient_to_weight_coefficient": { "$ref": "#/definitions/double" }, "fuel_glow_color": { "$ref": "#/definitions/Color" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "pick_sound": { "$ref": "#/definitions/Sound" }, "drop_sound": { "$ref": "#/definitions/Sound" }, "inventory_move_sound": { "$ref": "#/definitions/Sound" }, "default_import_location": { "$ref": "#/definitions/SpaceLocationID" }, "color_hint": { "$ref": "#/definitions/ColorHintSpecification" }, "has_random_tint": { "$ref": "#/definitions/bool" }, "spoil_to_trigger_result": { "$ref": "#/definitions/SpoilToTriggerResult" }, "destroyed_by_dropping_trigger": { "$ref": "#/definitions/Trigger" }, "rocket_launch_products": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemProductPrototype" } }, { "type": "object", "additionalProperties": false } ] }, "send_to_orbit_mode": { "$ref": "#/definitions/SendToOrbitMode" }, "random_tint_color": { "$ref": "#/definitions/Color" }, "spoil_level": { "$ref": "#/definitions/uint8" }, "durability": { "$ref": "#/definitions/double" }, "durability_description_key": { "$ref": "#/definitions/string" }, "durability_description_value": { "$ref": "#/definitions/string" }, "infinite": { "$ref": "#/definitions/bool" }, "equipment_grid": { "$ref": "#/definitions/EquipmentGridID" }, "resistances": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Resistance" } }, { "type": "object", "additionalProperties": false } ] }, "inventory_size_bonus": { "$ref": "#/definitions/ItemStackIndex" }, "provides_flight": { "$ref": "#/definitions/bool" }, "collision_box": { "$ref": "#/definitions/BoundingBox" }, "drawing_box": { "$ref": "#/definitions/BoundingBox" }, "takeoff_sound": { "$ref": "#/definitions/Sound" }, "flight_sound": { "$ref": "#/definitions/InterruptibleSound" }, "landing_sound": { "$ref": "#/definitions/Sound" }, "steps_sound": { "$ref": "#/definitions/Sound" }, "moving_sound": { "$ref": "#/definitions/Sound" } }, "required": [ "type", "name", "stack_size" ] }, "ArrowPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/ArrowPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "arrow" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "collision_box": { "$ref": "#/definitions/BoundingBox" }, "collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "map_generator_bounding_box": { "$ref": "#/definitions/BoundingBox" }, "selection_box": { "$ref": "#/definitions/BoundingBox" }, "drawing_box_vertical_extension": { "$ref": "#/definitions/double" }, "sticker_box": { "$ref": "#/definitions/BoundingBox" }, "hit_visualization_box": { "$ref": "#/definitions/BoundingBox" }, "trigger_target_mask": { "$ref": "#/definitions/TriggerTargetMask" }, "flags": { "$ref": "#/definitions/EntityPrototypeFlags" }, "tile_buildability_rules": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileBuildabilityRule" } }, { "type": "object", "additionalProperties": false } ] }, "minable": { "$ref": "#/definitions/MinableProperties" }, "surface_conditions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SurfaceCondition" } }, { "type": "object", "additionalProperties": false } ] }, "deconstruction_alternative": { "$ref": "#/definitions/EntityID" }, "selection_priority": { "$ref": "#/definitions/uint8" }, "build_grid_size": { "$ref": "#/definitions/uint8" }, "remove_decoratives": { "anyOf": [ { "type": "string", "const": "automatic" }, { "type": "string", "const": "true" }, { "type": "string", "const": "false" } ] }, "emissions_per_second": { "type": "object", "additionalProperties": { "$ref": "#/definitions/double" }, "propertyNames": { "$ref": "#/definitions/AirbornePollutantID" } }, "shooting_cursor_size": { "$ref": "#/definitions/double" }, "created_smoke": { "$ref": "#/definitions/CreateTrivialSmokeEffectItem" }, "working_sound": { "$ref": "#/definitions/WorkingSound" }, "created_effect": { "$ref": "#/definitions/Trigger" }, "build_sound": { "$ref": "#/definitions/Sound" }, "mined_sound": { "$ref": "#/definitions/Sound" }, "mining_sound": { "$ref": "#/definitions/Sound" }, "rotated_sound": { "$ref": "#/definitions/Sound" }, "impact_category": { "$ref": "#/definitions/string" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "placeable_position_visualization": { "$ref": "#/definitions/Sprite" }, "radius_visualisation_specification": { "$ref": "#/definitions/RadiusVisualisationSpecification" }, "stateless_visualisation": { "$ref": "#/definitions/StatelessVisualisations" }, "build_base_evolution_requirement": { "$ref": "#/definitions/double" }, "alert_icon_shift": { "$ref": "#/definitions/Vector" }, "alert_icon_scale": { "$ref": "#/definitions/float" }, "fast_replaceable_group": { "$ref": "#/definitions/string" }, "next_upgrade": { "$ref": "#/definitions/EntityID" }, "protected_from_tile_building": { "$ref": "#/definitions/bool" }, "heating_energy": { "$ref": "#/definitions/Energy" }, "allow_copy_paste": { "$ref": "#/definitions/bool" }, "selectable_in_game": { "$ref": "#/definitions/bool" }, "placeable_by": { "anyOf": [ { "$ref": "#/definitions/ItemToPlace" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemToPlace" } }, { "type": "object", "additionalProperties": false } ] } ] }, "remains_when_mined": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "additional_pastable_entities": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] }, "tile_width": { "$ref": "#/definitions/int32" }, "tile_height": { "$ref": "#/definitions/int32" }, "diagonal_tile_grid_size": { "$ref": "#/definitions/TilePosition" }, "autoplace": { "$ref": "#/definitions/AutoplaceSpecification" }, "map_color": { "$ref": "#/definitions/Color" }, "friendly_map_color": { "$ref": "#/definitions/Color" }, "enemy_map_color": { "$ref": "#/definitions/Color" }, "water_reflection": { "$ref": "#/definitions/WaterReflectionDefinition" }, "ambient_sounds_group": { "$ref": "#/definitions/EntityID" }, "ambient_sounds": { "anyOf": [ { "$ref": "#/definitions/WorldAmbientSoundDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/WorldAmbientSoundDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "icon_draw_specification": { "$ref": "#/definitions/IconDrawSpecification" }, "icons_positioning": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconSequencePositioning" } }, { "type": "object", "additionalProperties": false } ] }, "arrow_picture": { "$ref": "#/definitions/Sprite" }, "circle_picture": { "$ref": "#/definitions/Sprite" }, "blinking": { "$ref": "#/definitions/bool" } }, "required": [ "type", "name", "arrow_picture" ] }, "ArtilleryFlarePrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/ArtilleryFlarePrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "artillery-flare" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "collision_box": { "$ref": "#/definitions/BoundingBox" }, "collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "map_generator_bounding_box": { "$ref": "#/definitions/BoundingBox" }, "selection_box": { "$ref": "#/definitions/BoundingBox" }, "drawing_box_vertical_extension": { "$ref": "#/definitions/double" }, "sticker_box": { "$ref": "#/definitions/BoundingBox" }, "hit_visualization_box": { "$ref": "#/definitions/BoundingBox" }, "trigger_target_mask": { "$ref": "#/definitions/TriggerTargetMask" }, "flags": { "$ref": "#/definitions/EntityPrototypeFlags" }, "tile_buildability_rules": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileBuildabilityRule" } }, { "type": "object", "additionalProperties": false } ] }, "minable": { "$ref": "#/definitions/MinableProperties" }, "surface_conditions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SurfaceCondition" } }, { "type": "object", "additionalProperties": false } ] }, "deconstruction_alternative": { "$ref": "#/definitions/EntityID" }, "selection_priority": { "$ref": "#/definitions/uint8" }, "build_grid_size": { "$ref": "#/definitions/uint8" }, "remove_decoratives": { "anyOf": [ { "type": "string", "const": "automatic" }, { "type": "string", "const": "true" }, { "type": "string", "const": "false" } ] }, "emissions_per_second": { "type": "object", "additionalProperties": { "$ref": "#/definitions/double" }, "propertyNames": { "$ref": "#/definitions/AirbornePollutantID" } }, "shooting_cursor_size": { "$ref": "#/definitions/double" }, "created_smoke": { "$ref": "#/definitions/CreateTrivialSmokeEffectItem" }, "working_sound": { "$ref": "#/definitions/WorkingSound" }, "created_effect": { "$ref": "#/definitions/Trigger" }, "build_sound": { "$ref": "#/definitions/Sound" }, "mined_sound": { "$ref": "#/definitions/Sound" }, "mining_sound": { "$ref": "#/definitions/Sound" }, "rotated_sound": { "$ref": "#/definitions/Sound" }, "impact_category": { "$ref": "#/definitions/string" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "placeable_position_visualization": { "$ref": "#/definitions/Sprite" }, "radius_visualisation_specification": { "$ref": "#/definitions/RadiusVisualisationSpecification" }, "stateless_visualisation": { "$ref": "#/definitions/StatelessVisualisations" }, "build_base_evolution_requirement": { "$ref": "#/definitions/double" }, "alert_icon_shift": { "$ref": "#/definitions/Vector" }, "alert_icon_scale": { "$ref": "#/definitions/float" }, "fast_replaceable_group": { "$ref": "#/definitions/string" }, "next_upgrade": { "$ref": "#/definitions/EntityID" }, "protected_from_tile_building": { "$ref": "#/definitions/bool" }, "heating_energy": { "$ref": "#/definitions/Energy" }, "allow_copy_paste": { "$ref": "#/definitions/bool" }, "selectable_in_game": { "$ref": "#/definitions/bool" }, "placeable_by": { "anyOf": [ { "$ref": "#/definitions/ItemToPlace" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemToPlace" } }, { "type": "object", "additionalProperties": false } ] } ] }, "remains_when_mined": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "additional_pastable_entities": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] }, "tile_width": { "$ref": "#/definitions/int32" }, "tile_height": { "$ref": "#/definitions/int32" }, "diagonal_tile_grid_size": { "$ref": "#/definitions/TilePosition" }, "autoplace": { "$ref": "#/definitions/AutoplaceSpecification" }, "map_color": { "$ref": "#/definitions/Color" }, "friendly_map_color": { "$ref": "#/definitions/Color" }, "enemy_map_color": { "$ref": "#/definitions/Color" }, "water_reflection": { "$ref": "#/definitions/WaterReflectionDefinition" }, "ambient_sounds_group": { "$ref": "#/definitions/EntityID" }, "ambient_sounds": { "anyOf": [ { "$ref": "#/definitions/WorldAmbientSoundDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/WorldAmbientSoundDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "icon_draw_specification": { "$ref": "#/definitions/IconDrawSpecification" }, "icons_positioning": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconSequencePositioning" } }, { "type": "object", "additionalProperties": false } ] }, "pictures": { "$ref": "#/definitions/AnimationVariations" }, "life_time": { "$ref": "#/definitions/uint16" }, "shadows": { "$ref": "#/definitions/AnimationVariations" }, "render_layer": { "$ref": "#/definitions/RenderLayer" }, "render_layer_when_on_ground": { "$ref": "#/definitions/RenderLayer" }, "regular_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "regular_trigger_effect_frequency": { "$ref": "#/definitions/uint32" }, "ended_in_water_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "movement_modifier_when_on_ground": { "$ref": "#/definitions/double" }, "movement_modifier": { "$ref": "#/definitions/double" }, "creation_shift": { "$ref": "#/definitions/Vector" }, "initial_speed": { "$ref": "#/definitions/Vector" }, "initial_height": { "$ref": "#/definitions/float" }, "initial_vertical_speed": { "$ref": "#/definitions/float" }, "initial_frame_speed": { "$ref": "#/definitions/float" }, "shots_per_flare": { "$ref": "#/definitions/uint32" }, "early_death_ticks": { "$ref": "#/definitions/uint32" }, "shot_category": { "$ref": "#/definitions/AmmoCategoryID" } }, "required": [ "type", "name", "map_color", "life_time" ] }, "ArtilleryProjectilePrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/ArtilleryProjectilePrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "artillery-projectile" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "collision_box": { "$ref": "#/definitions/BoundingBox" }, "collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "map_generator_bounding_box": { "$ref": "#/definitions/BoundingBox" }, "selection_box": { "$ref": "#/definitions/BoundingBox" }, "drawing_box_vertical_extension": { "$ref": "#/definitions/double" }, "sticker_box": { "$ref": "#/definitions/BoundingBox" }, "hit_visualization_box": { "$ref": "#/definitions/BoundingBox" }, "trigger_target_mask": { "$ref": "#/definitions/TriggerTargetMask" }, "flags": { "$ref": "#/definitions/EntityPrototypeFlags" }, "tile_buildability_rules": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileBuildabilityRule" } }, { "type": "object", "additionalProperties": false } ] }, "minable": { "$ref": "#/definitions/MinableProperties" }, "surface_conditions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SurfaceCondition" } }, { "type": "object", "additionalProperties": false } ] }, "deconstruction_alternative": { "$ref": "#/definitions/EntityID" }, "selection_priority": { "$ref": "#/definitions/uint8" }, "build_grid_size": { "$ref": "#/definitions/uint8" }, "remove_decoratives": { "anyOf": [ { "type": "string", "const": "automatic" }, { "type": "string", "const": "true" }, { "type": "string", "const": "false" } ] }, "emissions_per_second": { "type": "object", "additionalProperties": { "$ref": "#/definitions/double" }, "propertyNames": { "$ref": "#/definitions/AirbornePollutantID" } }, "shooting_cursor_size": { "$ref": "#/definitions/double" }, "created_smoke": { "$ref": "#/definitions/CreateTrivialSmokeEffectItem" }, "working_sound": { "$ref": "#/definitions/WorkingSound" }, "created_effect": { "$ref": "#/definitions/Trigger" }, "build_sound": { "$ref": "#/definitions/Sound" }, "mined_sound": { "$ref": "#/definitions/Sound" }, "mining_sound": { "$ref": "#/definitions/Sound" }, "rotated_sound": { "$ref": "#/definitions/Sound" }, "impact_category": { "$ref": "#/definitions/string" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "placeable_position_visualization": { "$ref": "#/definitions/Sprite" }, "radius_visualisation_specification": { "$ref": "#/definitions/RadiusVisualisationSpecification" }, "stateless_visualisation": { "$ref": "#/definitions/StatelessVisualisations" }, "build_base_evolution_requirement": { "$ref": "#/definitions/double" }, "alert_icon_shift": { "$ref": "#/definitions/Vector" }, "alert_icon_scale": { "$ref": "#/definitions/float" }, "fast_replaceable_group": { "$ref": "#/definitions/string" }, "next_upgrade": { "$ref": "#/definitions/EntityID" }, "protected_from_tile_building": { "$ref": "#/definitions/bool" }, "heating_energy": { "$ref": "#/definitions/Energy" }, "allow_copy_paste": { "$ref": "#/definitions/bool" }, "selectable_in_game": { "$ref": "#/definitions/bool" }, "placeable_by": { "anyOf": [ { "$ref": "#/definitions/ItemToPlace" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemToPlace" } }, { "type": "object", "additionalProperties": false } ] } ] }, "remains_when_mined": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "additional_pastable_entities": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] }, "tile_width": { "$ref": "#/definitions/int32" }, "tile_height": { "$ref": "#/definitions/int32" }, "diagonal_tile_grid_size": { "$ref": "#/definitions/TilePosition" }, "autoplace": { "$ref": "#/definitions/AutoplaceSpecification" }, "map_color": { "$ref": "#/definitions/Color" }, "friendly_map_color": { "$ref": "#/definitions/Color" }, "enemy_map_color": { "$ref": "#/definitions/Color" }, "water_reflection": { "$ref": "#/definitions/WaterReflectionDefinition" }, "ambient_sounds_group": { "$ref": "#/definitions/EntityID" }, "ambient_sounds": { "anyOf": [ { "$ref": "#/definitions/WorldAmbientSoundDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/WorldAmbientSoundDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "icon_draw_specification": { "$ref": "#/definitions/IconDrawSpecification" }, "icons_positioning": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconSequencePositioning" } }, { "type": "object", "additionalProperties": false } ] }, "reveal_map": { "$ref": "#/definitions/bool" }, "picture": { "$ref": "#/definitions/Sprite" }, "shadow": { "$ref": "#/definitions/Sprite" }, "chart_picture": { "$ref": "#/definitions/Sprite" }, "action": { "$ref": "#/definitions/Trigger" }, "final_action": { "$ref": "#/definitions/Trigger" }, "height_from_ground": { "$ref": "#/definitions/float" }, "rotatable": { "$ref": "#/definitions/bool" } }, "required": [ "type", "name", "map_color", "reveal_map" ] }, "ArtilleryTurretPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/ArtilleryTurretPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "artillery-turret" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "collision_box": { "$ref": "#/definitions/BoundingBox" }, "collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "map_generator_bounding_box": { "$ref": "#/definitions/BoundingBox" }, "selection_box": { "$ref": "#/definitions/BoundingBox" }, "drawing_box_vertical_extension": { "$ref": "#/definitions/double" }, "sticker_box": { "$ref": "#/definitions/BoundingBox" }, "hit_visualization_box": { "$ref": "#/definitions/BoundingBox" }, "trigger_target_mask": { "$ref": "#/definitions/TriggerTargetMask" }, "flags": { "$ref": "#/definitions/EntityPrototypeFlags" }, "tile_buildability_rules": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileBuildabilityRule" } }, { "type": "object", "additionalProperties": false } ] }, "minable": { "$ref": "#/definitions/MinableProperties" }, "surface_conditions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SurfaceCondition" } }, { "type": "object", "additionalProperties": false } ] }, "deconstruction_alternative": { "$ref": "#/definitions/EntityID" }, "selection_priority": { "$ref": "#/definitions/uint8" }, "build_grid_size": { "$ref": "#/definitions/uint8" }, "remove_decoratives": { "anyOf": [ { "type": "string", "const": "automatic" }, { "type": "string", "const": "true" }, { "type": "string", "const": "false" } ] }, "emissions_per_second": { "type": "object", "additionalProperties": { "$ref": "#/definitions/double" }, "propertyNames": { "$ref": "#/definitions/AirbornePollutantID" } }, "shooting_cursor_size": { "$ref": "#/definitions/double" }, "created_smoke": { "$ref": "#/definitions/CreateTrivialSmokeEffectItem" }, "working_sound": { "$ref": "#/definitions/WorkingSound" }, "created_effect": { "$ref": "#/definitions/Trigger" }, "build_sound": { "$ref": "#/definitions/Sound" }, "mined_sound": { "$ref": "#/definitions/Sound" }, "mining_sound": { "$ref": "#/definitions/Sound" }, "rotated_sound": { "$ref": "#/definitions/Sound" }, "impact_category": { "$ref": "#/definitions/string" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "placeable_position_visualization": { "$ref": "#/definitions/Sprite" }, "radius_visualisation_specification": { "$ref": "#/definitions/RadiusVisualisationSpecification" }, "stateless_visualisation": { "$ref": "#/definitions/StatelessVisualisations" }, "build_base_evolution_requirement": { "$ref": "#/definitions/double" }, "alert_icon_shift": { "$ref": "#/definitions/Vector" }, "alert_icon_scale": { "$ref": "#/definitions/float" }, "fast_replaceable_group": { "$ref": "#/definitions/string" }, "next_upgrade": { "$ref": "#/definitions/EntityID" }, "protected_from_tile_building": { "$ref": "#/definitions/bool" }, "heating_energy": { "$ref": "#/definitions/Energy" }, "allow_copy_paste": { "$ref": "#/definitions/bool" }, "selectable_in_game": { "$ref": "#/definitions/bool" }, "placeable_by": { "anyOf": [ { "$ref": "#/definitions/ItemToPlace" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemToPlace" } }, { "type": "object", "additionalProperties": false } ] } ] }, "remains_when_mined": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "additional_pastable_entities": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] }, "tile_width": { "$ref": "#/definitions/int32" }, "tile_height": { "$ref": "#/definitions/int32" }, "diagonal_tile_grid_size": { "$ref": "#/definitions/TilePosition" }, "autoplace": { "$ref": "#/definitions/AutoplaceSpecification" }, "map_color": { "$ref": "#/definitions/Color" }, "friendly_map_color": { "$ref": "#/definitions/Color" }, "enemy_map_color": { "$ref": "#/definitions/Color" }, "water_reflection": { "$ref": "#/definitions/WaterReflectionDefinition" }, "ambient_sounds_group": { "$ref": "#/definitions/EntityID" }, "ambient_sounds": { "anyOf": [ { "$ref": "#/definitions/WorldAmbientSoundDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/WorldAmbientSoundDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "icon_draw_specification": { "$ref": "#/definitions/IconDrawSpecification" }, "icons_positioning": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconSequencePositioning" } }, { "type": "object", "additionalProperties": false } ] }, "max_health": { "$ref": "#/definitions/float" }, "healing_per_tick": { "$ref": "#/definitions/float" }, "repair_speed_modifier": { "$ref": "#/definitions/float" }, "dying_explosion": { "anyOf": [ { "$ref": "#/definitions/ExplosionDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ExplosionDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "dying_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "damaged_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "loot": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/LootItem" } }, { "type": "object", "additionalProperties": false } ] }, "resistances": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Resistance" } }, { "type": "object", "additionalProperties": false } ] }, "attack_reaction": { "anyOf": [ { "$ref": "#/definitions/AttackReactionItem" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/AttackReactionItem" } }, { "type": "object", "additionalProperties": false } ] } ] }, "repair_sound": { "$ref": "#/definitions/Sound" }, "alert_when_damaged": { "$ref": "#/definitions/bool" }, "hide_resistances": { "$ref": "#/definitions/bool" }, "create_ghost_on_death": { "$ref": "#/definitions/bool" }, "random_corpse_variation": { "$ref": "#/definitions/bool" }, "integration_patch_render_layer": { "$ref": "#/definitions/RenderLayer" }, "corpse": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "integration_patch": { "$ref": "#/definitions/Sprite4Way" }, "overkill_fraction": { "$ref": "#/definitions/float" }, "is_military_target": { "$ref": "#/definitions/bool" }, "allow_run_time_change_of_is_military_target": { "$ref": "#/definitions/bool" }, "quality_indicator_scale": { "$ref": "#/definitions/double" }, "gun": { "$ref": "#/definitions/ItemID" }, "inventory_size": { "$ref": "#/definitions/ItemStackIndex" }, "ammo_stack_limit": { "$ref": "#/definitions/ItemCountType" }, "automated_ammo_count": { "$ref": "#/definitions/ItemCountType" }, "turret_rotation_speed": { "$ref": "#/definitions/double" }, "manual_range_modifier": { "$ref": "#/definitions/double" }, "alert_when_attacking": { "$ref": "#/definitions/bool" }, "disable_automatic_firing": { "$ref": "#/definitions/bool" }, "base_picture_secondary_draw_order": { "$ref": "#/definitions/uint8" }, "base_picture_render_layer": { "$ref": "#/definitions/RenderLayer" }, "base_picture": { "$ref": "#/definitions/Animation4Way" }, "cannon_base_shift": { "$ref": "#/definitions/Vector3D" }, "cannon_base_pictures": { "$ref": "#/definitions/RotatedSprite" }, "cannon_barrel_pictures": { "$ref": "#/definitions/RotatedSprite" }, "rotating_sound": { "$ref": "#/definitions/InterruptibleSound" }, "turn_after_shooting_cooldown": { "$ref": "#/definitions/uint16" }, "cannon_parking_frame_count": { "$ref": "#/definitions/uint16" }, "cannon_parking_speed": { "$ref": "#/definitions/float" }, "circuit_wire_max_distance": { "$ref": "#/definitions/double" }, "draw_copper_wires": { "$ref": "#/definitions/bool" }, "draw_circuit_wires": { "$ref": "#/definitions/bool" }, "circuit_connector": { "$ref": "#/definitions/CircuitConnectorDefinition" }, "cannon_barrel_recoil_shiftings": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Vector3D" } }, { "type": "object", "additionalProperties": false } ] }, "cannon_barrel_recoil_shiftings_load_correction_matrix": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Vector3D" } }, { "type": "object", "additionalProperties": false } ] }, "cannon_barrel_light_direction": { "$ref": "#/definitions/Vector3D" } }, "required": [ "type", "name", "gun", "inventory_size", "ammo_stack_limit", "turret_rotation_speed", "manual_range_modifier", "cannon_base_shift" ] }, "ArtilleryWagonPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/ArtilleryWagonPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "artillery-wagon" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "collision_box": { "$ref": "#/definitions/BoundingBox" }, "collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "map_generator_bounding_box": { "$ref": "#/definitions/BoundingBox" }, "selection_box": { "$ref": "#/definitions/BoundingBox" }, "drawing_box_vertical_extension": { "$ref": "#/definitions/double" }, "sticker_box": { "$ref": "#/definitions/BoundingBox" }, "hit_visualization_box": { "$ref": "#/definitions/BoundingBox" }, "trigger_target_mask": { "$ref": "#/definitions/TriggerTargetMask" }, "flags": { "$ref": "#/definitions/EntityPrototypeFlags" }, "tile_buildability_rules": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileBuildabilityRule" } }, { "type": "object", "additionalProperties": false } ] }, "minable": { "$ref": "#/definitions/MinableProperties" }, "surface_conditions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SurfaceCondition" } }, { "type": "object", "additionalProperties": false } ] }, "deconstruction_alternative": { "$ref": "#/definitions/EntityID" }, "selection_priority": { "$ref": "#/definitions/uint8" }, "build_grid_size": { "$ref": "#/definitions/uint8" }, "remove_decoratives": { "anyOf": [ { "type": "string", "const": "automatic" }, { "type": "string", "const": "true" }, { "type": "string", "const": "false" } ] }, "emissions_per_second": { "type": "object", "additionalProperties": { "$ref": "#/definitions/double" }, "propertyNames": { "$ref": "#/definitions/AirbornePollutantID" } }, "shooting_cursor_size": { "$ref": "#/definitions/double" }, "created_smoke": { "$ref": "#/definitions/CreateTrivialSmokeEffectItem" }, "working_sound": { "$ref": "#/definitions/WorkingSound" }, "created_effect": { "$ref": "#/definitions/Trigger" }, "build_sound": { "$ref": "#/definitions/Sound" }, "mined_sound": { "$ref": "#/definitions/Sound" }, "mining_sound": { "$ref": "#/definitions/Sound" }, "rotated_sound": { "$ref": "#/definitions/Sound" }, "impact_category": { "$ref": "#/definitions/string" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "placeable_position_visualization": { "$ref": "#/definitions/Sprite" }, "radius_visualisation_specification": { "$ref": "#/definitions/RadiusVisualisationSpecification" }, "stateless_visualisation": { "$ref": "#/definitions/StatelessVisualisations" }, "build_base_evolution_requirement": { "$ref": "#/definitions/double" }, "alert_icon_shift": { "$ref": "#/definitions/Vector" }, "alert_icon_scale": { "$ref": "#/definitions/float" }, "fast_replaceable_group": { "$ref": "#/definitions/string" }, "next_upgrade": { "$ref": "#/definitions/EntityID" }, "protected_from_tile_building": { "$ref": "#/definitions/bool" }, "heating_energy": { "$ref": "#/definitions/Energy" }, "allow_copy_paste": { "$ref": "#/definitions/bool" }, "selectable_in_game": { "$ref": "#/definitions/bool" }, "placeable_by": { "anyOf": [ { "$ref": "#/definitions/ItemToPlace" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemToPlace" } }, { "type": "object", "additionalProperties": false } ] } ] }, "remains_when_mined": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "additional_pastable_entities": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] }, "tile_width": { "$ref": "#/definitions/int32" }, "tile_height": { "$ref": "#/definitions/int32" }, "diagonal_tile_grid_size": { "$ref": "#/definitions/TilePosition" }, "autoplace": { "$ref": "#/definitions/AutoplaceSpecification" }, "map_color": { "$ref": "#/definitions/Color" }, "friendly_map_color": { "$ref": "#/definitions/Color" }, "enemy_map_color": { "$ref": "#/definitions/Color" }, "water_reflection": { "$ref": "#/definitions/WaterReflectionDefinition" }, "ambient_sounds_group": { "$ref": "#/definitions/EntityID" }, "ambient_sounds": { "anyOf": [ { "$ref": "#/definitions/WorldAmbientSoundDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/WorldAmbientSoundDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "icon_draw_specification": { "$ref": "#/definitions/IconDrawSpecification" }, "icons_positioning": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconSequencePositioning" } }, { "type": "object", "additionalProperties": false } ] }, "max_health": { "$ref": "#/definitions/float" }, "healing_per_tick": { "$ref": "#/definitions/float" }, "repair_speed_modifier": { "$ref": "#/definitions/float" }, "dying_explosion": { "anyOf": [ { "$ref": "#/definitions/ExplosionDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ExplosionDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "dying_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "damaged_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "loot": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/LootItem" } }, { "type": "object", "additionalProperties": false } ] }, "resistances": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Resistance" } }, { "type": "object", "additionalProperties": false } ] }, "attack_reaction": { "anyOf": [ { "$ref": "#/definitions/AttackReactionItem" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/AttackReactionItem" } }, { "type": "object", "additionalProperties": false } ] } ] }, "repair_sound": { "$ref": "#/definitions/Sound" }, "alert_when_damaged": { "$ref": "#/definitions/bool" }, "hide_resistances": { "$ref": "#/definitions/bool" }, "create_ghost_on_death": { "$ref": "#/definitions/bool" }, "random_corpse_variation": { "$ref": "#/definitions/bool" }, "integration_patch_render_layer": { "$ref": "#/definitions/RenderLayer" }, "corpse": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "integration_patch": { "$ref": "#/definitions/Sprite4Way" }, "overkill_fraction": { "$ref": "#/definitions/float" }, "is_military_target": { "$ref": "#/definitions/bool" }, "allow_run_time_change_of_is_military_target": { "$ref": "#/definitions/bool" }, "quality_indicator_scale": { "$ref": "#/definitions/double" }, "weight": { "$ref": "#/definitions/double" }, "braking_power": { "anyOf": [ { "$ref": "#/definitions/Energy" }, { "$ref": "#/definitions/double" } ] }, "braking_force": { "anyOf": [ { "$ref": "#/definitions/Energy" }, { "$ref": "#/definitions/double" } ] }, "friction": { "$ref": "#/definitions/double" }, "friction_force": { "$ref": "#/definitions/double" }, "energy_per_hit_point": { "$ref": "#/definitions/double" }, "terrain_friction_modifier": { "$ref": "#/definitions/float" }, "impact_speed_to_volume_ratio": { "$ref": "#/definitions/double" }, "stop_trigger_speed": { "$ref": "#/definitions/double" }, "crash_trigger": { "$ref": "#/definitions/TriggerEffect" }, "stop_trigger": { "$ref": "#/definitions/TriggerEffect" }, "equipment_grid": { "$ref": "#/definitions/EquipmentGridID" }, "minimap_representation": { "$ref": "#/definitions/Sprite" }, "selected_minimap_representation": { "$ref": "#/definitions/Sprite" }, "allow_passengers": { "$ref": "#/definitions/bool" }, "deliver_category": { "$ref": "#/definitions/string" }, "chunk_exploration_radius": { "$ref": "#/definitions/uint32" }, "allow_remote_driving": { "$ref": "#/definitions/bool" }, "max_speed": { "$ref": "#/definitions/double" }, "air_resistance": { "$ref": "#/definitions/double" }, "joint_distance": { "$ref": "#/definitions/double" }, "connection_distance": { "$ref": "#/definitions/double" }, "pictures": { "$ref": "#/definitions/RollingStockRotatedSlopedGraphics" }, "wheels": { "$ref": "#/definitions/RollingStockRotatedSlopedGraphics" }, "vertical_selection_shift": { "$ref": "#/definitions/double" }, "drive_over_tie_trigger": { "$ref": "#/definitions/TriggerEffect" }, "drive_over_tie_trigger_minimal_speed": { "$ref": "#/definitions/double" }, "tie_distance": { "$ref": "#/definitions/double" }, "back_light": { "$ref": "#/definitions/LightDefinition" }, "stand_by_light": { "$ref": "#/definitions/LightDefinition" }, "horizontal_doors": { "$ref": "#/definitions/Animation" }, "vertical_doors": { "$ref": "#/definitions/Animation" }, "color": { "$ref": "#/definitions/Color" }, "allow_manual_color": { "$ref": "#/definitions/bool" }, "allow_robot_dispatch_in_automatic_mode": { "$ref": "#/definitions/bool" }, "default_copy_color_from_train_stop": { "$ref": "#/definitions/bool" }, "transition_collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "elevated_collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "elevated_selection_priority": { "$ref": "#/definitions/uint8" }, "elevated_rail_sound": { "$ref": "#/definitions/MainSound" }, "drive_over_elevated_tie_trigger": { "$ref": "#/definitions/TriggerEffect" }, "door_opening_sound": { "$ref": "#/definitions/InterruptibleSound" }, "door_closing_sound": { "$ref": "#/definitions/InterruptibleSound" }, "gun": { "$ref": "#/definitions/ItemID" }, "inventory_size": { "$ref": "#/definitions/ItemStackIndex" }, "ammo_stack_limit": { "$ref": "#/definitions/ItemCountType" }, "automated_ammo_count": { "$ref": "#/definitions/ItemCountType" }, "turret_rotation_speed": { "$ref": "#/definitions/double" }, "manual_range_modifier": { "$ref": "#/definitions/double" }, "disable_automatic_firing": { "$ref": "#/definitions/bool" }, "cannon_base_pictures": { "$ref": "#/definitions/RollingStockRotatedSlopedGraphics" }, "cannon_base_height": { "$ref": "#/definitions/double" }, "cannon_base_shift_when_vertical": { "$ref": "#/definitions/double" }, "cannon_base_shift_when_horizontal": { "$ref": "#/definitions/double" }, "cannon_barrel_pictures": { "$ref": "#/definitions/RollingStockRotatedSlopedGraphics" }, "rotating_sound": { "$ref": "#/definitions/InterruptibleSound" }, "turn_after_shooting_cooldown": { "$ref": "#/definitions/uint16" }, "cannon_parking_frame_count": { "$ref": "#/definitions/uint16" }, "cannon_parking_speed": { "$ref": "#/definitions/float" }, "cannon_barrel_recoil_shiftings": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Vector3D" } }, { "type": "object", "additionalProperties": false } ] }, "cannon_barrel_recoil_shiftings_load_correction_matrix": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Vector3D" } }, { "type": "object", "additionalProperties": false } ] }, "cannon_barrel_light_direction": { "$ref": "#/definitions/Vector3D" } }, "required": [ "type", "name", "weight", "energy_per_hit_point", "max_speed", "air_resistance", "joint_distance", "connection_distance", "vertical_selection_shift", "gun", "inventory_size", "ammo_stack_limit", "turret_rotation_speed", "manual_range_modifier" ], "allOf": [ { "anyOf": [ { "required": [ "braking_power" ] }, { "required": [ "braking_force" ] } ] }, { "anyOf": [ { "required": [ "friction" ] }, { "required": [ "friction_force" ] } ] } ] }, "AssemblingMachinePrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/AssemblingMachinePrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "assembling-machine" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "collision_box": { "$ref": "#/definitions/BoundingBox" }, "collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "map_generator_bounding_box": { "$ref": "#/definitions/BoundingBox" }, "selection_box": { "$ref": "#/definitions/BoundingBox" }, "drawing_box_vertical_extension": { "$ref": "#/definitions/double" }, "sticker_box": { "$ref": "#/definitions/BoundingBox" }, "hit_visualization_box": { "$ref": "#/definitions/BoundingBox" }, "trigger_target_mask": { "$ref": "#/definitions/TriggerTargetMask" }, "flags": { "$ref": "#/definitions/EntityPrototypeFlags" }, "tile_buildability_rules": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileBuildabilityRule" } }, { "type": "object", "additionalProperties": false } ] }, "minable": { "$ref": "#/definitions/MinableProperties" }, "surface_conditions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SurfaceCondition" } }, { "type": "object", "additionalProperties": false } ] }, "deconstruction_alternative": { "$ref": "#/definitions/EntityID" }, "selection_priority": { "$ref": "#/definitions/uint8" }, "build_grid_size": { "$ref": "#/definitions/uint8" }, "remove_decoratives": { "anyOf": [ { "type": "string", "const": "automatic" }, { "type": "string", "const": "true" }, { "type": "string", "const": "false" } ] }, "emissions_per_second": { "type": "object", "additionalProperties": { "$ref": "#/definitions/double" }, "propertyNames": { "$ref": "#/definitions/AirbornePollutantID" } }, "shooting_cursor_size": { "$ref": "#/definitions/double" }, "created_smoke": { "$ref": "#/definitions/CreateTrivialSmokeEffectItem" }, "working_sound": { "$ref": "#/definitions/WorkingSound" }, "created_effect": { "$ref": "#/definitions/Trigger" }, "build_sound": { "$ref": "#/definitions/Sound" }, "mined_sound": { "$ref": "#/definitions/Sound" }, "mining_sound": { "$ref": "#/definitions/Sound" }, "rotated_sound": { "$ref": "#/definitions/Sound" }, "impact_category": { "$ref": "#/definitions/string" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "placeable_position_visualization": { "$ref": "#/definitions/Sprite" }, "radius_visualisation_specification": { "$ref": "#/definitions/RadiusVisualisationSpecification" }, "stateless_visualisation": { "$ref": "#/definitions/StatelessVisualisations" }, "build_base_evolution_requirement": { "$ref": "#/definitions/double" }, "alert_icon_shift": { "$ref": "#/definitions/Vector" }, "alert_icon_scale": { "$ref": "#/definitions/float" }, "fast_replaceable_group": { "$ref": "#/definitions/string" }, "next_upgrade": { "$ref": "#/definitions/EntityID" }, "protected_from_tile_building": { "$ref": "#/definitions/bool" }, "heating_energy": { "$ref": "#/definitions/Energy" }, "allow_copy_paste": { "$ref": "#/definitions/bool" }, "selectable_in_game": { "$ref": "#/definitions/bool" }, "placeable_by": { "anyOf": [ { "$ref": "#/definitions/ItemToPlace" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemToPlace" } }, { "type": "object", "additionalProperties": false } ] } ] }, "remains_when_mined": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "additional_pastable_entities": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] }, "tile_width": { "$ref": "#/definitions/int32" }, "tile_height": { "$ref": "#/definitions/int32" }, "diagonal_tile_grid_size": { "$ref": "#/definitions/TilePosition" }, "autoplace": { "$ref": "#/definitions/AutoplaceSpecification" }, "map_color": { "$ref": "#/definitions/Color" }, "friendly_map_color": { "$ref": "#/definitions/Color" }, "enemy_map_color": { "$ref": "#/definitions/Color" }, "water_reflection": { "$ref": "#/definitions/WaterReflectionDefinition" }, "ambient_sounds_group": { "$ref": "#/definitions/EntityID" }, "ambient_sounds": { "anyOf": [ { "$ref": "#/definitions/WorldAmbientSoundDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/WorldAmbientSoundDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "icon_draw_specification": { "$ref": "#/definitions/IconDrawSpecification" }, "icons_positioning": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconSequencePositioning" } }, { "type": "object", "additionalProperties": false } ] }, "max_health": { "$ref": "#/definitions/float" }, "healing_per_tick": { "$ref": "#/definitions/float" }, "repair_speed_modifier": { "$ref": "#/definitions/float" }, "dying_explosion": { "anyOf": [ { "$ref": "#/definitions/ExplosionDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ExplosionDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "dying_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "damaged_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "loot": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/LootItem" } }, { "type": "object", "additionalProperties": false } ] }, "resistances": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Resistance" } }, { "type": "object", "additionalProperties": false } ] }, "attack_reaction": { "anyOf": [ { "$ref": "#/definitions/AttackReactionItem" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/AttackReactionItem" } }, { "type": "object", "additionalProperties": false } ] } ] }, "repair_sound": { "$ref": "#/definitions/Sound" }, "alert_when_damaged": { "$ref": "#/definitions/bool" }, "hide_resistances": { "$ref": "#/definitions/bool" }, "create_ghost_on_death": { "$ref": "#/definitions/bool" }, "random_corpse_variation": { "$ref": "#/definitions/bool" }, "integration_patch_render_layer": { "$ref": "#/definitions/RenderLayer" }, "corpse": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "integration_patch": { "$ref": "#/definitions/Sprite4Way" }, "overkill_fraction": { "$ref": "#/definitions/float" }, "is_military_target": { "$ref": "#/definitions/bool" }, "allow_run_time_change_of_is_military_target": { "$ref": "#/definitions/bool" }, "quality_indicator_scale": { "$ref": "#/definitions/double" }, "energy_usage": { "$ref": "#/definitions/Energy" }, "crafting_speed": { "$ref": "#/definitions/double" }, "crafting_categories": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/RecipeCategoryID" } }, { "type": "object", "additionalProperties": false } ] }, "energy_source": { "$ref": "#/definitions/EnergySource" }, "fluid_boxes": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/FluidBox" } }, { "type": "object", "additionalProperties": false } ] }, "effect_receiver": { "$ref": "#/definitions/EffectReceiver" }, "module_slots": { "$ref": "#/definitions/ItemStackIndex" }, "allowed_effects": { "$ref": "#/definitions/EffectTypeLimitation" }, "allowed_module_categories": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ModuleCategoryID" } }, { "type": "object", "additionalProperties": false } ] }, "show_recipe_icon": { "$ref": "#/definitions/bool" }, "return_ingredients_on_change": { "$ref": "#/definitions/bool" }, "draw_entity_info_icon_background": { "$ref": "#/definitions/bool" }, "match_animation_speed_to_activity": { "$ref": "#/definitions/bool" }, "show_recipe_icon_on_map": { "$ref": "#/definitions/bool" }, "fast_transfer_modules_into_module_slots_only": { "$ref": "#/definitions/bool" }, "ignore_output_full": { "$ref": "#/definitions/bool" }, "graphics_set": { "$ref": "#/definitions/CraftingMachineGraphicsSet" }, "graphics_set_flipped": { "$ref": "#/definitions/CraftingMachineGraphicsSet" }, "perceived_performance": { "$ref": "#/definitions/PerceivedPerformance" }, "production_health_effect": { "$ref": "#/definitions/ProductionHealthEffect" }, "trash_inventory_size": { "$ref": "#/definitions/ItemStackIndex" }, "vector_to_place_result": { "$ref": "#/definitions/Vector" }, "forced_symmetry": { "$ref": "#/definitions/Mirroring" }, "fixed_recipe": { "$ref": "#/definitions/RecipeID" }, "fixed_quality": { "$ref": "#/definitions/QualityID" }, "gui_title_key": { "$ref": "#/definitions/string" }, "circuit_wire_max_distance": { "$ref": "#/definitions/double" }, "draw_copper_wires": { "$ref": "#/definitions/bool" }, "draw_circuit_wires": { "$ref": "#/definitions/bool" }, "default_recipe_finished_signal": { "$ref": "#/definitions/SignalIDConnector" }, "default_working_signal": { "$ref": "#/definitions/SignalIDConnector" }, "enable_logistic_control_behavior": { "$ref": "#/definitions/bool" }, "ingredient_count": { "$ref": "#/definitions/uint8" }, "circuit_connector": { "type": "array", "items": [ { "$ref": "#/definitions/CircuitConnectorDefinition" }, { "$ref": "#/definitions/CircuitConnectorDefinition" }, { "$ref": "#/definitions/CircuitConnectorDefinition" }, { "$ref": "#/definitions/CircuitConnectorDefinition" } ], "minItems": 4, "maxItems": 4 }, "fluid_boxes_off_when_no_fluid_recipe": { "$ref": "#/definitions/bool" }, "disabled_when_recipe_not_researched": { "$ref": "#/definitions/bool" } }, "required": [ "type", "name", "energy_usage", "crafting_speed", "crafting_categories", "energy_source" ] }, "AsteroidChunkPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/AsteroidChunkPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "asteroid-chunk" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "minable": { "$ref": "#/definitions/MinableProperties" }, "dying_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "graphics_set": { "$ref": "#/definitions/AsteroidGraphicsSet" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "hide_from_signal_gui": { "$ref": "#/definitions/bool" } }, "required": [ "type", "name" ] }, "AsteroidCollectorPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/AsteroidCollectorPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "asteroid-collector" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "collision_box": { "$ref": "#/definitions/BoundingBox" }, "collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "map_generator_bounding_box": { "$ref": "#/definitions/BoundingBox" }, "selection_box": { "$ref": "#/definitions/BoundingBox" }, "drawing_box_vertical_extension": { "$ref": "#/definitions/double" }, "sticker_box": { "$ref": "#/definitions/BoundingBox" }, "hit_visualization_box": { "$ref": "#/definitions/BoundingBox" }, "trigger_target_mask": { "$ref": "#/definitions/TriggerTargetMask" }, "flags": { "$ref": "#/definitions/EntityPrototypeFlags" }, "tile_buildability_rules": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileBuildabilityRule" } }, { "type": "object", "additionalProperties": false } ] }, "minable": { "$ref": "#/definitions/MinableProperties" }, "surface_conditions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SurfaceCondition" } }, { "type": "object", "additionalProperties": false } ] }, "deconstruction_alternative": { "$ref": "#/definitions/EntityID" }, "selection_priority": { "$ref": "#/definitions/uint8" }, "build_grid_size": { "$ref": "#/definitions/uint8" }, "remove_decoratives": { "anyOf": [ { "type": "string", "const": "automatic" }, { "type": "string", "const": "true" }, { "type": "string", "const": "false" } ] }, "emissions_per_second": { "type": "object", "additionalProperties": { "$ref": "#/definitions/double" }, "propertyNames": { "$ref": "#/definitions/AirbornePollutantID" } }, "shooting_cursor_size": { "$ref": "#/definitions/double" }, "created_smoke": { "$ref": "#/definitions/CreateTrivialSmokeEffectItem" }, "working_sound": { "$ref": "#/definitions/WorkingSound" }, "created_effect": { "$ref": "#/definitions/Trigger" }, "build_sound": { "$ref": "#/definitions/Sound" }, "mined_sound": { "$ref": "#/definitions/Sound" }, "mining_sound": { "$ref": "#/definitions/Sound" }, "rotated_sound": { "$ref": "#/definitions/Sound" }, "impact_category": { "$ref": "#/definitions/string" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "placeable_position_visualization": { "$ref": "#/definitions/Sprite" }, "radius_visualisation_specification": { "$ref": "#/definitions/RadiusVisualisationSpecification" }, "stateless_visualisation": { "$ref": "#/definitions/StatelessVisualisations" }, "build_base_evolution_requirement": { "$ref": "#/definitions/double" }, "alert_icon_shift": { "$ref": "#/definitions/Vector" }, "alert_icon_scale": { "$ref": "#/definitions/float" }, "fast_replaceable_group": { "$ref": "#/definitions/string" }, "next_upgrade": { "$ref": "#/definitions/EntityID" }, "protected_from_tile_building": { "$ref": "#/definitions/bool" }, "heating_energy": { "$ref": "#/definitions/Energy" }, "allow_copy_paste": { "$ref": "#/definitions/bool" }, "selectable_in_game": { "$ref": "#/definitions/bool" }, "placeable_by": { "anyOf": [ { "$ref": "#/definitions/ItemToPlace" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemToPlace" } }, { "type": "object", "additionalProperties": false } ] } ] }, "remains_when_mined": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "additional_pastable_entities": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] }, "tile_width": { "$ref": "#/definitions/int32" }, "tile_height": { "$ref": "#/definitions/int32" }, "diagonal_tile_grid_size": { "$ref": "#/definitions/TilePosition" }, "autoplace": { "$ref": "#/definitions/AutoplaceSpecification" }, "map_color": { "$ref": "#/definitions/Color" }, "friendly_map_color": { "$ref": "#/definitions/Color" }, "enemy_map_color": { "$ref": "#/definitions/Color" }, "water_reflection": { "$ref": "#/definitions/WaterReflectionDefinition" }, "ambient_sounds_group": { "$ref": "#/definitions/EntityID" }, "ambient_sounds": { "anyOf": [ { "$ref": "#/definitions/WorldAmbientSoundDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/WorldAmbientSoundDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "icon_draw_specification": { "$ref": "#/definitions/IconDrawSpecification" }, "icons_positioning": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconSequencePositioning" } }, { "type": "object", "additionalProperties": false } ] }, "max_health": { "$ref": "#/definitions/float" }, "healing_per_tick": { "$ref": "#/definitions/float" }, "repair_speed_modifier": { "$ref": "#/definitions/float" }, "dying_explosion": { "anyOf": [ { "$ref": "#/definitions/ExplosionDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ExplosionDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "dying_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "damaged_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "loot": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/LootItem" } }, { "type": "object", "additionalProperties": false } ] }, "resistances": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Resistance" } }, { "type": "object", "additionalProperties": false } ] }, "attack_reaction": { "anyOf": [ { "$ref": "#/definitions/AttackReactionItem" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/AttackReactionItem" } }, { "type": "object", "additionalProperties": false } ] } ] }, "repair_sound": { "$ref": "#/definitions/Sound" }, "alert_when_damaged": { "$ref": "#/definitions/bool" }, "hide_resistances": { "$ref": "#/definitions/bool" }, "create_ghost_on_death": { "$ref": "#/definitions/bool" }, "random_corpse_variation": { "$ref": "#/definitions/bool" }, "integration_patch_render_layer": { "$ref": "#/definitions/RenderLayer" }, "corpse": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "integration_patch": { "$ref": "#/definitions/Sprite4Way" }, "overkill_fraction": { "$ref": "#/definitions/float" }, "is_military_target": { "$ref": "#/definitions/bool" }, "allow_run_time_change_of_is_military_target": { "$ref": "#/definitions/bool" }, "quality_indicator_scale": { "$ref": "#/definitions/double" }, "arm_inventory_size": { "$ref": "#/definitions/ItemStackIndex" }, "arm_inventory_size_quality_increase": { "$ref": "#/definitions/ItemStackIndex" }, "inventory_size": { "$ref": "#/definitions/ItemStackIndex" }, "inventory_size_quality_increase": { "$ref": "#/definitions/ItemStackIndex" }, "graphics_set": { "type": "object", "properties": { "animation": { "$ref": "#/definitions/Animation4Way" }, "status_lamp_picture_on": { "$ref": "#/definitions/RotatedSprite" }, "status_lamp_picture_full": { "$ref": "#/definitions/RotatedSprite" }, "status_lamp_picture_off": { "$ref": "#/definitions/RotatedSprite" }, "below_arm_pictures": { "$ref": "#/definitions/RotatedSprite" }, "below_ground_pictures": { "$ref": "#/definitions/RotatedSprite" }, "arm_head_animation": { "$ref": "#/definitions/RotatedAnimation" }, "arm_head_top_animation": { "$ref": "#/definitions/RotatedAnimation" }, "arm_link": { "$ref": "#/definitions/RotatedSprite" } } }, "passive_energy_usage": { "$ref": "#/definitions/Energy" }, "arm_energy_usage": { "$ref": "#/definitions/Energy" }, "arm_slow_energy_usage": { "$ref": "#/definitions/Energy" }, "energy_usage_quality_scaling": { "$ref": "#/definitions/float" }, "arm_count_base": { "$ref": "#/definitions/uint32" }, "arm_count_quality_scaling": { "$ref": "#/definitions/uint32" }, "head_collection_radius": { "$ref": "#/definitions/float" }, "collection_box_offset": { "$ref": "#/definitions/float" }, "deposit_radius": { "$ref": "#/definitions/float" }, "arm_speed_base": { "$ref": "#/definitions/float" }, "arm_speed_quality_scaling": { "$ref": "#/definitions/float" }, "arm_angular_speed_cap_base": { "$ref": "#/definitions/float" }, "arm_angular_speed_cap_quality_scaling": { "$ref": "#/definitions/float" }, "tether_size": { "$ref": "#/definitions/float" }, "unpowered_arm_speed_scale": { "$ref": "#/definitions/float" }, "minimal_arm_swing_segment_retraction": { "$ref": "#/definitions/uint32" }, "held_items_offset": { "$ref": "#/definitions/float" }, "held_items_spread": { "$ref": "#/definitions/float" }, "held_items_display_count": { "$ref": "#/definitions/uint8" }, "munch_sound": { "$ref": "#/definitions/Sound" }, "deposit_sound": { "$ref": "#/definitions/Sound" }, "arm_extend_sound": { "$ref": "#/definitions/Sound" }, "arm_retract_sound": { "$ref": "#/definitions/Sound" }, "energy_source": { "anyOf": [ { "$ref": "#/definitions/ElectricEnergySource" }, { "$ref": "#/definitions/VoidEnergySource" } ] }, "circuit_wire_max_distance": { "$ref": "#/definitions/double" }, "draw_copper_wires": { "$ref": "#/definitions/bool" }, "draw_circuit_wires": { "$ref": "#/definitions/bool" }, "radius_visualisation_picture": { "$ref": "#/definitions/Sprite" }, "collection_radius": { "$ref": "#/definitions/double" }, "circuit_connector": { "type": "array", "items": [ { "$ref": "#/definitions/CircuitConnectorDefinition" }, { "$ref": "#/definitions/CircuitConnectorDefinition" }, { "$ref": "#/definitions/CircuitConnectorDefinition" }, { "$ref": "#/definitions/CircuitConnectorDefinition" } ], "minItems": 4, "maxItems": 4 }, "arm_color_gradient": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Color" } }, { "type": "object", "additionalProperties": false } ] } }, "required": [ "type", "name", "graphics_set", "passive_energy_usage", "arm_energy_usage", "arm_slow_energy_usage", "energy_source", "collection_radius" ] }, "AsteroidPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/AsteroidPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "asteroid" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "collision_box": { "$ref": "#/definitions/BoundingBox" }, "collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "map_generator_bounding_box": { "$ref": "#/definitions/BoundingBox" }, "selection_box": { "$ref": "#/definitions/BoundingBox" }, "drawing_box_vertical_extension": { "$ref": "#/definitions/double" }, "sticker_box": { "$ref": "#/definitions/BoundingBox" }, "hit_visualization_box": { "$ref": "#/definitions/BoundingBox" }, "trigger_target_mask": { "$ref": "#/definitions/TriggerTargetMask" }, "flags": { "$ref": "#/definitions/EntityPrototypeFlags" }, "tile_buildability_rules": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileBuildabilityRule" } }, { "type": "object", "additionalProperties": false } ] }, "minable": { "$ref": "#/definitions/MinableProperties" }, "surface_conditions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SurfaceCondition" } }, { "type": "object", "additionalProperties": false } ] }, "deconstruction_alternative": { "$ref": "#/definitions/EntityID" }, "selection_priority": { "$ref": "#/definitions/uint8" }, "build_grid_size": { "$ref": "#/definitions/uint8" }, "remove_decoratives": { "anyOf": [ { "type": "string", "const": "automatic" }, { "type": "string", "const": "true" }, { "type": "string", "const": "false" } ] }, "emissions_per_second": { "type": "object", "additionalProperties": { "$ref": "#/definitions/double" }, "propertyNames": { "$ref": "#/definitions/AirbornePollutantID" } }, "shooting_cursor_size": { "$ref": "#/definitions/double" }, "created_smoke": { "$ref": "#/definitions/CreateTrivialSmokeEffectItem" }, "working_sound": { "$ref": "#/definitions/WorkingSound" }, "created_effect": { "$ref": "#/definitions/Trigger" }, "build_sound": { "$ref": "#/definitions/Sound" }, "mined_sound": { "$ref": "#/definitions/Sound" }, "mining_sound": { "$ref": "#/definitions/Sound" }, "rotated_sound": { "$ref": "#/definitions/Sound" }, "impact_category": { "$ref": "#/definitions/string" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "placeable_position_visualization": { "$ref": "#/definitions/Sprite" }, "radius_visualisation_specification": { "$ref": "#/definitions/RadiusVisualisationSpecification" }, "stateless_visualisation": { "$ref": "#/definitions/StatelessVisualisations" }, "build_base_evolution_requirement": { "$ref": "#/definitions/double" }, "alert_icon_shift": { "$ref": "#/definitions/Vector" }, "alert_icon_scale": { "$ref": "#/definitions/float" }, "fast_replaceable_group": { "$ref": "#/definitions/string" }, "next_upgrade": { "$ref": "#/definitions/EntityID" }, "protected_from_tile_building": { "$ref": "#/definitions/bool" }, "heating_energy": { "$ref": "#/definitions/Energy" }, "allow_copy_paste": { "$ref": "#/definitions/bool" }, "selectable_in_game": { "$ref": "#/definitions/bool" }, "placeable_by": { "anyOf": [ { "$ref": "#/definitions/ItemToPlace" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemToPlace" } }, { "type": "object", "additionalProperties": false } ] } ] }, "remains_when_mined": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "additional_pastable_entities": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] }, "tile_width": { "$ref": "#/definitions/int32" }, "tile_height": { "$ref": "#/definitions/int32" }, "diagonal_tile_grid_size": { "$ref": "#/definitions/TilePosition" }, "autoplace": { "$ref": "#/definitions/AutoplaceSpecification" }, "map_color": { "$ref": "#/definitions/Color" }, "friendly_map_color": { "$ref": "#/definitions/Color" }, "enemy_map_color": { "$ref": "#/definitions/Color" }, "water_reflection": { "$ref": "#/definitions/WaterReflectionDefinition" }, "ambient_sounds_group": { "$ref": "#/definitions/EntityID" }, "ambient_sounds": { "anyOf": [ { "$ref": "#/definitions/WorldAmbientSoundDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/WorldAmbientSoundDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "icon_draw_specification": { "$ref": "#/definitions/IconDrawSpecification" }, "icons_positioning": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconSequencePositioning" } }, { "type": "object", "additionalProperties": false } ] }, "max_health": { "$ref": "#/definitions/float" }, "healing_per_tick": { "$ref": "#/definitions/float" }, "repair_speed_modifier": { "$ref": "#/definitions/float" }, "dying_explosion": { "anyOf": [ { "$ref": "#/definitions/ExplosionDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ExplosionDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "dying_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "damaged_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "loot": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/LootItem" } }, { "type": "object", "additionalProperties": false } ] }, "resistances": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Resistance" } }, { "type": "object", "additionalProperties": false } ] }, "attack_reaction": { "anyOf": [ { "$ref": "#/definitions/AttackReactionItem" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/AttackReactionItem" } }, { "type": "object", "additionalProperties": false } ] } ] }, "repair_sound": { "$ref": "#/definitions/Sound" }, "alert_when_damaged": { "$ref": "#/definitions/bool" }, "hide_resistances": { "$ref": "#/definitions/bool" }, "create_ghost_on_death": { "$ref": "#/definitions/bool" }, "random_corpse_variation": { "$ref": "#/definitions/bool" }, "integration_patch_render_layer": { "$ref": "#/definitions/RenderLayer" }, "corpse": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "integration_patch": { "$ref": "#/definitions/Sprite4Way" }, "overkill_fraction": { "$ref": "#/definitions/float" }, "is_military_target": { "$ref": "#/definitions/bool" }, "allow_run_time_change_of_is_military_target": { "$ref": "#/definitions/bool" }, "quality_indicator_scale": { "$ref": "#/definitions/double" }, "mass": { "$ref": "#/definitions/double" }, "graphics_set": { "$ref": "#/definitions/AsteroidGraphicsSet" } }, "required": [ "type", "name" ] }, "AutoplaceControl": { "description": "https://lua-api.factorio.com/stable/prototypes/AutoplaceControl.html", "type": "object", "properties": { "type": { "type": "string", "const": "autoplace-control" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "category": { "anyOf": [ { "type": "string", "const": "resource" }, { "type": "string", "const": "terrain" }, { "type": "string", "const": "cliff" }, { "type": "string", "const": "enemy" } ] }, "richness": { "$ref": "#/definitions/bool" }, "can_be_disabled": { "$ref": "#/definitions/bool" } }, "required": [ "type", "name", "category" ] }, "BatteryEquipmentPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/BatteryEquipmentPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "battery-equipment" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "sprite": { "$ref": "#/definitions/Sprite" }, "shape": { "$ref": "#/definitions/EquipmentShape" }, "categories": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EquipmentCategoryID" } }, { "type": "object", "additionalProperties": false } ] }, "energy_source": { "$ref": "#/definitions/ElectricEnergySource" }, "take_result": { "$ref": "#/definitions/ItemID" }, "background_color": { "$ref": "#/definitions/Color" }, "background_border_color": { "$ref": "#/definitions/Color" }, "grabbed_background_color": { "$ref": "#/definitions/Color" } }, "required": [ "type", "name", "sprite", "shape", "categories", "energy_source" ] }, "BeaconPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/BeaconPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "beacon" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "collision_box": { "$ref": "#/definitions/BoundingBox" }, "collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "map_generator_bounding_box": { "$ref": "#/definitions/BoundingBox" }, "selection_box": { "$ref": "#/definitions/BoundingBox" }, "drawing_box_vertical_extension": { "$ref": "#/definitions/double" }, "sticker_box": { "$ref": "#/definitions/BoundingBox" }, "hit_visualization_box": { "$ref": "#/definitions/BoundingBox" }, "trigger_target_mask": { "$ref": "#/definitions/TriggerTargetMask" }, "flags": { "$ref": "#/definitions/EntityPrototypeFlags" }, "tile_buildability_rules": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileBuildabilityRule" } }, { "type": "object", "additionalProperties": false } ] }, "minable": { "$ref": "#/definitions/MinableProperties" }, "surface_conditions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SurfaceCondition" } }, { "type": "object", "additionalProperties": false } ] }, "deconstruction_alternative": { "$ref": "#/definitions/EntityID" }, "selection_priority": { "$ref": "#/definitions/uint8" }, "build_grid_size": { "$ref": "#/definitions/uint8" }, "remove_decoratives": { "anyOf": [ { "type": "string", "const": "automatic" }, { "type": "string", "const": "true" }, { "type": "string", "const": "false" } ] }, "emissions_per_second": { "type": "object", "additionalProperties": { "$ref": "#/definitions/double" }, "propertyNames": { "$ref": "#/definitions/AirbornePollutantID" } }, "shooting_cursor_size": { "$ref": "#/definitions/double" }, "created_smoke": { "$ref": "#/definitions/CreateTrivialSmokeEffectItem" }, "working_sound": { "$ref": "#/definitions/WorkingSound" }, "created_effect": { "$ref": "#/definitions/Trigger" }, "build_sound": { "$ref": "#/definitions/Sound" }, "mined_sound": { "$ref": "#/definitions/Sound" }, "mining_sound": { "$ref": "#/definitions/Sound" }, "rotated_sound": { "$ref": "#/definitions/Sound" }, "impact_category": { "$ref": "#/definitions/string" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "placeable_position_visualization": { "$ref": "#/definitions/Sprite" }, "radius_visualisation_specification": { "$ref": "#/definitions/RadiusVisualisationSpecification" }, "stateless_visualisation": { "$ref": "#/definitions/StatelessVisualisations" }, "build_base_evolution_requirement": { "$ref": "#/definitions/double" }, "alert_icon_shift": { "$ref": "#/definitions/Vector" }, "alert_icon_scale": { "$ref": "#/definitions/float" }, "fast_replaceable_group": { "$ref": "#/definitions/string" }, "next_upgrade": { "$ref": "#/definitions/EntityID" }, "protected_from_tile_building": { "$ref": "#/definitions/bool" }, "heating_energy": { "$ref": "#/definitions/Energy" }, "allow_copy_paste": { "$ref": "#/definitions/bool" }, "selectable_in_game": { "$ref": "#/definitions/bool" }, "placeable_by": { "anyOf": [ { "$ref": "#/definitions/ItemToPlace" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemToPlace" } }, { "type": "object", "additionalProperties": false } ] } ] }, "remains_when_mined": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "additional_pastable_entities": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] }, "tile_width": { "$ref": "#/definitions/int32" }, "tile_height": { "$ref": "#/definitions/int32" }, "diagonal_tile_grid_size": { "$ref": "#/definitions/TilePosition" }, "autoplace": { "$ref": "#/definitions/AutoplaceSpecification" }, "map_color": { "$ref": "#/definitions/Color" }, "friendly_map_color": { "$ref": "#/definitions/Color" }, "enemy_map_color": { "$ref": "#/definitions/Color" }, "water_reflection": { "$ref": "#/definitions/WaterReflectionDefinition" }, "ambient_sounds_group": { "$ref": "#/definitions/EntityID" }, "ambient_sounds": { "anyOf": [ { "$ref": "#/definitions/WorldAmbientSoundDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/WorldAmbientSoundDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "icon_draw_specification": { "$ref": "#/definitions/IconDrawSpecification" }, "icons_positioning": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconSequencePositioning" } }, { "type": "object", "additionalProperties": false } ] }, "max_health": { "$ref": "#/definitions/float" }, "healing_per_tick": { "$ref": "#/definitions/float" }, "repair_speed_modifier": { "$ref": "#/definitions/float" }, "dying_explosion": { "anyOf": [ { "$ref": "#/definitions/ExplosionDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ExplosionDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "dying_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "damaged_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "loot": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/LootItem" } }, { "type": "object", "additionalProperties": false } ] }, "resistances": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Resistance" } }, { "type": "object", "additionalProperties": false } ] }, "attack_reaction": { "anyOf": [ { "$ref": "#/definitions/AttackReactionItem" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/AttackReactionItem" } }, { "type": "object", "additionalProperties": false } ] } ] }, "repair_sound": { "$ref": "#/definitions/Sound" }, "alert_when_damaged": { "$ref": "#/definitions/bool" }, "hide_resistances": { "$ref": "#/definitions/bool" }, "create_ghost_on_death": { "$ref": "#/definitions/bool" }, "random_corpse_variation": { "$ref": "#/definitions/bool" }, "integration_patch_render_layer": { "$ref": "#/definitions/RenderLayer" }, "corpse": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "integration_patch": { "$ref": "#/definitions/Sprite4Way" }, "overkill_fraction": { "$ref": "#/definitions/float" }, "is_military_target": { "$ref": "#/definitions/bool" }, "allow_run_time_change_of_is_military_target": { "$ref": "#/definitions/bool" }, "quality_indicator_scale": { "$ref": "#/definitions/double" }, "energy_usage": { "$ref": "#/definitions/Energy" }, "energy_source": { "anyOf": [ { "$ref": "#/definitions/ElectricEnergySource" }, { "$ref": "#/definitions/VoidEnergySource" } ] }, "supply_area_distance": { "$ref": "#/definitions/double" }, "distribution_effectivity": { "$ref": "#/definitions/double" }, "distribution_effectivity_bonus_per_quality_level": { "$ref": "#/definitions/double" }, "module_slots": { "$ref": "#/definitions/ItemStackIndex" }, "graphics_set": { "$ref": "#/definitions/BeaconGraphicsSet" }, "animation": { "$ref": "#/definitions/Animation" }, "base_picture": { "$ref": "#/definitions/Animation" }, "perceived_performance": { "$ref": "#/definitions/PerceivedPerformance" }, "radius_visualisation_picture": { "$ref": "#/definitions/Sprite" }, "allowed_effects": { "$ref": "#/definitions/EffectTypeLimitation" }, "allowed_module_categories": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ModuleCategoryID" } }, { "type": "object", "additionalProperties": false } ] }, "profile": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/double" } }, { "type": "object", "additionalProperties": false } ] }, "beacon_counter": { "anyOf": [ { "type": "string", "const": "total" }, { "type": "string", "const": "same_type" } ] } }, "required": [ "type", "name", "energy_usage", "energy_source", "supply_area_distance", "distribution_effectivity", "module_slots" ] }, "BeamPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/BeamPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "beam" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "collision_box": { "$ref": "#/definitions/BoundingBox" }, "collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "map_generator_bounding_box": { "$ref": "#/definitions/BoundingBox" }, "selection_box": { "$ref": "#/definitions/BoundingBox" }, "drawing_box_vertical_extension": { "$ref": "#/definitions/double" }, "sticker_box": { "$ref": "#/definitions/BoundingBox" }, "hit_visualization_box": { "$ref": "#/definitions/BoundingBox" }, "trigger_target_mask": { "$ref": "#/definitions/TriggerTargetMask" }, "flags": { "$ref": "#/definitions/EntityPrototypeFlags" }, "tile_buildability_rules": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileBuildabilityRule" } }, { "type": "object", "additionalProperties": false } ] }, "minable": { "$ref": "#/definitions/MinableProperties" }, "surface_conditions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SurfaceCondition" } }, { "type": "object", "additionalProperties": false } ] }, "deconstruction_alternative": { "$ref": "#/definitions/EntityID" }, "selection_priority": { "$ref": "#/definitions/uint8" }, "build_grid_size": { "$ref": "#/definitions/uint8" }, "remove_decoratives": { "anyOf": [ { "type": "string", "const": "automatic" }, { "type": "string", "const": "true" }, { "type": "string", "const": "false" } ] }, "emissions_per_second": { "type": "object", "additionalProperties": { "$ref": "#/definitions/double" }, "propertyNames": { "$ref": "#/definitions/AirbornePollutantID" } }, "shooting_cursor_size": { "$ref": "#/definitions/double" }, "created_smoke": { "$ref": "#/definitions/CreateTrivialSmokeEffectItem" }, "working_sound": { "$ref": "#/definitions/WorkingSound" }, "created_effect": { "$ref": "#/definitions/Trigger" }, "build_sound": { "$ref": "#/definitions/Sound" }, "mined_sound": { "$ref": "#/definitions/Sound" }, "mining_sound": { "$ref": "#/definitions/Sound" }, "rotated_sound": { "$ref": "#/definitions/Sound" }, "impact_category": { "$ref": "#/definitions/string" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "placeable_position_visualization": { "$ref": "#/definitions/Sprite" }, "radius_visualisation_specification": { "$ref": "#/definitions/RadiusVisualisationSpecification" }, "stateless_visualisation": { "$ref": "#/definitions/StatelessVisualisations" }, "build_base_evolution_requirement": { "$ref": "#/definitions/double" }, "alert_icon_shift": { "$ref": "#/definitions/Vector" }, "alert_icon_scale": { "$ref": "#/definitions/float" }, "fast_replaceable_group": { "$ref": "#/definitions/string" }, "next_upgrade": { "$ref": "#/definitions/EntityID" }, "protected_from_tile_building": { "$ref": "#/definitions/bool" }, "heating_energy": { "$ref": "#/definitions/Energy" }, "allow_copy_paste": { "$ref": "#/definitions/bool" }, "selectable_in_game": { "$ref": "#/definitions/bool" }, "placeable_by": { "anyOf": [ { "$ref": "#/definitions/ItemToPlace" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemToPlace" } }, { "type": "object", "additionalProperties": false } ] } ] }, "remains_when_mined": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "additional_pastable_entities": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] }, "tile_width": { "$ref": "#/definitions/int32" }, "tile_height": { "$ref": "#/definitions/int32" }, "diagonal_tile_grid_size": { "$ref": "#/definitions/TilePosition" }, "autoplace": { "$ref": "#/definitions/AutoplaceSpecification" }, "map_color": { "$ref": "#/definitions/Color" }, "friendly_map_color": { "$ref": "#/definitions/Color" }, "enemy_map_color": { "$ref": "#/definitions/Color" }, "water_reflection": { "$ref": "#/definitions/WaterReflectionDefinition" }, "ambient_sounds_group": { "$ref": "#/definitions/EntityID" }, "ambient_sounds": { "anyOf": [ { "$ref": "#/definitions/WorldAmbientSoundDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/WorldAmbientSoundDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "icon_draw_specification": { "$ref": "#/definitions/IconDrawSpecification" }, "icons_positioning": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconSequencePositioning" } }, { "type": "object", "additionalProperties": false } ] }, "action": { "$ref": "#/definitions/Trigger" }, "width": { "$ref": "#/definitions/float" }, "damage_interval": { "$ref": "#/definitions/uint32" }, "target_offset": { "$ref": "#/definitions/Vector" }, "random_target_offset": { "$ref": "#/definitions/bool" }, "action_triggered_automatically": { "$ref": "#/definitions/bool" }, "graphics_set": { "$ref": "#/definitions/BeamGraphicsSet" } }, "required": [ "type", "name", "width", "damage_interval", "graphics_set" ] }, "BeltImmunityEquipmentPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/BeltImmunityEquipmentPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "belt-immunity-equipment" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "sprite": { "$ref": "#/definitions/Sprite" }, "shape": { "$ref": "#/definitions/EquipmentShape" }, "categories": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EquipmentCategoryID" } }, { "type": "object", "additionalProperties": false } ] }, "energy_source": { "$ref": "#/definitions/ElectricEnergySource" }, "take_result": { "$ref": "#/definitions/ItemID" }, "background_color": { "$ref": "#/definitions/Color" }, "background_border_color": { "$ref": "#/definitions/Color" }, "grabbed_background_color": { "$ref": "#/definitions/Color" }, "energy_consumption": { "$ref": "#/definitions/Energy" } }, "required": [ "type", "name", "sprite", "shape", "categories", "energy_source", "energy_consumption" ] }, "BlueprintBookPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/BlueprintBookPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "blueprint-book" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "stack_size": { "type": "integer", "const": 1 }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "dark_background_icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "dark_background_icon": { "$ref": "#/definitions/FileName" }, "dark_background_icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "place_result": { "$ref": "#/definitions/EntityID" }, "place_as_equipment_result": { "$ref": "#/definitions/EquipmentID" }, "fuel_category": { "$ref": "#/definitions/FuelCategoryID" }, "burnt_result": { "$ref": "#/definitions/ItemID" }, "spoil_result": { "$ref": "#/definitions/ItemID" }, "plant_result": { "$ref": "#/definitions/EntityID" }, "place_as_tile": { "type": "object", "properties": { "result": { "$ref": "#/definitions/TileID" }, "condition": { "$ref": "#/definitions/CollisionMaskConnector" }, "invert": { "$ref": "#/definitions/bool" }, "condition_size": { "$ref": "#/definitions/uint32" }, "tile_condition": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileID" } }, { "type": "object", "additionalProperties": false } ] } }, "required": [ "result", "condition", "condition_size" ] }, "pictures": { "$ref": "#/definitions/SpriteVariations" }, "flags": { "$ref": "#/definitions/ItemPrototypeFlags" }, "spoil_ticks": { "$ref": "#/definitions/uint32" }, "fuel_value": { "$ref": "#/definitions/Energy" }, "fuel_acceleration_multiplier": { "$ref": "#/definitions/double" }, "fuel_top_speed_multiplier": { "$ref": "#/definitions/double" }, "fuel_emissions_multiplier": { "$ref": "#/definitions/double" }, "fuel_acceleration_multiplier_quality_bonus": { "$ref": "#/definitions/double" }, "fuel_top_speed_multiplier_quality_bonus": { "$ref": "#/definitions/double" }, "weight": { "$ref": "#/definitions/Weight" }, "ingredient_to_weight_coefficient": { "$ref": "#/definitions/double" }, "fuel_glow_color": { "$ref": "#/definitions/Color" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "pick_sound": { "$ref": "#/definitions/Sound" }, "drop_sound": { "$ref": "#/definitions/Sound" }, "inventory_move_sound": { "$ref": "#/definitions/Sound" }, "default_import_location": { "$ref": "#/definitions/SpaceLocationID" }, "color_hint": { "$ref": "#/definitions/ColorHintSpecification" }, "has_random_tint": { "$ref": "#/definitions/bool" }, "spoil_to_trigger_result": { "$ref": "#/definitions/SpoilToTriggerResult" }, "destroyed_by_dropping_trigger": { "$ref": "#/definitions/Trigger" }, "rocket_launch_products": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemProductPrototype" } }, { "type": "object", "additionalProperties": false } ] }, "send_to_orbit_mode": { "$ref": "#/definitions/SendToOrbitMode" }, "random_tint_color": { "$ref": "#/definitions/Color" }, "spoil_level": { "$ref": "#/definitions/uint8" }, "default_label_color": { "$ref": "#/definitions/Color" }, "draw_label_for_cursor_render": { "$ref": "#/definitions/bool" }, "inventory_size": { "anyOf": [ { "$ref": "#/definitions/ItemStackIndex" }, { "type": "string", "const": "dynamic" } ] }, "item_filters": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemID" } }, { "type": "object", "additionalProperties": false } ] }, "item_group_filters": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemGroupID" } }, { "type": "object", "additionalProperties": false } ] }, "item_subgroup_filters": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemSubGroupID" } }, { "type": "object", "additionalProperties": false } ] }, "filter_mode": { "anyOf": [ { "type": "string", "const": "blacklist" }, { "type": "string", "const": "whitelist" } ] }, "filter_message_key": { "$ref": "#/definitions/string" } }, "required": [ "type", "name", "stack_size", "inventory_size" ] }, "BlueprintItemPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/BlueprintItemPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "blueprint" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "stack_size": { "type": "integer", "const": 1 }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "dark_background_icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "dark_background_icon": { "$ref": "#/definitions/FileName" }, "dark_background_icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "place_result": { "$ref": "#/definitions/EntityID" }, "place_as_equipment_result": { "$ref": "#/definitions/EquipmentID" }, "fuel_category": { "$ref": "#/definitions/FuelCategoryID" }, "burnt_result": { "$ref": "#/definitions/ItemID" }, "spoil_result": { "$ref": "#/definitions/ItemID" }, "plant_result": { "$ref": "#/definitions/EntityID" }, "place_as_tile": { "type": "object", "properties": { "result": { "$ref": "#/definitions/TileID" }, "condition": { "$ref": "#/definitions/CollisionMaskConnector" }, "invert": { "$ref": "#/definitions/bool" }, "condition_size": { "$ref": "#/definitions/uint32" }, "tile_condition": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileID" } }, { "type": "object", "additionalProperties": false } ] } }, "required": [ "result", "condition", "condition_size" ] }, "pictures": { "$ref": "#/definitions/SpriteVariations" }, "flags": { "$ref": "#/definitions/ItemPrototypeFlags" }, "spoil_ticks": { "$ref": "#/definitions/uint32" }, "fuel_value": { "$ref": "#/definitions/Energy" }, "fuel_acceleration_multiplier": { "$ref": "#/definitions/double" }, "fuel_top_speed_multiplier": { "$ref": "#/definitions/double" }, "fuel_emissions_multiplier": { "$ref": "#/definitions/double" }, "fuel_acceleration_multiplier_quality_bonus": { "$ref": "#/definitions/double" }, "fuel_top_speed_multiplier_quality_bonus": { "$ref": "#/definitions/double" }, "weight": { "$ref": "#/definitions/Weight" }, "ingredient_to_weight_coefficient": { "$ref": "#/definitions/double" }, "fuel_glow_color": { "$ref": "#/definitions/Color" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "pick_sound": { "$ref": "#/definitions/Sound" }, "drop_sound": { "$ref": "#/definitions/Sound" }, "inventory_move_sound": { "$ref": "#/definitions/Sound" }, "default_import_location": { "$ref": "#/definitions/SpaceLocationID" }, "color_hint": { "$ref": "#/definitions/ColorHintSpecification" }, "has_random_tint": { "$ref": "#/definitions/bool" }, "spoil_to_trigger_result": { "$ref": "#/definitions/SpoilToTriggerResult" }, "destroyed_by_dropping_trigger": { "$ref": "#/definitions/Trigger" }, "rocket_launch_products": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemProductPrototype" } }, { "type": "object", "additionalProperties": false } ] }, "send_to_orbit_mode": { "$ref": "#/definitions/SendToOrbitMode" }, "random_tint_color": { "$ref": "#/definitions/Color" }, "spoil_level": { "$ref": "#/definitions/uint8" }, "default_label_color": { "$ref": "#/definitions/Color" }, "draw_label_for_cursor_render": { "$ref": "#/definitions/bool" }, "select": { "$ref": "#/definitions/SelectionModeData" }, "alt_select": { "$ref": "#/definitions/SelectionModeData" }, "super_forced_select": { "$ref": "#/definitions/SelectionModeData" }, "reverse_select": { "$ref": "#/definitions/SelectionModeData" }, "alt_reverse_select": { "$ref": "#/definitions/SelectionModeData" }, "always_include_tiles": { "$ref": "#/definitions/bool" }, "mouse_cursor": { "$ref": "#/definitions/MouseCursorID" }, "skip_fog_of_war": { "$ref": "#/definitions/bool" } }, "required": [ "type", "name", "stack_size", "select", "alt_select" ] }, "BoilerPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/BoilerPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "boiler" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "collision_box": { "$ref": "#/definitions/BoundingBox" }, "collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "map_generator_bounding_box": { "$ref": "#/definitions/BoundingBox" }, "selection_box": { "$ref": "#/definitions/BoundingBox" }, "drawing_box_vertical_extension": { "$ref": "#/definitions/double" }, "sticker_box": { "$ref": "#/definitions/BoundingBox" }, "hit_visualization_box": { "$ref": "#/definitions/BoundingBox" }, "trigger_target_mask": { "$ref": "#/definitions/TriggerTargetMask" }, "flags": { "$ref": "#/definitions/EntityPrototypeFlags" }, "tile_buildability_rules": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileBuildabilityRule" } }, { "type": "object", "additionalProperties": false } ] }, "minable": { "$ref": "#/definitions/MinableProperties" }, "surface_conditions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SurfaceCondition" } }, { "type": "object", "additionalProperties": false } ] }, "deconstruction_alternative": { "$ref": "#/definitions/EntityID" }, "selection_priority": { "$ref": "#/definitions/uint8" }, "build_grid_size": { "$ref": "#/definitions/uint8" }, "remove_decoratives": { "anyOf": [ { "type": "string", "const": "automatic" }, { "type": "string", "const": "true" }, { "type": "string", "const": "false" } ] }, "emissions_per_second": { "type": "object", "additionalProperties": { "$ref": "#/definitions/double" }, "propertyNames": { "$ref": "#/definitions/AirbornePollutantID" } }, "shooting_cursor_size": { "$ref": "#/definitions/double" }, "created_smoke": { "$ref": "#/definitions/CreateTrivialSmokeEffectItem" }, "working_sound": { "$ref": "#/definitions/WorkingSound" }, "created_effect": { "$ref": "#/definitions/Trigger" }, "build_sound": { "$ref": "#/definitions/Sound" }, "mined_sound": { "$ref": "#/definitions/Sound" }, "mining_sound": { "$ref": "#/definitions/Sound" }, "rotated_sound": { "$ref": "#/definitions/Sound" }, "impact_category": { "$ref": "#/definitions/string" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "placeable_position_visualization": { "$ref": "#/definitions/Sprite" }, "radius_visualisation_specification": { "$ref": "#/definitions/RadiusVisualisationSpecification" }, "stateless_visualisation": { "$ref": "#/definitions/StatelessVisualisations" }, "build_base_evolution_requirement": { "$ref": "#/definitions/double" }, "alert_icon_shift": { "$ref": "#/definitions/Vector" }, "alert_icon_scale": { "$ref": "#/definitions/float" }, "fast_replaceable_group": { "$ref": "#/definitions/string" }, "next_upgrade": { "$ref": "#/definitions/EntityID" }, "protected_from_tile_building": { "$ref": "#/definitions/bool" }, "heating_energy": { "$ref": "#/definitions/Energy" }, "allow_copy_paste": { "$ref": "#/definitions/bool" }, "selectable_in_game": { "$ref": "#/definitions/bool" }, "placeable_by": { "anyOf": [ { "$ref": "#/definitions/ItemToPlace" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemToPlace" } }, { "type": "object", "additionalProperties": false } ] } ] }, "remains_when_mined": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "additional_pastable_entities": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] }, "tile_width": { "$ref": "#/definitions/int32" }, "tile_height": { "$ref": "#/definitions/int32" }, "diagonal_tile_grid_size": { "$ref": "#/definitions/TilePosition" }, "autoplace": { "$ref": "#/definitions/AutoplaceSpecification" }, "map_color": { "$ref": "#/definitions/Color" }, "friendly_map_color": { "$ref": "#/definitions/Color" }, "enemy_map_color": { "$ref": "#/definitions/Color" }, "water_reflection": { "$ref": "#/definitions/WaterReflectionDefinition" }, "ambient_sounds_group": { "$ref": "#/definitions/EntityID" }, "ambient_sounds": { "anyOf": [ { "$ref": "#/definitions/WorldAmbientSoundDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/WorldAmbientSoundDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "icon_draw_specification": { "$ref": "#/definitions/IconDrawSpecification" }, "icons_positioning": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconSequencePositioning" } }, { "type": "object", "additionalProperties": false } ] }, "max_health": { "$ref": "#/definitions/float" }, "healing_per_tick": { "$ref": "#/definitions/float" }, "repair_speed_modifier": { "$ref": "#/definitions/float" }, "dying_explosion": { "anyOf": [ { "$ref": "#/definitions/ExplosionDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ExplosionDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "dying_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "damaged_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "loot": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/LootItem" } }, { "type": "object", "additionalProperties": false } ] }, "resistances": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Resistance" } }, { "type": "object", "additionalProperties": false } ] }, "attack_reaction": { "anyOf": [ { "$ref": "#/definitions/AttackReactionItem" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/AttackReactionItem" } }, { "type": "object", "additionalProperties": false } ] } ] }, "repair_sound": { "$ref": "#/definitions/Sound" }, "alert_when_damaged": { "$ref": "#/definitions/bool" }, "hide_resistances": { "$ref": "#/definitions/bool" }, "create_ghost_on_death": { "$ref": "#/definitions/bool" }, "random_corpse_variation": { "$ref": "#/definitions/bool" }, "integration_patch_render_layer": { "$ref": "#/definitions/RenderLayer" }, "corpse": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "integration_patch": { "$ref": "#/definitions/Sprite4Way" }, "overkill_fraction": { "$ref": "#/definitions/float" }, "is_military_target": { "$ref": "#/definitions/bool" }, "allow_run_time_change_of_is_military_target": { "$ref": "#/definitions/bool" }, "quality_indicator_scale": { "$ref": "#/definitions/double" }, "pictures": { "type": "object", "properties": { "north": { "$ref": "#/definitions/BoilerPictures" }, "east": { "$ref": "#/definitions/BoilerPictures" }, "south": { "$ref": "#/definitions/BoilerPictures" }, "west": { "$ref": "#/definitions/BoilerPictures" } }, "required": [ "north", "east", "south", "west" ] }, "energy_source": { "$ref": "#/definitions/EnergySource" }, "fluid_box": { "$ref": "#/definitions/FluidBox" }, "output_fluid_box": { "$ref": "#/definitions/FluidBox" }, "energy_consumption": { "$ref": "#/definitions/Energy" }, "burning_cooldown": { "$ref": "#/definitions/uint16" }, "target_temperature": { "$ref": "#/definitions/float" }, "fire_glow_flicker_enabled": { "$ref": "#/definitions/bool" }, "fire_flicker_enabled": { "$ref": "#/definitions/bool" }, "mode": { "anyOf": [ { "type": "string", "const": "heat-fluid-inside" }, { "type": "string", "const": "output-to-separate-pipe" } ] } }, "required": [ "type", "name", "energy_source", "fluid_box", "output_fluid_box", "energy_consumption", "burning_cooldown" ] }, "BuildEntityAchievementPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/BuildEntityAchievementPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "build-entity-achievement" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "steam_stats_name": { "$ref": "#/definitions/string" }, "allowed_without_fight": { "$ref": "#/definitions/bool" }, "to_build": { "$ref": "#/definitions/EntityID" }, "amount": { "$ref": "#/definitions/uint32" }, "limited_to_one_game": { "$ref": "#/definitions/bool" }, "within": { "$ref": "#/definitions/MapTick" } }, "required": [ "type", "name", "to_build" ] }, "BurnerGeneratorPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/BurnerGeneratorPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "burner-generator" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "collision_box": { "$ref": "#/definitions/BoundingBox" }, "collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "map_generator_bounding_box": { "$ref": "#/definitions/BoundingBox" }, "selection_box": { "$ref": "#/definitions/BoundingBox" }, "drawing_box_vertical_extension": { "$ref": "#/definitions/double" }, "sticker_box": { "$ref": "#/definitions/BoundingBox" }, "hit_visualization_box": { "$ref": "#/definitions/BoundingBox" }, "trigger_target_mask": { "$ref": "#/definitions/TriggerTargetMask" }, "flags": { "$ref": "#/definitions/EntityPrototypeFlags" }, "tile_buildability_rules": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileBuildabilityRule" } }, { "type": "object", "additionalProperties": false } ] }, "minable": { "$ref": "#/definitions/MinableProperties" }, "surface_conditions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SurfaceCondition" } }, { "type": "object", "additionalProperties": false } ] }, "deconstruction_alternative": { "$ref": "#/definitions/EntityID" }, "selection_priority": { "$ref": "#/definitions/uint8" }, "build_grid_size": { "$ref": "#/definitions/uint8" }, "remove_decoratives": { "anyOf": [ { "type": "string", "const": "automatic" }, { "type": "string", "const": "true" }, { "type": "string", "const": "false" } ] }, "emissions_per_second": { "type": "object", "additionalProperties": { "$ref": "#/definitions/double" }, "propertyNames": { "$ref": "#/definitions/AirbornePollutantID" } }, "shooting_cursor_size": { "$ref": "#/definitions/double" }, "created_smoke": { "$ref": "#/definitions/CreateTrivialSmokeEffectItem" }, "working_sound": { "$ref": "#/definitions/WorkingSound" }, "created_effect": { "$ref": "#/definitions/Trigger" }, "build_sound": { "$ref": "#/definitions/Sound" }, "mined_sound": { "$ref": "#/definitions/Sound" }, "mining_sound": { "$ref": "#/definitions/Sound" }, "rotated_sound": { "$ref": "#/definitions/Sound" }, "impact_category": { "$ref": "#/definitions/string" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "placeable_position_visualization": { "$ref": "#/definitions/Sprite" }, "radius_visualisation_specification": { "$ref": "#/definitions/RadiusVisualisationSpecification" }, "stateless_visualisation": { "$ref": "#/definitions/StatelessVisualisations" }, "build_base_evolution_requirement": { "$ref": "#/definitions/double" }, "alert_icon_shift": { "$ref": "#/definitions/Vector" }, "alert_icon_scale": { "$ref": "#/definitions/float" }, "fast_replaceable_group": { "$ref": "#/definitions/string" }, "next_upgrade": { "$ref": "#/definitions/EntityID" }, "protected_from_tile_building": { "$ref": "#/definitions/bool" }, "heating_energy": { "$ref": "#/definitions/Energy" }, "allow_copy_paste": { "$ref": "#/definitions/bool" }, "selectable_in_game": { "$ref": "#/definitions/bool" }, "placeable_by": { "anyOf": [ { "$ref": "#/definitions/ItemToPlace" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemToPlace" } }, { "type": "object", "additionalProperties": false } ] } ] }, "remains_when_mined": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "additional_pastable_entities": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] }, "tile_width": { "$ref": "#/definitions/int32" }, "tile_height": { "$ref": "#/definitions/int32" }, "diagonal_tile_grid_size": { "$ref": "#/definitions/TilePosition" }, "autoplace": { "$ref": "#/definitions/AutoplaceSpecification" }, "map_color": { "$ref": "#/definitions/Color" }, "friendly_map_color": { "$ref": "#/definitions/Color" }, "enemy_map_color": { "$ref": "#/definitions/Color" }, "water_reflection": { "$ref": "#/definitions/WaterReflectionDefinition" }, "ambient_sounds_group": { "$ref": "#/definitions/EntityID" }, "ambient_sounds": { "anyOf": [ { "$ref": "#/definitions/WorldAmbientSoundDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/WorldAmbientSoundDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "icon_draw_specification": { "$ref": "#/definitions/IconDrawSpecification" }, "icons_positioning": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconSequencePositioning" } }, { "type": "object", "additionalProperties": false } ] }, "max_health": { "$ref": "#/definitions/float" }, "healing_per_tick": { "$ref": "#/definitions/float" }, "repair_speed_modifier": { "$ref": "#/definitions/float" }, "dying_explosion": { "anyOf": [ { "$ref": "#/definitions/ExplosionDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ExplosionDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "dying_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "damaged_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "loot": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/LootItem" } }, { "type": "object", "additionalProperties": false } ] }, "resistances": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Resistance" } }, { "type": "object", "additionalProperties": false } ] }, "attack_reaction": { "anyOf": [ { "$ref": "#/definitions/AttackReactionItem" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/AttackReactionItem" } }, { "type": "object", "additionalProperties": false } ] } ] }, "repair_sound": { "$ref": "#/definitions/Sound" }, "alert_when_damaged": { "$ref": "#/definitions/bool" }, "hide_resistances": { "$ref": "#/definitions/bool" }, "create_ghost_on_death": { "$ref": "#/definitions/bool" }, "random_corpse_variation": { "$ref": "#/definitions/bool" }, "integration_patch_render_layer": { "$ref": "#/definitions/RenderLayer" }, "corpse": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "integration_patch": { "$ref": "#/definitions/Sprite4Way" }, "overkill_fraction": { "$ref": "#/definitions/float" }, "is_military_target": { "$ref": "#/definitions/bool" }, "allow_run_time_change_of_is_military_target": { "$ref": "#/definitions/bool" }, "quality_indicator_scale": { "$ref": "#/definitions/double" }, "energy_source": { "$ref": "#/definitions/ElectricEnergySource" }, "burner": { "$ref": "#/definitions/BurnerEnergySource" }, "animation": { "$ref": "#/definitions/Animation4Way" }, "max_power_output": { "$ref": "#/definitions/Energy" }, "idle_animation": { "$ref": "#/definitions/Animation4Way" }, "always_draw_idle_animation": { "$ref": "#/definitions/bool" }, "perceived_performance": { "$ref": "#/definitions/PerceivedPerformance" } }, "required": [ "type", "name", "energy_source", "burner", "max_power_output" ] }, "BurnerUsagePrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/BurnerUsagePrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "burner-usage" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "empty_slot_sprite": { "$ref": "#/definitions/Sprite" }, "empty_slot_caption": { "$ref": "#/definitions/LocalisedString" }, "empty_slot_description": { "$ref": "#/definitions/LocalisedString" }, "icon": { "$ref": "#/definitions/Sprite" }, "no_fuel_status": { "$ref": "#/definitions/LocalisedString" }, "accepted_fuel_key": { "$ref": "#/definitions/string" }, "burned_in_key": { "$ref": "#/definitions/string" } }, "required": [ "type", "name", "empty_slot_sprite", "empty_slot_caption", "icon", "accepted_fuel_key", "burned_in_key" ] }, "CapsulePrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/CapsulePrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "capsule" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "stack_size": { "$ref": "#/definitions/ItemCountType" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "dark_background_icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "dark_background_icon": { "$ref": "#/definitions/FileName" }, "dark_background_icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "place_result": { "$ref": "#/definitions/EntityID" }, "place_as_equipment_result": { "$ref": "#/definitions/EquipmentID" }, "fuel_category": { "$ref": "#/definitions/FuelCategoryID" }, "burnt_result": { "$ref": "#/definitions/ItemID" }, "spoil_result": { "$ref": "#/definitions/ItemID" }, "plant_result": { "$ref": "#/definitions/EntityID" }, "place_as_tile": { "type": "object", "properties": { "result": { "$ref": "#/definitions/TileID" }, "condition": { "$ref": "#/definitions/CollisionMaskConnector" }, "invert": { "$ref": "#/definitions/bool" }, "condition_size": { "$ref": "#/definitions/uint32" }, "tile_condition": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileID" } }, { "type": "object", "additionalProperties": false } ] } }, "required": [ "result", "condition", "condition_size" ] }, "pictures": { "$ref": "#/definitions/SpriteVariations" }, "flags": { "$ref": "#/definitions/ItemPrototypeFlags" }, "spoil_ticks": { "$ref": "#/definitions/uint32" }, "fuel_value": { "$ref": "#/definitions/Energy" }, "fuel_acceleration_multiplier": { "$ref": "#/definitions/double" }, "fuel_top_speed_multiplier": { "$ref": "#/definitions/double" }, "fuel_emissions_multiplier": { "$ref": "#/definitions/double" }, "fuel_acceleration_multiplier_quality_bonus": { "$ref": "#/definitions/double" }, "fuel_top_speed_multiplier_quality_bonus": { "$ref": "#/definitions/double" }, "weight": { "$ref": "#/definitions/Weight" }, "ingredient_to_weight_coefficient": { "$ref": "#/definitions/double" }, "fuel_glow_color": { "$ref": "#/definitions/Color" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "pick_sound": { "$ref": "#/definitions/Sound" }, "drop_sound": { "$ref": "#/definitions/Sound" }, "inventory_move_sound": { "$ref": "#/definitions/Sound" }, "default_import_location": { "$ref": "#/definitions/SpaceLocationID" }, "color_hint": { "$ref": "#/definitions/ColorHintSpecification" }, "has_random_tint": { "$ref": "#/definitions/bool" }, "spoil_to_trigger_result": { "$ref": "#/definitions/SpoilToTriggerResult" }, "destroyed_by_dropping_trigger": { "$ref": "#/definitions/Trigger" }, "rocket_launch_products": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemProductPrototype" } }, { "type": "object", "additionalProperties": false } ] }, "send_to_orbit_mode": { "$ref": "#/definitions/SendToOrbitMode" }, "random_tint_color": { "$ref": "#/definitions/Color" }, "spoil_level": { "$ref": "#/definitions/uint8" }, "capsule_action": { "$ref": "#/definitions/CapsuleAction" }, "radius_color": { "$ref": "#/definitions/Color" } }, "required": [ "type", "name", "stack_size", "capsule_action" ] }, "CaptureRobotPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/CaptureRobotPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "capture-robot" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "collision_box": { "$ref": "#/definitions/BoundingBox" }, "collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "map_generator_bounding_box": { "$ref": "#/definitions/BoundingBox" }, "selection_box": { "$ref": "#/definitions/BoundingBox" }, "drawing_box_vertical_extension": { "$ref": "#/definitions/double" }, "sticker_box": { "$ref": "#/definitions/BoundingBox" }, "hit_visualization_box": { "$ref": "#/definitions/BoundingBox" }, "trigger_target_mask": { "$ref": "#/definitions/TriggerTargetMask" }, "flags": { "$ref": "#/definitions/EntityPrototypeFlags" }, "tile_buildability_rules": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileBuildabilityRule" } }, { "type": "object", "additionalProperties": false } ] }, "minable": { "$ref": "#/definitions/MinableProperties" }, "surface_conditions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SurfaceCondition" } }, { "type": "object", "additionalProperties": false } ] }, "deconstruction_alternative": { "$ref": "#/definitions/EntityID" }, "selection_priority": { "$ref": "#/definitions/uint8" }, "build_grid_size": { "$ref": "#/definitions/uint8" }, "remove_decoratives": { "anyOf": [ { "type": "string", "const": "automatic" }, { "type": "string", "const": "true" }, { "type": "string", "const": "false" } ] }, "emissions_per_second": { "type": "object", "additionalProperties": { "$ref": "#/definitions/double" }, "propertyNames": { "$ref": "#/definitions/AirbornePollutantID" } }, "shooting_cursor_size": { "$ref": "#/definitions/double" }, "created_smoke": { "$ref": "#/definitions/CreateTrivialSmokeEffectItem" }, "working_sound": { "$ref": "#/definitions/WorkingSound" }, "created_effect": { "$ref": "#/definitions/Trigger" }, "build_sound": { "$ref": "#/definitions/Sound" }, "mined_sound": { "$ref": "#/definitions/Sound" }, "mining_sound": { "$ref": "#/definitions/Sound" }, "rotated_sound": { "$ref": "#/definitions/Sound" }, "impact_category": { "$ref": "#/definitions/string" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "placeable_position_visualization": { "$ref": "#/definitions/Sprite" }, "radius_visualisation_specification": { "$ref": "#/definitions/RadiusVisualisationSpecification" }, "stateless_visualisation": { "$ref": "#/definitions/StatelessVisualisations" }, "build_base_evolution_requirement": { "$ref": "#/definitions/double" }, "alert_icon_shift": { "$ref": "#/definitions/Vector" }, "alert_icon_scale": { "$ref": "#/definitions/float" }, "fast_replaceable_group": { "$ref": "#/definitions/string" }, "next_upgrade": { "$ref": "#/definitions/EntityID" }, "protected_from_tile_building": { "$ref": "#/definitions/bool" }, "heating_energy": { "$ref": "#/definitions/Energy" }, "allow_copy_paste": { "$ref": "#/definitions/bool" }, "selectable_in_game": { "$ref": "#/definitions/bool" }, "placeable_by": { "anyOf": [ { "$ref": "#/definitions/ItemToPlace" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemToPlace" } }, { "type": "object", "additionalProperties": false } ] } ] }, "remains_when_mined": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "additional_pastable_entities": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] }, "tile_width": { "$ref": "#/definitions/int32" }, "tile_height": { "$ref": "#/definitions/int32" }, "diagonal_tile_grid_size": { "$ref": "#/definitions/TilePosition" }, "autoplace": { "$ref": "#/definitions/AutoplaceSpecification" }, "map_color": { "$ref": "#/definitions/Color" }, "friendly_map_color": { "$ref": "#/definitions/Color" }, "enemy_map_color": { "$ref": "#/definitions/Color" }, "water_reflection": { "$ref": "#/definitions/WaterReflectionDefinition" }, "ambient_sounds_group": { "$ref": "#/definitions/EntityID" }, "ambient_sounds": { "anyOf": [ { "$ref": "#/definitions/WorldAmbientSoundDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/WorldAmbientSoundDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "icon_draw_specification": { "$ref": "#/definitions/IconDrawSpecification" }, "icons_positioning": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconSequencePositioning" } }, { "type": "object", "additionalProperties": false } ] }, "max_health": { "$ref": "#/definitions/float" }, "healing_per_tick": { "$ref": "#/definitions/float" }, "repair_speed_modifier": { "$ref": "#/definitions/float" }, "dying_explosion": { "anyOf": [ { "$ref": "#/definitions/ExplosionDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ExplosionDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "dying_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "damaged_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "loot": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/LootItem" } }, { "type": "object", "additionalProperties": false } ] }, "resistances": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Resistance" } }, { "type": "object", "additionalProperties": false } ] }, "attack_reaction": { "anyOf": [ { "$ref": "#/definitions/AttackReactionItem" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/AttackReactionItem" } }, { "type": "object", "additionalProperties": false } ] } ] }, "repair_sound": { "$ref": "#/definitions/Sound" }, "alert_when_damaged": { "$ref": "#/definitions/bool" }, "hide_resistances": { "$ref": "#/definitions/bool" }, "create_ghost_on_death": { "$ref": "#/definitions/bool" }, "random_corpse_variation": { "$ref": "#/definitions/bool" }, "integration_patch_render_layer": { "$ref": "#/definitions/RenderLayer" }, "corpse": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "integration_patch": { "$ref": "#/definitions/Sprite4Way" }, "overkill_fraction": { "$ref": "#/definitions/float" }, "is_military_target": { "$ref": "#/definitions/bool" }, "allow_run_time_change_of_is_military_target": { "$ref": "#/definitions/bool" }, "quality_indicator_scale": { "$ref": "#/definitions/double" }, "speed": { "$ref": "#/definitions/double" }, "max_speed": { "$ref": "#/definitions/double" }, "max_energy": { "$ref": "#/definitions/Energy" }, "energy_per_move": { "$ref": "#/definitions/Energy" }, "energy_per_tick": { "$ref": "#/definitions/Energy" }, "min_to_charge": { "$ref": "#/definitions/float" }, "max_to_charge": { "$ref": "#/definitions/float" }, "speed_multiplier_when_out_of_energy": { "$ref": "#/definitions/float" }, "capture_speed": { "$ref": "#/definitions/double" }, "search_radius": { "$ref": "#/definitions/double" }, "destroy_action": { "$ref": "#/definitions/Trigger" }, "capture_animation": { "$ref": "#/definitions/Animation" } }, "required": [ "type", "name", "speed" ] }, "CarPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/CarPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "car" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "collision_box": { "$ref": "#/definitions/BoundingBox" }, "collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "map_generator_bounding_box": { "$ref": "#/definitions/BoundingBox" }, "selection_box": { "$ref": "#/definitions/BoundingBox" }, "drawing_box_vertical_extension": { "$ref": "#/definitions/double" }, "sticker_box": { "$ref": "#/definitions/BoundingBox" }, "hit_visualization_box": { "$ref": "#/definitions/BoundingBox" }, "trigger_target_mask": { "$ref": "#/definitions/TriggerTargetMask" }, "flags": { "$ref": "#/definitions/EntityPrototypeFlags" }, "tile_buildability_rules": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileBuildabilityRule" } }, { "type": "object", "additionalProperties": false } ] }, "minable": { "$ref": "#/definitions/MinableProperties" }, "surface_conditions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SurfaceCondition" } }, { "type": "object", "additionalProperties": false } ] }, "deconstruction_alternative": { "$ref": "#/definitions/EntityID" }, "selection_priority": { "$ref": "#/definitions/uint8" }, "build_grid_size": { "$ref": "#/definitions/uint8" }, "remove_decoratives": { "anyOf": [ { "type": "string", "const": "automatic" }, { "type": "string", "const": "true" }, { "type": "string", "const": "false" } ] }, "emissions_per_second": { "type": "object", "additionalProperties": { "$ref": "#/definitions/double" }, "propertyNames": { "$ref": "#/definitions/AirbornePollutantID" } }, "shooting_cursor_size": { "$ref": "#/definitions/double" }, "created_smoke": { "$ref": "#/definitions/CreateTrivialSmokeEffectItem" }, "working_sound": { "$ref": "#/definitions/WorkingSound" }, "created_effect": { "$ref": "#/definitions/Trigger" }, "build_sound": { "$ref": "#/definitions/Sound" }, "mined_sound": { "$ref": "#/definitions/Sound" }, "mining_sound": { "$ref": "#/definitions/Sound" }, "rotated_sound": { "$ref": "#/definitions/Sound" }, "impact_category": { "$ref": "#/definitions/string" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "placeable_position_visualization": { "$ref": "#/definitions/Sprite" }, "radius_visualisation_specification": { "$ref": "#/definitions/RadiusVisualisationSpecification" }, "stateless_visualisation": { "$ref": "#/definitions/StatelessVisualisations" }, "build_base_evolution_requirement": { "$ref": "#/definitions/double" }, "alert_icon_shift": { "$ref": "#/definitions/Vector" }, "alert_icon_scale": { "$ref": "#/definitions/float" }, "fast_replaceable_group": { "$ref": "#/definitions/string" }, "next_upgrade": { "$ref": "#/definitions/EntityID" }, "protected_from_tile_building": { "$ref": "#/definitions/bool" }, "heating_energy": { "$ref": "#/definitions/Energy" }, "allow_copy_paste": { "$ref": "#/definitions/bool" }, "selectable_in_game": { "$ref": "#/definitions/bool" }, "placeable_by": { "anyOf": [ { "$ref": "#/definitions/ItemToPlace" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemToPlace" } }, { "type": "object", "additionalProperties": false } ] } ] }, "remains_when_mined": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "additional_pastable_entities": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] }, "tile_width": { "$ref": "#/definitions/int32" }, "tile_height": { "$ref": "#/definitions/int32" }, "diagonal_tile_grid_size": { "$ref": "#/definitions/TilePosition" }, "autoplace": { "$ref": "#/definitions/AutoplaceSpecification" }, "map_color": { "$ref": "#/definitions/Color" }, "friendly_map_color": { "$ref": "#/definitions/Color" }, "enemy_map_color": { "$ref": "#/definitions/Color" }, "water_reflection": { "$ref": "#/definitions/WaterReflectionDefinition" }, "ambient_sounds_group": { "$ref": "#/definitions/EntityID" }, "ambient_sounds": { "anyOf": [ { "$ref": "#/definitions/WorldAmbientSoundDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/WorldAmbientSoundDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "icon_draw_specification": { "$ref": "#/definitions/IconDrawSpecification" }, "icons_positioning": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconSequencePositioning" } }, { "type": "object", "additionalProperties": false } ] }, "max_health": { "$ref": "#/definitions/float" }, "healing_per_tick": { "$ref": "#/definitions/float" }, "repair_speed_modifier": { "$ref": "#/definitions/float" }, "dying_explosion": { "anyOf": [ { "$ref": "#/definitions/ExplosionDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ExplosionDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "dying_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "damaged_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "loot": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/LootItem" } }, { "type": "object", "additionalProperties": false } ] }, "resistances": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Resistance" } }, { "type": "object", "additionalProperties": false } ] }, "attack_reaction": { "anyOf": [ { "$ref": "#/definitions/AttackReactionItem" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/AttackReactionItem" } }, { "type": "object", "additionalProperties": false } ] } ] }, "repair_sound": { "$ref": "#/definitions/Sound" }, "alert_when_damaged": { "$ref": "#/definitions/bool" }, "hide_resistances": { "$ref": "#/definitions/bool" }, "create_ghost_on_death": { "$ref": "#/definitions/bool" }, "random_corpse_variation": { "$ref": "#/definitions/bool" }, "integration_patch_render_layer": { "$ref": "#/definitions/RenderLayer" }, "corpse": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "integration_patch": { "$ref": "#/definitions/Sprite4Way" }, "overkill_fraction": { "$ref": "#/definitions/float" }, "is_military_target": { "$ref": "#/definitions/bool" }, "allow_run_time_change_of_is_military_target": { "$ref": "#/definitions/bool" }, "quality_indicator_scale": { "$ref": "#/definitions/double" }, "weight": { "$ref": "#/definitions/double" }, "braking_power": { "anyOf": [ { "$ref": "#/definitions/Energy" }, { "$ref": "#/definitions/double" } ] }, "braking_force": { "anyOf": [ { "$ref": "#/definitions/Energy" }, { "$ref": "#/definitions/double" } ] }, "friction": { "$ref": "#/definitions/double" }, "friction_force": { "$ref": "#/definitions/double" }, "energy_per_hit_point": { "$ref": "#/definitions/double" }, "terrain_friction_modifier": { "$ref": "#/definitions/float" }, "impact_speed_to_volume_ratio": { "$ref": "#/definitions/double" }, "stop_trigger_speed": { "$ref": "#/definitions/double" }, "crash_trigger": { "$ref": "#/definitions/TriggerEffect" }, "stop_trigger": { "$ref": "#/definitions/TriggerEffect" }, "equipment_grid": { "$ref": "#/definitions/EquipmentGridID" }, "minimap_representation": { "$ref": "#/definitions/Sprite" }, "selected_minimap_representation": { "$ref": "#/definitions/Sprite" }, "allow_passengers": { "$ref": "#/definitions/bool" }, "deliver_category": { "$ref": "#/definitions/string" }, "chunk_exploration_radius": { "$ref": "#/definitions/uint32" }, "allow_remote_driving": { "$ref": "#/definitions/bool" }, "animation": { "$ref": "#/definitions/RotatedAnimation" }, "effectivity": { "$ref": "#/definitions/double" }, "consumption": { "$ref": "#/definitions/Energy" }, "rotation_speed": { "$ref": "#/definitions/double" }, "energy_source": { "anyOf": [ { "$ref": "#/definitions/BurnerEnergySource" }, { "$ref": "#/definitions/VoidEnergySource" } ] }, "turret_animation": { "$ref": "#/definitions/RotatedAnimation" }, "light_animation": { "$ref": "#/definitions/RotatedAnimation" }, "render_layer": { "$ref": "#/definitions/RenderLayer" }, "tank_driving": { "$ref": "#/definitions/bool" }, "auto_sort_inventory": { "$ref": "#/definitions/bool" }, "has_belt_immunity": { "$ref": "#/definitions/bool" }, "immune_to_tree_impacts": { "$ref": "#/definitions/bool" }, "immune_to_rock_impacts": { "$ref": "#/definitions/bool" }, "immune_to_cliff_impacts": { "$ref": "#/definitions/bool" }, "turret_rotation_speed": { "$ref": "#/definitions/float" }, "turret_return_timeout": { "$ref": "#/definitions/uint32" }, "inventory_size": { "$ref": "#/definitions/ItemStackIndex" }, "trash_inventory_size": { "$ref": "#/definitions/ItemStackIndex" }, "light": { "$ref": "#/definitions/LightDefinition" }, "sound_no_fuel": { "$ref": "#/definitions/Sound" }, "darkness_to_render_light_animation": { "$ref": "#/definitions/float" }, "track_particle_triggers": { "$ref": "#/definitions/FootstepTriggerEffectList" }, "guns": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemID" } }, { "type": "object", "additionalProperties": false } ] } }, "required": [ "type", "name", "weight", "energy_per_hit_point", "effectivity", "consumption", "rotation_speed", "energy_source", "inventory_size" ], "allOf": [ { "anyOf": [ { "required": [ "braking_power" ] }, { "required": [ "braking_force" ] } ] }, { "anyOf": [ { "required": [ "friction" ] }, { "required": [ "friction_force" ] } ] } ] }, "CargoBayPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/CargoBayPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "cargo-bay" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "collision_box": { "$ref": "#/definitions/BoundingBox" }, "collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "map_generator_bounding_box": { "$ref": "#/definitions/BoundingBox" }, "selection_box": { "$ref": "#/definitions/BoundingBox" }, "drawing_box_vertical_extension": { "$ref": "#/definitions/double" }, "sticker_box": { "$ref": "#/definitions/BoundingBox" }, "hit_visualization_box": { "$ref": "#/definitions/BoundingBox" }, "trigger_target_mask": { "$ref": "#/definitions/TriggerTargetMask" }, "flags": { "$ref": "#/definitions/EntityPrototypeFlags" }, "tile_buildability_rules": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileBuildabilityRule" } }, { "type": "object", "additionalProperties": false } ] }, "minable": { "$ref": "#/definitions/MinableProperties" }, "surface_conditions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SurfaceCondition" } }, { "type": "object", "additionalProperties": false } ] }, "deconstruction_alternative": { "$ref": "#/definitions/EntityID" }, "selection_priority": { "$ref": "#/definitions/uint8" }, "build_grid_size": { "type": "integer", "const": 2 }, "remove_decoratives": { "anyOf": [ { "type": "string", "const": "automatic" }, { "type": "string", "const": "true" }, { "type": "string", "const": "false" } ] }, "emissions_per_second": { "type": "object", "additionalProperties": { "$ref": "#/definitions/double" }, "propertyNames": { "$ref": "#/definitions/AirbornePollutantID" } }, "shooting_cursor_size": { "$ref": "#/definitions/double" }, "created_smoke": { "$ref": "#/definitions/CreateTrivialSmokeEffectItem" }, "working_sound": { "$ref": "#/definitions/WorkingSound" }, "created_effect": { "$ref": "#/definitions/Trigger" }, "build_sound": { "$ref": "#/definitions/Sound" }, "mined_sound": { "$ref": "#/definitions/Sound" }, "mining_sound": { "$ref": "#/definitions/Sound" }, "rotated_sound": { "$ref": "#/definitions/Sound" }, "impact_category": { "$ref": "#/definitions/string" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "placeable_position_visualization": { "$ref": "#/definitions/Sprite" }, "radius_visualisation_specification": { "$ref": "#/definitions/RadiusVisualisationSpecification" }, "stateless_visualisation": { "$ref": "#/definitions/StatelessVisualisations" }, "build_base_evolution_requirement": { "$ref": "#/definitions/double" }, "alert_icon_shift": { "$ref": "#/definitions/Vector" }, "alert_icon_scale": { "$ref": "#/definitions/float" }, "fast_replaceable_group": { "$ref": "#/definitions/string" }, "next_upgrade": { "$ref": "#/definitions/EntityID" }, "protected_from_tile_building": { "$ref": "#/definitions/bool" }, "heating_energy": { "$ref": "#/definitions/Energy" }, "allow_copy_paste": { "$ref": "#/definitions/bool" }, "selectable_in_game": { "$ref": "#/definitions/bool" }, "placeable_by": { "anyOf": [ { "$ref": "#/definitions/ItemToPlace" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemToPlace" } }, { "type": "object", "additionalProperties": false } ] } ] }, "remains_when_mined": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "additional_pastable_entities": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] }, "tile_width": { "$ref": "#/definitions/int32" }, "tile_height": { "$ref": "#/definitions/int32" }, "diagonal_tile_grid_size": { "$ref": "#/definitions/TilePosition" }, "autoplace": { "$ref": "#/definitions/AutoplaceSpecification" }, "map_color": { "$ref": "#/definitions/Color" }, "friendly_map_color": { "$ref": "#/definitions/Color" }, "enemy_map_color": { "$ref": "#/definitions/Color" }, "water_reflection": { "$ref": "#/definitions/WaterReflectionDefinition" }, "ambient_sounds_group": { "$ref": "#/definitions/EntityID" }, "ambient_sounds": { "anyOf": [ { "$ref": "#/definitions/WorldAmbientSoundDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/WorldAmbientSoundDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "icon_draw_specification": { "$ref": "#/definitions/IconDrawSpecification" }, "icons_positioning": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconSequencePositioning" } }, { "type": "object", "additionalProperties": false } ] }, "max_health": { "$ref": "#/definitions/float" }, "healing_per_tick": { "$ref": "#/definitions/float" }, "repair_speed_modifier": { "$ref": "#/definitions/float" }, "dying_explosion": { "anyOf": [ { "$ref": "#/definitions/ExplosionDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ExplosionDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "dying_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "damaged_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "loot": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/LootItem" } }, { "type": "object", "additionalProperties": false } ] }, "resistances": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Resistance" } }, { "type": "object", "additionalProperties": false } ] }, "attack_reaction": { "anyOf": [ { "$ref": "#/definitions/AttackReactionItem" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/AttackReactionItem" } }, { "type": "object", "additionalProperties": false } ] } ] }, "repair_sound": { "$ref": "#/definitions/Sound" }, "alert_when_damaged": { "$ref": "#/definitions/bool" }, "hide_resistances": { "$ref": "#/definitions/bool" }, "create_ghost_on_death": { "$ref": "#/definitions/bool" }, "random_corpse_variation": { "$ref": "#/definitions/bool" }, "integration_patch_render_layer": { "$ref": "#/definitions/RenderLayer" }, "corpse": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "integration_patch": { "$ref": "#/definitions/Sprite4Way" }, "overkill_fraction": { "$ref": "#/definitions/float" }, "is_military_target": { "$ref": "#/definitions/bool" }, "allow_run_time_change_of_is_military_target": { "$ref": "#/definitions/bool" }, "quality_indicator_scale": { "$ref": "#/definitions/double" }, "graphics_set": { "$ref": "#/definitions/CargoBayConnectableGraphicsSet" }, "platform_graphics_set": { "$ref": "#/definitions/CargoBayConnectableGraphicsSet" }, "inventory_size_bonus": { "$ref": "#/definitions/ItemStackIndex" }, "hatch_definitions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/CargoHatchDefinition" } }, { "type": "object", "additionalProperties": false } ] } }, "required": [ "type", "name", "inventory_size_bonus" ] }, "CargoLandingPadPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/CargoLandingPadPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "cargo-landing-pad" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "collision_box": { "$ref": "#/definitions/BoundingBox" }, "collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "map_generator_bounding_box": { "$ref": "#/definitions/BoundingBox" }, "selection_box": { "$ref": "#/definitions/BoundingBox" }, "drawing_box_vertical_extension": { "$ref": "#/definitions/double" }, "sticker_box": { "$ref": "#/definitions/BoundingBox" }, "hit_visualization_box": { "$ref": "#/definitions/BoundingBox" }, "trigger_target_mask": { "$ref": "#/definitions/TriggerTargetMask" }, "flags": { "$ref": "#/definitions/EntityPrototypeFlags" }, "tile_buildability_rules": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileBuildabilityRule" } }, { "type": "object", "additionalProperties": false } ] }, "minable": { "$ref": "#/definitions/MinableProperties" }, "surface_conditions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SurfaceCondition" } }, { "type": "object", "additionalProperties": false } ] }, "deconstruction_alternative": { "$ref": "#/definitions/EntityID" }, "selection_priority": { "$ref": "#/definitions/uint8" }, "build_grid_size": { "$ref": "#/definitions/uint8" }, "remove_decoratives": { "anyOf": [ { "type": "string", "const": "automatic" }, { "type": "string", "const": "true" }, { "type": "string", "const": "false" } ] }, "emissions_per_second": { "type": "object", "additionalProperties": { "$ref": "#/definitions/double" }, "propertyNames": { "$ref": "#/definitions/AirbornePollutantID" } }, "shooting_cursor_size": { "$ref": "#/definitions/double" }, "created_smoke": { "$ref": "#/definitions/CreateTrivialSmokeEffectItem" }, "working_sound": { "$ref": "#/definitions/WorkingSound" }, "created_effect": { "$ref": "#/definitions/Trigger" }, "build_sound": { "$ref": "#/definitions/Sound" }, "mined_sound": { "$ref": "#/definitions/Sound" }, "mining_sound": { "$ref": "#/definitions/Sound" }, "rotated_sound": { "$ref": "#/definitions/Sound" }, "impact_category": { "$ref": "#/definitions/string" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "placeable_position_visualization": { "$ref": "#/definitions/Sprite" }, "radius_visualisation_specification": { "$ref": "#/definitions/RadiusVisualisationSpecification" }, "stateless_visualisation": { "$ref": "#/definitions/StatelessVisualisations" }, "build_base_evolution_requirement": { "$ref": "#/definitions/double" }, "alert_icon_shift": { "$ref": "#/definitions/Vector" }, "alert_icon_scale": { "$ref": "#/definitions/float" }, "fast_replaceable_group": { "$ref": "#/definitions/string" }, "next_upgrade": { "$ref": "#/definitions/EntityID" }, "protected_from_tile_building": { "$ref": "#/definitions/bool" }, "heating_energy": { "$ref": "#/definitions/Energy" }, "allow_copy_paste": { "$ref": "#/definitions/bool" }, "selectable_in_game": { "$ref": "#/definitions/bool" }, "placeable_by": { "anyOf": [ { "$ref": "#/definitions/ItemToPlace" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemToPlace" } }, { "type": "object", "additionalProperties": false } ] } ] }, "remains_when_mined": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "additional_pastable_entities": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] }, "tile_width": { "$ref": "#/definitions/int32" }, "tile_height": { "$ref": "#/definitions/int32" }, "diagonal_tile_grid_size": { "$ref": "#/definitions/TilePosition" }, "autoplace": { "$ref": "#/definitions/AutoplaceSpecification" }, "map_color": { "$ref": "#/definitions/Color" }, "friendly_map_color": { "$ref": "#/definitions/Color" }, "enemy_map_color": { "$ref": "#/definitions/Color" }, "water_reflection": { "$ref": "#/definitions/WaterReflectionDefinition" }, "ambient_sounds_group": { "$ref": "#/definitions/EntityID" }, "ambient_sounds": { "anyOf": [ { "$ref": "#/definitions/WorldAmbientSoundDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/WorldAmbientSoundDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "icon_draw_specification": { "$ref": "#/definitions/IconDrawSpecification" }, "icons_positioning": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconSequencePositioning" } }, { "type": "object", "additionalProperties": false } ] }, "max_health": { "$ref": "#/definitions/float" }, "healing_per_tick": { "$ref": "#/definitions/float" }, "repair_speed_modifier": { "$ref": "#/definitions/float" }, "dying_explosion": { "anyOf": [ { "$ref": "#/definitions/ExplosionDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ExplosionDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "dying_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "damaged_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "loot": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/LootItem" } }, { "type": "object", "additionalProperties": false } ] }, "resistances": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Resistance" } }, { "type": "object", "additionalProperties": false } ] }, "attack_reaction": { "anyOf": [ { "$ref": "#/definitions/AttackReactionItem" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/AttackReactionItem" } }, { "type": "object", "additionalProperties": false } ] } ] }, "repair_sound": { "$ref": "#/definitions/Sound" }, "alert_when_damaged": { "$ref": "#/definitions/bool" }, "hide_resistances": { "$ref": "#/definitions/bool" }, "create_ghost_on_death": { "$ref": "#/definitions/bool" }, "random_corpse_variation": { "$ref": "#/definitions/bool" }, "integration_patch_render_layer": { "$ref": "#/definitions/RenderLayer" }, "corpse": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "integration_patch": { "$ref": "#/definitions/Sprite4Way" }, "overkill_fraction": { "$ref": "#/definitions/float" }, "is_military_target": { "$ref": "#/definitions/bool" }, "allow_run_time_change_of_is_military_target": { "$ref": "#/definitions/bool" }, "quality_indicator_scale": { "$ref": "#/definitions/double" }, "graphics_set": { "$ref": "#/definitions/CargoBayConnectableGraphicsSet" }, "inventory_size": { "$ref": "#/definitions/ItemStackIndex" }, "trash_inventory_size": { "$ref": "#/definitions/ItemStackIndex" }, "circuit_wire_max_distance": { "$ref": "#/definitions/double" }, "draw_copper_wires": { "$ref": "#/definitions/bool" }, "draw_circuit_wires": { "$ref": "#/definitions/bool" }, "circuit_connector": { "$ref": "#/definitions/CircuitConnectorDefinition" }, "cargo_station_parameters": { "$ref": "#/definitions/CargoStationParameters" }, "robot_animation": { "$ref": "#/definitions/Animation" }, "robot_landing_location_offset": { "$ref": "#/definitions/Vector" }, "robot_opened_duration": { "$ref": "#/definitions/uint8" }, "robot_animation_sound": { "$ref": "#/definitions/Sound" }, "radar_range": { "$ref": "#/definitions/uint32" }, "radar_visualisation_color": { "$ref": "#/definitions/Color" } }, "required": [ "type", "name", "inventory_size", "cargo_station_parameters" ] }, "CargoPodPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/CargoPodPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "cargo-pod" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "collision_box": { "$ref": "#/definitions/BoundingBox" }, "collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "map_generator_bounding_box": { "$ref": "#/definitions/BoundingBox" }, "selection_box": { "$ref": "#/definitions/BoundingBox" }, "drawing_box_vertical_extension": { "$ref": "#/definitions/double" }, "sticker_box": { "$ref": "#/definitions/BoundingBox" }, "hit_visualization_box": { "$ref": "#/definitions/BoundingBox" }, "trigger_target_mask": { "$ref": "#/definitions/TriggerTargetMask" }, "flags": { "$ref": "#/definitions/EntityPrototypeFlags" }, "tile_buildability_rules": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileBuildabilityRule" } }, { "type": "object", "additionalProperties": false } ] }, "minable": { "$ref": "#/definitions/MinableProperties" }, "surface_conditions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SurfaceCondition" } }, { "type": "object", "additionalProperties": false } ] }, "deconstruction_alternative": { "$ref": "#/definitions/EntityID" }, "selection_priority": { "$ref": "#/definitions/uint8" }, "build_grid_size": { "$ref": "#/definitions/uint8" }, "remove_decoratives": { "anyOf": [ { "type": "string", "const": "automatic" }, { "type": "string", "const": "true" }, { "type": "string", "const": "false" } ] }, "emissions_per_second": { "type": "object", "additionalProperties": { "$ref": "#/definitions/double" }, "propertyNames": { "$ref": "#/definitions/AirbornePollutantID" } }, "shooting_cursor_size": { "$ref": "#/definitions/double" }, "created_smoke": { "$ref": "#/definitions/CreateTrivialSmokeEffectItem" }, "working_sound": { "$ref": "#/definitions/WorkingSound" }, "created_effect": { "$ref": "#/definitions/Trigger" }, "build_sound": { "$ref": "#/definitions/Sound" }, "mined_sound": { "$ref": "#/definitions/Sound" }, "mining_sound": { "$ref": "#/definitions/Sound" }, "rotated_sound": { "$ref": "#/definitions/Sound" }, "impact_category": { "$ref": "#/definitions/string" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "placeable_position_visualization": { "$ref": "#/definitions/Sprite" }, "radius_visualisation_specification": { "$ref": "#/definitions/RadiusVisualisationSpecification" }, "stateless_visualisation": { "$ref": "#/definitions/StatelessVisualisations" }, "build_base_evolution_requirement": { "$ref": "#/definitions/double" }, "alert_icon_shift": { "$ref": "#/definitions/Vector" }, "alert_icon_scale": { "$ref": "#/definitions/float" }, "fast_replaceable_group": { "$ref": "#/definitions/string" }, "next_upgrade": { "$ref": "#/definitions/EntityID" }, "protected_from_tile_building": { "$ref": "#/definitions/bool" }, "heating_energy": { "$ref": "#/definitions/Energy" }, "allow_copy_paste": { "$ref": "#/definitions/bool" }, "selectable_in_game": { "$ref": "#/definitions/bool" }, "placeable_by": { "anyOf": [ { "$ref": "#/definitions/ItemToPlace" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemToPlace" } }, { "type": "object", "additionalProperties": false } ] } ] }, "remains_when_mined": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "additional_pastable_entities": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] }, "tile_width": { "$ref": "#/definitions/int32" }, "tile_height": { "$ref": "#/definitions/int32" }, "diagonal_tile_grid_size": { "$ref": "#/definitions/TilePosition" }, "autoplace": { "$ref": "#/definitions/AutoplaceSpecification" }, "map_color": { "$ref": "#/definitions/Color" }, "friendly_map_color": { "$ref": "#/definitions/Color" }, "enemy_map_color": { "$ref": "#/definitions/Color" }, "water_reflection": { "$ref": "#/definitions/WaterReflectionDefinition" }, "ambient_sounds_group": { "$ref": "#/definitions/EntityID" }, "ambient_sounds": { "anyOf": [ { "$ref": "#/definitions/WorldAmbientSoundDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/WorldAmbientSoundDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "icon_draw_specification": { "$ref": "#/definitions/IconDrawSpecification" }, "icons_positioning": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconSequencePositioning" } }, { "type": "object", "additionalProperties": false } ] }, "max_health": { "$ref": "#/definitions/float" }, "healing_per_tick": { "$ref": "#/definitions/float" }, "repair_speed_modifier": { "$ref": "#/definitions/float" }, "dying_explosion": { "anyOf": [ { "$ref": "#/definitions/ExplosionDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ExplosionDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "dying_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "damaged_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "loot": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/LootItem" } }, { "type": "object", "additionalProperties": false } ] }, "resistances": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Resistance" } }, { "type": "object", "additionalProperties": false } ] }, "attack_reaction": { "anyOf": [ { "$ref": "#/definitions/AttackReactionItem" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/AttackReactionItem" } }, { "type": "object", "additionalProperties": false } ] } ] }, "repair_sound": { "$ref": "#/definitions/Sound" }, "alert_when_damaged": { "$ref": "#/definitions/bool" }, "hide_resistances": { "$ref": "#/definitions/bool" }, "create_ghost_on_death": { "$ref": "#/definitions/bool" }, "random_corpse_variation": { "$ref": "#/definitions/bool" }, "integration_patch_render_layer": { "$ref": "#/definitions/RenderLayer" }, "corpse": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "integration_patch": { "$ref": "#/definitions/Sprite4Way" }, "overkill_fraction": { "$ref": "#/definitions/float" }, "is_military_target": { "$ref": "#/definitions/bool" }, "allow_run_time_change_of_is_military_target": { "$ref": "#/definitions/bool" }, "quality_indicator_scale": { "$ref": "#/definitions/double" }, "default_graphic": { "$ref": "#/definitions/ProcessionGraphic" }, "default_shadow_graphic": { "$ref": "#/definitions/ProcessionGraphic" }, "procession_graphic_catalogue": { "$ref": "#/definitions/ProcessionGraphicCatalogue" }, "procession_audio_catalogue": { "$ref": "#/definitions/ProcessionAudioCatalogue" }, "shadow_slave_entity": { "$ref": "#/definitions/EntityID" }, "inventory_size": { "$ref": "#/definitions/ItemStackIndex" }, "spawned_container": { "$ref": "#/definitions/EntityID" } }, "required": [ "type", "name", "inventory_size", "spawned_container" ] }, "CargoWagonPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/CargoWagonPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "cargo-wagon" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "collision_box": { "$ref": "#/definitions/BoundingBox" }, "collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "map_generator_bounding_box": { "$ref": "#/definitions/BoundingBox" }, "selection_box": { "$ref": "#/definitions/BoundingBox" }, "drawing_box_vertical_extension": { "$ref": "#/definitions/double" }, "sticker_box": { "$ref": "#/definitions/BoundingBox" }, "hit_visualization_box": { "$ref": "#/definitions/BoundingBox" }, "trigger_target_mask": { "$ref": "#/definitions/TriggerTargetMask" }, "flags": { "$ref": "#/definitions/EntityPrototypeFlags" }, "tile_buildability_rules": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileBuildabilityRule" } }, { "type": "object", "additionalProperties": false } ] }, "minable": { "$ref": "#/definitions/MinableProperties" }, "surface_conditions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SurfaceCondition" } }, { "type": "object", "additionalProperties": false } ] }, "deconstruction_alternative": { "$ref": "#/definitions/EntityID" }, "selection_priority": { "$ref": "#/definitions/uint8" }, "build_grid_size": { "$ref": "#/definitions/uint8" }, "remove_decoratives": { "anyOf": [ { "type": "string", "const": "automatic" }, { "type": "string", "const": "true" }, { "type": "string", "const": "false" } ] }, "emissions_per_second": { "type": "object", "additionalProperties": { "$ref": "#/definitions/double" }, "propertyNames": { "$ref": "#/definitions/AirbornePollutantID" } }, "shooting_cursor_size": { "$ref": "#/definitions/double" }, "created_smoke": { "$ref": "#/definitions/CreateTrivialSmokeEffectItem" }, "working_sound": { "$ref": "#/definitions/WorkingSound" }, "created_effect": { "$ref": "#/definitions/Trigger" }, "build_sound": { "$ref": "#/definitions/Sound" }, "mined_sound": { "$ref": "#/definitions/Sound" }, "mining_sound": { "$ref": "#/definitions/Sound" }, "rotated_sound": { "$ref": "#/definitions/Sound" }, "impact_category": { "$ref": "#/definitions/string" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "placeable_position_visualization": { "$ref": "#/definitions/Sprite" }, "radius_visualisation_specification": { "$ref": "#/definitions/RadiusVisualisationSpecification" }, "stateless_visualisation": { "$ref": "#/definitions/StatelessVisualisations" }, "build_base_evolution_requirement": { "$ref": "#/definitions/double" }, "alert_icon_shift": { "$ref": "#/definitions/Vector" }, "alert_icon_scale": { "$ref": "#/definitions/float" }, "fast_replaceable_group": { "$ref": "#/definitions/string" }, "next_upgrade": { "$ref": "#/definitions/EntityID" }, "protected_from_tile_building": { "$ref": "#/definitions/bool" }, "heating_energy": { "$ref": "#/definitions/Energy" }, "allow_copy_paste": { "$ref": "#/definitions/bool" }, "selectable_in_game": { "$ref": "#/definitions/bool" }, "placeable_by": { "anyOf": [ { "$ref": "#/definitions/ItemToPlace" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemToPlace" } }, { "type": "object", "additionalProperties": false } ] } ] }, "remains_when_mined": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "additional_pastable_entities": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] }, "tile_width": { "$ref": "#/definitions/int32" }, "tile_height": { "$ref": "#/definitions/int32" }, "diagonal_tile_grid_size": { "$ref": "#/definitions/TilePosition" }, "autoplace": { "$ref": "#/definitions/AutoplaceSpecification" }, "map_color": { "$ref": "#/definitions/Color" }, "friendly_map_color": { "$ref": "#/definitions/Color" }, "enemy_map_color": { "$ref": "#/definitions/Color" }, "water_reflection": { "$ref": "#/definitions/WaterReflectionDefinition" }, "ambient_sounds_group": { "$ref": "#/definitions/EntityID" }, "ambient_sounds": { "anyOf": [ { "$ref": "#/definitions/WorldAmbientSoundDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/WorldAmbientSoundDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "icon_draw_specification": { "$ref": "#/definitions/IconDrawSpecification" }, "icons_positioning": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconSequencePositioning" } }, { "type": "object", "additionalProperties": false } ] }, "max_health": { "$ref": "#/definitions/float" }, "healing_per_tick": { "$ref": "#/definitions/float" }, "repair_speed_modifier": { "$ref": "#/definitions/float" }, "dying_explosion": { "anyOf": [ { "$ref": "#/definitions/ExplosionDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ExplosionDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "dying_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "damaged_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "loot": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/LootItem" } }, { "type": "object", "additionalProperties": false } ] }, "resistances": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Resistance" } }, { "type": "object", "additionalProperties": false } ] }, "attack_reaction": { "anyOf": [ { "$ref": "#/definitions/AttackReactionItem" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/AttackReactionItem" } }, { "type": "object", "additionalProperties": false } ] } ] }, "repair_sound": { "$ref": "#/definitions/Sound" }, "alert_when_damaged": { "$ref": "#/definitions/bool" }, "hide_resistances": { "$ref": "#/definitions/bool" }, "create_ghost_on_death": { "$ref": "#/definitions/bool" }, "random_corpse_variation": { "$ref": "#/definitions/bool" }, "integration_patch_render_layer": { "$ref": "#/definitions/RenderLayer" }, "corpse": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "integration_patch": { "$ref": "#/definitions/Sprite4Way" }, "overkill_fraction": { "$ref": "#/definitions/float" }, "is_military_target": { "$ref": "#/definitions/bool" }, "allow_run_time_change_of_is_military_target": { "$ref": "#/definitions/bool" }, "quality_indicator_scale": { "$ref": "#/definitions/double" }, "weight": { "$ref": "#/definitions/double" }, "braking_power": { "anyOf": [ { "$ref": "#/definitions/Energy" }, { "$ref": "#/definitions/double" } ] }, "braking_force": { "anyOf": [ { "$ref": "#/definitions/Energy" }, { "$ref": "#/definitions/double" } ] }, "friction": { "$ref": "#/definitions/double" }, "friction_force": { "$ref": "#/definitions/double" }, "energy_per_hit_point": { "$ref": "#/definitions/double" }, "terrain_friction_modifier": { "$ref": "#/definitions/float" }, "impact_speed_to_volume_ratio": { "$ref": "#/definitions/double" }, "stop_trigger_speed": { "$ref": "#/definitions/double" }, "crash_trigger": { "$ref": "#/definitions/TriggerEffect" }, "stop_trigger": { "$ref": "#/definitions/TriggerEffect" }, "equipment_grid": { "$ref": "#/definitions/EquipmentGridID" }, "minimap_representation": { "$ref": "#/definitions/Sprite" }, "selected_minimap_representation": { "$ref": "#/definitions/Sprite" }, "allow_passengers": { "$ref": "#/definitions/bool" }, "deliver_category": { "$ref": "#/definitions/string" }, "chunk_exploration_radius": { "$ref": "#/definitions/uint32" }, "allow_remote_driving": { "$ref": "#/definitions/bool" }, "max_speed": { "$ref": "#/definitions/double" }, "air_resistance": { "$ref": "#/definitions/double" }, "joint_distance": { "$ref": "#/definitions/double" }, "connection_distance": { "$ref": "#/definitions/double" }, "pictures": { "$ref": "#/definitions/RollingStockRotatedSlopedGraphics" }, "wheels": { "$ref": "#/definitions/RollingStockRotatedSlopedGraphics" }, "vertical_selection_shift": { "$ref": "#/definitions/double" }, "drive_over_tie_trigger": { "$ref": "#/definitions/TriggerEffect" }, "drive_over_tie_trigger_minimal_speed": { "$ref": "#/definitions/double" }, "tie_distance": { "$ref": "#/definitions/double" }, "back_light": { "$ref": "#/definitions/LightDefinition" }, "stand_by_light": { "$ref": "#/definitions/LightDefinition" }, "horizontal_doors": { "$ref": "#/definitions/Animation" }, "vertical_doors": { "$ref": "#/definitions/Animation" }, "color": { "$ref": "#/definitions/Color" }, "allow_manual_color": { "$ref": "#/definitions/bool" }, "allow_robot_dispatch_in_automatic_mode": { "$ref": "#/definitions/bool" }, "default_copy_color_from_train_stop": { "$ref": "#/definitions/bool" }, "transition_collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "elevated_collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "elevated_selection_priority": { "$ref": "#/definitions/uint8" }, "elevated_rail_sound": { "$ref": "#/definitions/MainSound" }, "drive_over_elevated_tie_trigger": { "$ref": "#/definitions/TriggerEffect" }, "door_opening_sound": { "$ref": "#/definitions/InterruptibleSound" }, "door_closing_sound": { "$ref": "#/definitions/InterruptibleSound" }, "inventory_size": { "$ref": "#/definitions/ItemStackIndex" }, "quality_affects_inventory_size": { "$ref": "#/definitions/bool" } }, "required": [ "type", "name", "weight", "energy_per_hit_point", "max_speed", "air_resistance", "joint_distance", "connection_distance", "vertical_selection_shift", "inventory_size" ], "allOf": [ { "anyOf": [ { "required": [ "braking_power" ] }, { "required": [ "braking_force" ] } ] }, { "anyOf": [ { "required": [ "friction" ] }, { "required": [ "friction_force" ] } ] } ] }, "ChainActiveTriggerPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/ChainActiveTriggerPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "chain-active-trigger" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "action": { "$ref": "#/definitions/Trigger" }, "max_jumps": { "$ref": "#/definitions/uint32" }, "max_range_per_jump": { "$ref": "#/definitions/double" }, "max_range": { "$ref": "#/definitions/double" }, "jump_delay_ticks": { "$ref": "#/definitions/MapTick" }, "fork_chance": { "$ref": "#/definitions/double" }, "fork_chance_increase_per_quality_level": { "$ref": "#/definitions/double" }, "max_forks_per_jump": { "$ref": "#/definitions/uint32" }, "max_forks": { "$ref": "#/definitions/uint32" } }, "required": [ "type", "name" ] }, "ChangedSurfaceAchievementPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/ChangedSurfaceAchievementPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "change-surface-achievement" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "steam_stats_name": { "$ref": "#/definitions/string" }, "allowed_without_fight": { "$ref": "#/definitions/bool" }, "surface": { "$ref": "#/definitions/string" } }, "required": [ "type", "name" ] }, "CharacterCorpsePrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/CharacterCorpsePrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "character-corpse" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "collision_box": { "$ref": "#/definitions/BoundingBox" }, "collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "map_generator_bounding_box": { "$ref": "#/definitions/BoundingBox" }, "selection_box": { "$ref": "#/definitions/BoundingBox" }, "drawing_box_vertical_extension": { "$ref": "#/definitions/double" }, "sticker_box": { "$ref": "#/definitions/BoundingBox" }, "hit_visualization_box": { "$ref": "#/definitions/BoundingBox" }, "trigger_target_mask": { "$ref": "#/definitions/TriggerTargetMask" }, "flags": { "$ref": "#/definitions/EntityPrototypeFlags" }, "tile_buildability_rules": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileBuildabilityRule" } }, { "type": "object", "additionalProperties": false } ] }, "minable": { "$ref": "#/definitions/MinableProperties" }, "surface_conditions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SurfaceCondition" } }, { "type": "object", "additionalProperties": false } ] }, "deconstruction_alternative": { "$ref": "#/definitions/EntityID" }, "selection_priority": { "$ref": "#/definitions/uint8" }, "build_grid_size": { "$ref": "#/definitions/uint8" }, "remove_decoratives": { "anyOf": [ { "type": "string", "const": "automatic" }, { "type": "string", "const": "true" }, { "type": "string", "const": "false" } ] }, "emissions_per_second": { "type": "object", "additionalProperties": { "$ref": "#/definitions/double" }, "propertyNames": { "$ref": "#/definitions/AirbornePollutantID" } }, "shooting_cursor_size": { "$ref": "#/definitions/double" }, "created_smoke": { "$ref": "#/definitions/CreateTrivialSmokeEffectItem" }, "working_sound": { "$ref": "#/definitions/WorkingSound" }, "created_effect": { "$ref": "#/definitions/Trigger" }, "build_sound": { "$ref": "#/definitions/Sound" }, "mined_sound": { "$ref": "#/definitions/Sound" }, "mining_sound": { "$ref": "#/definitions/Sound" }, "rotated_sound": { "$ref": "#/definitions/Sound" }, "impact_category": { "$ref": "#/definitions/string" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "placeable_position_visualization": { "$ref": "#/definitions/Sprite" }, "radius_visualisation_specification": { "$ref": "#/definitions/RadiusVisualisationSpecification" }, "stateless_visualisation": { "$ref": "#/definitions/StatelessVisualisations" }, "build_base_evolution_requirement": { "$ref": "#/definitions/double" }, "alert_icon_shift": { "$ref": "#/definitions/Vector" }, "alert_icon_scale": { "$ref": "#/definitions/float" }, "fast_replaceable_group": { "$ref": "#/definitions/string" }, "next_upgrade": { "$ref": "#/definitions/EntityID" }, "protected_from_tile_building": { "$ref": "#/definitions/bool" }, "heating_energy": { "$ref": "#/definitions/Energy" }, "allow_copy_paste": { "$ref": "#/definitions/bool" }, "selectable_in_game": { "$ref": "#/definitions/bool" }, "placeable_by": { "anyOf": [ { "$ref": "#/definitions/ItemToPlace" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemToPlace" } }, { "type": "object", "additionalProperties": false } ] } ] }, "remains_when_mined": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "additional_pastable_entities": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] }, "tile_width": { "$ref": "#/definitions/int32" }, "tile_height": { "$ref": "#/definitions/int32" }, "diagonal_tile_grid_size": { "$ref": "#/definitions/TilePosition" }, "autoplace": { "$ref": "#/definitions/AutoplaceSpecification" }, "map_color": { "$ref": "#/definitions/Color" }, "friendly_map_color": { "$ref": "#/definitions/Color" }, "enemy_map_color": { "$ref": "#/definitions/Color" }, "water_reflection": { "$ref": "#/definitions/WaterReflectionDefinition" }, "ambient_sounds_group": { "$ref": "#/definitions/EntityID" }, "ambient_sounds": { "anyOf": [ { "$ref": "#/definitions/WorldAmbientSoundDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/WorldAmbientSoundDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "icon_draw_specification": { "$ref": "#/definitions/IconDrawSpecification" }, "icons_positioning": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconSequencePositioning" } }, { "type": "object", "additionalProperties": false } ] }, "time_to_live": { "$ref": "#/definitions/uint32" }, "render_layer": { "$ref": "#/definitions/RenderLayer" }, "pictures": { "$ref": "#/definitions/AnimationVariations" }, "picture": { "$ref": "#/definitions/Animation" }, "armor_picture_mapping": { "type": "object", "additionalProperties": { "$ref": "#/definitions/int32" }, "propertyNames": { "$ref": "#/definitions/ItemID" } } }, "required": [ "type", "name", "time_to_live" ] }, "CharacterPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/CharacterPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "character" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "collision_box": { "$ref": "#/definitions/BoundingBox" }, "collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "map_generator_bounding_box": { "$ref": "#/definitions/BoundingBox" }, "selection_box": { "$ref": "#/definitions/BoundingBox" }, "drawing_box_vertical_extension": { "$ref": "#/definitions/double" }, "sticker_box": { "$ref": "#/definitions/BoundingBox" }, "hit_visualization_box": { "$ref": "#/definitions/BoundingBox" }, "trigger_target_mask": { "$ref": "#/definitions/TriggerTargetMask" }, "flags": { "$ref": "#/definitions/EntityPrototypeFlags" }, "tile_buildability_rules": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileBuildabilityRule" } }, { "type": "object", "additionalProperties": false } ] }, "minable": { "$ref": "#/definitions/MinableProperties" }, "surface_conditions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SurfaceCondition" } }, { "type": "object", "additionalProperties": false } ] }, "deconstruction_alternative": { "$ref": "#/definitions/EntityID" }, "selection_priority": { "$ref": "#/definitions/uint8" }, "build_grid_size": { "$ref": "#/definitions/uint8" }, "remove_decoratives": { "anyOf": [ { "type": "string", "const": "automatic" }, { "type": "string", "const": "true" }, { "type": "string", "const": "false" } ] }, "emissions_per_second": { "type": "object", "additionalProperties": { "$ref": "#/definitions/double" }, "propertyNames": { "$ref": "#/definitions/AirbornePollutantID" } }, "shooting_cursor_size": { "$ref": "#/definitions/double" }, "created_smoke": { "$ref": "#/definitions/CreateTrivialSmokeEffectItem" }, "working_sound": { "$ref": "#/definitions/WorkingSound" }, "created_effect": { "$ref": "#/definitions/Trigger" }, "build_sound": { "$ref": "#/definitions/Sound" }, "mined_sound": { "$ref": "#/definitions/Sound" }, "mining_sound": { "$ref": "#/definitions/Sound" }, "rotated_sound": { "$ref": "#/definitions/Sound" }, "impact_category": { "$ref": "#/definitions/string" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "placeable_position_visualization": { "$ref": "#/definitions/Sprite" }, "radius_visualisation_specification": { "$ref": "#/definitions/RadiusVisualisationSpecification" }, "stateless_visualisation": { "$ref": "#/definitions/StatelessVisualisations" }, "build_base_evolution_requirement": { "$ref": "#/definitions/double" }, "alert_icon_shift": { "$ref": "#/definitions/Vector" }, "alert_icon_scale": { "$ref": "#/definitions/float" }, "fast_replaceable_group": { "$ref": "#/definitions/string" }, "next_upgrade": { "$ref": "#/definitions/EntityID" }, "protected_from_tile_building": { "$ref": "#/definitions/bool" }, "heating_energy": { "$ref": "#/definitions/Energy" }, "allow_copy_paste": { "$ref": "#/definitions/bool" }, "selectable_in_game": { "$ref": "#/definitions/bool" }, "placeable_by": { "anyOf": [ { "$ref": "#/definitions/ItemToPlace" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemToPlace" } }, { "type": "object", "additionalProperties": false } ] } ] }, "remains_when_mined": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "additional_pastable_entities": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] }, "tile_width": { "$ref": "#/definitions/int32" }, "tile_height": { "$ref": "#/definitions/int32" }, "diagonal_tile_grid_size": { "$ref": "#/definitions/TilePosition" }, "autoplace": { "$ref": "#/definitions/AutoplaceSpecification" }, "map_color": { "$ref": "#/definitions/Color" }, "friendly_map_color": { "$ref": "#/definitions/Color" }, "enemy_map_color": { "$ref": "#/definitions/Color" }, "water_reflection": { "$ref": "#/definitions/WaterReflectionDefinition" }, "ambient_sounds_group": { "$ref": "#/definitions/EntityID" }, "ambient_sounds": { "anyOf": [ { "$ref": "#/definitions/WorldAmbientSoundDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/WorldAmbientSoundDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "icon_draw_specification": { "$ref": "#/definitions/IconDrawSpecification" }, "icons_positioning": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconSequencePositioning" } }, { "type": "object", "additionalProperties": false } ] }, "max_health": { "$ref": "#/definitions/float" }, "healing_per_tick": { "$ref": "#/definitions/float" }, "repair_speed_modifier": { "$ref": "#/definitions/float" }, "dying_explosion": { "anyOf": [ { "$ref": "#/definitions/ExplosionDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ExplosionDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "dying_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "damaged_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "loot": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/LootItem" } }, { "type": "object", "additionalProperties": false } ] }, "resistances": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Resistance" } }, { "type": "object", "additionalProperties": false } ] }, "attack_reaction": { "anyOf": [ { "$ref": "#/definitions/AttackReactionItem" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/AttackReactionItem" } }, { "type": "object", "additionalProperties": false } ] } ] }, "repair_sound": { "$ref": "#/definitions/Sound" }, "alert_when_damaged": { "$ref": "#/definitions/bool" }, "hide_resistances": { "$ref": "#/definitions/bool" }, "create_ghost_on_death": { "$ref": "#/definitions/bool" }, "random_corpse_variation": { "$ref": "#/definitions/bool" }, "integration_patch_render_layer": { "$ref": "#/definitions/RenderLayer" }, "corpse": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "integration_patch": { "$ref": "#/definitions/Sprite4Way" }, "overkill_fraction": { "$ref": "#/definitions/float" }, "is_military_target": { "$ref": "#/definitions/bool" }, "allow_run_time_change_of_is_military_target": { "$ref": "#/definitions/bool" }, "quality_indicator_scale": { "$ref": "#/definitions/double" }, "mining_speed": { "$ref": "#/definitions/double" }, "running_speed": { "$ref": "#/definitions/double" }, "distance_per_frame": { "$ref": "#/definitions/double" }, "maximum_corner_sliding_distance": { "$ref": "#/definitions/double" }, "heartbeat": { "$ref": "#/definitions/Sound" }, "eat": { "$ref": "#/definitions/Sound" }, "inventory_size": { "$ref": "#/definitions/ItemStackIndex" }, "guns_inventory_size": { "$ref": "#/definitions/ItemStackIndex" }, "build_distance": { "$ref": "#/definitions/uint32" }, "drop_item_distance": { "$ref": "#/definitions/uint32" }, "reach_distance": { "$ref": "#/definitions/uint32" }, "reach_resource_distance": { "$ref": "#/definitions/double" }, "item_pickup_distance": { "$ref": "#/definitions/double" }, "loot_pickup_distance": { "$ref": "#/definitions/double" }, "ticks_to_keep_gun": { "$ref": "#/definitions/uint32" }, "ticks_to_keep_aiming_direction": { "$ref": "#/definitions/uint32" }, "ticks_to_stay_in_combat": { "$ref": "#/definitions/uint32" }, "damage_hit_tint": { "$ref": "#/definitions/Color" }, "mining_with_tool_particles_animation_positions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/float" } }, { "type": "object", "additionalProperties": false } ] }, "running_sound_animation_positions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/float" } }, { "type": "object", "additionalProperties": false } ] }, "moving_sound_animation_positions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/float" } }, { "type": "object", "additionalProperties": false } ] }, "animations": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/CharacterArmorAnimation" } }, { "type": "object", "additionalProperties": false } ] }, "crafting_categories": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/RecipeCategoryID" } }, { "type": "object", "additionalProperties": false } ] }, "mining_categories": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ResourceCategoryID" } }, { "type": "object", "additionalProperties": false } ] }, "light": { "$ref": "#/definitions/LightDefinition" }, "flying_bob_speed": { "$ref": "#/definitions/float" }, "grounded_landing_search_radius": { "$ref": "#/definitions/double" }, "enter_vehicle_distance": { "$ref": "#/definitions/double" }, "tool_attack_distance": { "$ref": "#/definitions/double" }, "respawn_time": { "$ref": "#/definitions/uint32" }, "has_belt_immunity": { "$ref": "#/definitions/bool" }, "character_corpse": { "$ref": "#/definitions/EntityID" }, "flying_collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "tool_attack_result": { "$ref": "#/definitions/Trigger" }, "footstep_particle_triggers": { "$ref": "#/definitions/FootstepTriggerEffectList" }, "synced_footstep_particle_triggers": { "$ref": "#/definitions/FootstepTriggerEffectList" }, "footprint_particles": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/FootprintParticle" } }, { "type": "object", "additionalProperties": false } ] }, "left_footprint_offset": { "$ref": "#/definitions/Vector" }, "right_footprint_offset": { "$ref": "#/definitions/Vector" }, "right_footprint_frames": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/float" } }, { "type": "object", "additionalProperties": false } ] }, "left_footprint_frames": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/float" } }, { "type": "object", "additionalProperties": false } ] } }, "required": [ "type", "name", "mining_speed", "running_speed", "distance_per_frame", "maximum_corner_sliding_distance", "heartbeat", "eat", "inventory_size", "build_distance", "drop_item_distance", "reach_distance", "reach_resource_distance", "item_pickup_distance", "loot_pickup_distance", "ticks_to_keep_gun", "ticks_to_keep_aiming_direction", "ticks_to_stay_in_combat", "damage_hit_tint", "mining_with_tool_particles_animation_positions", "running_sound_animation_positions", "moving_sound_animation_positions", "animations" ] }, "CliffPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/CliffPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "cliff" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "collision_box": { "$ref": "#/definitions/BoundingBox" }, "collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "map_generator_bounding_box": { "$ref": "#/definitions/BoundingBox" }, "selection_box": { "$ref": "#/definitions/BoundingBox" }, "drawing_box_vertical_extension": { "$ref": "#/definitions/double" }, "sticker_box": { "$ref": "#/definitions/BoundingBox" }, "hit_visualization_box": { "$ref": "#/definitions/BoundingBox" }, "trigger_target_mask": { "$ref": "#/definitions/TriggerTargetMask" }, "flags": { "$ref": "#/definitions/EntityPrototypeFlags" }, "tile_buildability_rules": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileBuildabilityRule" } }, { "type": "object", "additionalProperties": false } ] }, "minable": { "$ref": "#/definitions/MinableProperties" }, "surface_conditions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SurfaceCondition" } }, { "type": "object", "additionalProperties": false } ] }, "deconstruction_alternative": { "$ref": "#/definitions/EntityID" }, "selection_priority": { "$ref": "#/definitions/uint8" }, "build_grid_size": { "$ref": "#/definitions/uint8" }, "remove_decoratives": { "anyOf": [ { "type": "string", "const": "automatic" }, { "type": "string", "const": "true" }, { "type": "string", "const": "false" } ] }, "emissions_per_second": { "type": "object", "additionalProperties": { "$ref": "#/definitions/double" }, "propertyNames": { "$ref": "#/definitions/AirbornePollutantID" } }, "shooting_cursor_size": { "$ref": "#/definitions/double" }, "created_smoke": { "$ref": "#/definitions/CreateTrivialSmokeEffectItem" }, "working_sound": { "$ref": "#/definitions/WorkingSound" }, "created_effect": { "$ref": "#/definitions/Trigger" }, "build_sound": { "$ref": "#/definitions/Sound" }, "mined_sound": { "$ref": "#/definitions/Sound" }, "mining_sound": { "$ref": "#/definitions/Sound" }, "rotated_sound": { "$ref": "#/definitions/Sound" }, "impact_category": { "$ref": "#/definitions/string" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "placeable_position_visualization": { "$ref": "#/definitions/Sprite" }, "radius_visualisation_specification": { "$ref": "#/definitions/RadiusVisualisationSpecification" }, "stateless_visualisation": { "$ref": "#/definitions/StatelessVisualisations" }, "build_base_evolution_requirement": { "$ref": "#/definitions/double" }, "alert_icon_shift": { "$ref": "#/definitions/Vector" }, "alert_icon_scale": { "$ref": "#/definitions/float" }, "fast_replaceable_group": { "$ref": "#/definitions/string" }, "next_upgrade": { "$ref": "#/definitions/EntityID" }, "protected_from_tile_building": { "$ref": "#/definitions/bool" }, "heating_energy": { "$ref": "#/definitions/Energy" }, "allow_copy_paste": { "$ref": "#/definitions/bool" }, "selectable_in_game": { "$ref": "#/definitions/bool" }, "placeable_by": { "anyOf": [ { "$ref": "#/definitions/ItemToPlace" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemToPlace" } }, { "type": "object", "additionalProperties": false } ] } ] }, "remains_when_mined": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "additional_pastable_entities": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] }, "tile_width": { "$ref": "#/definitions/int32" }, "tile_height": { "$ref": "#/definitions/int32" }, "diagonal_tile_grid_size": { "$ref": "#/definitions/TilePosition" }, "autoplace": { "$ref": "#/definitions/AutoplaceSpecification" }, "map_color": { "$ref": "#/definitions/Color" }, "friendly_map_color": { "$ref": "#/definitions/Color" }, "enemy_map_color": { "$ref": "#/definitions/Color" }, "water_reflection": { "$ref": "#/definitions/WaterReflectionDefinition" }, "ambient_sounds_group": { "$ref": "#/definitions/EntityID" }, "ambient_sounds": { "anyOf": [ { "$ref": "#/definitions/WorldAmbientSoundDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/WorldAmbientSoundDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "icon_draw_specification": { "$ref": "#/definitions/IconDrawSpecification" }, "icons_positioning": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconSequencePositioning" } }, { "type": "object", "additionalProperties": false } ] }, "orientations": { "type": "object", "properties": { "west_to_east": { "$ref": "#/definitions/OrientedCliffPrototype" }, "north_to_south": { "$ref": "#/definitions/OrientedCliffPrototype" }, "east_to_west": { "$ref": "#/definitions/OrientedCliffPrototype" }, "south_to_north": { "$ref": "#/definitions/OrientedCliffPrototype" }, "west_to_north": { "$ref": "#/definitions/OrientedCliffPrototype" }, "north_to_east": { "$ref": "#/definitions/OrientedCliffPrototype" }, "east_to_south": { "$ref": "#/definitions/OrientedCliffPrototype" }, "south_to_west": { "$ref": "#/definitions/OrientedCliffPrototype" }, "west_to_south": { "$ref": "#/definitions/OrientedCliffPrototype" }, "north_to_west": { "$ref": "#/definitions/OrientedCliffPrototype" }, "east_to_north": { "$ref": "#/definitions/OrientedCliffPrototype" }, "south_to_east": { "$ref": "#/definitions/OrientedCliffPrototype" }, "west_to_none": { "$ref": "#/definitions/OrientedCliffPrototype" }, "none_to_east": { "$ref": "#/definitions/OrientedCliffPrototype" }, "north_to_none": { "$ref": "#/definitions/OrientedCliffPrototype" }, "none_to_south": { "$ref": "#/definitions/OrientedCliffPrototype" }, "east_to_none": { "$ref": "#/definitions/OrientedCliffPrototype" }, "none_to_west": { "$ref": "#/definitions/OrientedCliffPrototype" }, "south_to_none": { "$ref": "#/definitions/OrientedCliffPrototype" }, "none_to_north": { "$ref": "#/definitions/OrientedCliffPrototype" } }, "required": [ "west_to_east", "north_to_south", "east_to_west", "south_to_north", "west_to_north", "north_to_east", "east_to_south", "south_to_west", "west_to_south", "north_to_west", "east_to_north", "south_to_east", "west_to_none", "none_to_east", "north_to_none", "none_to_south", "east_to_none", "none_to_west", "south_to_none", "none_to_north" ] }, "grid_size": { "$ref": "#/definitions/Vector" }, "grid_offset": { "$ref": "#/definitions/Vector" }, "cliff_explosive": { "$ref": "#/definitions/ItemID" }, "place_as_crater": { "$ref": "#/definitions/CraterPlacementDefinition" } }, "required": [ "type", "name", "orientations", "grid_size", "grid_offset" ] }, "CollisionLayerPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/CollisionLayerPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "collision-layer" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" } }, "required": [ "type", "name" ] }, "CombatRobotCountAchievementPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/CombatRobotCountAchievementPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "combat-robot-count-achievement" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "steam_stats_name": { "$ref": "#/definitions/string" }, "allowed_without_fight": { "$ref": "#/definitions/bool" }, "count": { "$ref": "#/definitions/uint32" } }, "required": [ "type", "name" ] }, "CombatRobotPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/CombatRobotPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "combat-robot" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "collision_box": { "$ref": "#/definitions/BoundingBox" }, "collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "map_generator_bounding_box": { "$ref": "#/definitions/BoundingBox" }, "selection_box": { "$ref": "#/definitions/BoundingBox" }, "drawing_box_vertical_extension": { "$ref": "#/definitions/double" }, "sticker_box": { "$ref": "#/definitions/BoundingBox" }, "hit_visualization_box": { "$ref": "#/definitions/BoundingBox" }, "trigger_target_mask": { "$ref": "#/definitions/TriggerTargetMask" }, "flags": { "$ref": "#/definitions/EntityPrototypeFlags" }, "tile_buildability_rules": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileBuildabilityRule" } }, { "type": "object", "additionalProperties": false } ] }, "minable": { "$ref": "#/definitions/MinableProperties" }, "surface_conditions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SurfaceCondition" } }, { "type": "object", "additionalProperties": false } ] }, "deconstruction_alternative": { "$ref": "#/definitions/EntityID" }, "selection_priority": { "$ref": "#/definitions/uint8" }, "build_grid_size": { "$ref": "#/definitions/uint8" }, "remove_decoratives": { "anyOf": [ { "type": "string", "const": "automatic" }, { "type": "string", "const": "true" }, { "type": "string", "const": "false" } ] }, "emissions_per_second": { "type": "object", "additionalProperties": { "$ref": "#/definitions/double" }, "propertyNames": { "$ref": "#/definitions/AirbornePollutantID" } }, "shooting_cursor_size": { "$ref": "#/definitions/double" }, "created_smoke": { "$ref": "#/definitions/CreateTrivialSmokeEffectItem" }, "working_sound": { "$ref": "#/definitions/WorkingSound" }, "created_effect": { "$ref": "#/definitions/Trigger" }, "build_sound": { "$ref": "#/definitions/Sound" }, "mined_sound": { "$ref": "#/definitions/Sound" }, "mining_sound": { "$ref": "#/definitions/Sound" }, "rotated_sound": { "$ref": "#/definitions/Sound" }, "impact_category": { "$ref": "#/definitions/string" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "placeable_position_visualization": { "$ref": "#/definitions/Sprite" }, "radius_visualisation_specification": { "$ref": "#/definitions/RadiusVisualisationSpecification" }, "stateless_visualisation": { "$ref": "#/definitions/StatelessVisualisations" }, "build_base_evolution_requirement": { "$ref": "#/definitions/double" }, "alert_icon_shift": { "$ref": "#/definitions/Vector" }, "alert_icon_scale": { "$ref": "#/definitions/float" }, "fast_replaceable_group": { "$ref": "#/definitions/string" }, "next_upgrade": { "$ref": "#/definitions/EntityID" }, "protected_from_tile_building": { "$ref": "#/definitions/bool" }, "heating_energy": { "$ref": "#/definitions/Energy" }, "allow_copy_paste": { "$ref": "#/definitions/bool" }, "selectable_in_game": { "$ref": "#/definitions/bool" }, "placeable_by": { "anyOf": [ { "$ref": "#/definitions/ItemToPlace" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemToPlace" } }, { "type": "object", "additionalProperties": false } ] } ] }, "remains_when_mined": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "additional_pastable_entities": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] }, "tile_width": { "$ref": "#/definitions/int32" }, "tile_height": { "$ref": "#/definitions/int32" }, "diagonal_tile_grid_size": { "$ref": "#/definitions/TilePosition" }, "autoplace": { "$ref": "#/definitions/AutoplaceSpecification" }, "map_color": { "$ref": "#/definitions/Color" }, "friendly_map_color": { "$ref": "#/definitions/Color" }, "enemy_map_color": { "$ref": "#/definitions/Color" }, "water_reflection": { "$ref": "#/definitions/WaterReflectionDefinition" }, "ambient_sounds_group": { "$ref": "#/definitions/EntityID" }, "ambient_sounds": { "anyOf": [ { "$ref": "#/definitions/WorldAmbientSoundDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/WorldAmbientSoundDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "icon_draw_specification": { "$ref": "#/definitions/IconDrawSpecification" }, "icons_positioning": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconSequencePositioning" } }, { "type": "object", "additionalProperties": false } ] }, "max_health": { "$ref": "#/definitions/float" }, "healing_per_tick": { "$ref": "#/definitions/float" }, "repair_speed_modifier": { "$ref": "#/definitions/float" }, "dying_explosion": { "anyOf": [ { "$ref": "#/definitions/ExplosionDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ExplosionDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "dying_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "damaged_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "loot": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/LootItem" } }, { "type": "object", "additionalProperties": false } ] }, "resistances": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Resistance" } }, { "type": "object", "additionalProperties": false } ] }, "attack_reaction": { "anyOf": [ { "$ref": "#/definitions/AttackReactionItem" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/AttackReactionItem" } }, { "type": "object", "additionalProperties": false } ] } ] }, "repair_sound": { "$ref": "#/definitions/Sound" }, "alert_when_damaged": { "$ref": "#/definitions/bool" }, "hide_resistances": { "$ref": "#/definitions/bool" }, "create_ghost_on_death": { "$ref": "#/definitions/bool" }, "random_corpse_variation": { "$ref": "#/definitions/bool" }, "integration_patch_render_layer": { "$ref": "#/definitions/RenderLayer" }, "corpse": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "integration_patch": { "$ref": "#/definitions/Sprite4Way" }, "overkill_fraction": { "$ref": "#/definitions/float" }, "is_military_target": { "$ref": "#/definitions/bool" }, "allow_run_time_change_of_is_military_target": { "$ref": "#/definitions/bool" }, "quality_indicator_scale": { "$ref": "#/definitions/double" }, "speed": { "$ref": "#/definitions/double" }, "max_speed": { "$ref": "#/definitions/double" }, "max_energy": { "$ref": "#/definitions/Energy" }, "energy_per_move": { "$ref": "#/definitions/Energy" }, "energy_per_tick": { "$ref": "#/definitions/Energy" }, "min_to_charge": { "$ref": "#/definitions/float" }, "max_to_charge": { "$ref": "#/definitions/float" }, "speed_multiplier_when_out_of_energy": { "$ref": "#/definitions/float" }, "time_to_live": { "$ref": "#/definitions/uint32" }, "attack_parameters": { "$ref": "#/definitions/AttackParameters" }, "idle": { "$ref": "#/definitions/RotatedAnimation" }, "shadow_idle": { "$ref": "#/definitions/RotatedAnimation" }, "in_motion": { "$ref": "#/definitions/RotatedAnimation" }, "shadow_in_motion": { "$ref": "#/definitions/RotatedAnimation" }, "range_from_player": { "$ref": "#/definitions/double" }, "friction": { "$ref": "#/definitions/double" }, "destroy_action": { "$ref": "#/definitions/Trigger" }, "follows_player": { "$ref": "#/definitions/bool" }, "light": { "$ref": "#/definitions/LightDefinition" } }, "required": [ "type", "name", "speed", "time_to_live", "attack_parameters" ] }, "CompleteObjectiveAchievementPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/CompleteObjectiveAchievementPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "complete-objective-achievement" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "steam_stats_name": { "$ref": "#/definitions/string" }, "allowed_without_fight": { "$ref": "#/definitions/bool" }, "objective_condition": { "anyOf": [ { "type": "string", "const": "game-finished" }, { "type": "string", "const": "rocket-launched" }, { "type": "string", "const": "late-research" } ] }, "within": { "$ref": "#/definitions/MapTick" } }, "required": [ "type", "name" ] }, "ConstantCombinatorPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/ConstantCombinatorPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "constant-combinator" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "collision_box": { "$ref": "#/definitions/BoundingBox" }, "collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "map_generator_bounding_box": { "$ref": "#/definitions/BoundingBox" }, "selection_box": { "$ref": "#/definitions/BoundingBox" }, "drawing_box_vertical_extension": { "$ref": "#/definitions/double" }, "sticker_box": { "$ref": "#/definitions/BoundingBox" }, "hit_visualization_box": { "$ref": "#/definitions/BoundingBox" }, "trigger_target_mask": { "$ref": "#/definitions/TriggerTargetMask" }, "flags": { "$ref": "#/definitions/EntityPrototypeFlags" }, "tile_buildability_rules": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileBuildabilityRule" } }, { "type": "object", "additionalProperties": false } ] }, "minable": { "$ref": "#/definitions/MinableProperties" }, "surface_conditions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SurfaceCondition" } }, { "type": "object", "additionalProperties": false } ] }, "deconstruction_alternative": { "$ref": "#/definitions/EntityID" }, "selection_priority": { "$ref": "#/definitions/uint8" }, "build_grid_size": { "$ref": "#/definitions/uint8" }, "remove_decoratives": { "anyOf": [ { "type": "string", "const": "automatic" }, { "type": "string", "const": "true" }, { "type": "string", "const": "false" } ] }, "emissions_per_second": { "type": "object", "additionalProperties": { "$ref": "#/definitions/double" }, "propertyNames": { "$ref": "#/definitions/AirbornePollutantID" } }, "shooting_cursor_size": { "$ref": "#/definitions/double" }, "created_smoke": { "$ref": "#/definitions/CreateTrivialSmokeEffectItem" }, "working_sound": { "$ref": "#/definitions/WorkingSound" }, "created_effect": { "$ref": "#/definitions/Trigger" }, "build_sound": { "$ref": "#/definitions/Sound" }, "mined_sound": { "$ref": "#/definitions/Sound" }, "mining_sound": { "$ref": "#/definitions/Sound" }, "rotated_sound": { "$ref": "#/definitions/Sound" }, "impact_category": { "$ref": "#/definitions/string" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "placeable_position_visualization": { "$ref": "#/definitions/Sprite" }, "radius_visualisation_specification": { "$ref": "#/definitions/RadiusVisualisationSpecification" }, "stateless_visualisation": { "$ref": "#/definitions/StatelessVisualisations" }, "build_base_evolution_requirement": { "$ref": "#/definitions/double" }, "alert_icon_shift": { "$ref": "#/definitions/Vector" }, "alert_icon_scale": { "$ref": "#/definitions/float" }, "fast_replaceable_group": { "$ref": "#/definitions/string" }, "next_upgrade": { "$ref": "#/definitions/EntityID" }, "protected_from_tile_building": { "$ref": "#/definitions/bool" }, "heating_energy": { "$ref": "#/definitions/Energy" }, "allow_copy_paste": { "$ref": "#/definitions/bool" }, "selectable_in_game": { "$ref": "#/definitions/bool" }, "placeable_by": { "anyOf": [ { "$ref": "#/definitions/ItemToPlace" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemToPlace" } }, { "type": "object", "additionalProperties": false } ] } ] }, "remains_when_mined": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "additional_pastable_entities": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] }, "tile_width": { "$ref": "#/definitions/int32" }, "tile_height": { "$ref": "#/definitions/int32" }, "diagonal_tile_grid_size": { "$ref": "#/definitions/TilePosition" }, "autoplace": { "$ref": "#/definitions/AutoplaceSpecification" }, "map_color": { "$ref": "#/definitions/Color" }, "friendly_map_color": { "$ref": "#/definitions/Color" }, "enemy_map_color": { "$ref": "#/definitions/Color" }, "water_reflection": { "$ref": "#/definitions/WaterReflectionDefinition" }, "ambient_sounds_group": { "$ref": "#/definitions/EntityID" }, "ambient_sounds": { "anyOf": [ { "$ref": "#/definitions/WorldAmbientSoundDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/WorldAmbientSoundDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "icon_draw_specification": { "$ref": "#/definitions/IconDrawSpecification" }, "icons_positioning": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconSequencePositioning" } }, { "type": "object", "additionalProperties": false } ] }, "max_health": { "$ref": "#/definitions/float" }, "healing_per_tick": { "$ref": "#/definitions/float" }, "repair_speed_modifier": { "$ref": "#/definitions/float" }, "dying_explosion": { "anyOf": [ { "$ref": "#/definitions/ExplosionDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ExplosionDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "dying_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "damaged_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "loot": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/LootItem" } }, { "type": "object", "additionalProperties": false } ] }, "resistances": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Resistance" } }, { "type": "object", "additionalProperties": false } ] }, "attack_reaction": { "anyOf": [ { "$ref": "#/definitions/AttackReactionItem" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/AttackReactionItem" } }, { "type": "object", "additionalProperties": false } ] } ] }, "repair_sound": { "$ref": "#/definitions/Sound" }, "alert_when_damaged": { "$ref": "#/definitions/bool" }, "hide_resistances": { "$ref": "#/definitions/bool" }, "create_ghost_on_death": { "$ref": "#/definitions/bool" }, "random_corpse_variation": { "$ref": "#/definitions/bool" }, "integration_patch_render_layer": { "$ref": "#/definitions/RenderLayer" }, "corpse": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "integration_patch": { "$ref": "#/definitions/Sprite4Way" }, "overkill_fraction": { "$ref": "#/definitions/float" }, "is_military_target": { "$ref": "#/definitions/bool" }, "allow_run_time_change_of_is_military_target": { "$ref": "#/definitions/bool" }, "quality_indicator_scale": { "$ref": "#/definitions/double" }, "sprites": { "$ref": "#/definitions/Sprite4Way" }, "activity_led_sprites": { "$ref": "#/definitions/Sprite4Way" }, "activity_led_light_offsets": { "type": "array", "items": [ { "$ref": "#/definitions/Vector" }, { "$ref": "#/definitions/Vector" }, { "$ref": "#/definitions/Vector" }, { "$ref": "#/definitions/Vector" } ], "minItems": 4, "maxItems": 4 }, "circuit_wire_connection_points": { "type": "array", "items": [ { "$ref": "#/definitions/WireConnectionPoint" }, { "$ref": "#/definitions/WireConnectionPoint" }, { "$ref": "#/definitions/WireConnectionPoint" }, { "$ref": "#/definitions/WireConnectionPoint" } ], "minItems": 4, "maxItems": 4 }, "activity_led_light": { "$ref": "#/definitions/LightDefinition" }, "circuit_wire_max_distance": { "$ref": "#/definitions/double" }, "draw_copper_wires": { "$ref": "#/definitions/bool" }, "draw_circuit_wires": { "$ref": "#/definitions/bool" }, "pulse_duration": { "$ref": "#/definitions/uint32" } }, "required": [ "type", "name", "activity_led_light_offsets", "circuit_wire_connection_points" ] }, "ConstructWithRobotsAchievementPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/ConstructWithRobotsAchievementPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "construct-with-robots-achievement" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "steam_stats_name": { "$ref": "#/definitions/string" }, "allowed_without_fight": { "$ref": "#/definitions/bool" }, "limited_to_one_game": { "$ref": "#/definitions/bool" }, "amount": { "$ref": "#/definitions/uint32" }, "more_than_manually": { "$ref": "#/definitions/bool" } }, "required": [ "type", "name", "limited_to_one_game" ] }, "ConstructionRobotPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/ConstructionRobotPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "construction-robot" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "collision_box": { "$ref": "#/definitions/BoundingBox" }, "collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "map_generator_bounding_box": { "$ref": "#/definitions/BoundingBox" }, "selection_box": { "$ref": "#/definitions/BoundingBox" }, "drawing_box_vertical_extension": { "$ref": "#/definitions/double" }, "sticker_box": { "$ref": "#/definitions/BoundingBox" }, "hit_visualization_box": { "$ref": "#/definitions/BoundingBox" }, "trigger_target_mask": { "$ref": "#/definitions/TriggerTargetMask" }, "flags": { "$ref": "#/definitions/EntityPrototypeFlags" }, "tile_buildability_rules": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileBuildabilityRule" } }, { "type": "object", "additionalProperties": false } ] }, "minable": { "$ref": "#/definitions/MinableProperties" }, "surface_conditions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SurfaceCondition" } }, { "type": "object", "additionalProperties": false } ] }, "deconstruction_alternative": { "$ref": "#/definitions/EntityID" }, "selection_priority": { "$ref": "#/definitions/uint8" }, "build_grid_size": { "$ref": "#/definitions/uint8" }, "remove_decoratives": { "anyOf": [ { "type": "string", "const": "automatic" }, { "type": "string", "const": "true" }, { "type": "string", "const": "false" } ] }, "emissions_per_second": { "type": "object", "additionalProperties": { "$ref": "#/definitions/double" }, "propertyNames": { "$ref": "#/definitions/AirbornePollutantID" } }, "shooting_cursor_size": { "$ref": "#/definitions/double" }, "created_smoke": { "$ref": "#/definitions/CreateTrivialSmokeEffectItem" }, "working_sound": { "$ref": "#/definitions/WorkingSound" }, "created_effect": { "$ref": "#/definitions/Trigger" }, "build_sound": { "$ref": "#/definitions/Sound" }, "mined_sound": { "$ref": "#/definitions/Sound" }, "mining_sound": { "$ref": "#/definitions/Sound" }, "rotated_sound": { "$ref": "#/definitions/Sound" }, "impact_category": { "$ref": "#/definitions/string" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "placeable_position_visualization": { "$ref": "#/definitions/Sprite" }, "radius_visualisation_specification": { "$ref": "#/definitions/RadiusVisualisationSpecification" }, "stateless_visualisation": { "$ref": "#/definitions/StatelessVisualisations" }, "build_base_evolution_requirement": { "$ref": "#/definitions/double" }, "alert_icon_shift": { "$ref": "#/definitions/Vector" }, "alert_icon_scale": { "$ref": "#/definitions/float" }, "fast_replaceable_group": { "$ref": "#/definitions/string" }, "next_upgrade": { "$ref": "#/definitions/EntityID" }, "protected_from_tile_building": { "$ref": "#/definitions/bool" }, "heating_energy": { "$ref": "#/definitions/Energy" }, "allow_copy_paste": { "$ref": "#/definitions/bool" }, "selectable_in_game": { "$ref": "#/definitions/bool" }, "placeable_by": { "anyOf": [ { "$ref": "#/definitions/ItemToPlace" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemToPlace" } }, { "type": "object", "additionalProperties": false } ] } ] }, "remains_when_mined": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "additional_pastable_entities": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] }, "tile_width": { "$ref": "#/definitions/int32" }, "tile_height": { "$ref": "#/definitions/int32" }, "diagonal_tile_grid_size": { "$ref": "#/definitions/TilePosition" }, "autoplace": { "$ref": "#/definitions/AutoplaceSpecification" }, "map_color": { "$ref": "#/definitions/Color" }, "friendly_map_color": { "$ref": "#/definitions/Color" }, "enemy_map_color": { "$ref": "#/definitions/Color" }, "water_reflection": { "$ref": "#/definitions/WaterReflectionDefinition" }, "ambient_sounds_group": { "$ref": "#/definitions/EntityID" }, "ambient_sounds": { "anyOf": [ { "$ref": "#/definitions/WorldAmbientSoundDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/WorldAmbientSoundDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "icon_draw_specification": { "$ref": "#/definitions/IconDrawSpecification" }, "icons_positioning": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconSequencePositioning" } }, { "type": "object", "additionalProperties": false } ] }, "max_health": { "$ref": "#/definitions/float" }, "healing_per_tick": { "$ref": "#/definitions/float" }, "repair_speed_modifier": { "$ref": "#/definitions/float" }, "dying_explosion": { "anyOf": [ { "$ref": "#/definitions/ExplosionDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ExplosionDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "dying_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "damaged_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "loot": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/LootItem" } }, { "type": "object", "additionalProperties": false } ] }, "resistances": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Resistance" } }, { "type": "object", "additionalProperties": false } ] }, "attack_reaction": { "anyOf": [ { "$ref": "#/definitions/AttackReactionItem" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/AttackReactionItem" } }, { "type": "object", "additionalProperties": false } ] } ] }, "repair_sound": { "$ref": "#/definitions/Sound" }, "alert_when_damaged": { "$ref": "#/definitions/bool" }, "hide_resistances": { "$ref": "#/definitions/bool" }, "create_ghost_on_death": { "$ref": "#/definitions/bool" }, "random_corpse_variation": { "$ref": "#/definitions/bool" }, "integration_patch_render_layer": { "$ref": "#/definitions/RenderLayer" }, "corpse": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "integration_patch": { "$ref": "#/definitions/Sprite4Way" }, "overkill_fraction": { "$ref": "#/definitions/float" }, "is_military_target": { "$ref": "#/definitions/bool" }, "allow_run_time_change_of_is_military_target": { "$ref": "#/definitions/bool" }, "quality_indicator_scale": { "$ref": "#/definitions/double" }, "speed": { "$ref": "#/definitions/double" }, "max_speed": { "$ref": "#/definitions/double" }, "max_energy": { "$ref": "#/definitions/Energy" }, "energy_per_move": { "$ref": "#/definitions/Energy" }, "energy_per_tick": { "$ref": "#/definitions/Energy" }, "min_to_charge": { "$ref": "#/definitions/float" }, "max_to_charge": { "$ref": "#/definitions/float" }, "speed_multiplier_when_out_of_energy": { "$ref": "#/definitions/float" }, "max_payload_size": { "$ref": "#/definitions/ItemCountType" }, "idle": { "$ref": "#/definitions/RotatedAnimation" }, "in_motion": { "$ref": "#/definitions/RotatedAnimation" }, "shadow_idle": { "$ref": "#/definitions/RotatedAnimation" }, "shadow_in_motion": { "$ref": "#/definitions/RotatedAnimation" }, "destroy_action": { "$ref": "#/definitions/Trigger" }, "draw_cargo": { "$ref": "#/definitions/bool" }, "charging_sound": { "$ref": "#/definitions/InterruptibleSound" }, "construction_vector": { "$ref": "#/definitions/Vector" }, "working": { "$ref": "#/definitions/RotatedAnimation" }, "shadow_working": { "$ref": "#/definitions/RotatedAnimation" }, "smoke": { "$ref": "#/definitions/Animation" }, "sparks": { "$ref": "#/definitions/AnimationVariations" }, "repairing_sound": { "$ref": "#/definitions/Sound" }, "mined_sound_volume_modifier": { "$ref": "#/definitions/float" }, "working_light": { "$ref": "#/definitions/LightDefinition" } }, "required": [ "type", "name", "speed", "max_payload_size", "construction_vector" ] }, "ContainerPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/ContainerPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "container" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "collision_box": { "$ref": "#/definitions/BoundingBox" }, "collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "map_generator_bounding_box": { "$ref": "#/definitions/BoundingBox" }, "selection_box": { "$ref": "#/definitions/BoundingBox" }, "drawing_box_vertical_extension": { "$ref": "#/definitions/double" }, "sticker_box": { "$ref": "#/definitions/BoundingBox" }, "hit_visualization_box": { "$ref": "#/definitions/BoundingBox" }, "trigger_target_mask": { "$ref": "#/definitions/TriggerTargetMask" }, "flags": { "$ref": "#/definitions/EntityPrototypeFlags" }, "tile_buildability_rules": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileBuildabilityRule" } }, { "type": "object", "additionalProperties": false } ] }, "minable": { "$ref": "#/definitions/MinableProperties" }, "surface_conditions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SurfaceCondition" } }, { "type": "object", "additionalProperties": false } ] }, "deconstruction_alternative": { "$ref": "#/definitions/EntityID" }, "selection_priority": { "$ref": "#/definitions/uint8" }, "build_grid_size": { "$ref": "#/definitions/uint8" }, "remove_decoratives": { "anyOf": [ { "type": "string", "const": "automatic" }, { "type": "string", "const": "true" }, { "type": "string", "const": "false" } ] }, "emissions_per_second": { "type": "object", "additionalProperties": { "$ref": "#/definitions/double" }, "propertyNames": { "$ref": "#/definitions/AirbornePollutantID" } }, "shooting_cursor_size": { "$ref": "#/definitions/double" }, "created_smoke": { "$ref": "#/definitions/CreateTrivialSmokeEffectItem" }, "working_sound": { "$ref": "#/definitions/WorkingSound" }, "created_effect": { "$ref": "#/definitions/Trigger" }, "build_sound": { "$ref": "#/definitions/Sound" }, "mined_sound": { "$ref": "#/definitions/Sound" }, "mining_sound": { "$ref": "#/definitions/Sound" }, "rotated_sound": { "$ref": "#/definitions/Sound" }, "impact_category": { "$ref": "#/definitions/string" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "placeable_position_visualization": { "$ref": "#/definitions/Sprite" }, "radius_visualisation_specification": { "$ref": "#/definitions/RadiusVisualisationSpecification" }, "stateless_visualisation": { "$ref": "#/definitions/StatelessVisualisations" }, "build_base_evolution_requirement": { "$ref": "#/definitions/double" }, "alert_icon_shift": { "$ref": "#/definitions/Vector" }, "alert_icon_scale": { "$ref": "#/definitions/float" }, "fast_replaceable_group": { "$ref": "#/definitions/string" }, "next_upgrade": { "$ref": "#/definitions/EntityID" }, "protected_from_tile_building": { "$ref": "#/definitions/bool" }, "heating_energy": { "$ref": "#/definitions/Energy" }, "allow_copy_paste": { "$ref": "#/definitions/bool" }, "selectable_in_game": { "$ref": "#/definitions/bool" }, "placeable_by": { "anyOf": [ { "$ref": "#/definitions/ItemToPlace" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemToPlace" } }, { "type": "object", "additionalProperties": false } ] } ] }, "remains_when_mined": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "additional_pastable_entities": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] }, "tile_width": { "$ref": "#/definitions/int32" }, "tile_height": { "$ref": "#/definitions/int32" }, "diagonal_tile_grid_size": { "$ref": "#/definitions/TilePosition" }, "autoplace": { "$ref": "#/definitions/AutoplaceSpecification" }, "map_color": { "$ref": "#/definitions/Color" }, "friendly_map_color": { "$ref": "#/definitions/Color" }, "enemy_map_color": { "$ref": "#/definitions/Color" }, "water_reflection": { "$ref": "#/definitions/WaterReflectionDefinition" }, "ambient_sounds_group": { "$ref": "#/definitions/EntityID" }, "ambient_sounds": { "anyOf": [ { "$ref": "#/definitions/WorldAmbientSoundDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/WorldAmbientSoundDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "icon_draw_specification": { "$ref": "#/definitions/IconDrawSpecification" }, "icons_positioning": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconSequencePositioning" } }, { "type": "object", "additionalProperties": false } ] }, "max_health": { "$ref": "#/definitions/float" }, "healing_per_tick": { "$ref": "#/definitions/float" }, "repair_speed_modifier": { "$ref": "#/definitions/float" }, "dying_explosion": { "anyOf": [ { "$ref": "#/definitions/ExplosionDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ExplosionDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "dying_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "damaged_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "loot": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/LootItem" } }, { "type": "object", "additionalProperties": false } ] }, "resistances": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Resistance" } }, { "type": "object", "additionalProperties": false } ] }, "attack_reaction": { "anyOf": [ { "$ref": "#/definitions/AttackReactionItem" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/AttackReactionItem" } }, { "type": "object", "additionalProperties": false } ] } ] }, "repair_sound": { "$ref": "#/definitions/Sound" }, "alert_when_damaged": { "$ref": "#/definitions/bool" }, "hide_resistances": { "$ref": "#/definitions/bool" }, "create_ghost_on_death": { "$ref": "#/definitions/bool" }, "random_corpse_variation": { "$ref": "#/definitions/bool" }, "integration_patch_render_layer": { "$ref": "#/definitions/RenderLayer" }, "corpse": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "integration_patch": { "$ref": "#/definitions/Sprite4Way" }, "overkill_fraction": { "$ref": "#/definitions/float" }, "is_military_target": { "$ref": "#/definitions/bool" }, "allow_run_time_change_of_is_military_target": { "$ref": "#/definitions/bool" }, "quality_indicator_scale": { "$ref": "#/definitions/double" }, "inventory_size": { "$ref": "#/definitions/ItemStackIndex" }, "quality_affects_inventory_size": { "$ref": "#/definitions/bool" }, "picture": { "$ref": "#/definitions/Sprite" }, "inventory_type": { "anyOf": [ { "type": "string", "const": "normal" }, { "type": "string", "const": "with_bar" }, { "type": "string", "const": "with_filters_and_bar" } ] }, "circuit_wire_max_distance": { "$ref": "#/definitions/double" }, "draw_copper_wires": { "$ref": "#/definitions/bool" }, "draw_circuit_wires": { "$ref": "#/definitions/bool" }, "circuit_connector": { "$ref": "#/definitions/CircuitConnectorDefinition" }, "default_status": { "$ref": "#/definitions/EntityStatus" } }, "required": [ "type", "name", "inventory_size" ] }, "CopyPasteToolPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/CopyPasteToolPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "copy-paste-tool" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "stack_size": { "type": "integer", "const": 1 }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "dark_background_icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "dark_background_icon": { "$ref": "#/definitions/FileName" }, "dark_background_icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "place_result": { "$ref": "#/definitions/EntityID" }, "place_as_equipment_result": { "$ref": "#/definitions/EquipmentID" }, "fuel_category": { "$ref": "#/definitions/FuelCategoryID" }, "burnt_result": { "$ref": "#/definitions/ItemID" }, "spoil_result": { "$ref": "#/definitions/ItemID" }, "plant_result": { "$ref": "#/definitions/EntityID" }, "place_as_tile": { "type": "object", "properties": { "result": { "$ref": "#/definitions/TileID" }, "condition": { "$ref": "#/definitions/CollisionMaskConnector" }, "invert": { "$ref": "#/definitions/bool" }, "condition_size": { "$ref": "#/definitions/uint32" }, "tile_condition": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileID" } }, { "type": "object", "additionalProperties": false } ] } }, "required": [ "result", "condition", "condition_size" ] }, "pictures": { "$ref": "#/definitions/SpriteVariations" }, "flags": { "$ref": "#/definitions/ItemPrototypeFlags" }, "spoil_ticks": { "$ref": "#/definitions/uint32" }, "fuel_value": { "$ref": "#/definitions/Energy" }, "fuel_acceleration_multiplier": { "$ref": "#/definitions/double" }, "fuel_top_speed_multiplier": { "$ref": "#/definitions/double" }, "fuel_emissions_multiplier": { "$ref": "#/definitions/double" }, "fuel_acceleration_multiplier_quality_bonus": { "$ref": "#/definitions/double" }, "fuel_top_speed_multiplier_quality_bonus": { "$ref": "#/definitions/double" }, "weight": { "$ref": "#/definitions/Weight" }, "ingredient_to_weight_coefficient": { "$ref": "#/definitions/double" }, "fuel_glow_color": { "$ref": "#/definitions/Color" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "pick_sound": { "$ref": "#/definitions/Sound" }, "drop_sound": { "$ref": "#/definitions/Sound" }, "inventory_move_sound": { "$ref": "#/definitions/Sound" }, "default_import_location": { "$ref": "#/definitions/SpaceLocationID" }, "color_hint": { "$ref": "#/definitions/ColorHintSpecification" }, "has_random_tint": { "$ref": "#/definitions/bool" }, "spoil_to_trigger_result": { "$ref": "#/definitions/SpoilToTriggerResult" }, "destroyed_by_dropping_trigger": { "$ref": "#/definitions/Trigger" }, "rocket_launch_products": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemProductPrototype" } }, { "type": "object", "additionalProperties": false } ] }, "send_to_orbit_mode": { "$ref": "#/definitions/SendToOrbitMode" }, "random_tint_color": { "$ref": "#/definitions/Color" }, "spoil_level": { "$ref": "#/definitions/uint8" }, "default_label_color": { "$ref": "#/definitions/Color" }, "draw_label_for_cursor_render": { "$ref": "#/definitions/bool" }, "select": { "$ref": "#/definitions/SelectionModeData" }, "alt_select": { "$ref": "#/definitions/SelectionModeData" }, "super_forced_select": { "$ref": "#/definitions/SelectionModeData" }, "reverse_select": { "$ref": "#/definitions/SelectionModeData" }, "alt_reverse_select": { "$ref": "#/definitions/SelectionModeData" }, "always_include_tiles": { "$ref": "#/definitions/bool" }, "mouse_cursor": { "$ref": "#/definitions/MouseCursorID" }, "skip_fog_of_war": { "$ref": "#/definitions/bool" }, "cuts": { "$ref": "#/definitions/bool" } }, "required": [ "type", "name", "stack_size", "select", "alt_select" ] }, "CorpsePrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/CorpsePrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "corpse" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "collision_box": { "$ref": "#/definitions/BoundingBox" }, "collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "map_generator_bounding_box": { "$ref": "#/definitions/BoundingBox" }, "selection_box": { "$ref": "#/definitions/BoundingBox" }, "drawing_box_vertical_extension": { "$ref": "#/definitions/double" }, "sticker_box": { "$ref": "#/definitions/BoundingBox" }, "hit_visualization_box": { "$ref": "#/definitions/BoundingBox" }, "trigger_target_mask": { "$ref": "#/definitions/TriggerTargetMask" }, "flags": { "$ref": "#/definitions/EntityPrototypeFlags" }, "tile_buildability_rules": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileBuildabilityRule" } }, { "type": "object", "additionalProperties": false } ] }, "minable": { "$ref": "#/definitions/MinableProperties" }, "surface_conditions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SurfaceCondition" } }, { "type": "object", "additionalProperties": false } ] }, "deconstruction_alternative": { "$ref": "#/definitions/EntityID" }, "selection_priority": { "$ref": "#/definitions/uint8" }, "build_grid_size": { "$ref": "#/definitions/uint8" }, "remove_decoratives": { "anyOf": [ { "type": "string", "const": "automatic" }, { "type": "string", "const": "true" }, { "type": "string", "const": "false" } ] }, "emissions_per_second": { "type": "object", "additionalProperties": { "$ref": "#/definitions/double" }, "propertyNames": { "$ref": "#/definitions/AirbornePollutantID" } }, "shooting_cursor_size": { "$ref": "#/definitions/double" }, "created_smoke": { "$ref": "#/definitions/CreateTrivialSmokeEffectItem" }, "working_sound": { "$ref": "#/definitions/WorkingSound" }, "created_effect": { "$ref": "#/definitions/Trigger" }, "build_sound": { "$ref": "#/definitions/Sound" }, "mined_sound": { "$ref": "#/definitions/Sound" }, "mining_sound": { "$ref": "#/definitions/Sound" }, "rotated_sound": { "$ref": "#/definitions/Sound" }, "impact_category": { "$ref": "#/definitions/string" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "placeable_position_visualization": { "$ref": "#/definitions/Sprite" }, "radius_visualisation_specification": { "$ref": "#/definitions/RadiusVisualisationSpecification" }, "stateless_visualisation": { "$ref": "#/definitions/StatelessVisualisations" }, "build_base_evolution_requirement": { "$ref": "#/definitions/double" }, "alert_icon_shift": { "$ref": "#/definitions/Vector" }, "alert_icon_scale": { "$ref": "#/definitions/float" }, "fast_replaceable_group": { "$ref": "#/definitions/string" }, "next_upgrade": { "$ref": "#/definitions/EntityID" }, "protected_from_tile_building": { "$ref": "#/definitions/bool" }, "heating_energy": { "$ref": "#/definitions/Energy" }, "allow_copy_paste": { "$ref": "#/definitions/bool" }, "selectable_in_game": { "$ref": "#/definitions/bool" }, "placeable_by": { "anyOf": [ { "$ref": "#/definitions/ItemToPlace" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemToPlace" } }, { "type": "object", "additionalProperties": false } ] } ] }, "remains_when_mined": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "additional_pastable_entities": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] }, "tile_width": { "$ref": "#/definitions/int32" }, "tile_height": { "$ref": "#/definitions/int32" }, "diagonal_tile_grid_size": { "$ref": "#/definitions/TilePosition" }, "autoplace": { "$ref": "#/definitions/AutoplaceSpecification" }, "map_color": { "$ref": "#/definitions/Color" }, "friendly_map_color": { "$ref": "#/definitions/Color" }, "enemy_map_color": { "$ref": "#/definitions/Color" }, "water_reflection": { "$ref": "#/definitions/WaterReflectionDefinition" }, "ambient_sounds_group": { "$ref": "#/definitions/EntityID" }, "ambient_sounds": { "anyOf": [ { "$ref": "#/definitions/WorldAmbientSoundDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/WorldAmbientSoundDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "icon_draw_specification": { "$ref": "#/definitions/IconDrawSpecification" }, "icons_positioning": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconSequencePositioning" } }, { "type": "object", "additionalProperties": false } ] }, "dying_speed": { "$ref": "#/definitions/float" }, "splash_speed": { "$ref": "#/definitions/float" }, "time_before_shading_off": { "$ref": "#/definitions/uint32" }, "time_before_removed": { "$ref": "#/definitions/uint32" }, "expires": { "$ref": "#/definitions/bool" }, "remove_on_entity_placement": { "$ref": "#/definitions/bool" }, "remove_on_tile_placement": { "$ref": "#/definitions/bool" }, "auto_setup_collision_box": { "$ref": "#/definitions/bool" }, "final_render_layer": { "$ref": "#/definitions/RenderLayer" }, "ground_patch_render_layer": { "$ref": "#/definitions/RenderLayer" }, "animation_render_layer": { "$ref": "#/definitions/RenderLayer" }, "splash_render_layer": { "$ref": "#/definitions/RenderLayer" }, "animation_overlay_render_layer": { "$ref": "#/definitions/RenderLayer" }, "animation_overlay_final_render_layer": { "$ref": "#/definitions/RenderLayer" }, "shuffle_directions_at_frame": { "$ref": "#/definitions/uint8" }, "use_tile_color_for_ground_patch_tint": { "$ref": "#/definitions/bool" }, "use_decay_layer": { "$ref": "#/definitions/bool" }, "underwater_layer_offset": { "$ref": "#/definitions/int8" }, "ground_patch_fade_in_delay": { "$ref": "#/definitions/float" }, "ground_patch_fade_in_speed": { "$ref": "#/definitions/float" }, "ground_patch_fade_out_start": { "$ref": "#/definitions/float" }, "decay_frame_transition_duration": { "$ref": "#/definitions/float" }, "animation": { "$ref": "#/definitions/RotatedAnimationVariations" }, "animation_overlay": { "$ref": "#/definitions/RotatedAnimationVariations" }, "decay_animation": { "$ref": "#/definitions/RotatedAnimationVariations" }, "splash": { "$ref": "#/definitions/AnimationVariations" }, "ground_patch": { "$ref": "#/definitions/AnimationVariations" }, "ground_patch_higher": { "$ref": "#/definitions/AnimationVariations" }, "ground_patch_decay": { "$ref": "#/definitions/AnimationVariations" }, "underwater_patch": { "$ref": "#/definitions/RotatedSprite" }, "ground_patch_fade_out_duration": { "$ref": "#/definitions/float" }, "direction_shuffle": { "oneOf": [ { "type": "array", "items": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/uint16" } }, { "type": "object", "additionalProperties": false } ] } }, { "type": "object", "additionalProperties": false } ] } }, "required": [ "type", "name" ] }, "CreatePlatformAchievementPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/CreatePlatformAchievementPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "create-platform-achievement" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "steam_stats_name": { "$ref": "#/definitions/string" }, "allowed_without_fight": { "$ref": "#/definitions/bool" }, "amount": { "$ref": "#/definitions/uint32" } }, "required": [ "type", "name" ] }, "CurvedRailAPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/CurvedRailAPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "curved-rail-a" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "collision_box": { "$ref": "#/definitions/BoundingBox" }, "collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "map_generator_bounding_box": { "$ref": "#/definitions/BoundingBox" }, "selection_box": { "$ref": "#/definitions/BoundingBox" }, "drawing_box_vertical_extension": { "$ref": "#/definitions/double" }, "sticker_box": { "$ref": "#/definitions/BoundingBox" }, "hit_visualization_box": { "$ref": "#/definitions/BoundingBox" }, "trigger_target_mask": { "$ref": "#/definitions/TriggerTargetMask" }, "flags": { "$ref": "#/definitions/EntityPrototypeFlags" }, "tile_buildability_rules": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileBuildabilityRule" } }, { "type": "object", "additionalProperties": false } ] }, "minable": { "$ref": "#/definitions/MinableProperties" }, "surface_conditions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SurfaceCondition" } }, { "type": "object", "additionalProperties": false } ] }, "deconstruction_alternative": { "$ref": "#/definitions/EntityID" }, "selection_priority": { "$ref": "#/definitions/uint8" }, "build_grid_size": { "type": "integer", "const": 2 }, "remove_decoratives": { "anyOf": [ { "type": "string", "const": "automatic" }, { "type": "string", "const": "true" }, { "type": "string", "const": "false" } ] }, "emissions_per_second": { "type": "object", "additionalProperties": { "$ref": "#/definitions/double" }, "propertyNames": { "$ref": "#/definitions/AirbornePollutantID" } }, "shooting_cursor_size": { "$ref": "#/definitions/double" }, "created_smoke": { "$ref": "#/definitions/CreateTrivialSmokeEffectItem" }, "working_sound": { "$ref": "#/definitions/WorkingSound" }, "created_effect": { "$ref": "#/definitions/Trigger" }, "build_sound": { "$ref": "#/definitions/Sound" }, "mined_sound": { "$ref": "#/definitions/Sound" }, "mining_sound": { "$ref": "#/definitions/Sound" }, "rotated_sound": { "$ref": "#/definitions/Sound" }, "impact_category": { "$ref": "#/definitions/string" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "placeable_position_visualization": { "$ref": "#/definitions/Sprite" }, "radius_visualisation_specification": { "$ref": "#/definitions/RadiusVisualisationSpecification" }, "stateless_visualisation": { "$ref": "#/definitions/StatelessVisualisations" }, "build_base_evolution_requirement": { "$ref": "#/definitions/double" }, "alert_icon_shift": { "$ref": "#/definitions/Vector" }, "alert_icon_scale": { "$ref": "#/definitions/float" }, "fast_replaceable_group": { "$ref": "#/definitions/string" }, "next_upgrade": { "$ref": "#/definitions/EntityID" }, "protected_from_tile_building": { "$ref": "#/definitions/bool" }, "heating_energy": { "$ref": "#/definitions/Energy" }, "allow_copy_paste": { "$ref": "#/definitions/bool" }, "selectable_in_game": { "$ref": "#/definitions/bool" }, "placeable_by": { "anyOf": [ { "$ref": "#/definitions/ItemToPlace" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemToPlace" } }, { "type": "object", "additionalProperties": false } ] } ] }, "remains_when_mined": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "additional_pastable_entities": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] }, "tile_width": { "$ref": "#/definitions/int32" }, "tile_height": { "$ref": "#/definitions/int32" }, "diagonal_tile_grid_size": { "$ref": "#/definitions/TilePosition" }, "autoplace": { "$ref": "#/definitions/AutoplaceSpecification" }, "map_color": { "$ref": "#/definitions/Color" }, "friendly_map_color": { "$ref": "#/definitions/Color" }, "enemy_map_color": { "$ref": "#/definitions/Color" }, "water_reflection": { "$ref": "#/definitions/WaterReflectionDefinition" }, "ambient_sounds_group": { "$ref": "#/definitions/EntityID" }, "ambient_sounds": { "anyOf": [ { "$ref": "#/definitions/WorldAmbientSoundDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/WorldAmbientSoundDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "icon_draw_specification": { "$ref": "#/definitions/IconDrawSpecification" }, "icons_positioning": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconSequencePositioning" } }, { "type": "object", "additionalProperties": false } ] }, "max_health": { "$ref": "#/definitions/float" }, "healing_per_tick": { "$ref": "#/definitions/float" }, "repair_speed_modifier": { "$ref": "#/definitions/float" }, "dying_explosion": { "anyOf": [ { "$ref": "#/definitions/ExplosionDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ExplosionDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "dying_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "damaged_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "loot": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/LootItem" } }, { "type": "object", "additionalProperties": false } ] }, "resistances": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Resistance" } }, { "type": "object", "additionalProperties": false } ] }, "attack_reaction": { "anyOf": [ { "$ref": "#/definitions/AttackReactionItem" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/AttackReactionItem" } }, { "type": "object", "additionalProperties": false } ] } ] }, "repair_sound": { "$ref": "#/definitions/Sound" }, "alert_when_damaged": { "$ref": "#/definitions/bool" }, "hide_resistances": { "$ref": "#/definitions/bool" }, "create_ghost_on_death": { "$ref": "#/definitions/bool" }, "random_corpse_variation": { "$ref": "#/definitions/bool" }, "integration_patch_render_layer": { "$ref": "#/definitions/RenderLayer" }, "corpse": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "integration_patch": { "$ref": "#/definitions/Sprite4Way" }, "overkill_fraction": { "$ref": "#/definitions/float" }, "is_military_target": { "$ref": "#/definitions/bool" }, "allow_run_time_change_of_is_military_target": { "$ref": "#/definitions/bool" }, "quality_indicator_scale": { "$ref": "#/definitions/double" }, "walking_sound": { "$ref": "#/definitions/Sound" }, "pictures": { "$ref": "#/definitions/RailPictureSet" }, "fence_pictures": { "$ref": "#/definitions/RailFenceGraphicsSet" }, "extra_planner_penalty": { "$ref": "#/definitions/double" }, "extra_planner_goal_penalty": { "$ref": "#/definitions/double" }, "forced_fence_segment_count": { "$ref": "#/definitions/uint8" }, "ending_shifts": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Vector" } }, { "type": "object", "additionalProperties": false } ] }, "deconstruction_marker_positions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Vector" } }, { "type": "object", "additionalProperties": false } ] }, "removes_soft_decoratives": { "$ref": "#/definitions/bool" } }, "required": [ "type", "name", "pictures" ] }, "CurvedRailBPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/CurvedRailBPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "curved-rail-b" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "collision_box": { "$ref": "#/definitions/BoundingBox" }, "collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "map_generator_bounding_box": { "$ref": "#/definitions/BoundingBox" }, "selection_box": { "$ref": "#/definitions/BoundingBox" }, "drawing_box_vertical_extension": { "$ref": "#/definitions/double" }, "sticker_box": { "$ref": "#/definitions/BoundingBox" }, "hit_visualization_box": { "$ref": "#/definitions/BoundingBox" }, "trigger_target_mask": { "$ref": "#/definitions/TriggerTargetMask" }, "flags": { "$ref": "#/definitions/EntityPrototypeFlags" }, "tile_buildability_rules": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileBuildabilityRule" } }, { "type": "object", "additionalProperties": false } ] }, "minable": { "$ref": "#/definitions/MinableProperties" }, "surface_conditions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SurfaceCondition" } }, { "type": "object", "additionalProperties": false } ] }, "deconstruction_alternative": { "$ref": "#/definitions/EntityID" }, "selection_priority": { "$ref": "#/definitions/uint8" }, "build_grid_size": { "type": "integer", "const": 2 }, "remove_decoratives": { "anyOf": [ { "type": "string", "const": "automatic" }, { "type": "string", "const": "true" }, { "type": "string", "const": "false" } ] }, "emissions_per_second": { "type": "object", "additionalProperties": { "$ref": "#/definitions/double" }, "propertyNames": { "$ref": "#/definitions/AirbornePollutantID" } }, "shooting_cursor_size": { "$ref": "#/definitions/double" }, "created_smoke": { "$ref": "#/definitions/CreateTrivialSmokeEffectItem" }, "working_sound": { "$ref": "#/definitions/WorkingSound" }, "created_effect": { "$ref": "#/definitions/Trigger" }, "build_sound": { "$ref": "#/definitions/Sound" }, "mined_sound": { "$ref": "#/definitions/Sound" }, "mining_sound": { "$ref": "#/definitions/Sound" }, "rotated_sound": { "$ref": "#/definitions/Sound" }, "impact_category": { "$ref": "#/definitions/string" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "placeable_position_visualization": { "$ref": "#/definitions/Sprite" }, "radius_visualisation_specification": { "$ref": "#/definitions/RadiusVisualisationSpecification" }, "stateless_visualisation": { "$ref": "#/definitions/StatelessVisualisations" }, "build_base_evolution_requirement": { "$ref": "#/definitions/double" }, "alert_icon_shift": { "$ref": "#/definitions/Vector" }, "alert_icon_scale": { "$ref": "#/definitions/float" }, "fast_replaceable_group": { "$ref": "#/definitions/string" }, "next_upgrade": { "$ref": "#/definitions/EntityID" }, "protected_from_tile_building": { "$ref": "#/definitions/bool" }, "heating_energy": { "$ref": "#/definitions/Energy" }, "allow_copy_paste": { "$ref": "#/definitions/bool" }, "selectable_in_game": { "$ref": "#/definitions/bool" }, "placeable_by": { "anyOf": [ { "$ref": "#/definitions/ItemToPlace" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemToPlace" } }, { "type": "object", "additionalProperties": false } ] } ] }, "remains_when_mined": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "additional_pastable_entities": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] }, "tile_width": { "$ref": "#/definitions/int32" }, "tile_height": { "$ref": "#/definitions/int32" }, "diagonal_tile_grid_size": { "$ref": "#/definitions/TilePosition" }, "autoplace": { "$ref": "#/definitions/AutoplaceSpecification" }, "map_color": { "$ref": "#/definitions/Color" }, "friendly_map_color": { "$ref": "#/definitions/Color" }, "enemy_map_color": { "$ref": "#/definitions/Color" }, "water_reflection": { "$ref": "#/definitions/WaterReflectionDefinition" }, "ambient_sounds_group": { "$ref": "#/definitions/EntityID" }, "ambient_sounds": { "anyOf": [ { "$ref": "#/definitions/WorldAmbientSoundDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/WorldAmbientSoundDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "icon_draw_specification": { "$ref": "#/definitions/IconDrawSpecification" }, "icons_positioning": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconSequencePositioning" } }, { "type": "object", "additionalProperties": false } ] }, "max_health": { "$ref": "#/definitions/float" }, "healing_per_tick": { "$ref": "#/definitions/float" }, "repair_speed_modifier": { "$ref": "#/definitions/float" }, "dying_explosion": { "anyOf": [ { "$ref": "#/definitions/ExplosionDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ExplosionDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "dying_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "damaged_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "loot": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/LootItem" } }, { "type": "object", "additionalProperties": false } ] }, "resistances": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Resistance" } }, { "type": "object", "additionalProperties": false } ] }, "attack_reaction": { "anyOf": [ { "$ref": "#/definitions/AttackReactionItem" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/AttackReactionItem" } }, { "type": "object", "additionalProperties": false } ] } ] }, "repair_sound": { "$ref": "#/definitions/Sound" }, "alert_when_damaged": { "$ref": "#/definitions/bool" }, "hide_resistances": { "$ref": "#/definitions/bool" }, "create_ghost_on_death": { "$ref": "#/definitions/bool" }, "random_corpse_variation": { "$ref": "#/definitions/bool" }, "integration_patch_render_layer": { "$ref": "#/definitions/RenderLayer" }, "corpse": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "integration_patch": { "$ref": "#/definitions/Sprite4Way" }, "overkill_fraction": { "$ref": "#/definitions/float" }, "is_military_target": { "$ref": "#/definitions/bool" }, "allow_run_time_change_of_is_military_target": { "$ref": "#/definitions/bool" }, "quality_indicator_scale": { "$ref": "#/definitions/double" }, "walking_sound": { "$ref": "#/definitions/Sound" }, "pictures": { "$ref": "#/definitions/RailPictureSet" }, "fence_pictures": { "$ref": "#/definitions/RailFenceGraphicsSet" }, "extra_planner_penalty": { "$ref": "#/definitions/double" }, "extra_planner_goal_penalty": { "$ref": "#/definitions/double" }, "forced_fence_segment_count": { "$ref": "#/definitions/uint8" }, "ending_shifts": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Vector" } }, { "type": "object", "additionalProperties": false } ] }, "deconstruction_marker_positions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Vector" } }, { "type": "object", "additionalProperties": false } ] }, "removes_soft_decoratives": { "$ref": "#/definitions/bool" } }, "required": [ "type", "name", "pictures" ] }, "CustomEventPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/CustomEventPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "custom-event" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" } }, "required": [ "type", "name" ] }, "CustomInputPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/CustomInputPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "custom-input" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "key_sequence": { "$ref": "#/definitions/string" }, "alternative_key_sequence": { "$ref": "#/definitions/string" }, "controller_key_sequence": { "$ref": "#/definitions/string" }, "controller_alternative_key_sequence": { "$ref": "#/definitions/string" }, "linked_game_control": { "$ref": "#/definitions/LinkedGameControl" }, "consuming": { "$ref": "#/definitions/ConsumingType" }, "enabled": { "$ref": "#/definitions/bool" }, "enabled_while_spectating": { "$ref": "#/definitions/bool" }, "enabled_while_in_cutscene": { "$ref": "#/definitions/bool" }, "include_selected_prototype": { "$ref": "#/definitions/bool" }, "item_to_spawn": { "$ref": "#/definitions/ItemID" }, "action": { "anyOf": [ { "type": "string", "const": "lua" }, { "type": "string", "const": "spawn-item" }, { "type": "string", "const": "toggle-personal-roboport" }, { "type": "string", "const": "toggle-personal-logistic-requests" }, { "type": "string", "const": "toggle-equipment-movement-bonus" } ] }, "block_modifiers": { "$ref": "#/definitions/bool" } }, "required": [ "type", "name", "key_sequence" ] }, "DamageType": { "description": "https://lua-api.factorio.com/stable/prototypes/DamageType.html", "type": "object", "properties": { "type": { "type": "string", "const": "damage-type" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" } }, "required": [ "type", "name" ] }, "DeciderCombinatorPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/DeciderCombinatorPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "decider-combinator" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "collision_box": { "$ref": "#/definitions/BoundingBox" }, "collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "map_generator_bounding_box": { "$ref": "#/definitions/BoundingBox" }, "selection_box": { "$ref": "#/definitions/BoundingBox" }, "drawing_box_vertical_extension": { "$ref": "#/definitions/double" }, "sticker_box": { "$ref": "#/definitions/BoundingBox" }, "hit_visualization_box": { "$ref": "#/definitions/BoundingBox" }, "trigger_target_mask": { "$ref": "#/definitions/TriggerTargetMask" }, "flags": { "$ref": "#/definitions/EntityPrototypeFlags" }, "tile_buildability_rules": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileBuildabilityRule" } }, { "type": "object", "additionalProperties": false } ] }, "minable": { "$ref": "#/definitions/MinableProperties" }, "surface_conditions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SurfaceCondition" } }, { "type": "object", "additionalProperties": false } ] }, "deconstruction_alternative": { "$ref": "#/definitions/EntityID" }, "selection_priority": { "$ref": "#/definitions/uint8" }, "build_grid_size": { "$ref": "#/definitions/uint8" }, "remove_decoratives": { "anyOf": [ { "type": "string", "const": "automatic" }, { "type": "string", "const": "true" }, { "type": "string", "const": "false" } ] }, "emissions_per_second": { "type": "object", "additionalProperties": { "$ref": "#/definitions/double" }, "propertyNames": { "$ref": "#/definitions/AirbornePollutantID" } }, "shooting_cursor_size": { "$ref": "#/definitions/double" }, "created_smoke": { "$ref": "#/definitions/CreateTrivialSmokeEffectItem" }, "working_sound": { "$ref": "#/definitions/WorkingSound" }, "created_effect": { "$ref": "#/definitions/Trigger" }, "build_sound": { "$ref": "#/definitions/Sound" }, "mined_sound": { "$ref": "#/definitions/Sound" }, "mining_sound": { "$ref": "#/definitions/Sound" }, "rotated_sound": { "$ref": "#/definitions/Sound" }, "impact_category": { "$ref": "#/definitions/string" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "placeable_position_visualization": { "$ref": "#/definitions/Sprite" }, "radius_visualisation_specification": { "$ref": "#/definitions/RadiusVisualisationSpecification" }, "stateless_visualisation": { "$ref": "#/definitions/StatelessVisualisations" }, "build_base_evolution_requirement": { "$ref": "#/definitions/double" }, "alert_icon_shift": { "$ref": "#/definitions/Vector" }, "alert_icon_scale": { "$ref": "#/definitions/float" }, "fast_replaceable_group": { "$ref": "#/definitions/string" }, "next_upgrade": { "$ref": "#/definitions/EntityID" }, "protected_from_tile_building": { "$ref": "#/definitions/bool" }, "heating_energy": { "$ref": "#/definitions/Energy" }, "allow_copy_paste": { "$ref": "#/definitions/bool" }, "selectable_in_game": { "$ref": "#/definitions/bool" }, "placeable_by": { "anyOf": [ { "$ref": "#/definitions/ItemToPlace" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemToPlace" } }, { "type": "object", "additionalProperties": false } ] } ] }, "remains_when_mined": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "additional_pastable_entities": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] }, "tile_width": { "$ref": "#/definitions/int32" }, "tile_height": { "$ref": "#/definitions/int32" }, "diagonal_tile_grid_size": { "$ref": "#/definitions/TilePosition" }, "autoplace": { "$ref": "#/definitions/AutoplaceSpecification" }, "map_color": { "$ref": "#/definitions/Color" }, "friendly_map_color": { "$ref": "#/definitions/Color" }, "enemy_map_color": { "$ref": "#/definitions/Color" }, "water_reflection": { "$ref": "#/definitions/WaterReflectionDefinition" }, "ambient_sounds_group": { "$ref": "#/definitions/EntityID" }, "ambient_sounds": { "anyOf": [ { "$ref": "#/definitions/WorldAmbientSoundDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/WorldAmbientSoundDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "icon_draw_specification": { "$ref": "#/definitions/IconDrawSpecification" }, "icons_positioning": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconSequencePositioning" } }, { "type": "object", "additionalProperties": false } ] }, "max_health": { "$ref": "#/definitions/float" }, "healing_per_tick": { "$ref": "#/definitions/float" }, "repair_speed_modifier": { "$ref": "#/definitions/float" }, "dying_explosion": { "anyOf": [ { "$ref": "#/definitions/ExplosionDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ExplosionDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "dying_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "damaged_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "loot": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/LootItem" } }, { "type": "object", "additionalProperties": false } ] }, "resistances": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Resistance" } }, { "type": "object", "additionalProperties": false } ] }, "attack_reaction": { "anyOf": [ { "$ref": "#/definitions/AttackReactionItem" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/AttackReactionItem" } }, { "type": "object", "additionalProperties": false } ] } ] }, "repair_sound": { "$ref": "#/definitions/Sound" }, "alert_when_damaged": { "$ref": "#/definitions/bool" }, "hide_resistances": { "$ref": "#/definitions/bool" }, "create_ghost_on_death": { "$ref": "#/definitions/bool" }, "random_corpse_variation": { "$ref": "#/definitions/bool" }, "integration_patch_render_layer": { "$ref": "#/definitions/RenderLayer" }, "corpse": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "integration_patch": { "$ref": "#/definitions/Sprite4Way" }, "overkill_fraction": { "$ref": "#/definitions/float" }, "is_military_target": { "$ref": "#/definitions/bool" }, "allow_run_time_change_of_is_military_target": { "$ref": "#/definitions/bool" }, "quality_indicator_scale": { "$ref": "#/definitions/double" }, "energy_source": { "anyOf": [ { "$ref": "#/definitions/ElectricEnergySource" }, { "$ref": "#/definitions/VoidEnergySource" } ] }, "active_energy_usage": { "$ref": "#/definitions/Energy" }, "sprites": { "$ref": "#/definitions/Sprite4Way" }, "frozen_patch": { "$ref": "#/definitions/Sprite4Way" }, "activity_led_sprites": { "$ref": "#/definitions/Sprite4Way" }, "input_connection_bounding_box": { "$ref": "#/definitions/BoundingBox" }, "output_connection_bounding_box": { "$ref": "#/definitions/BoundingBox" }, "activity_led_light_offsets": { "type": "array", "items": [ { "$ref": "#/definitions/Vector" }, { "$ref": "#/definitions/Vector" }, { "$ref": "#/definitions/Vector" }, { "$ref": "#/definitions/Vector" } ], "minItems": 4, "maxItems": 4 }, "screen_light_offsets": { "type": "array", "items": [ { "$ref": "#/definitions/Vector" }, { "$ref": "#/definitions/Vector" }, { "$ref": "#/definitions/Vector" }, { "$ref": "#/definitions/Vector" } ], "minItems": 4, "maxItems": 4 }, "input_connection_points": { "type": "array", "items": [ { "$ref": "#/definitions/WireConnectionPoint" }, { "$ref": "#/definitions/WireConnectionPoint" }, { "$ref": "#/definitions/WireConnectionPoint" }, { "$ref": "#/definitions/WireConnectionPoint" } ], "minItems": 4, "maxItems": 4 }, "output_connection_points": { "type": "array", "items": [ { "$ref": "#/definitions/WireConnectionPoint" }, { "$ref": "#/definitions/WireConnectionPoint" }, { "$ref": "#/definitions/WireConnectionPoint" }, { "$ref": "#/definitions/WireConnectionPoint" } ], "minItems": 4, "maxItems": 4 }, "activity_led_light": { "$ref": "#/definitions/LightDefinition" }, "screen_light": { "$ref": "#/definitions/LightDefinition" }, "activity_led_hold_time": { "$ref": "#/definitions/uint8" }, "circuit_wire_max_distance": { "$ref": "#/definitions/double" }, "draw_copper_wires": { "$ref": "#/definitions/bool" }, "draw_circuit_wires": { "$ref": "#/definitions/bool" }, "equal_symbol_sprites": { "$ref": "#/definitions/Sprite4Way" }, "greater_symbol_sprites": { "$ref": "#/definitions/Sprite4Way" }, "less_symbol_sprites": { "$ref": "#/definitions/Sprite4Way" }, "not_equal_symbol_sprites": { "$ref": "#/definitions/Sprite4Way" }, "greater_or_equal_symbol_sprites": { "$ref": "#/definitions/Sprite4Way" }, "less_or_equal_symbol_sprites": { "$ref": "#/definitions/Sprite4Way" } }, "required": [ "type", "name", "energy_source", "active_energy_usage", "input_connection_bounding_box", "output_connection_bounding_box", "activity_led_light_offsets", "screen_light_offsets", "input_connection_points", "output_connection_points" ] }, "DeconstructWithRobotsAchievementPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/DeconstructWithRobotsAchievementPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "deconstruct-with-robots-achievement" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "steam_stats_name": { "$ref": "#/definitions/string" }, "allowed_without_fight": { "$ref": "#/definitions/bool" }, "amount": { "$ref": "#/definitions/uint32" } }, "required": [ "type", "name", "amount" ] }, "DeconstructibleTileProxyPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/DeconstructibleTileProxyPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "deconstructible-tile-proxy" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "collision_box": { "$ref": "#/definitions/BoundingBox" }, "collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "map_generator_bounding_box": { "$ref": "#/definitions/BoundingBox" }, "selection_box": { "$ref": "#/definitions/BoundingBox" }, "drawing_box_vertical_extension": { "$ref": "#/definitions/double" }, "sticker_box": { "$ref": "#/definitions/BoundingBox" }, "hit_visualization_box": { "$ref": "#/definitions/BoundingBox" }, "trigger_target_mask": { "$ref": "#/definitions/TriggerTargetMask" }, "flags": { "$ref": "#/definitions/EntityPrototypeFlags" }, "tile_buildability_rules": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileBuildabilityRule" } }, { "type": "object", "additionalProperties": false } ] }, "minable": { "$ref": "#/definitions/MinableProperties" }, "surface_conditions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SurfaceCondition" } }, { "type": "object", "additionalProperties": false } ] }, "deconstruction_alternative": { "$ref": "#/definitions/EntityID" }, "selection_priority": { "$ref": "#/definitions/uint8" }, "build_grid_size": { "$ref": "#/definitions/uint8" }, "remove_decoratives": { "anyOf": [ { "type": "string", "const": "automatic" }, { "type": "string", "const": "true" }, { "type": "string", "const": "false" } ] }, "emissions_per_second": { "type": "object", "additionalProperties": { "$ref": "#/definitions/double" }, "propertyNames": { "$ref": "#/definitions/AirbornePollutantID" } }, "shooting_cursor_size": { "$ref": "#/definitions/double" }, "created_smoke": { "$ref": "#/definitions/CreateTrivialSmokeEffectItem" }, "working_sound": { "$ref": "#/definitions/WorkingSound" }, "created_effect": { "$ref": "#/definitions/Trigger" }, "build_sound": { "$ref": "#/definitions/Sound" }, "mined_sound": { "$ref": "#/definitions/Sound" }, "mining_sound": { "$ref": "#/definitions/Sound" }, "rotated_sound": { "$ref": "#/definitions/Sound" }, "impact_category": { "$ref": "#/definitions/string" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "placeable_position_visualization": { "$ref": "#/definitions/Sprite" }, "radius_visualisation_specification": { "$ref": "#/definitions/RadiusVisualisationSpecification" }, "stateless_visualisation": { "$ref": "#/definitions/StatelessVisualisations" }, "build_base_evolution_requirement": { "$ref": "#/definitions/double" }, "alert_icon_shift": { "$ref": "#/definitions/Vector" }, "alert_icon_scale": { "$ref": "#/definitions/float" }, "fast_replaceable_group": { "$ref": "#/definitions/string" }, "next_upgrade": { "$ref": "#/definitions/EntityID" }, "protected_from_tile_building": { "$ref": "#/definitions/bool" }, "heating_energy": { "$ref": "#/definitions/Energy" }, "allow_copy_paste": { "$ref": "#/definitions/bool" }, "selectable_in_game": { "$ref": "#/definitions/bool" }, "placeable_by": { "anyOf": [ { "$ref": "#/definitions/ItemToPlace" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemToPlace" } }, { "type": "object", "additionalProperties": false } ] } ] }, "remains_when_mined": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "additional_pastable_entities": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] }, "tile_width": { "$ref": "#/definitions/int32" }, "tile_height": { "$ref": "#/definitions/int32" }, "diagonal_tile_grid_size": { "$ref": "#/definitions/TilePosition" }, "autoplace": { "$ref": "#/definitions/AutoplaceSpecification" }, "map_color": { "$ref": "#/definitions/Color" }, "friendly_map_color": { "$ref": "#/definitions/Color" }, "enemy_map_color": { "$ref": "#/definitions/Color" }, "water_reflection": { "$ref": "#/definitions/WaterReflectionDefinition" }, "ambient_sounds_group": { "$ref": "#/definitions/EntityID" }, "ambient_sounds": { "anyOf": [ { "$ref": "#/definitions/WorldAmbientSoundDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/WorldAmbientSoundDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "icon_draw_specification": { "$ref": "#/definitions/IconDrawSpecification" }, "icons_positioning": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconSequencePositioning" } }, { "type": "object", "additionalProperties": false } ] } }, "required": [ "type", "name" ] }, "DeconstructionItemPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/DeconstructionItemPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "deconstruction-item" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "stack_size": { "type": "integer", "const": 1 }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "dark_background_icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "dark_background_icon": { "$ref": "#/definitions/FileName" }, "dark_background_icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "place_result": { "$ref": "#/definitions/EntityID" }, "place_as_equipment_result": { "$ref": "#/definitions/EquipmentID" }, "fuel_category": { "$ref": "#/definitions/FuelCategoryID" }, "burnt_result": { "$ref": "#/definitions/ItemID" }, "spoil_result": { "$ref": "#/definitions/ItemID" }, "plant_result": { "$ref": "#/definitions/EntityID" }, "place_as_tile": { "type": "object", "properties": { "result": { "$ref": "#/definitions/TileID" }, "condition": { "$ref": "#/definitions/CollisionMaskConnector" }, "invert": { "$ref": "#/definitions/bool" }, "condition_size": { "$ref": "#/definitions/uint32" }, "tile_condition": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileID" } }, { "type": "object", "additionalProperties": false } ] } }, "required": [ "result", "condition", "condition_size" ] }, "pictures": { "$ref": "#/definitions/SpriteVariations" }, "flags": { "$ref": "#/definitions/ItemPrototypeFlags" }, "spoil_ticks": { "$ref": "#/definitions/uint32" }, "fuel_value": { "$ref": "#/definitions/Energy" }, "fuel_acceleration_multiplier": { "$ref": "#/definitions/double" }, "fuel_top_speed_multiplier": { "$ref": "#/definitions/double" }, "fuel_emissions_multiplier": { "$ref": "#/definitions/double" }, "fuel_acceleration_multiplier_quality_bonus": { "$ref": "#/definitions/double" }, "fuel_top_speed_multiplier_quality_bonus": { "$ref": "#/definitions/double" }, "weight": { "$ref": "#/definitions/Weight" }, "ingredient_to_weight_coefficient": { "$ref": "#/definitions/double" }, "fuel_glow_color": { "$ref": "#/definitions/Color" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "pick_sound": { "$ref": "#/definitions/Sound" }, "drop_sound": { "$ref": "#/definitions/Sound" }, "inventory_move_sound": { "$ref": "#/definitions/Sound" }, "default_import_location": { "$ref": "#/definitions/SpaceLocationID" }, "color_hint": { "$ref": "#/definitions/ColorHintSpecification" }, "has_random_tint": { "$ref": "#/definitions/bool" }, "spoil_to_trigger_result": { "$ref": "#/definitions/SpoilToTriggerResult" }, "destroyed_by_dropping_trigger": { "$ref": "#/definitions/Trigger" }, "rocket_launch_products": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemProductPrototype" } }, { "type": "object", "additionalProperties": false } ] }, "send_to_orbit_mode": { "$ref": "#/definitions/SendToOrbitMode" }, "random_tint_color": { "$ref": "#/definitions/Color" }, "spoil_level": { "$ref": "#/definitions/uint8" }, "default_label_color": { "$ref": "#/definitions/Color" }, "draw_label_for_cursor_render": { "$ref": "#/definitions/bool" }, "select": { "$ref": "#/definitions/SelectionModeData" }, "alt_select": { "$ref": "#/definitions/SelectionModeData" }, "super_forced_select": { "$ref": "#/definitions/SelectionModeData" }, "reverse_select": { "$ref": "#/definitions/SelectionModeData" }, "alt_reverse_select": { "$ref": "#/definitions/SelectionModeData" }, "always_include_tiles": { "$ref": "#/definitions/bool" }, "mouse_cursor": { "$ref": "#/definitions/MouseCursorID" }, "skip_fog_of_war": { "$ref": "#/definitions/bool" }, "entity_filter_count": { "$ref": "#/definitions/ItemStackIndex" }, "tile_filter_count": { "$ref": "#/definitions/ItemStackIndex" } }, "required": [ "type", "name", "stack_size", "select", "alt_select" ] }, "DecorativePrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/DecorativePrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "optimized-decorative" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "pictures": { "$ref": "#/definitions/SpriteVariations" }, "stateless_visualisation": { "$ref": "#/definitions/StatelessVisualisations" }, "stateless_visualisation_variations": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/StatelessVisualisations" } }, { "type": "object", "additionalProperties": false } ] }, "collision_box": { "$ref": "#/definitions/BoundingBox" }, "render_layer": { "$ref": "#/definitions/RenderLayer" }, "grows_through_rail_path": { "$ref": "#/definitions/bool" }, "tile_layer": { "$ref": "#/definitions/int16" }, "decal_overdraw_priority": { "$ref": "#/definitions/uint16" }, "collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "walking_sound": { "$ref": "#/definitions/Sound" }, "trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "minimal_separation": { "$ref": "#/definitions/double" }, "target_count": { "$ref": "#/definitions/uint16" }, "placed_effect": { "$ref": "#/definitions/TriggerEffect" }, "autoplace": { "$ref": "#/definitions/AutoplaceSpecification" } }, "required": [ "type", "name", "pictures" ] }, "DelayedActiveTriggerPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/DelayedActiveTriggerPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "delayed-active-trigger" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "action": { "$ref": "#/definitions/Trigger" }, "delay": { "$ref": "#/definitions/uint32" }, "repeat_count": { "$ref": "#/definitions/uint32" }, "repeat_delay": { "$ref": "#/definitions/uint32" }, "cancel_when_source_is_destroyed": { "$ref": "#/definitions/bool" } }, "required": [ "type", "name", "action", "delay" ] }, "DeliverByRobotsAchievementPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/DeliverByRobotsAchievementPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "deliver-by-robots-achievement" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "steam_stats_name": { "$ref": "#/definitions/string" }, "allowed_without_fight": { "$ref": "#/definitions/bool" }, "amount": { "$ref": "#/definitions/uint32" } }, "required": [ "type", "name", "amount" ] }, "DeliverCategory": { "description": "https://lua-api.factorio.com/stable/prototypes/DeliverCategory.html", "type": "object", "properties": { "type": { "type": "string", "const": "deliver-category" }, "name": { "$ref": "#/definitions/string" } }, "required": [ "type", "name" ] }, "DeliverImpactCombination": { "description": "https://lua-api.factorio.com/stable/prototypes/DeliverImpactCombination.html", "type": "object", "properties": { "type": { "type": "string", "const": "deliver-impact-combination" }, "name": { "$ref": "#/definitions/string" }, "impact_category": { "$ref": "#/definitions/string" }, "deliver_category": { "$ref": "#/definitions/string" }, "trigger_effect_item": { "$ref": "#/definitions/TriggerEffectItem" } }, "required": [ "type", "name", "impact_category", "deliver_category", "trigger_effect_item" ] }, "DepleteResourceAchievementPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/DepleteResourceAchievementPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "deplete-resource-achievement" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "steam_stats_name": { "$ref": "#/definitions/string" }, "allowed_without_fight": { "$ref": "#/definitions/bool" }, "amount": { "$ref": "#/definitions/uint32" }, "limited_to_one_game": { "$ref": "#/definitions/bool" } }, "required": [ "type", "name" ] }, "DestroyCliffAchievementPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/DestroyCliffAchievementPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "destroy-cliff-achievement" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "steam_stats_name": { "$ref": "#/definitions/string" }, "allowed_without_fight": { "$ref": "#/definitions/bool" }, "amount": { "$ref": "#/definitions/uint32" }, "limited_to_one_game": { "$ref": "#/definitions/bool" } }, "required": [ "type", "name" ] }, "DisplayPanelPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/DisplayPanelPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "display-panel" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "collision_box": { "$ref": "#/definitions/BoundingBox" }, "collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "map_generator_bounding_box": { "$ref": "#/definitions/BoundingBox" }, "selection_box": { "$ref": "#/definitions/BoundingBox" }, "drawing_box_vertical_extension": { "$ref": "#/definitions/double" }, "sticker_box": { "$ref": "#/definitions/BoundingBox" }, "hit_visualization_box": { "$ref": "#/definitions/BoundingBox" }, "trigger_target_mask": { "$ref": "#/definitions/TriggerTargetMask" }, "flags": { "$ref": "#/definitions/EntityPrototypeFlags" }, "tile_buildability_rules": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileBuildabilityRule" } }, { "type": "object", "additionalProperties": false } ] }, "minable": { "$ref": "#/definitions/MinableProperties" }, "surface_conditions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SurfaceCondition" } }, { "type": "object", "additionalProperties": false } ] }, "deconstruction_alternative": { "$ref": "#/definitions/EntityID" }, "selection_priority": { "$ref": "#/definitions/uint8" }, "build_grid_size": { "$ref": "#/definitions/uint8" }, "remove_decoratives": { "anyOf": [ { "type": "string", "const": "automatic" }, { "type": "string", "const": "true" }, { "type": "string", "const": "false" } ] }, "emissions_per_second": { "type": "object", "additionalProperties": { "$ref": "#/definitions/double" }, "propertyNames": { "$ref": "#/definitions/AirbornePollutantID" } }, "shooting_cursor_size": { "$ref": "#/definitions/double" }, "created_smoke": { "$ref": "#/definitions/CreateTrivialSmokeEffectItem" }, "working_sound": { "$ref": "#/definitions/WorkingSound" }, "created_effect": { "$ref": "#/definitions/Trigger" }, "build_sound": { "$ref": "#/definitions/Sound" }, "mined_sound": { "$ref": "#/definitions/Sound" }, "mining_sound": { "$ref": "#/definitions/Sound" }, "rotated_sound": { "$ref": "#/definitions/Sound" }, "impact_category": { "$ref": "#/definitions/string" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "placeable_position_visualization": { "$ref": "#/definitions/Sprite" }, "radius_visualisation_specification": { "$ref": "#/definitions/RadiusVisualisationSpecification" }, "stateless_visualisation": { "$ref": "#/definitions/StatelessVisualisations" }, "build_base_evolution_requirement": { "$ref": "#/definitions/double" }, "alert_icon_shift": { "$ref": "#/definitions/Vector" }, "alert_icon_scale": { "$ref": "#/definitions/float" }, "fast_replaceable_group": { "$ref": "#/definitions/string" }, "next_upgrade": { "$ref": "#/definitions/EntityID" }, "protected_from_tile_building": { "$ref": "#/definitions/bool" }, "heating_energy": { "$ref": "#/definitions/Energy" }, "allow_copy_paste": { "$ref": "#/definitions/bool" }, "selectable_in_game": { "$ref": "#/definitions/bool" }, "placeable_by": { "anyOf": [ { "$ref": "#/definitions/ItemToPlace" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemToPlace" } }, { "type": "object", "additionalProperties": false } ] } ] }, "remains_when_mined": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "additional_pastable_entities": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] }, "tile_width": { "$ref": "#/definitions/int32" }, "tile_height": { "$ref": "#/definitions/int32" }, "diagonal_tile_grid_size": { "$ref": "#/definitions/TilePosition" }, "autoplace": { "$ref": "#/definitions/AutoplaceSpecification" }, "map_color": { "$ref": "#/definitions/Color" }, "friendly_map_color": { "$ref": "#/definitions/Color" }, "enemy_map_color": { "$ref": "#/definitions/Color" }, "water_reflection": { "$ref": "#/definitions/WaterReflectionDefinition" }, "ambient_sounds_group": { "$ref": "#/definitions/EntityID" }, "ambient_sounds": { "anyOf": [ { "$ref": "#/definitions/WorldAmbientSoundDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/WorldAmbientSoundDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "icon_draw_specification": { "$ref": "#/definitions/IconDrawSpecification" }, "icons_positioning": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconSequencePositioning" } }, { "type": "object", "additionalProperties": false } ] }, "max_health": { "$ref": "#/definitions/float" }, "healing_per_tick": { "$ref": "#/definitions/float" }, "repair_speed_modifier": { "$ref": "#/definitions/float" }, "dying_explosion": { "anyOf": [ { "$ref": "#/definitions/ExplosionDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ExplosionDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "dying_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "damaged_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "loot": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/LootItem" } }, { "type": "object", "additionalProperties": false } ] }, "resistances": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Resistance" } }, { "type": "object", "additionalProperties": false } ] }, "attack_reaction": { "anyOf": [ { "$ref": "#/definitions/AttackReactionItem" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/AttackReactionItem" } }, { "type": "object", "additionalProperties": false } ] } ] }, "repair_sound": { "$ref": "#/definitions/Sound" }, "alert_when_damaged": { "$ref": "#/definitions/bool" }, "hide_resistances": { "$ref": "#/definitions/bool" }, "create_ghost_on_death": { "$ref": "#/definitions/bool" }, "random_corpse_variation": { "$ref": "#/definitions/bool" }, "integration_patch_render_layer": { "$ref": "#/definitions/RenderLayer" }, "corpse": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "integration_patch": { "$ref": "#/definitions/Sprite4Way" }, "overkill_fraction": { "$ref": "#/definitions/float" }, "is_military_target": { "$ref": "#/definitions/bool" }, "allow_run_time_change_of_is_military_target": { "$ref": "#/definitions/bool" }, "quality_indicator_scale": { "$ref": "#/definitions/double" }, "sprites": { "$ref": "#/definitions/Sprite4Way" }, "max_text_width": { "$ref": "#/definitions/uint32" }, "text_shift": { "$ref": "#/definitions/Vector" }, "text_color": { "$ref": "#/definitions/Color" }, "background_color": { "$ref": "#/definitions/Color" }, "circuit_wire_max_distance": { "$ref": "#/definitions/double" }, "draw_copper_wires": { "$ref": "#/definitions/bool" }, "draw_circuit_wires": { "$ref": "#/definitions/bool" }, "circuit_connector": { "type": "array", "items": [ { "$ref": "#/definitions/CircuitConnectorDefinition" }, { "$ref": "#/definitions/CircuitConnectorDefinition" }, { "$ref": "#/definitions/CircuitConnectorDefinition" }, { "$ref": "#/definitions/CircuitConnectorDefinition" } ], "minItems": 4, "maxItems": 4 } }, "required": [ "type", "name" ] }, "DontBuildEntityAchievementPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/DontBuildEntityAchievementPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "dont-build-entity-achievement" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "steam_stats_name": { "$ref": "#/definitions/string" }, "allowed_without_fight": { "$ref": "#/definitions/bool" }, "objective_condition": { "anyOf": [ { "type": "string", "const": "game-finished" }, { "type": "string", "const": "rocket-launched" }, { "type": "string", "const": "late-research" } ] }, "dont_build": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "amount": { "$ref": "#/definitions/uint32" }, "research_with": { "anyOf": [ { "$ref": "#/definitions/ItemID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemID" } }, { "type": "object", "additionalProperties": false } ] } ] } }, "required": [ "type", "name", "dont_build" ] }, "DontCraftManuallyAchievementPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/DontCraftManuallyAchievementPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "dont-craft-manually-achievement" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "steam_stats_name": { "$ref": "#/definitions/string" }, "allowed_without_fight": { "$ref": "#/definitions/bool" }, "objective_condition": { "anyOf": [ { "type": "string", "const": "game-finished" }, { "type": "string", "const": "rocket-launched" }, { "type": "string", "const": "late-research" } ] }, "amount": { "$ref": "#/definitions/uint32" } }, "required": [ "type", "name", "amount" ] }, "DontKillManuallyAchievementPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/DontKillManuallyAchievementPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "dont-kill-manually-achievement" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "steam_stats_name": { "$ref": "#/definitions/string" }, "allowed_without_fight": { "$ref": "#/definitions/bool" }, "objective_condition": { "anyOf": [ { "type": "string", "const": "game-finished" }, { "type": "string", "const": "rocket-launched" }, { "type": "string", "const": "late-research" } ] }, "to_kill": { "$ref": "#/definitions/EntityID" }, "type_not_to_kill": { "$ref": "#/definitions/string" } }, "required": [ "type", "name" ] }, "DontResearchBeforeResearchingAchievementPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/DontResearchBeforeResearchingAchievementPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "dont-research-before-researching-achievement" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "steam_stats_name": { "$ref": "#/definitions/string" }, "allowed_without_fight": { "$ref": "#/definitions/bool" }, "objective_condition": { "anyOf": [ { "type": "string", "const": "game-finished" }, { "type": "string", "const": "rocket-launched" }, { "type": "string", "const": "late-research" } ] }, "dont_research": { "anyOf": [ { "$ref": "#/definitions/ItemID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "research_with": { "anyOf": [ { "$ref": "#/definitions/ItemID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemID" } }, { "type": "object", "additionalProperties": false } ] } ] } }, "required": [ "type", "name", "dont_research", "research_with" ] }, "DontUseEntityInEnergyProductionAchievementPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/DontUseEntityInEnergyProductionAchievementPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "dont-use-entity-in-energy-production-achievement" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "steam_stats_name": { "$ref": "#/definitions/string" }, "allowed_without_fight": { "$ref": "#/definitions/bool" }, "objective_condition": { "anyOf": [ { "type": "string", "const": "game-finished" }, { "type": "string", "const": "rocket-launched" }, { "type": "string", "const": "late-research" } ] }, "excluded": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "included": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "last_hour_only": { "$ref": "#/definitions/bool" }, "minimum_energy_produced": { "$ref": "#/definitions/Energy" } }, "required": [ "type", "name", "excluded" ] }, "EditorControllerPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/EditorControllerPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "editor-controller" }, "name": { "$ref": "#/definitions/string" }, "inventory_size": { "$ref": "#/definitions/ItemStackIndex" }, "gun_inventory_size": { "$ref": "#/definitions/ItemStackIndex" }, "movement_speed": { "$ref": "#/definitions/double" }, "item_pickup_distance": { "$ref": "#/definitions/double" }, "loot_pickup_distance": { "$ref": "#/definitions/double" }, "mining_speed": { "$ref": "#/definitions/double" }, "enable_flash_light": { "$ref": "#/definitions/bool" }, "adjust_speed_based_off_zoom": { "$ref": "#/definitions/bool" }, "render_as_day": { "$ref": "#/definitions/bool" }, "instant_blueprint_building": { "$ref": "#/definitions/bool" }, "instant_deconstruction": { "$ref": "#/definitions/bool" }, "instant_upgrading": { "$ref": "#/definitions/bool" }, "instant_rail_planner": { "$ref": "#/definitions/bool" }, "show_status_icons": { "$ref": "#/definitions/bool" }, "show_hidden_entities": { "$ref": "#/definitions/bool" }, "show_entity_tags": { "$ref": "#/definitions/bool" }, "show_entity_health_bars": { "$ref": "#/definitions/bool" }, "show_additional_entity_info_gui": { "$ref": "#/definitions/bool" }, "generate_neighbor_chunks": { "$ref": "#/definitions/bool" }, "fill_built_entity_energy_buffers": { "$ref": "#/definitions/bool" }, "show_character_tab_in_controller_gui": { "$ref": "#/definitions/bool" }, "show_infinity_filters_in_controller_gui": { "$ref": "#/definitions/bool" }, "placed_corpses_never_expire": { "$ref": "#/definitions/bool" }, "ignore_surface_conditions": { "$ref": "#/definitions/bool" }, "ignore_tile_conditions": { "$ref": "#/definitions/bool" } }, "required": [ "type", "name", "inventory_size", "gun_inventory_size", "movement_speed", "item_pickup_distance", "loot_pickup_distance", "mining_speed", "enable_flash_light", "adjust_speed_based_off_zoom", "render_as_day", "instant_blueprint_building", "instant_deconstruction", "instant_upgrading", "instant_rail_planner", "show_status_icons", "show_hidden_entities", "show_entity_tags", "show_entity_health_bars", "show_additional_entity_info_gui", "generate_neighbor_chunks", "fill_built_entity_energy_buffers", "show_character_tab_in_controller_gui", "show_infinity_filters_in_controller_gui", "placed_corpses_never_expire", "ignore_tile_conditions" ] }, "ElectricEnergyInterfacePrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/ElectricEnergyInterfacePrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "electric-energy-interface" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "collision_box": { "$ref": "#/definitions/BoundingBox" }, "collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "map_generator_bounding_box": { "$ref": "#/definitions/BoundingBox" }, "selection_box": { "$ref": "#/definitions/BoundingBox" }, "drawing_box_vertical_extension": { "$ref": "#/definitions/double" }, "sticker_box": { "$ref": "#/definitions/BoundingBox" }, "hit_visualization_box": { "$ref": "#/definitions/BoundingBox" }, "trigger_target_mask": { "$ref": "#/definitions/TriggerTargetMask" }, "flags": { "$ref": "#/definitions/EntityPrototypeFlags" }, "tile_buildability_rules": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileBuildabilityRule" } }, { "type": "object", "additionalProperties": false } ] }, "minable": { "$ref": "#/definitions/MinableProperties" }, "surface_conditions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SurfaceCondition" } }, { "type": "object", "additionalProperties": false } ] }, "deconstruction_alternative": { "$ref": "#/definitions/EntityID" }, "selection_priority": { "$ref": "#/definitions/uint8" }, "build_grid_size": { "$ref": "#/definitions/uint8" }, "remove_decoratives": { "anyOf": [ { "type": "string", "const": "automatic" }, { "type": "string", "const": "true" }, { "type": "string", "const": "false" } ] }, "emissions_per_second": { "type": "object", "additionalProperties": { "$ref": "#/definitions/double" }, "propertyNames": { "$ref": "#/definitions/AirbornePollutantID" } }, "shooting_cursor_size": { "$ref": "#/definitions/double" }, "created_smoke": { "$ref": "#/definitions/CreateTrivialSmokeEffectItem" }, "working_sound": { "$ref": "#/definitions/WorkingSound" }, "created_effect": { "$ref": "#/definitions/Trigger" }, "build_sound": { "$ref": "#/definitions/Sound" }, "mined_sound": { "$ref": "#/definitions/Sound" }, "mining_sound": { "$ref": "#/definitions/Sound" }, "rotated_sound": { "$ref": "#/definitions/Sound" }, "impact_category": { "$ref": "#/definitions/string" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "placeable_position_visualization": { "$ref": "#/definitions/Sprite" }, "radius_visualisation_specification": { "$ref": "#/definitions/RadiusVisualisationSpecification" }, "stateless_visualisation": { "$ref": "#/definitions/StatelessVisualisations" }, "build_base_evolution_requirement": { "$ref": "#/definitions/double" }, "alert_icon_shift": { "$ref": "#/definitions/Vector" }, "alert_icon_scale": { "$ref": "#/definitions/float" }, "fast_replaceable_group": { "$ref": "#/definitions/string" }, "next_upgrade": { "$ref": "#/definitions/EntityID" }, "protected_from_tile_building": { "$ref": "#/definitions/bool" }, "heating_energy": { "$ref": "#/definitions/Energy" }, "allow_copy_paste": { "$ref": "#/definitions/bool" }, "selectable_in_game": { "$ref": "#/definitions/bool" }, "placeable_by": { "anyOf": [ { "$ref": "#/definitions/ItemToPlace" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemToPlace" } }, { "type": "object", "additionalProperties": false } ] } ] }, "remains_when_mined": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "additional_pastable_entities": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] }, "tile_width": { "$ref": "#/definitions/int32" }, "tile_height": { "$ref": "#/definitions/int32" }, "diagonal_tile_grid_size": { "$ref": "#/definitions/TilePosition" }, "autoplace": { "$ref": "#/definitions/AutoplaceSpecification" }, "map_color": { "$ref": "#/definitions/Color" }, "friendly_map_color": { "$ref": "#/definitions/Color" }, "enemy_map_color": { "$ref": "#/definitions/Color" }, "water_reflection": { "$ref": "#/definitions/WaterReflectionDefinition" }, "ambient_sounds_group": { "$ref": "#/definitions/EntityID" }, "ambient_sounds": { "anyOf": [ { "$ref": "#/definitions/WorldAmbientSoundDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/WorldAmbientSoundDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "icon_draw_specification": { "$ref": "#/definitions/IconDrawSpecification" }, "icons_positioning": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconSequencePositioning" } }, { "type": "object", "additionalProperties": false } ] }, "max_health": { "$ref": "#/definitions/float" }, "healing_per_tick": { "$ref": "#/definitions/float" }, "repair_speed_modifier": { "$ref": "#/definitions/float" }, "dying_explosion": { "anyOf": [ { "$ref": "#/definitions/ExplosionDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ExplosionDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "dying_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "damaged_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "loot": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/LootItem" } }, { "type": "object", "additionalProperties": false } ] }, "resistances": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Resistance" } }, { "type": "object", "additionalProperties": false } ] }, "attack_reaction": { "anyOf": [ { "$ref": "#/definitions/AttackReactionItem" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/AttackReactionItem" } }, { "type": "object", "additionalProperties": false } ] } ] }, "repair_sound": { "$ref": "#/definitions/Sound" }, "alert_when_damaged": { "$ref": "#/definitions/bool" }, "hide_resistances": { "$ref": "#/definitions/bool" }, "create_ghost_on_death": { "$ref": "#/definitions/bool" }, "random_corpse_variation": { "$ref": "#/definitions/bool" }, "integration_patch_render_layer": { "$ref": "#/definitions/RenderLayer" }, "corpse": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "integration_patch": { "$ref": "#/definitions/Sprite4Way" }, "overkill_fraction": { "$ref": "#/definitions/float" }, "is_military_target": { "$ref": "#/definitions/bool" }, "allow_run_time_change_of_is_military_target": { "$ref": "#/definitions/bool" }, "quality_indicator_scale": { "$ref": "#/definitions/double" }, "energy_source": { "$ref": "#/definitions/ElectricEnergySource" }, "energy_production": { "$ref": "#/definitions/Energy" }, "energy_usage": { "$ref": "#/definitions/Energy" }, "gui_mode": { "anyOf": [ { "type": "string", "const": "all" }, { "type": "string", "const": "none" }, { "type": "string", "const": "admins" } ] }, "continuous_animation": { "$ref": "#/definitions/bool" }, "render_layer": { "$ref": "#/definitions/RenderLayer" }, "light": { "$ref": "#/definitions/LightDefinition" }, "picture": { "$ref": "#/definitions/Sprite" }, "pictures": { "$ref": "#/definitions/Sprite4Way" }, "animation": { "$ref": "#/definitions/Animation" }, "animations": { "$ref": "#/definitions/Animation4Way" } }, "required": [ "type", "name", "energy_source" ] }, "ElectricPolePrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/ElectricPolePrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "electric-pole" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "collision_box": { "$ref": "#/definitions/BoundingBox" }, "collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "map_generator_bounding_box": { "$ref": "#/definitions/BoundingBox" }, "selection_box": { "$ref": "#/definitions/BoundingBox" }, "drawing_box_vertical_extension": { "$ref": "#/definitions/double" }, "sticker_box": { "$ref": "#/definitions/BoundingBox" }, "hit_visualization_box": { "$ref": "#/definitions/BoundingBox" }, "trigger_target_mask": { "$ref": "#/definitions/TriggerTargetMask" }, "flags": { "$ref": "#/definitions/EntityPrototypeFlags" }, "tile_buildability_rules": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileBuildabilityRule" } }, { "type": "object", "additionalProperties": false } ] }, "minable": { "$ref": "#/definitions/MinableProperties" }, "surface_conditions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SurfaceCondition" } }, { "type": "object", "additionalProperties": false } ] }, "deconstruction_alternative": { "$ref": "#/definitions/EntityID" }, "selection_priority": { "$ref": "#/definitions/uint8" }, "build_grid_size": { "$ref": "#/definitions/uint8" }, "remove_decoratives": { "anyOf": [ { "type": "string", "const": "automatic" }, { "type": "string", "const": "true" }, { "type": "string", "const": "false" } ] }, "emissions_per_second": { "type": "object", "additionalProperties": { "$ref": "#/definitions/double" }, "propertyNames": { "$ref": "#/definitions/AirbornePollutantID" } }, "shooting_cursor_size": { "$ref": "#/definitions/double" }, "created_smoke": { "$ref": "#/definitions/CreateTrivialSmokeEffectItem" }, "working_sound": { "$ref": "#/definitions/WorkingSound" }, "created_effect": { "$ref": "#/definitions/Trigger" }, "build_sound": { "$ref": "#/definitions/Sound" }, "mined_sound": { "$ref": "#/definitions/Sound" }, "mining_sound": { "$ref": "#/definitions/Sound" }, "rotated_sound": { "$ref": "#/definitions/Sound" }, "impact_category": { "$ref": "#/definitions/string" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "placeable_position_visualization": { "$ref": "#/definitions/Sprite" }, "radius_visualisation_specification": { "$ref": "#/definitions/RadiusVisualisationSpecification" }, "stateless_visualisation": { "$ref": "#/definitions/StatelessVisualisations" }, "build_base_evolution_requirement": { "$ref": "#/definitions/double" }, "alert_icon_shift": { "$ref": "#/definitions/Vector" }, "alert_icon_scale": { "$ref": "#/definitions/float" }, "fast_replaceable_group": { "$ref": "#/definitions/string" }, "next_upgrade": { "$ref": "#/definitions/EntityID" }, "protected_from_tile_building": { "$ref": "#/definitions/bool" }, "heating_energy": { "$ref": "#/definitions/Energy" }, "allow_copy_paste": { "$ref": "#/definitions/bool" }, "selectable_in_game": { "$ref": "#/definitions/bool" }, "placeable_by": { "anyOf": [ { "$ref": "#/definitions/ItemToPlace" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemToPlace" } }, { "type": "object", "additionalProperties": false } ] } ] }, "remains_when_mined": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "additional_pastable_entities": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] }, "tile_width": { "$ref": "#/definitions/int32" }, "tile_height": { "$ref": "#/definitions/int32" }, "diagonal_tile_grid_size": { "$ref": "#/definitions/TilePosition" }, "autoplace": { "$ref": "#/definitions/AutoplaceSpecification" }, "map_color": { "$ref": "#/definitions/Color" }, "friendly_map_color": { "$ref": "#/definitions/Color" }, "enemy_map_color": { "$ref": "#/definitions/Color" }, "water_reflection": { "$ref": "#/definitions/WaterReflectionDefinition" }, "ambient_sounds_group": { "$ref": "#/definitions/EntityID" }, "ambient_sounds": { "anyOf": [ { "$ref": "#/definitions/WorldAmbientSoundDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/WorldAmbientSoundDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "icon_draw_specification": { "$ref": "#/definitions/IconDrawSpecification" }, "icons_positioning": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconSequencePositioning" } }, { "type": "object", "additionalProperties": false } ] }, "max_health": { "$ref": "#/definitions/float" }, "healing_per_tick": { "$ref": "#/definitions/float" }, "repair_speed_modifier": { "$ref": "#/definitions/float" }, "dying_explosion": { "anyOf": [ { "$ref": "#/definitions/ExplosionDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ExplosionDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "dying_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "damaged_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "loot": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/LootItem" } }, { "type": "object", "additionalProperties": false } ] }, "resistances": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Resistance" } }, { "type": "object", "additionalProperties": false } ] }, "attack_reaction": { "anyOf": [ { "$ref": "#/definitions/AttackReactionItem" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/AttackReactionItem" } }, { "type": "object", "additionalProperties": false } ] } ] }, "repair_sound": { "$ref": "#/definitions/Sound" }, "alert_when_damaged": { "$ref": "#/definitions/bool" }, "hide_resistances": { "$ref": "#/definitions/bool" }, "create_ghost_on_death": { "$ref": "#/definitions/bool" }, "random_corpse_variation": { "$ref": "#/definitions/bool" }, "integration_patch_render_layer": { "$ref": "#/definitions/RenderLayer" }, "corpse": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "integration_patch": { "$ref": "#/definitions/Sprite4Way" }, "overkill_fraction": { "$ref": "#/definitions/float" }, "is_military_target": { "$ref": "#/definitions/bool" }, "allow_run_time_change_of_is_military_target": { "$ref": "#/definitions/bool" }, "quality_indicator_scale": { "$ref": "#/definitions/double" }, "pictures": { "$ref": "#/definitions/RotatedSprite" }, "supply_area_distance": { "$ref": "#/definitions/double" }, "connection_points": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/WireConnectionPoint" } }, { "type": "object", "additionalProperties": false } ] }, "radius_visualisation_picture": { "$ref": "#/definitions/Sprite" }, "active_picture": { "$ref": "#/definitions/Sprite" }, "maximum_wire_distance": { "$ref": "#/definitions/double" }, "draw_copper_wires": { "$ref": "#/definitions/bool" }, "draw_circuit_wires": { "$ref": "#/definitions/bool" }, "light": { "$ref": "#/definitions/LightDefinition" }, "track_coverage_during_build_by_moving": { "$ref": "#/definitions/bool" }, "auto_connect_up_to_n_wires": { "$ref": "#/definitions/uint8" } }, "required": [ "type", "name", "supply_area_distance", "connection_points" ] }, "ElectricTurretPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/ElectricTurretPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "electric-turret" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "collision_box": { "$ref": "#/definitions/BoundingBox" }, "collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "map_generator_bounding_box": { "$ref": "#/definitions/BoundingBox" }, "selection_box": { "$ref": "#/definitions/BoundingBox" }, "drawing_box_vertical_extension": { "$ref": "#/definitions/double" }, "sticker_box": { "$ref": "#/definitions/BoundingBox" }, "hit_visualization_box": { "$ref": "#/definitions/BoundingBox" }, "trigger_target_mask": { "$ref": "#/definitions/TriggerTargetMask" }, "flags": { "$ref": "#/definitions/EntityPrototypeFlags" }, "tile_buildability_rules": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileBuildabilityRule" } }, { "type": "object", "additionalProperties": false } ] }, "minable": { "$ref": "#/definitions/MinableProperties" }, "surface_conditions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SurfaceCondition" } }, { "type": "object", "additionalProperties": false } ] }, "deconstruction_alternative": { "$ref": "#/definitions/EntityID" }, "selection_priority": { "$ref": "#/definitions/uint8" }, "build_grid_size": { "$ref": "#/definitions/uint8" }, "remove_decoratives": { "anyOf": [ { "type": "string", "const": "automatic" }, { "type": "string", "const": "true" }, { "type": "string", "const": "false" } ] }, "emissions_per_second": { "type": "object", "additionalProperties": { "$ref": "#/definitions/double" }, "propertyNames": { "$ref": "#/definitions/AirbornePollutantID" } }, "shooting_cursor_size": { "$ref": "#/definitions/double" }, "created_smoke": { "$ref": "#/definitions/CreateTrivialSmokeEffectItem" }, "working_sound": { "$ref": "#/definitions/WorkingSound" }, "created_effect": { "$ref": "#/definitions/Trigger" }, "build_sound": { "$ref": "#/definitions/Sound" }, "mined_sound": { "$ref": "#/definitions/Sound" }, "mining_sound": { "$ref": "#/definitions/Sound" }, "rotated_sound": { "$ref": "#/definitions/Sound" }, "impact_category": { "$ref": "#/definitions/string" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "placeable_position_visualization": { "$ref": "#/definitions/Sprite" }, "radius_visualisation_specification": { "$ref": "#/definitions/RadiusVisualisationSpecification" }, "stateless_visualisation": { "$ref": "#/definitions/StatelessVisualisations" }, "build_base_evolution_requirement": { "$ref": "#/definitions/double" }, "alert_icon_shift": { "$ref": "#/definitions/Vector" }, "alert_icon_scale": { "$ref": "#/definitions/float" }, "fast_replaceable_group": { "$ref": "#/definitions/string" }, "next_upgrade": { "$ref": "#/definitions/EntityID" }, "protected_from_tile_building": { "$ref": "#/definitions/bool" }, "heating_energy": { "$ref": "#/definitions/Energy" }, "allow_copy_paste": { "$ref": "#/definitions/bool" }, "selectable_in_game": { "$ref": "#/definitions/bool" }, "placeable_by": { "anyOf": [ { "$ref": "#/definitions/ItemToPlace" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemToPlace" } }, { "type": "object", "additionalProperties": false } ] } ] }, "remains_when_mined": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "additional_pastable_entities": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] }, "tile_width": { "$ref": "#/definitions/int32" }, "tile_height": { "$ref": "#/definitions/int32" }, "diagonal_tile_grid_size": { "$ref": "#/definitions/TilePosition" }, "autoplace": { "$ref": "#/definitions/AutoplaceSpecification" }, "map_color": { "$ref": "#/definitions/Color" }, "friendly_map_color": { "$ref": "#/definitions/Color" }, "enemy_map_color": { "$ref": "#/definitions/Color" }, "water_reflection": { "$ref": "#/definitions/WaterReflectionDefinition" }, "ambient_sounds_group": { "$ref": "#/definitions/EntityID" }, "ambient_sounds": { "anyOf": [ { "$ref": "#/definitions/WorldAmbientSoundDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/WorldAmbientSoundDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "icon_draw_specification": { "$ref": "#/definitions/IconDrawSpecification" }, "icons_positioning": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconSequencePositioning" } }, { "type": "object", "additionalProperties": false } ] }, "max_health": { "$ref": "#/definitions/float" }, "healing_per_tick": { "$ref": "#/definitions/float" }, "repair_speed_modifier": { "$ref": "#/definitions/float" }, "dying_explosion": { "anyOf": [ { "$ref": "#/definitions/ExplosionDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ExplosionDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "dying_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "damaged_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "loot": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/LootItem" } }, { "type": "object", "additionalProperties": false } ] }, "resistances": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Resistance" } }, { "type": "object", "additionalProperties": false } ] }, "attack_reaction": { "anyOf": [ { "$ref": "#/definitions/AttackReactionItem" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/AttackReactionItem" } }, { "type": "object", "additionalProperties": false } ] } ] }, "repair_sound": { "$ref": "#/definitions/Sound" }, "alert_when_damaged": { "$ref": "#/definitions/bool" }, "hide_resistances": { "$ref": "#/definitions/bool" }, "create_ghost_on_death": { "$ref": "#/definitions/bool" }, "random_corpse_variation": { "$ref": "#/definitions/bool" }, "integration_patch_render_layer": { "$ref": "#/definitions/RenderLayer" }, "corpse": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "integration_patch": { "$ref": "#/definitions/Sprite4Way" }, "overkill_fraction": { "$ref": "#/definitions/float" }, "is_military_target": { "$ref": "#/definitions/bool" }, "allow_run_time_change_of_is_military_target": { "$ref": "#/definitions/bool" }, "quality_indicator_scale": { "$ref": "#/definitions/double" }, "attack_parameters": { "$ref": "#/definitions/AttackParameters" }, "folded_animation": { "$ref": "#/definitions/RotatedAnimation8Way" }, "call_for_help_radius": { "$ref": "#/definitions/double" }, "attack_target_mask": { "$ref": "#/definitions/TriggerTargetMask" }, "ignore_target_mask": { "$ref": "#/definitions/TriggerTargetMask" }, "shoot_in_prepare_state": { "$ref": "#/definitions/bool" }, "start_attacking_only_when_can_shoot": { "$ref": "#/definitions/bool" }, "turret_base_has_direction": { "$ref": "#/definitions/bool" }, "random_animation_offset": { "$ref": "#/definitions/bool" }, "attack_from_start_frame": { "$ref": "#/definitions/bool" }, "allow_turning_when_starting_attack": { "$ref": "#/definitions/bool" }, "gun_animation_secondary_draw_order": { "$ref": "#/definitions/uint8" }, "gun_animation_render_layer": { "$ref": "#/definitions/RenderLayer" }, "graphics_set": { "$ref": "#/definitions/TurretGraphicsSet" }, "preparing_animation": { "$ref": "#/definitions/RotatedAnimation8Way" }, "prepared_animation": { "$ref": "#/definitions/RotatedAnimation8Way" }, "prepared_alternative_animation": { "$ref": "#/definitions/RotatedAnimation8Way" }, "starting_attack_animation": { "$ref": "#/definitions/RotatedAnimation8Way" }, "attacking_animation": { "$ref": "#/definitions/RotatedAnimation8Way" }, "energy_glow_animation": { "$ref": "#/definitions/RotatedAnimation8Way" }, "resource_indicator_animation": { "$ref": "#/definitions/RotatedAnimation8Way" }, "ending_attack_animation": { "$ref": "#/definitions/RotatedAnimation8Way" }, "folding_animation": { "$ref": "#/definitions/RotatedAnimation8Way" }, "integration": { "$ref": "#/definitions/Sprite" }, "special_effect": { "$ref": "#/definitions/TurretSpecialEffect" }, "glow_light_intensity": { "$ref": "#/definitions/float" }, "energy_glow_animation_flicker_strength": { "$ref": "#/definitions/float" }, "starting_attack_sound": { "$ref": "#/definitions/Sound" }, "dying_sound": { "$ref": "#/definitions/Sound" }, "preparing_sound": { "$ref": "#/definitions/Sound" }, "folding_sound": { "$ref": "#/definitions/Sound" }, "prepared_sound": { "$ref": "#/definitions/Sound" }, "prepared_alternative_sound": { "$ref": "#/definitions/Sound" }, "rotating_sound": { "$ref": "#/definitions/InterruptibleSound" }, "default_speed": { "$ref": "#/definitions/float" }, "default_speed_secondary": { "$ref": "#/definitions/float" }, "default_speed_when_killed": { "$ref": "#/definitions/float" }, "default_starting_progress_when_killed": { "$ref": "#/definitions/float" }, "rotation_speed": { "$ref": "#/definitions/float" }, "rotation_speed_secondary": { "$ref": "#/definitions/float" }, "rotation_speed_when_killed": { "$ref": "#/definitions/float" }, "rotation_starting_progress_when_killed": { "$ref": "#/definitions/float" }, "preparing_speed": { "$ref": "#/definitions/float" }, "preparing_speed_secondary": { "$ref": "#/definitions/float" }, "preparing_speed_when_killed": { "$ref": "#/definitions/float" }, "preparing_starting_progress_when_killed": { "$ref": "#/definitions/float" }, "folded_speed": { "$ref": "#/definitions/float" }, "folded_speed_secondary": { "$ref": "#/definitions/float" }, "folded_speed_when_killed": { "$ref": "#/definitions/float" }, "folded_starting_progress_when_killed": { "$ref": "#/definitions/float" }, "prepared_speed": { "$ref": "#/definitions/float" }, "prepared_speed_secondary": { "$ref": "#/definitions/float" }, "prepared_speed_when_killed": { "$ref": "#/definitions/float" }, "prepared_starting_progress_when_killed": { "$ref": "#/definitions/float" }, "prepared_alternative_speed": { "$ref": "#/definitions/float" }, "prepared_alternative_speed_secondary": { "$ref": "#/definitions/float" }, "prepared_alternative_speed_when_killed": { "$ref": "#/definitions/float" }, "prepared_alternative_starting_progress_when_killed": { "$ref": "#/definitions/float" }, "prepared_alternative_chance": { "$ref": "#/definitions/float" }, "starting_attack_speed": { "$ref": "#/definitions/float" }, "starting_attack_speed_secondary": { "$ref": "#/definitions/float" }, "starting_attack_speed_when_killed": { "$ref": "#/definitions/float" }, "starting_attack_starting_progress_when_killed": { "$ref": "#/definitions/float" }, "attacking_speed": { "$ref": "#/definitions/float" }, "ending_attack_speed": { "$ref": "#/definitions/float" }, "ending_attack_speed_secondary": { "$ref": "#/definitions/float" }, "ending_attack_speed_when_killed": { "$ref": "#/definitions/float" }, "ending_attack_starting_progress_when_killed": { "$ref": "#/definitions/float" }, "folding_speed": { "$ref": "#/definitions/float" }, "folding_speed_secondary": { "$ref": "#/definitions/float" }, "folding_speed_when_killed": { "$ref": "#/definitions/float" }, "folding_starting_progress_when_killed": { "$ref": "#/definitions/float" }, "prepare_range": { "$ref": "#/definitions/double" }, "alert_when_attacking": { "$ref": "#/definitions/bool" }, "spawn_decorations_on_expansion": { "$ref": "#/definitions/bool" }, "folded_animation_is_stateless": { "$ref": "#/definitions/bool" }, "unfolds_before_dying": { "$ref": "#/definitions/bool" }, "spawn_decoration": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/CreateDecorativesTriggerEffectItem" } }, { "type": "object", "additionalProperties": false } ] }, "folded_state_corpse": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "can_retarget_while_starting_attack": { "$ref": "#/definitions/bool" }, "circuit_wire_max_distance": { "$ref": "#/definitions/double" }, "draw_copper_wires": { "$ref": "#/definitions/bool" }, "draw_circuit_wires": { "$ref": "#/definitions/bool" }, "circuit_connector": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/CircuitConnectorDefinition" } }, { "type": "object", "additionalProperties": false } ] }, "energy_source": { "anyOf": [ { "$ref": "#/definitions/ElectricEnergySource" }, { "$ref": "#/definitions/VoidEnergySource" } ] } }, "required": [ "type", "name", "attack_parameters", "folded_animation", "call_for_help_radius", "graphics_set", "energy_source" ] }, "ElevatedCurvedRailAPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/ElevatedCurvedRailAPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "elevated-curved-rail-a" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "collision_box": { "$ref": "#/definitions/BoundingBox" }, "collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "map_generator_bounding_box": { "$ref": "#/definitions/BoundingBox" }, "selection_box": { "$ref": "#/definitions/BoundingBox" }, "drawing_box_vertical_extension": { "$ref": "#/definitions/double" }, "sticker_box": { "$ref": "#/definitions/BoundingBox" }, "hit_visualization_box": { "$ref": "#/definitions/BoundingBox" }, "trigger_target_mask": { "$ref": "#/definitions/TriggerTargetMask" }, "flags": { "$ref": "#/definitions/EntityPrototypeFlags" }, "tile_buildability_rules": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileBuildabilityRule" } }, { "type": "object", "additionalProperties": false } ] }, "minable": { "$ref": "#/definitions/MinableProperties" }, "surface_conditions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SurfaceCondition" } }, { "type": "object", "additionalProperties": false } ] }, "deconstruction_alternative": { "$ref": "#/definitions/EntityID" }, "selection_priority": { "$ref": "#/definitions/uint8" }, "build_grid_size": { "type": "integer", "const": 2 }, "remove_decoratives": { "anyOf": [ { "type": "string", "const": "automatic" }, { "type": "string", "const": "true" }, { "type": "string", "const": "false" } ] }, "emissions_per_second": { "type": "object", "additionalProperties": { "$ref": "#/definitions/double" }, "propertyNames": { "$ref": "#/definitions/AirbornePollutantID" } }, "shooting_cursor_size": { "$ref": "#/definitions/double" }, "created_smoke": { "$ref": "#/definitions/CreateTrivialSmokeEffectItem" }, "working_sound": { "$ref": "#/definitions/WorkingSound" }, "created_effect": { "$ref": "#/definitions/Trigger" }, "build_sound": { "$ref": "#/definitions/Sound" }, "mined_sound": { "$ref": "#/definitions/Sound" }, "mining_sound": { "$ref": "#/definitions/Sound" }, "rotated_sound": { "$ref": "#/definitions/Sound" }, "impact_category": { "$ref": "#/definitions/string" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "placeable_position_visualization": { "$ref": "#/definitions/Sprite" }, "radius_visualisation_specification": { "$ref": "#/definitions/RadiusVisualisationSpecification" }, "stateless_visualisation": { "$ref": "#/definitions/StatelessVisualisations" }, "build_base_evolution_requirement": { "$ref": "#/definitions/double" }, "alert_icon_shift": { "$ref": "#/definitions/Vector" }, "alert_icon_scale": { "$ref": "#/definitions/float" }, "fast_replaceable_group": { "$ref": "#/definitions/string" }, "next_upgrade": { "$ref": "#/definitions/EntityID" }, "protected_from_tile_building": { "$ref": "#/definitions/bool" }, "heating_energy": { "$ref": "#/definitions/Energy" }, "allow_copy_paste": { "$ref": "#/definitions/bool" }, "selectable_in_game": { "$ref": "#/definitions/bool" }, "placeable_by": { "anyOf": [ { "$ref": "#/definitions/ItemToPlace" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemToPlace" } }, { "type": "object", "additionalProperties": false } ] } ] }, "remains_when_mined": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "additional_pastable_entities": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] }, "tile_width": { "$ref": "#/definitions/int32" }, "tile_height": { "$ref": "#/definitions/int32" }, "diagonal_tile_grid_size": { "$ref": "#/definitions/TilePosition" }, "autoplace": { "$ref": "#/definitions/AutoplaceSpecification" }, "map_color": { "$ref": "#/definitions/Color" }, "friendly_map_color": { "$ref": "#/definitions/Color" }, "enemy_map_color": { "$ref": "#/definitions/Color" }, "water_reflection": { "$ref": "#/definitions/WaterReflectionDefinition" }, "ambient_sounds_group": { "$ref": "#/definitions/EntityID" }, "ambient_sounds": { "anyOf": [ { "$ref": "#/definitions/WorldAmbientSoundDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/WorldAmbientSoundDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "icon_draw_specification": { "$ref": "#/definitions/IconDrawSpecification" }, "icons_positioning": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconSequencePositioning" } }, { "type": "object", "additionalProperties": false } ] }, "max_health": { "$ref": "#/definitions/float" }, "healing_per_tick": { "$ref": "#/definitions/float" }, "repair_speed_modifier": { "$ref": "#/definitions/float" }, "dying_explosion": { "anyOf": [ { "$ref": "#/definitions/ExplosionDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ExplosionDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "dying_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "damaged_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "loot": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/LootItem" } }, { "type": "object", "additionalProperties": false } ] }, "resistances": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Resistance" } }, { "type": "object", "additionalProperties": false } ] }, "attack_reaction": { "anyOf": [ { "$ref": "#/definitions/AttackReactionItem" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/AttackReactionItem" } }, { "type": "object", "additionalProperties": false } ] } ] }, "repair_sound": { "$ref": "#/definitions/Sound" }, "alert_when_damaged": { "$ref": "#/definitions/bool" }, "hide_resistances": { "$ref": "#/definitions/bool" }, "create_ghost_on_death": { "$ref": "#/definitions/bool" }, "random_corpse_variation": { "$ref": "#/definitions/bool" }, "integration_patch_render_layer": { "$ref": "#/definitions/RenderLayer" }, "corpse": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "integration_patch": { "$ref": "#/definitions/Sprite4Way" }, "overkill_fraction": { "$ref": "#/definitions/float" }, "is_military_target": { "$ref": "#/definitions/bool" }, "allow_run_time_change_of_is_military_target": { "$ref": "#/definitions/bool" }, "quality_indicator_scale": { "$ref": "#/definitions/double" }, "walking_sound": { "$ref": "#/definitions/Sound" }, "pictures": { "$ref": "#/definitions/RailPictureSet" }, "fence_pictures": { "$ref": "#/definitions/RailFenceGraphicsSet" }, "extra_planner_penalty": { "$ref": "#/definitions/double" }, "extra_planner_goal_penalty": { "$ref": "#/definitions/double" }, "forced_fence_segment_count": { "$ref": "#/definitions/uint8" }, "ending_shifts": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Vector" } }, { "type": "object", "additionalProperties": false } ] }, "deconstruction_marker_positions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Vector" } }, { "type": "object", "additionalProperties": false } ] }, "removes_soft_decoratives": { "$ref": "#/definitions/bool" } }, "required": [ "type", "name", "pictures" ] }, "ElevatedCurvedRailBPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/ElevatedCurvedRailBPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "elevated-curved-rail-b" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "collision_box": { "$ref": "#/definitions/BoundingBox" }, "collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "map_generator_bounding_box": { "$ref": "#/definitions/BoundingBox" }, "selection_box": { "$ref": "#/definitions/BoundingBox" }, "drawing_box_vertical_extension": { "$ref": "#/definitions/double" }, "sticker_box": { "$ref": "#/definitions/BoundingBox" }, "hit_visualization_box": { "$ref": "#/definitions/BoundingBox" }, "trigger_target_mask": { "$ref": "#/definitions/TriggerTargetMask" }, "flags": { "$ref": "#/definitions/EntityPrototypeFlags" }, "tile_buildability_rules": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileBuildabilityRule" } }, { "type": "object", "additionalProperties": false } ] }, "minable": { "$ref": "#/definitions/MinableProperties" }, "surface_conditions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SurfaceCondition" } }, { "type": "object", "additionalProperties": false } ] }, "deconstruction_alternative": { "$ref": "#/definitions/EntityID" }, "selection_priority": { "$ref": "#/definitions/uint8" }, "build_grid_size": { "type": "integer", "const": 2 }, "remove_decoratives": { "anyOf": [ { "type": "string", "const": "automatic" }, { "type": "string", "const": "true" }, { "type": "string", "const": "false" } ] }, "emissions_per_second": { "type": "object", "additionalProperties": { "$ref": "#/definitions/double" }, "propertyNames": { "$ref": "#/definitions/AirbornePollutantID" } }, "shooting_cursor_size": { "$ref": "#/definitions/double" }, "created_smoke": { "$ref": "#/definitions/CreateTrivialSmokeEffectItem" }, "working_sound": { "$ref": "#/definitions/WorkingSound" }, "created_effect": { "$ref": "#/definitions/Trigger" }, "build_sound": { "$ref": "#/definitions/Sound" }, "mined_sound": { "$ref": "#/definitions/Sound" }, "mining_sound": { "$ref": "#/definitions/Sound" }, "rotated_sound": { "$ref": "#/definitions/Sound" }, "impact_category": { "$ref": "#/definitions/string" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "placeable_position_visualization": { "$ref": "#/definitions/Sprite" }, "radius_visualisation_specification": { "$ref": "#/definitions/RadiusVisualisationSpecification" }, "stateless_visualisation": { "$ref": "#/definitions/StatelessVisualisations" }, "build_base_evolution_requirement": { "$ref": "#/definitions/double" }, "alert_icon_shift": { "$ref": "#/definitions/Vector" }, "alert_icon_scale": { "$ref": "#/definitions/float" }, "fast_replaceable_group": { "$ref": "#/definitions/string" }, "next_upgrade": { "$ref": "#/definitions/EntityID" }, "protected_from_tile_building": { "$ref": "#/definitions/bool" }, "heating_energy": { "$ref": "#/definitions/Energy" }, "allow_copy_paste": { "$ref": "#/definitions/bool" }, "selectable_in_game": { "$ref": "#/definitions/bool" }, "placeable_by": { "anyOf": [ { "$ref": "#/definitions/ItemToPlace" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemToPlace" } }, { "type": "object", "additionalProperties": false } ] } ] }, "remains_when_mined": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "additional_pastable_entities": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] }, "tile_width": { "$ref": "#/definitions/int32" }, "tile_height": { "$ref": "#/definitions/int32" }, "diagonal_tile_grid_size": { "$ref": "#/definitions/TilePosition" }, "autoplace": { "$ref": "#/definitions/AutoplaceSpecification" }, "map_color": { "$ref": "#/definitions/Color" }, "friendly_map_color": { "$ref": "#/definitions/Color" }, "enemy_map_color": { "$ref": "#/definitions/Color" }, "water_reflection": { "$ref": "#/definitions/WaterReflectionDefinition" }, "ambient_sounds_group": { "$ref": "#/definitions/EntityID" }, "ambient_sounds": { "anyOf": [ { "$ref": "#/definitions/WorldAmbientSoundDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/WorldAmbientSoundDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "icon_draw_specification": { "$ref": "#/definitions/IconDrawSpecification" }, "icons_positioning": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconSequencePositioning" } }, { "type": "object", "additionalProperties": false } ] }, "max_health": { "$ref": "#/definitions/float" }, "healing_per_tick": { "$ref": "#/definitions/float" }, "repair_speed_modifier": { "$ref": "#/definitions/float" }, "dying_explosion": { "anyOf": [ { "$ref": "#/definitions/ExplosionDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ExplosionDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "dying_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "damaged_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "loot": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/LootItem" } }, { "type": "object", "additionalProperties": false } ] }, "resistances": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Resistance" } }, { "type": "object", "additionalProperties": false } ] }, "attack_reaction": { "anyOf": [ { "$ref": "#/definitions/AttackReactionItem" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/AttackReactionItem" } }, { "type": "object", "additionalProperties": false } ] } ] }, "repair_sound": { "$ref": "#/definitions/Sound" }, "alert_when_damaged": { "$ref": "#/definitions/bool" }, "hide_resistances": { "$ref": "#/definitions/bool" }, "create_ghost_on_death": { "$ref": "#/definitions/bool" }, "random_corpse_variation": { "$ref": "#/definitions/bool" }, "integration_patch_render_layer": { "$ref": "#/definitions/RenderLayer" }, "corpse": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "integration_patch": { "$ref": "#/definitions/Sprite4Way" }, "overkill_fraction": { "$ref": "#/definitions/float" }, "is_military_target": { "$ref": "#/definitions/bool" }, "allow_run_time_change_of_is_military_target": { "$ref": "#/definitions/bool" }, "quality_indicator_scale": { "$ref": "#/definitions/double" }, "walking_sound": { "$ref": "#/definitions/Sound" }, "pictures": { "$ref": "#/definitions/RailPictureSet" }, "fence_pictures": { "$ref": "#/definitions/RailFenceGraphicsSet" }, "extra_planner_penalty": { "$ref": "#/definitions/double" }, "extra_planner_goal_penalty": { "$ref": "#/definitions/double" }, "forced_fence_segment_count": { "$ref": "#/definitions/uint8" }, "ending_shifts": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Vector" } }, { "type": "object", "additionalProperties": false } ] }, "deconstruction_marker_positions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Vector" } }, { "type": "object", "additionalProperties": false } ] }, "removes_soft_decoratives": { "$ref": "#/definitions/bool" } }, "required": [ "type", "name", "pictures" ] }, "ElevatedHalfDiagonalRailPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/ElevatedHalfDiagonalRailPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "elevated-half-diagonal-rail" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "collision_box": { "$ref": "#/definitions/BoundingBox" }, "collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "map_generator_bounding_box": { "$ref": "#/definitions/BoundingBox" }, "selection_box": { "$ref": "#/definitions/BoundingBox" }, "drawing_box_vertical_extension": { "$ref": "#/definitions/double" }, "sticker_box": { "$ref": "#/definitions/BoundingBox" }, "hit_visualization_box": { "$ref": "#/definitions/BoundingBox" }, "trigger_target_mask": { "$ref": "#/definitions/TriggerTargetMask" }, "flags": { "$ref": "#/definitions/EntityPrototypeFlags" }, "tile_buildability_rules": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileBuildabilityRule" } }, { "type": "object", "additionalProperties": false } ] }, "minable": { "$ref": "#/definitions/MinableProperties" }, "surface_conditions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SurfaceCondition" } }, { "type": "object", "additionalProperties": false } ] }, "deconstruction_alternative": { "$ref": "#/definitions/EntityID" }, "selection_priority": { "$ref": "#/definitions/uint8" }, "build_grid_size": { "type": "integer", "const": 2 }, "remove_decoratives": { "anyOf": [ { "type": "string", "const": "automatic" }, { "type": "string", "const": "true" }, { "type": "string", "const": "false" } ] }, "emissions_per_second": { "type": "object", "additionalProperties": { "$ref": "#/definitions/double" }, "propertyNames": { "$ref": "#/definitions/AirbornePollutantID" } }, "shooting_cursor_size": { "$ref": "#/definitions/double" }, "created_smoke": { "$ref": "#/definitions/CreateTrivialSmokeEffectItem" }, "working_sound": { "$ref": "#/definitions/WorkingSound" }, "created_effect": { "$ref": "#/definitions/Trigger" }, "build_sound": { "$ref": "#/definitions/Sound" }, "mined_sound": { "$ref": "#/definitions/Sound" }, "mining_sound": { "$ref": "#/definitions/Sound" }, "rotated_sound": { "$ref": "#/definitions/Sound" }, "impact_category": { "$ref": "#/definitions/string" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "placeable_position_visualization": { "$ref": "#/definitions/Sprite" }, "radius_visualisation_specification": { "$ref": "#/definitions/RadiusVisualisationSpecification" }, "stateless_visualisation": { "$ref": "#/definitions/StatelessVisualisations" }, "build_base_evolution_requirement": { "$ref": "#/definitions/double" }, "alert_icon_shift": { "$ref": "#/definitions/Vector" }, "alert_icon_scale": { "$ref": "#/definitions/float" }, "fast_replaceable_group": { "$ref": "#/definitions/string" }, "next_upgrade": { "$ref": "#/definitions/EntityID" }, "protected_from_tile_building": { "$ref": "#/definitions/bool" }, "heating_energy": { "$ref": "#/definitions/Energy" }, "allow_copy_paste": { "$ref": "#/definitions/bool" }, "selectable_in_game": { "$ref": "#/definitions/bool" }, "placeable_by": { "anyOf": [ { "$ref": "#/definitions/ItemToPlace" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemToPlace" } }, { "type": "object", "additionalProperties": false } ] } ] }, "remains_when_mined": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "additional_pastable_entities": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] }, "tile_width": { "$ref": "#/definitions/int32" }, "tile_height": { "$ref": "#/definitions/int32" }, "diagonal_tile_grid_size": { "$ref": "#/definitions/TilePosition" }, "autoplace": { "$ref": "#/definitions/AutoplaceSpecification" }, "map_color": { "$ref": "#/definitions/Color" }, "friendly_map_color": { "$ref": "#/definitions/Color" }, "enemy_map_color": { "$ref": "#/definitions/Color" }, "water_reflection": { "$ref": "#/definitions/WaterReflectionDefinition" }, "ambient_sounds_group": { "$ref": "#/definitions/EntityID" }, "ambient_sounds": { "anyOf": [ { "$ref": "#/definitions/WorldAmbientSoundDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/WorldAmbientSoundDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "icon_draw_specification": { "$ref": "#/definitions/IconDrawSpecification" }, "icons_positioning": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconSequencePositioning" } }, { "type": "object", "additionalProperties": false } ] }, "max_health": { "$ref": "#/definitions/float" }, "healing_per_tick": { "$ref": "#/definitions/float" }, "repair_speed_modifier": { "$ref": "#/definitions/float" }, "dying_explosion": { "anyOf": [ { "$ref": "#/definitions/ExplosionDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ExplosionDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "dying_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "damaged_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "loot": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/LootItem" } }, { "type": "object", "additionalProperties": false } ] }, "resistances": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Resistance" } }, { "type": "object", "additionalProperties": false } ] }, "attack_reaction": { "anyOf": [ { "$ref": "#/definitions/AttackReactionItem" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/AttackReactionItem" } }, { "type": "object", "additionalProperties": false } ] } ] }, "repair_sound": { "$ref": "#/definitions/Sound" }, "alert_when_damaged": { "$ref": "#/definitions/bool" }, "hide_resistances": { "$ref": "#/definitions/bool" }, "create_ghost_on_death": { "$ref": "#/definitions/bool" }, "random_corpse_variation": { "$ref": "#/definitions/bool" }, "integration_patch_render_layer": { "$ref": "#/definitions/RenderLayer" }, "corpse": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "integration_patch": { "$ref": "#/definitions/Sprite4Way" }, "overkill_fraction": { "$ref": "#/definitions/float" }, "is_military_target": { "$ref": "#/definitions/bool" }, "allow_run_time_change_of_is_military_target": { "$ref": "#/definitions/bool" }, "quality_indicator_scale": { "$ref": "#/definitions/double" }, "walking_sound": { "$ref": "#/definitions/Sound" }, "pictures": { "$ref": "#/definitions/RailPictureSet" }, "fence_pictures": { "$ref": "#/definitions/RailFenceGraphicsSet" }, "extra_planner_penalty": { "$ref": "#/definitions/double" }, "extra_planner_goal_penalty": { "$ref": "#/definitions/double" }, "forced_fence_segment_count": { "$ref": "#/definitions/uint8" }, "ending_shifts": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Vector" } }, { "type": "object", "additionalProperties": false } ] }, "deconstruction_marker_positions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Vector" } }, { "type": "object", "additionalProperties": false } ] }, "removes_soft_decoratives": { "$ref": "#/definitions/bool" } }, "required": [ "type", "name", "pictures" ] }, "ElevatedStraightRailPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/ElevatedStraightRailPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "elevated-straight-rail" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "collision_box": { "$ref": "#/definitions/BoundingBox" }, "collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "map_generator_bounding_box": { "$ref": "#/definitions/BoundingBox" }, "selection_box": { "$ref": "#/definitions/BoundingBox" }, "drawing_box_vertical_extension": { "$ref": "#/definitions/double" }, "sticker_box": { "$ref": "#/definitions/BoundingBox" }, "hit_visualization_box": { "$ref": "#/definitions/BoundingBox" }, "trigger_target_mask": { "$ref": "#/definitions/TriggerTargetMask" }, "flags": { "$ref": "#/definitions/EntityPrototypeFlags" }, "tile_buildability_rules": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileBuildabilityRule" } }, { "type": "object", "additionalProperties": false } ] }, "minable": { "$ref": "#/definitions/MinableProperties" }, "surface_conditions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SurfaceCondition" } }, { "type": "object", "additionalProperties": false } ] }, "deconstruction_alternative": { "$ref": "#/definitions/EntityID" }, "selection_priority": { "$ref": "#/definitions/uint8" }, "build_grid_size": { "type": "integer", "const": 2 }, "remove_decoratives": { "anyOf": [ { "type": "string", "const": "automatic" }, { "type": "string", "const": "true" }, { "type": "string", "const": "false" } ] }, "emissions_per_second": { "type": "object", "additionalProperties": { "$ref": "#/definitions/double" }, "propertyNames": { "$ref": "#/definitions/AirbornePollutantID" } }, "shooting_cursor_size": { "$ref": "#/definitions/double" }, "created_smoke": { "$ref": "#/definitions/CreateTrivialSmokeEffectItem" }, "working_sound": { "$ref": "#/definitions/WorkingSound" }, "created_effect": { "$ref": "#/definitions/Trigger" }, "build_sound": { "$ref": "#/definitions/Sound" }, "mined_sound": { "$ref": "#/definitions/Sound" }, "mining_sound": { "$ref": "#/definitions/Sound" }, "rotated_sound": { "$ref": "#/definitions/Sound" }, "impact_category": { "$ref": "#/definitions/string" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "placeable_position_visualization": { "$ref": "#/definitions/Sprite" }, "radius_visualisation_specification": { "$ref": "#/definitions/RadiusVisualisationSpecification" }, "stateless_visualisation": { "$ref": "#/definitions/StatelessVisualisations" }, "build_base_evolution_requirement": { "$ref": "#/definitions/double" }, "alert_icon_shift": { "$ref": "#/definitions/Vector" }, "alert_icon_scale": { "$ref": "#/definitions/float" }, "fast_replaceable_group": { "$ref": "#/definitions/string" }, "next_upgrade": { "$ref": "#/definitions/EntityID" }, "protected_from_tile_building": { "$ref": "#/definitions/bool" }, "heating_energy": { "$ref": "#/definitions/Energy" }, "allow_copy_paste": { "$ref": "#/definitions/bool" }, "selectable_in_game": { "$ref": "#/definitions/bool" }, "placeable_by": { "anyOf": [ { "$ref": "#/definitions/ItemToPlace" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemToPlace" } }, { "type": "object", "additionalProperties": false } ] } ] }, "remains_when_mined": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "additional_pastable_entities": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] }, "tile_width": { "$ref": "#/definitions/int32" }, "tile_height": { "$ref": "#/definitions/int32" }, "diagonal_tile_grid_size": { "$ref": "#/definitions/TilePosition" }, "autoplace": { "$ref": "#/definitions/AutoplaceSpecification" }, "map_color": { "$ref": "#/definitions/Color" }, "friendly_map_color": { "$ref": "#/definitions/Color" }, "enemy_map_color": { "$ref": "#/definitions/Color" }, "water_reflection": { "$ref": "#/definitions/WaterReflectionDefinition" }, "ambient_sounds_group": { "$ref": "#/definitions/EntityID" }, "ambient_sounds": { "anyOf": [ { "$ref": "#/definitions/WorldAmbientSoundDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/WorldAmbientSoundDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "icon_draw_specification": { "$ref": "#/definitions/IconDrawSpecification" }, "icons_positioning": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconSequencePositioning" } }, { "type": "object", "additionalProperties": false } ] }, "max_health": { "$ref": "#/definitions/float" }, "healing_per_tick": { "$ref": "#/definitions/float" }, "repair_speed_modifier": { "$ref": "#/definitions/float" }, "dying_explosion": { "anyOf": [ { "$ref": "#/definitions/ExplosionDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ExplosionDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "dying_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "damaged_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "loot": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/LootItem" } }, { "type": "object", "additionalProperties": false } ] }, "resistances": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Resistance" } }, { "type": "object", "additionalProperties": false } ] }, "attack_reaction": { "anyOf": [ { "$ref": "#/definitions/AttackReactionItem" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/AttackReactionItem" } }, { "type": "object", "additionalProperties": false } ] } ] }, "repair_sound": { "$ref": "#/definitions/Sound" }, "alert_when_damaged": { "$ref": "#/definitions/bool" }, "hide_resistances": { "$ref": "#/definitions/bool" }, "create_ghost_on_death": { "$ref": "#/definitions/bool" }, "random_corpse_variation": { "$ref": "#/definitions/bool" }, "integration_patch_render_layer": { "$ref": "#/definitions/RenderLayer" }, "corpse": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "integration_patch": { "$ref": "#/definitions/Sprite4Way" }, "overkill_fraction": { "$ref": "#/definitions/float" }, "is_military_target": { "$ref": "#/definitions/bool" }, "allow_run_time_change_of_is_military_target": { "$ref": "#/definitions/bool" }, "quality_indicator_scale": { "$ref": "#/definitions/double" }, "walking_sound": { "$ref": "#/definitions/Sound" }, "pictures": { "$ref": "#/definitions/RailPictureSet" }, "fence_pictures": { "$ref": "#/definitions/RailFenceGraphicsSet" }, "extra_planner_penalty": { "$ref": "#/definitions/double" }, "extra_planner_goal_penalty": { "$ref": "#/definitions/double" }, "forced_fence_segment_count": { "$ref": "#/definitions/uint8" }, "ending_shifts": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Vector" } }, { "type": "object", "additionalProperties": false } ] }, "deconstruction_marker_positions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Vector" } }, { "type": "object", "additionalProperties": false } ] }, "removes_soft_decoratives": { "$ref": "#/definitions/bool" } }, "required": [ "type", "name", "pictures" ] }, "EnemySpawnerPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/EnemySpawnerPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "unit-spawner" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "collision_box": { "$ref": "#/definitions/BoundingBox" }, "collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "map_generator_bounding_box": { "$ref": "#/definitions/BoundingBox" }, "selection_box": { "$ref": "#/definitions/BoundingBox" }, "drawing_box_vertical_extension": { "$ref": "#/definitions/double" }, "sticker_box": { "$ref": "#/definitions/BoundingBox" }, "hit_visualization_box": { "$ref": "#/definitions/BoundingBox" }, "trigger_target_mask": { "$ref": "#/definitions/TriggerTargetMask" }, "flags": { "$ref": "#/definitions/EntityPrototypeFlags" }, "tile_buildability_rules": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileBuildabilityRule" } }, { "type": "object", "additionalProperties": false } ] }, "minable": { "$ref": "#/definitions/MinableProperties" }, "surface_conditions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SurfaceCondition" } }, { "type": "object", "additionalProperties": false } ] }, "deconstruction_alternative": { "$ref": "#/definitions/EntityID" }, "selection_priority": { "$ref": "#/definitions/uint8" }, "build_grid_size": { "$ref": "#/definitions/uint8" }, "remove_decoratives": { "anyOf": [ { "type": "string", "const": "automatic" }, { "type": "string", "const": "true" }, { "type": "string", "const": "false" } ] }, "emissions_per_second": { "type": "object", "additionalProperties": { "$ref": "#/definitions/double" }, "propertyNames": { "$ref": "#/definitions/AirbornePollutantID" } }, "shooting_cursor_size": { "$ref": "#/definitions/double" }, "created_smoke": { "$ref": "#/definitions/CreateTrivialSmokeEffectItem" }, "working_sound": { "$ref": "#/definitions/WorkingSound" }, "created_effect": { "$ref": "#/definitions/Trigger" }, "build_sound": { "$ref": "#/definitions/Sound" }, "mined_sound": { "$ref": "#/definitions/Sound" }, "mining_sound": { "$ref": "#/definitions/Sound" }, "rotated_sound": { "$ref": "#/definitions/Sound" }, "impact_category": { "$ref": "#/definitions/string" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "placeable_position_visualization": { "$ref": "#/definitions/Sprite" }, "radius_visualisation_specification": { "$ref": "#/definitions/RadiusVisualisationSpecification" }, "stateless_visualisation": { "$ref": "#/definitions/StatelessVisualisations" }, "build_base_evolution_requirement": { "$ref": "#/definitions/double" }, "alert_icon_shift": { "$ref": "#/definitions/Vector" }, "alert_icon_scale": { "$ref": "#/definitions/float" }, "fast_replaceable_group": { "$ref": "#/definitions/string" }, "next_upgrade": { "$ref": "#/definitions/EntityID" }, "protected_from_tile_building": { "$ref": "#/definitions/bool" }, "heating_energy": { "$ref": "#/definitions/Energy" }, "allow_copy_paste": { "$ref": "#/definitions/bool" }, "selectable_in_game": { "$ref": "#/definitions/bool" }, "placeable_by": { "anyOf": [ { "$ref": "#/definitions/ItemToPlace" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemToPlace" } }, { "type": "object", "additionalProperties": false } ] } ] }, "remains_when_mined": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "additional_pastable_entities": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] }, "tile_width": { "$ref": "#/definitions/int32" }, "tile_height": { "$ref": "#/definitions/int32" }, "diagonal_tile_grid_size": { "$ref": "#/definitions/TilePosition" }, "autoplace": { "$ref": "#/definitions/AutoplaceSpecification" }, "map_color": { "$ref": "#/definitions/Color" }, "friendly_map_color": { "$ref": "#/definitions/Color" }, "enemy_map_color": { "$ref": "#/definitions/Color" }, "water_reflection": { "$ref": "#/definitions/WaterReflectionDefinition" }, "ambient_sounds_group": { "$ref": "#/definitions/EntityID" }, "ambient_sounds": { "anyOf": [ { "$ref": "#/definitions/WorldAmbientSoundDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/WorldAmbientSoundDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "icon_draw_specification": { "$ref": "#/definitions/IconDrawSpecification" }, "icons_positioning": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconSequencePositioning" } }, { "type": "object", "additionalProperties": false } ] }, "max_health": { "$ref": "#/definitions/float" }, "healing_per_tick": { "$ref": "#/definitions/float" }, "repair_speed_modifier": { "$ref": "#/definitions/float" }, "dying_explosion": { "anyOf": [ { "$ref": "#/definitions/ExplosionDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ExplosionDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "dying_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "damaged_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "loot": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/LootItem" } }, { "type": "object", "additionalProperties": false } ] }, "resistances": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Resistance" } }, { "type": "object", "additionalProperties": false } ] }, "attack_reaction": { "anyOf": [ { "$ref": "#/definitions/AttackReactionItem" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/AttackReactionItem" } }, { "type": "object", "additionalProperties": false } ] } ] }, "repair_sound": { "$ref": "#/definitions/Sound" }, "alert_when_damaged": { "$ref": "#/definitions/bool" }, "hide_resistances": { "$ref": "#/definitions/bool" }, "create_ghost_on_death": { "$ref": "#/definitions/bool" }, "random_corpse_variation": { "$ref": "#/definitions/bool" }, "integration_patch_render_layer": { "$ref": "#/definitions/RenderLayer" }, "corpse": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "integration_patch": { "$ref": "#/definitions/Sprite4Way" }, "overkill_fraction": { "$ref": "#/definitions/float" }, "is_military_target": { "type": "boolean", "const": true }, "allow_run_time_change_of_is_military_target": { "type": "boolean", "const": false }, "quality_indicator_scale": { "$ref": "#/definitions/double" }, "graphics_set": { "$ref": "#/definitions/EnemySpawnerGraphicsSet" }, "max_count_of_owned_units": { "$ref": "#/definitions/uint32" }, "max_count_of_owned_defensive_units": { "$ref": "#/definitions/uint32" }, "max_friends_around_to_spawn": { "$ref": "#/definitions/uint32" }, "max_defensive_friends_around_to_spawn": { "$ref": "#/definitions/uint32" }, "spawning_cooldown": { "type": "array", "items": [ { "$ref": "#/definitions/double" }, { "$ref": "#/definitions/double" } ], "minItems": 2, "maxItems": 2 }, "spawning_radius": { "$ref": "#/definitions/double" }, "spawning_spacing": { "$ref": "#/definitions/double" }, "max_richness_for_spawn_shift": { "$ref": "#/definitions/double" }, "max_spawn_shift": { "$ref": "#/definitions/double" }, "call_for_help_radius": { "$ref": "#/definitions/double" }, "time_to_capture": { "$ref": "#/definitions/uint32" }, "result_units": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/UnitSpawnDefinition" } }, { "type": "object", "additionalProperties": false } ] }, "dying_sound": { "$ref": "#/definitions/Sound" }, "absorptions_per_second": { "type": "object", "additionalProperties": { "$ref": "#/definitions/EnemySpawnerAbsorption" }, "propertyNames": { "$ref": "#/definitions/AirbornePollutantID" } }, "min_darkness_to_spawn": { "$ref": "#/definitions/float" }, "max_darkness_to_spawn": { "$ref": "#/definitions/float" }, "spawn_decorations_on_expansion": { "$ref": "#/definitions/bool" }, "spawn_decoration": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/CreateDecorativesTriggerEffectItem" } }, { "type": "object", "additionalProperties": false } ] }, "captured_spawner_entity": { "$ref": "#/definitions/EntityID" } }, "required": [ "type", "name", "graphics_set", "max_count_of_owned_units", "max_friends_around_to_spawn", "spawning_cooldown", "spawning_radius", "spawning_spacing", "max_richness_for_spawn_shift", "max_spawn_shift", "call_for_help_radius", "result_units" ] }, "EnergyShieldEquipmentPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/EnergyShieldEquipmentPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "energy-shield-equipment" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "sprite": { "$ref": "#/definitions/Sprite" }, "shape": { "$ref": "#/definitions/EquipmentShape" }, "categories": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EquipmentCategoryID" } }, { "type": "object", "additionalProperties": false } ] }, "energy_source": { "$ref": "#/definitions/ElectricEnergySource" }, "take_result": { "$ref": "#/definitions/ItemID" }, "background_color": { "$ref": "#/definitions/Color" }, "background_border_color": { "$ref": "#/definitions/Color" }, "grabbed_background_color": { "$ref": "#/definitions/Color" }, "max_shield_value": { "$ref": "#/definitions/float" }, "energy_per_shield": { "$ref": "#/definitions/Energy" } }, "required": [ "type", "name", "sprite", "shape", "categories", "energy_source", "max_shield_value", "energy_per_shield" ] }, "EntityGhostPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/EntityGhostPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "entity-ghost" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "collision_box": { "$ref": "#/definitions/BoundingBox" }, "collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "map_generator_bounding_box": { "$ref": "#/definitions/BoundingBox" }, "selection_box": { "$ref": "#/definitions/BoundingBox" }, "drawing_box_vertical_extension": { "$ref": "#/definitions/double" }, "sticker_box": { "$ref": "#/definitions/BoundingBox" }, "hit_visualization_box": { "$ref": "#/definitions/BoundingBox" }, "trigger_target_mask": { "$ref": "#/definitions/TriggerTargetMask" }, "flags": { "$ref": "#/definitions/EntityPrototypeFlags" }, "tile_buildability_rules": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileBuildabilityRule" } }, { "type": "object", "additionalProperties": false } ] }, "minable": { "$ref": "#/definitions/MinableProperties" }, "surface_conditions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SurfaceCondition" } }, { "type": "object", "additionalProperties": false } ] }, "deconstruction_alternative": { "$ref": "#/definitions/EntityID" }, "selection_priority": { "$ref": "#/definitions/uint8" }, "build_grid_size": { "$ref": "#/definitions/uint8" }, "remove_decoratives": { "anyOf": [ { "type": "string", "const": "automatic" }, { "type": "string", "const": "true" }, { "type": "string", "const": "false" } ] }, "emissions_per_second": { "type": "object", "additionalProperties": { "$ref": "#/definitions/double" }, "propertyNames": { "$ref": "#/definitions/AirbornePollutantID" } }, "shooting_cursor_size": { "$ref": "#/definitions/double" }, "created_smoke": { "$ref": "#/definitions/CreateTrivialSmokeEffectItem" }, "working_sound": { "$ref": "#/definitions/WorkingSound" }, "created_effect": { "$ref": "#/definitions/Trigger" }, "build_sound": { "$ref": "#/definitions/Sound" }, "mined_sound": { "$ref": "#/definitions/Sound" }, "mining_sound": { "$ref": "#/definitions/Sound" }, "rotated_sound": { "$ref": "#/definitions/Sound" }, "impact_category": { "$ref": "#/definitions/string" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "placeable_position_visualization": { "$ref": "#/definitions/Sprite" }, "radius_visualisation_specification": { "$ref": "#/definitions/RadiusVisualisationSpecification" }, "stateless_visualisation": { "$ref": "#/definitions/StatelessVisualisations" }, "build_base_evolution_requirement": { "$ref": "#/definitions/double" }, "alert_icon_shift": { "$ref": "#/definitions/Vector" }, "alert_icon_scale": { "$ref": "#/definitions/float" }, "fast_replaceable_group": { "$ref": "#/definitions/string" }, "next_upgrade": { "$ref": "#/definitions/EntityID" }, "protected_from_tile_building": { "$ref": "#/definitions/bool" }, "heating_energy": { "$ref": "#/definitions/Energy" }, "allow_copy_paste": { "$ref": "#/definitions/bool" }, "selectable_in_game": { "$ref": "#/definitions/bool" }, "placeable_by": { "anyOf": [ { "$ref": "#/definitions/ItemToPlace" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemToPlace" } }, { "type": "object", "additionalProperties": false } ] } ] }, "remains_when_mined": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "additional_pastable_entities": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] }, "tile_width": { "$ref": "#/definitions/int32" }, "tile_height": { "$ref": "#/definitions/int32" }, "diagonal_tile_grid_size": { "$ref": "#/definitions/TilePosition" }, "autoplace": { "$ref": "#/definitions/AutoplaceSpecification" }, "map_color": { "$ref": "#/definitions/Color" }, "friendly_map_color": { "$ref": "#/definitions/Color" }, "enemy_map_color": { "$ref": "#/definitions/Color" }, "water_reflection": { "$ref": "#/definitions/WaterReflectionDefinition" }, "ambient_sounds_group": { "$ref": "#/definitions/EntityID" }, "ambient_sounds": { "anyOf": [ { "$ref": "#/definitions/WorldAmbientSoundDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/WorldAmbientSoundDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "icon_draw_specification": { "$ref": "#/definitions/IconDrawSpecification" }, "icons_positioning": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconSequencePositioning" } }, { "type": "object", "additionalProperties": false } ] }, "medium_build_sound": { "$ref": "#/definitions/Sound" }, "large_build_sound": { "$ref": "#/definitions/Sound" }, "huge_build_sound": { "$ref": "#/definitions/Sound" }, "small_build_animated_sound": { "$ref": "#/definitions/Sound" }, "medium_build_animated_sound": { "$ref": "#/definitions/Sound" }, "large_build_animated_sound": { "$ref": "#/definitions/Sound" }, "huge_build_animated_sound": { "$ref": "#/definitions/Sound" } }, "required": [ "type", "name" ] }, "EquipArmorAchievementPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/EquipArmorAchievementPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "equip-armor-achievement" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "steam_stats_name": { "$ref": "#/definitions/string" }, "allowed_without_fight": { "$ref": "#/definitions/bool" }, "armor": { "$ref": "#/definitions/ItemID" }, "alternative_armor": { "$ref": "#/definitions/ItemID" }, "limit_quality": { "$ref": "#/definitions/QualityID" }, "amount": { "$ref": "#/definitions/uint32" }, "limited_to_one_game": { "$ref": "#/definitions/bool" } }, "required": [ "type", "name", "armor", "alternative_armor", "limit_quality" ] }, "EquipmentCategory": { "description": "https://lua-api.factorio.com/stable/prototypes/EquipmentCategory.html", "type": "object", "properties": { "type": { "type": "string", "const": "equipment-category" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" } }, "required": [ "type", "name" ] }, "EquipmentGhostPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/EquipmentGhostPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "equipment-ghost" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "sprite": { "$ref": "#/definitions/Sprite" }, "shape": { "$ref": "#/definitions/EquipmentShape" }, "categories": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EquipmentCategoryID" } }, { "type": "object", "additionalProperties": false } ] }, "energy_source": { "$ref": "#/definitions/ElectricEnergySource" }, "take_result": { "$ref": "#/definitions/ItemID" }, "background_color": { "$ref": "#/definitions/Color" }, "background_border_color": { "$ref": "#/definitions/Color" }, "grabbed_background_color": { "$ref": "#/definitions/Color" } }, "required": [ "type", "name", "sprite" ] }, "EquipmentGridPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/EquipmentGridPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "equipment-grid" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "equipment_categories": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EquipmentCategoryID" } }, { "type": "object", "additionalProperties": false } ] }, "width": { "$ref": "#/definitions/uint32" }, "height": { "$ref": "#/definitions/uint32" }, "locked": { "$ref": "#/definitions/bool" } }, "required": [ "type", "name", "equipment_categories", "width", "height" ] }, "ExplosionPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/ExplosionPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "explosion" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "collision_box": { "$ref": "#/definitions/BoundingBox" }, "collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "map_generator_bounding_box": { "$ref": "#/definitions/BoundingBox" }, "selection_box": { "$ref": "#/definitions/BoundingBox" }, "drawing_box_vertical_extension": { "$ref": "#/definitions/double" }, "sticker_box": { "$ref": "#/definitions/BoundingBox" }, "hit_visualization_box": { "$ref": "#/definitions/BoundingBox" }, "trigger_target_mask": { "$ref": "#/definitions/TriggerTargetMask" }, "flags": { "$ref": "#/definitions/EntityPrototypeFlags" }, "tile_buildability_rules": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileBuildabilityRule" } }, { "type": "object", "additionalProperties": false } ] }, "minable": { "$ref": "#/definitions/MinableProperties" }, "surface_conditions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SurfaceCondition" } }, { "type": "object", "additionalProperties": false } ] }, "deconstruction_alternative": { "$ref": "#/definitions/EntityID" }, "selection_priority": { "$ref": "#/definitions/uint8" }, "build_grid_size": { "$ref": "#/definitions/uint8" }, "remove_decoratives": { "anyOf": [ { "type": "string", "const": "automatic" }, { "type": "string", "const": "true" }, { "type": "string", "const": "false" } ] }, "emissions_per_second": { "type": "object", "additionalProperties": { "$ref": "#/definitions/double" }, "propertyNames": { "$ref": "#/definitions/AirbornePollutantID" } }, "shooting_cursor_size": { "$ref": "#/definitions/double" }, "created_smoke": { "$ref": "#/definitions/CreateTrivialSmokeEffectItem" }, "working_sound": { "$ref": "#/definitions/WorkingSound" }, "created_effect": { "$ref": "#/definitions/Trigger" }, "build_sound": { "$ref": "#/definitions/Sound" }, "mined_sound": { "$ref": "#/definitions/Sound" }, "mining_sound": { "$ref": "#/definitions/Sound" }, "rotated_sound": { "$ref": "#/definitions/Sound" }, "impact_category": { "$ref": "#/definitions/string" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "placeable_position_visualization": { "$ref": "#/definitions/Sprite" }, "radius_visualisation_specification": { "$ref": "#/definitions/RadiusVisualisationSpecification" }, "stateless_visualisation": { "$ref": "#/definitions/StatelessVisualisations" }, "build_base_evolution_requirement": { "$ref": "#/definitions/double" }, "alert_icon_shift": { "$ref": "#/definitions/Vector" }, "alert_icon_scale": { "$ref": "#/definitions/float" }, "fast_replaceable_group": { "$ref": "#/definitions/string" }, "next_upgrade": { "$ref": "#/definitions/EntityID" }, "protected_from_tile_building": { "$ref": "#/definitions/bool" }, "heating_energy": { "$ref": "#/definitions/Energy" }, "allow_copy_paste": { "$ref": "#/definitions/bool" }, "selectable_in_game": { "$ref": "#/definitions/bool" }, "placeable_by": { "anyOf": [ { "$ref": "#/definitions/ItemToPlace" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemToPlace" } }, { "type": "object", "additionalProperties": false } ] } ] }, "remains_when_mined": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "additional_pastable_entities": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] }, "tile_width": { "$ref": "#/definitions/int32" }, "tile_height": { "$ref": "#/definitions/int32" }, "diagonal_tile_grid_size": { "$ref": "#/definitions/TilePosition" }, "autoplace": { "$ref": "#/definitions/AutoplaceSpecification" }, "map_color": { "$ref": "#/definitions/Color" }, "friendly_map_color": { "$ref": "#/definitions/Color" }, "enemy_map_color": { "$ref": "#/definitions/Color" }, "water_reflection": { "$ref": "#/definitions/WaterReflectionDefinition" }, "ambient_sounds_group": { "$ref": "#/definitions/EntityID" }, "ambient_sounds": { "anyOf": [ { "$ref": "#/definitions/WorldAmbientSoundDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/WorldAmbientSoundDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "icon_draw_specification": { "$ref": "#/definitions/IconDrawSpecification" }, "icons_positioning": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconSequencePositioning" } }, { "type": "object", "additionalProperties": false } ] }, "animations": { "$ref": "#/definitions/AnimationVariations" }, "sound": { "$ref": "#/definitions/Sound" }, "smoke": { "$ref": "#/definitions/TrivialSmokeID" }, "height": { "$ref": "#/definitions/float" }, "smoke_slow_down_factor": { "$ref": "#/definitions/float" }, "smoke_count": { "$ref": "#/definitions/uint16" }, "rotate": { "$ref": "#/definitions/bool" }, "beam": { "$ref": "#/definitions/bool" }, "correct_rotation": { "$ref": "#/definitions/bool" }, "scale_animation_speed": { "$ref": "#/definitions/bool" }, "fade_in_duration": { "$ref": "#/definitions/uint8" }, "fade_out_duration": { "$ref": "#/definitions/uint8" }, "render_layer": { "$ref": "#/definitions/RenderLayer" }, "scale_in_duration": { "$ref": "#/definitions/uint8" }, "scale_out_duration": { "$ref": "#/definitions/uint8" }, "scale_end": { "$ref": "#/definitions/float" }, "scale_increment_per_tick": { "$ref": "#/definitions/float" }, "light_intensity_factor_initial": { "$ref": "#/definitions/float" }, "light_intensity_factor_final": { "$ref": "#/definitions/float" }, "light_size_factor_initial": { "$ref": "#/definitions/float" }, "light_size_factor_final": { "$ref": "#/definitions/float" }, "light": { "$ref": "#/definitions/LightDefinition" }, "light_intensity_peak_start_progress": { "$ref": "#/definitions/float" }, "light_intensity_peak_end_progress": { "$ref": "#/definitions/float" }, "light_size_peak_start_progress": { "$ref": "#/definitions/float" }, "light_size_peak_end_progress": { "$ref": "#/definitions/float" }, "scale_initial": { "$ref": "#/definitions/float" }, "scale_initial_deviation": { "$ref": "#/definitions/float" }, "scale": { "$ref": "#/definitions/float" }, "scale_deviation": { "$ref": "#/definitions/float" } }, "required": [ "type", "name", "animations" ] }, "FireFlamePrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/FireFlamePrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "fire" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "collision_box": { "$ref": "#/definitions/BoundingBox" }, "collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "map_generator_bounding_box": { "$ref": "#/definitions/BoundingBox" }, "selection_box": { "$ref": "#/definitions/BoundingBox" }, "drawing_box_vertical_extension": { "$ref": "#/definitions/double" }, "sticker_box": { "$ref": "#/definitions/BoundingBox" }, "hit_visualization_box": { "$ref": "#/definitions/BoundingBox" }, "trigger_target_mask": { "$ref": "#/definitions/TriggerTargetMask" }, "flags": { "$ref": "#/definitions/EntityPrototypeFlags" }, "tile_buildability_rules": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileBuildabilityRule" } }, { "type": "object", "additionalProperties": false } ] }, "minable": { "$ref": "#/definitions/MinableProperties" }, "surface_conditions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SurfaceCondition" } }, { "type": "object", "additionalProperties": false } ] }, "deconstruction_alternative": { "$ref": "#/definitions/EntityID" }, "selection_priority": { "$ref": "#/definitions/uint8" }, "build_grid_size": { "$ref": "#/definitions/uint8" }, "remove_decoratives": { "anyOf": [ { "type": "string", "const": "automatic" }, { "type": "string", "const": "true" }, { "type": "string", "const": "false" } ] }, "emissions_per_second": { "type": "object", "additionalProperties": { "$ref": "#/definitions/double" }, "propertyNames": { "$ref": "#/definitions/AirbornePollutantID" } }, "shooting_cursor_size": { "$ref": "#/definitions/double" }, "created_smoke": { "$ref": "#/definitions/CreateTrivialSmokeEffectItem" }, "working_sound": { "$ref": "#/definitions/WorkingSound" }, "created_effect": { "$ref": "#/definitions/Trigger" }, "build_sound": { "$ref": "#/definitions/Sound" }, "mined_sound": { "$ref": "#/definitions/Sound" }, "mining_sound": { "$ref": "#/definitions/Sound" }, "rotated_sound": { "$ref": "#/definitions/Sound" }, "impact_category": { "$ref": "#/definitions/string" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "placeable_position_visualization": { "$ref": "#/definitions/Sprite" }, "radius_visualisation_specification": { "$ref": "#/definitions/RadiusVisualisationSpecification" }, "stateless_visualisation": { "$ref": "#/definitions/StatelessVisualisations" }, "build_base_evolution_requirement": { "$ref": "#/definitions/double" }, "alert_icon_shift": { "$ref": "#/definitions/Vector" }, "alert_icon_scale": { "$ref": "#/definitions/float" }, "fast_replaceable_group": { "$ref": "#/definitions/string" }, "next_upgrade": { "$ref": "#/definitions/EntityID" }, "protected_from_tile_building": { "$ref": "#/definitions/bool" }, "heating_energy": { "$ref": "#/definitions/Energy" }, "allow_copy_paste": { "$ref": "#/definitions/bool" }, "selectable_in_game": { "$ref": "#/definitions/bool" }, "placeable_by": { "anyOf": [ { "$ref": "#/definitions/ItemToPlace" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemToPlace" } }, { "type": "object", "additionalProperties": false } ] } ] }, "remains_when_mined": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "additional_pastable_entities": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] }, "tile_width": { "$ref": "#/definitions/int32" }, "tile_height": { "$ref": "#/definitions/int32" }, "diagonal_tile_grid_size": { "$ref": "#/definitions/TilePosition" }, "autoplace": { "$ref": "#/definitions/AutoplaceSpecification" }, "map_color": { "$ref": "#/definitions/Color" }, "friendly_map_color": { "$ref": "#/definitions/Color" }, "enemy_map_color": { "$ref": "#/definitions/Color" }, "water_reflection": { "$ref": "#/definitions/WaterReflectionDefinition" }, "ambient_sounds_group": { "$ref": "#/definitions/EntityID" }, "ambient_sounds": { "anyOf": [ { "$ref": "#/definitions/WorldAmbientSoundDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/WorldAmbientSoundDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "icon_draw_specification": { "$ref": "#/definitions/IconDrawSpecification" }, "icons_positioning": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconSequencePositioning" } }, { "type": "object", "additionalProperties": false } ] }, "damage_per_tick": { "$ref": "#/definitions/DamageParameters" }, "spread_delay": { "$ref": "#/definitions/uint32" }, "spread_delay_deviation": { "$ref": "#/definitions/uint32" }, "render_layer": { "$ref": "#/definitions/RenderLayer" }, "initial_render_layer": { "$ref": "#/definitions/RenderLayer" }, "secondary_render_layer": { "$ref": "#/definitions/RenderLayer" }, "small_tree_fire_pictures": { "$ref": "#/definitions/AnimationVariations" }, "pictures": { "$ref": "#/definitions/AnimationVariations" }, "smoke_source_pictures": { "$ref": "#/definitions/AnimationVariations" }, "secondary_pictures": { "$ref": "#/definitions/AnimationVariations" }, "burnt_patch_pictures": { "$ref": "#/definitions/SpriteVariations" }, "secondary_picture_fade_out_start": { "$ref": "#/definitions/uint32" }, "secondary_picture_fade_out_duration": { "$ref": "#/definitions/uint32" }, "spawn_entity": { "$ref": "#/definitions/EntityID" }, "smoke": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SmokeSource" } }, { "type": "object", "additionalProperties": false } ] }, "maximum_spread_count": { "$ref": "#/definitions/uint16" }, "initial_flame_count": { "$ref": "#/definitions/uint8" }, "uses_alternative_behavior": { "$ref": "#/definitions/bool" }, "limit_overlapping_particles": { "$ref": "#/definitions/bool" }, "tree_dying_factor": { "$ref": "#/definitions/float" }, "fade_in_duration": { "$ref": "#/definitions/uint32" }, "fade_out_duration": { "$ref": "#/definitions/uint32" }, "initial_lifetime": { "$ref": "#/definitions/uint32" }, "damage_multiplier_decrease_per_tick": { "$ref": "#/definitions/float" }, "damage_multiplier_increase_per_added_fuel": { "$ref": "#/definitions/float" }, "maximum_damage_multiplier": { "$ref": "#/definitions/float" }, "lifetime_increase_by": { "$ref": "#/definitions/uint32" }, "lifetime_increase_cooldown": { "$ref": "#/definitions/uint32" }, "maximum_lifetime": { "$ref": "#/definitions/uint32" }, "add_fuel_cooldown": { "$ref": "#/definitions/uint32" }, "delay_between_initial_flames": { "$ref": "#/definitions/uint32" }, "smoke_fade_in_duration": { "$ref": "#/definitions/uint32" }, "smoke_fade_out_duration": { "$ref": "#/definitions/uint32" }, "on_fuel_added_action": { "$ref": "#/definitions/Trigger" }, "on_damage_tick_effect": { "$ref": "#/definitions/Trigger" }, "light": { "$ref": "#/definitions/LightDefinition" }, "light_size_modifier_per_flame": { "$ref": "#/definitions/float" }, "light_size_modifier_maximum": { "$ref": "#/definitions/float" }, "particle_alpha_blend_duration": { "$ref": "#/definitions/uint16" }, "burnt_patch_lifetime": { "$ref": "#/definitions/uint32" }, "burnt_patch_alpha_default": { "$ref": "#/definitions/float" }, "particle_alpha": { "$ref": "#/definitions/float" }, "particle_alpha_deviation": { "$ref": "#/definitions/float" }, "flame_alpha": { "$ref": "#/definitions/float" }, "flame_alpha_deviation": { "$ref": "#/definitions/float" }, "burnt_patch_alpha_variations": { "oneOf": [ { "type": "array", "items": { "type": "object", "properties": { "tile": { "$ref": "#/definitions/TileID" }, "alpha": { "$ref": "#/definitions/float" } }, "required": [ "tile", "alpha" ] } }, { "type": "object", "additionalProperties": false } ] } }, "required": [ "type", "name", "damage_per_tick", "spread_delay", "spread_delay_deviation" ] }, "FishPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/FishPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "fish" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "collision_box": { "$ref": "#/definitions/BoundingBox" }, "collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "map_generator_bounding_box": { "$ref": "#/definitions/BoundingBox" }, "selection_box": { "$ref": "#/definitions/BoundingBox" }, "drawing_box_vertical_extension": { "$ref": "#/definitions/double" }, "sticker_box": { "$ref": "#/definitions/BoundingBox" }, "hit_visualization_box": { "$ref": "#/definitions/BoundingBox" }, "trigger_target_mask": { "$ref": "#/definitions/TriggerTargetMask" }, "flags": { "$ref": "#/definitions/EntityPrototypeFlags" }, "tile_buildability_rules": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileBuildabilityRule" } }, { "type": "object", "additionalProperties": false } ] }, "minable": { "$ref": "#/definitions/MinableProperties" }, "surface_conditions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SurfaceCondition" } }, { "type": "object", "additionalProperties": false } ] }, "deconstruction_alternative": { "$ref": "#/definitions/EntityID" }, "selection_priority": { "$ref": "#/definitions/uint8" }, "build_grid_size": { "$ref": "#/definitions/uint8" }, "remove_decoratives": { "anyOf": [ { "type": "string", "const": "automatic" }, { "type": "string", "const": "true" }, { "type": "string", "const": "false" } ] }, "emissions_per_second": { "type": "object", "additionalProperties": { "$ref": "#/definitions/double" }, "propertyNames": { "$ref": "#/definitions/AirbornePollutantID" } }, "shooting_cursor_size": { "$ref": "#/definitions/double" }, "created_smoke": { "$ref": "#/definitions/CreateTrivialSmokeEffectItem" }, "working_sound": { "$ref": "#/definitions/WorkingSound" }, "created_effect": { "$ref": "#/definitions/Trigger" }, "build_sound": { "$ref": "#/definitions/Sound" }, "mined_sound": { "$ref": "#/definitions/Sound" }, "mining_sound": { "$ref": "#/definitions/Sound" }, "rotated_sound": { "$ref": "#/definitions/Sound" }, "impact_category": { "$ref": "#/definitions/string" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "placeable_position_visualization": { "$ref": "#/definitions/Sprite" }, "radius_visualisation_specification": { "$ref": "#/definitions/RadiusVisualisationSpecification" }, "stateless_visualisation": { "$ref": "#/definitions/StatelessVisualisations" }, "build_base_evolution_requirement": { "$ref": "#/definitions/double" }, "alert_icon_shift": { "$ref": "#/definitions/Vector" }, "alert_icon_scale": { "$ref": "#/definitions/float" }, "fast_replaceable_group": { "$ref": "#/definitions/string" }, "next_upgrade": { "$ref": "#/definitions/EntityID" }, "protected_from_tile_building": { "$ref": "#/definitions/bool" }, "heating_energy": { "$ref": "#/definitions/Energy" }, "allow_copy_paste": { "$ref": "#/definitions/bool" }, "selectable_in_game": { "$ref": "#/definitions/bool" }, "placeable_by": { "anyOf": [ { "$ref": "#/definitions/ItemToPlace" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemToPlace" } }, { "type": "object", "additionalProperties": false } ] } ] }, "remains_when_mined": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "additional_pastable_entities": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] }, "tile_width": { "$ref": "#/definitions/int32" }, "tile_height": { "$ref": "#/definitions/int32" }, "diagonal_tile_grid_size": { "$ref": "#/definitions/TilePosition" }, "autoplace": { "$ref": "#/definitions/AutoplaceSpecification" }, "map_color": { "$ref": "#/definitions/Color" }, "friendly_map_color": { "$ref": "#/definitions/Color" }, "enemy_map_color": { "$ref": "#/definitions/Color" }, "water_reflection": { "$ref": "#/definitions/WaterReflectionDefinition" }, "ambient_sounds_group": { "$ref": "#/definitions/EntityID" }, "ambient_sounds": { "anyOf": [ { "$ref": "#/definitions/WorldAmbientSoundDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/WorldAmbientSoundDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "icon_draw_specification": { "$ref": "#/definitions/IconDrawSpecification" }, "icons_positioning": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconSequencePositioning" } }, { "type": "object", "additionalProperties": false } ] }, "max_health": { "$ref": "#/definitions/float" }, "healing_per_tick": { "$ref": "#/definitions/float" }, "repair_speed_modifier": { "$ref": "#/definitions/float" }, "dying_explosion": { "anyOf": [ { "$ref": "#/definitions/ExplosionDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ExplosionDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "dying_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "damaged_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "loot": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/LootItem" } }, { "type": "object", "additionalProperties": false } ] }, "resistances": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Resistance" } }, { "type": "object", "additionalProperties": false } ] }, "attack_reaction": { "anyOf": [ { "$ref": "#/definitions/AttackReactionItem" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/AttackReactionItem" } }, { "type": "object", "additionalProperties": false } ] } ] }, "repair_sound": { "$ref": "#/definitions/Sound" }, "alert_when_damaged": { "$ref": "#/definitions/bool" }, "hide_resistances": { "$ref": "#/definitions/bool" }, "create_ghost_on_death": { "$ref": "#/definitions/bool" }, "random_corpse_variation": { "$ref": "#/definitions/bool" }, "integration_patch_render_layer": { "$ref": "#/definitions/RenderLayer" }, "corpse": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "integration_patch": { "$ref": "#/definitions/Sprite4Way" }, "overkill_fraction": { "$ref": "#/definitions/float" }, "pictures": { "$ref": "#/definitions/SpriteVariations" } }, "required": [ "type", "name" ] }, "FluidPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/FluidPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "fluid" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "default_temperature": { "$ref": "#/definitions/float" }, "base_color": { "$ref": "#/definitions/Color" }, "flow_color": { "$ref": "#/definitions/Color" }, "visualization_color": { "$ref": "#/definitions/Color" }, "max_temperature": { "$ref": "#/definitions/float" }, "heat_capacity": { "$ref": "#/definitions/Energy" }, "fuel_value": { "$ref": "#/definitions/Energy" }, "emissions_multiplier": { "$ref": "#/definitions/double" }, "gas_temperature": { "$ref": "#/definitions/float" }, "auto_barrel": { "$ref": "#/definitions/bool" } }, "required": [ "type", "name", "default_temperature", "base_color", "flow_color" ] }, "FluidStreamPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/FluidStreamPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "stream" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "collision_box": { "$ref": "#/definitions/BoundingBox" }, "collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "map_generator_bounding_box": { "$ref": "#/definitions/BoundingBox" }, "selection_box": { "$ref": "#/definitions/BoundingBox" }, "drawing_box_vertical_extension": { "$ref": "#/definitions/double" }, "sticker_box": { "$ref": "#/definitions/BoundingBox" }, "hit_visualization_box": { "$ref": "#/definitions/BoundingBox" }, "trigger_target_mask": { "$ref": "#/definitions/TriggerTargetMask" }, "flags": { "$ref": "#/definitions/EntityPrototypeFlags" }, "tile_buildability_rules": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileBuildabilityRule" } }, { "type": "object", "additionalProperties": false } ] }, "minable": { "$ref": "#/definitions/MinableProperties" }, "surface_conditions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SurfaceCondition" } }, { "type": "object", "additionalProperties": false } ] }, "deconstruction_alternative": { "$ref": "#/definitions/EntityID" }, "selection_priority": { "$ref": "#/definitions/uint8" }, "build_grid_size": { "$ref": "#/definitions/uint8" }, "remove_decoratives": { "anyOf": [ { "type": "string", "const": "automatic" }, { "type": "string", "const": "true" }, { "type": "string", "const": "false" } ] }, "emissions_per_second": { "type": "object", "additionalProperties": { "$ref": "#/definitions/double" }, "propertyNames": { "$ref": "#/definitions/AirbornePollutantID" } }, "shooting_cursor_size": { "$ref": "#/definitions/double" }, "created_smoke": { "$ref": "#/definitions/CreateTrivialSmokeEffectItem" }, "working_sound": { "$ref": "#/definitions/WorkingSound" }, "created_effect": { "$ref": "#/definitions/Trigger" }, "build_sound": { "$ref": "#/definitions/Sound" }, "mined_sound": { "$ref": "#/definitions/Sound" }, "mining_sound": { "$ref": "#/definitions/Sound" }, "rotated_sound": { "$ref": "#/definitions/Sound" }, "impact_category": { "$ref": "#/definitions/string" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "placeable_position_visualization": { "$ref": "#/definitions/Sprite" }, "radius_visualisation_specification": { "$ref": "#/definitions/RadiusVisualisationSpecification" }, "stateless_visualisation": { "$ref": "#/definitions/StatelessVisualisations" }, "build_base_evolution_requirement": { "$ref": "#/definitions/double" }, "alert_icon_shift": { "$ref": "#/definitions/Vector" }, "alert_icon_scale": { "$ref": "#/definitions/float" }, "fast_replaceable_group": { "$ref": "#/definitions/string" }, "next_upgrade": { "$ref": "#/definitions/EntityID" }, "protected_from_tile_building": { "$ref": "#/definitions/bool" }, "heating_energy": { "$ref": "#/definitions/Energy" }, "allow_copy_paste": { "$ref": "#/definitions/bool" }, "selectable_in_game": { "$ref": "#/definitions/bool" }, "placeable_by": { "anyOf": [ { "$ref": "#/definitions/ItemToPlace" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemToPlace" } }, { "type": "object", "additionalProperties": false } ] } ] }, "remains_when_mined": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "additional_pastable_entities": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] }, "tile_width": { "$ref": "#/definitions/int32" }, "tile_height": { "$ref": "#/definitions/int32" }, "diagonal_tile_grid_size": { "$ref": "#/definitions/TilePosition" }, "autoplace": { "$ref": "#/definitions/AutoplaceSpecification" }, "map_color": { "$ref": "#/definitions/Color" }, "friendly_map_color": { "$ref": "#/definitions/Color" }, "enemy_map_color": { "$ref": "#/definitions/Color" }, "water_reflection": { "$ref": "#/definitions/WaterReflectionDefinition" }, "ambient_sounds_group": { "$ref": "#/definitions/EntityID" }, "ambient_sounds": { "anyOf": [ { "$ref": "#/definitions/WorldAmbientSoundDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/WorldAmbientSoundDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "icon_draw_specification": { "$ref": "#/definitions/IconDrawSpecification" }, "icons_positioning": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconSequencePositioning" } }, { "type": "object", "additionalProperties": false } ] }, "particle_spawn_interval": { "$ref": "#/definitions/uint16" }, "particle_horizontal_speed": { "$ref": "#/definitions/float" }, "particle_horizontal_speed_deviation": { "$ref": "#/definitions/float" }, "particle_vertical_acceleration": { "$ref": "#/definitions/float" }, "initial_action": { "$ref": "#/definitions/Trigger" }, "action": { "$ref": "#/definitions/Trigger" }, "special_neutral_target_damage": { "$ref": "#/definitions/DamageParameters" }, "width": { "$ref": "#/definitions/float" }, "particle_buffer_size": { "$ref": "#/definitions/uint32" }, "particle_spawn_timeout": { "$ref": "#/definitions/uint16" }, "particle_start_alpha": { "$ref": "#/definitions/float" }, "particle_end_alpha": { "$ref": "#/definitions/float" }, "particle_start_scale": { "$ref": "#/definitions/float" }, "particle_alpha_per_part": { "$ref": "#/definitions/float" }, "particle_scale_per_part": { "$ref": "#/definitions/float" }, "particle_fade_out_threshold": { "$ref": "#/definitions/float" }, "particle_loop_exit_threshold": { "$ref": "#/definitions/float" }, "particle_loop_frame_count": { "$ref": "#/definitions/uint16" }, "particle_fade_out_duration": { "$ref": "#/definitions/uint16" }, "spine_animation": { "$ref": "#/definitions/Animation" }, "particle": { "$ref": "#/definitions/Animation" }, "shadow": { "$ref": "#/definitions/Animation" }, "smoke_sources": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SmokeSource" } }, { "type": "object", "additionalProperties": false } ] }, "progress_to_create_smoke": { "$ref": "#/definitions/float" }, "stream_light": { "$ref": "#/definitions/LightDefinition" }, "ground_light": { "$ref": "#/definitions/LightDefinition" }, "target_position_deviation": { "$ref": "#/definitions/double" }, "oriented_particle": { "$ref": "#/definitions/bool" }, "shadow_scale_enabled": { "$ref": "#/definitions/bool" }, "target_initial_position_only": { "$ref": "#/definitions/bool" } }, "required": [ "type", "name", "particle_spawn_interval", "particle_horizontal_speed", "particle_horizontal_speed_deviation", "particle_vertical_acceleration" ] }, "FluidTurretPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/FluidTurretPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "fluid-turret" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "collision_box": { "$ref": "#/definitions/BoundingBox" }, "collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "map_generator_bounding_box": { "$ref": "#/definitions/BoundingBox" }, "selection_box": { "$ref": "#/definitions/BoundingBox" }, "drawing_box_vertical_extension": { "$ref": "#/definitions/double" }, "sticker_box": { "$ref": "#/definitions/BoundingBox" }, "hit_visualization_box": { "$ref": "#/definitions/BoundingBox" }, "trigger_target_mask": { "$ref": "#/definitions/TriggerTargetMask" }, "flags": { "$ref": "#/definitions/EntityPrototypeFlags" }, "tile_buildability_rules": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileBuildabilityRule" } }, { "type": "object", "additionalProperties": false } ] }, "minable": { "$ref": "#/definitions/MinableProperties" }, "surface_conditions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SurfaceCondition" } }, { "type": "object", "additionalProperties": false } ] }, "deconstruction_alternative": { "$ref": "#/definitions/EntityID" }, "selection_priority": { "$ref": "#/definitions/uint8" }, "build_grid_size": { "$ref": "#/definitions/uint8" }, "remove_decoratives": { "anyOf": [ { "type": "string", "const": "automatic" }, { "type": "string", "const": "true" }, { "type": "string", "const": "false" } ] }, "emissions_per_second": { "type": "object", "additionalProperties": { "$ref": "#/definitions/double" }, "propertyNames": { "$ref": "#/definitions/AirbornePollutantID" } }, "shooting_cursor_size": { "$ref": "#/definitions/double" }, "created_smoke": { "$ref": "#/definitions/CreateTrivialSmokeEffectItem" }, "working_sound": { "$ref": "#/definitions/WorkingSound" }, "created_effect": { "$ref": "#/definitions/Trigger" }, "build_sound": { "$ref": "#/definitions/Sound" }, "mined_sound": { "$ref": "#/definitions/Sound" }, "mining_sound": { "$ref": "#/definitions/Sound" }, "rotated_sound": { "$ref": "#/definitions/Sound" }, "impact_category": { "$ref": "#/definitions/string" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "placeable_position_visualization": { "$ref": "#/definitions/Sprite" }, "radius_visualisation_specification": { "$ref": "#/definitions/RadiusVisualisationSpecification" }, "stateless_visualisation": { "$ref": "#/definitions/StatelessVisualisations" }, "build_base_evolution_requirement": { "$ref": "#/definitions/double" }, "alert_icon_shift": { "$ref": "#/definitions/Vector" }, "alert_icon_scale": { "$ref": "#/definitions/float" }, "fast_replaceable_group": { "$ref": "#/definitions/string" }, "next_upgrade": { "$ref": "#/definitions/EntityID" }, "protected_from_tile_building": { "$ref": "#/definitions/bool" }, "heating_energy": { "$ref": "#/definitions/Energy" }, "allow_copy_paste": { "$ref": "#/definitions/bool" }, "selectable_in_game": { "$ref": "#/definitions/bool" }, "placeable_by": { "anyOf": [ { "$ref": "#/definitions/ItemToPlace" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemToPlace" } }, { "type": "object", "additionalProperties": false } ] } ] }, "remains_when_mined": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "additional_pastable_entities": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] }, "tile_width": { "$ref": "#/definitions/int32" }, "tile_height": { "$ref": "#/definitions/int32" }, "diagonal_tile_grid_size": { "$ref": "#/definitions/TilePosition" }, "autoplace": { "$ref": "#/definitions/AutoplaceSpecification" }, "map_color": { "$ref": "#/definitions/Color" }, "friendly_map_color": { "$ref": "#/definitions/Color" }, "enemy_map_color": { "$ref": "#/definitions/Color" }, "water_reflection": { "$ref": "#/definitions/WaterReflectionDefinition" }, "ambient_sounds_group": { "$ref": "#/definitions/EntityID" }, "ambient_sounds": { "anyOf": [ { "$ref": "#/definitions/WorldAmbientSoundDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/WorldAmbientSoundDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "icon_draw_specification": { "$ref": "#/definitions/IconDrawSpecification" }, "icons_positioning": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconSequencePositioning" } }, { "type": "object", "additionalProperties": false } ] }, "max_health": { "$ref": "#/definitions/float" }, "healing_per_tick": { "$ref": "#/definitions/float" }, "repair_speed_modifier": { "$ref": "#/definitions/float" }, "dying_explosion": { "anyOf": [ { "$ref": "#/definitions/ExplosionDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ExplosionDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "dying_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "damaged_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "loot": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/LootItem" } }, { "type": "object", "additionalProperties": false } ] }, "resistances": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Resistance" } }, { "type": "object", "additionalProperties": false } ] }, "attack_reaction": { "anyOf": [ { "$ref": "#/definitions/AttackReactionItem" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/AttackReactionItem" } }, { "type": "object", "additionalProperties": false } ] } ] }, "repair_sound": { "$ref": "#/definitions/Sound" }, "alert_when_damaged": { "$ref": "#/definitions/bool" }, "hide_resistances": { "$ref": "#/definitions/bool" }, "create_ghost_on_death": { "$ref": "#/definitions/bool" }, "random_corpse_variation": { "$ref": "#/definitions/bool" }, "integration_patch_render_layer": { "$ref": "#/definitions/RenderLayer" }, "corpse": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "integration_patch": { "$ref": "#/definitions/Sprite4Way" }, "overkill_fraction": { "$ref": "#/definitions/float" }, "is_military_target": { "$ref": "#/definitions/bool" }, "allow_run_time_change_of_is_military_target": { "$ref": "#/definitions/bool" }, "quality_indicator_scale": { "$ref": "#/definitions/double" }, "attack_parameters": { "$ref": "#/definitions/StreamAttackParameters" }, "folded_animation": { "$ref": "#/definitions/RotatedAnimation8Way" }, "call_for_help_radius": { "$ref": "#/definitions/double" }, "attack_target_mask": { "$ref": "#/definitions/TriggerTargetMask" }, "ignore_target_mask": { "$ref": "#/definitions/TriggerTargetMask" }, "shoot_in_prepare_state": { "$ref": "#/definitions/bool" }, "start_attacking_only_when_can_shoot": { "$ref": "#/definitions/bool" }, "turret_base_has_direction": { "type": "boolean", "const": true }, "random_animation_offset": { "$ref": "#/definitions/bool" }, "attack_from_start_frame": { "$ref": "#/definitions/bool" }, "allow_turning_when_starting_attack": { "$ref": "#/definitions/bool" }, "gun_animation_secondary_draw_order": { "$ref": "#/definitions/uint8" }, "gun_animation_render_layer": { "$ref": "#/definitions/RenderLayer" }, "graphics_set": { "$ref": "#/definitions/TurretGraphicsSet" }, "preparing_animation": { "$ref": "#/definitions/RotatedAnimation8Way" }, "prepared_animation": { "$ref": "#/definitions/RotatedAnimation8Way" }, "prepared_alternative_animation": { "$ref": "#/definitions/RotatedAnimation8Way" }, "starting_attack_animation": { "$ref": "#/definitions/RotatedAnimation8Way" }, "attacking_animation": { "$ref": "#/definitions/RotatedAnimation8Way" }, "energy_glow_animation": { "$ref": "#/definitions/RotatedAnimation8Way" }, "resource_indicator_animation": { "$ref": "#/definitions/RotatedAnimation8Way" }, "ending_attack_animation": { "$ref": "#/definitions/RotatedAnimation8Way" }, "folding_animation": { "$ref": "#/definitions/RotatedAnimation8Way" }, "integration": { "$ref": "#/definitions/Sprite" }, "special_effect": { "$ref": "#/definitions/TurretSpecialEffect" }, "glow_light_intensity": { "$ref": "#/definitions/float" }, "energy_glow_animation_flicker_strength": { "$ref": "#/definitions/float" }, "starting_attack_sound": { "$ref": "#/definitions/Sound" }, "dying_sound": { "$ref": "#/definitions/Sound" }, "preparing_sound": { "$ref": "#/definitions/Sound" }, "folding_sound": { "$ref": "#/definitions/Sound" }, "prepared_sound": { "$ref": "#/definitions/Sound" }, "prepared_alternative_sound": { "$ref": "#/definitions/Sound" }, "rotating_sound": { "$ref": "#/definitions/InterruptibleSound" }, "default_speed": { "$ref": "#/definitions/float" }, "default_speed_secondary": { "$ref": "#/definitions/float" }, "default_speed_when_killed": { "$ref": "#/definitions/float" }, "default_starting_progress_when_killed": { "$ref": "#/definitions/float" }, "rotation_speed": { "$ref": "#/definitions/float" }, "rotation_speed_secondary": { "$ref": "#/definitions/float" }, "rotation_speed_when_killed": { "$ref": "#/definitions/float" }, "rotation_starting_progress_when_killed": { "$ref": "#/definitions/float" }, "preparing_speed": { "$ref": "#/definitions/float" }, "preparing_speed_secondary": { "$ref": "#/definitions/float" }, "preparing_speed_when_killed": { "$ref": "#/definitions/float" }, "preparing_starting_progress_when_killed": { "$ref": "#/definitions/float" }, "folded_speed": { "$ref": "#/definitions/float" }, "folded_speed_secondary": { "$ref": "#/definitions/float" }, "folded_speed_when_killed": { "$ref": "#/definitions/float" }, "folded_starting_progress_when_killed": { "$ref": "#/definitions/float" }, "prepared_speed": { "$ref": "#/definitions/float" }, "prepared_speed_secondary": { "$ref": "#/definitions/float" }, "prepared_speed_when_killed": { "$ref": "#/definitions/float" }, "prepared_starting_progress_when_killed": { "$ref": "#/definitions/float" }, "prepared_alternative_speed": { "$ref": "#/definitions/float" }, "prepared_alternative_speed_secondary": { "$ref": "#/definitions/float" }, "prepared_alternative_speed_when_killed": { "$ref": "#/definitions/float" }, "prepared_alternative_starting_progress_when_killed": { "$ref": "#/definitions/float" }, "prepared_alternative_chance": { "$ref": "#/definitions/float" }, "starting_attack_speed": { "$ref": "#/definitions/float" }, "starting_attack_speed_secondary": { "$ref": "#/definitions/float" }, "starting_attack_speed_when_killed": { "$ref": "#/definitions/float" }, "starting_attack_starting_progress_when_killed": { "$ref": "#/definitions/float" }, "attacking_speed": { "$ref": "#/definitions/float" }, "ending_attack_speed": { "$ref": "#/definitions/float" }, "ending_attack_speed_secondary": { "$ref": "#/definitions/float" }, "ending_attack_speed_when_killed": { "$ref": "#/definitions/float" }, "ending_attack_starting_progress_when_killed": { "$ref": "#/definitions/float" }, "folding_speed": { "$ref": "#/definitions/float" }, "folding_speed_secondary": { "$ref": "#/definitions/float" }, "folding_speed_when_killed": { "$ref": "#/definitions/float" }, "folding_starting_progress_when_killed": { "$ref": "#/definitions/float" }, "prepare_range": { "$ref": "#/definitions/double" }, "alert_when_attacking": { "$ref": "#/definitions/bool" }, "spawn_decorations_on_expansion": { "$ref": "#/definitions/bool" }, "folded_animation_is_stateless": { "$ref": "#/definitions/bool" }, "unfolds_before_dying": { "$ref": "#/definitions/bool" }, "spawn_decoration": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/CreateDecorativesTriggerEffectItem" } }, { "type": "object", "additionalProperties": false } ] }, "folded_state_corpse": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "can_retarget_while_starting_attack": { "$ref": "#/definitions/bool" }, "circuit_wire_max_distance": { "$ref": "#/definitions/double" }, "draw_copper_wires": { "$ref": "#/definitions/bool" }, "draw_circuit_wires": { "$ref": "#/definitions/bool" }, "circuit_connector": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/CircuitConnectorDefinition" } }, { "type": "object", "additionalProperties": false } ] }, "fluid_buffer_size": { "$ref": "#/definitions/FluidAmount" }, "fluid_buffer_input_flow": { "$ref": "#/definitions/FluidAmount" }, "activation_buffer_ratio": { "$ref": "#/definitions/FluidAmount" }, "fluid_box": { "$ref": "#/definitions/FluidBox" }, "muzzle_light": { "$ref": "#/definitions/LightDefinition" }, "enough_fuel_indicator_light": { "$ref": "#/definitions/LightDefinition" }, "not_enough_fuel_indicator_light": { "$ref": "#/definitions/LightDefinition" }, "muzzle_animation": { "$ref": "#/definitions/Animation" }, "folded_muzzle_animation_shift": { "$ref": "#/definitions/AnimatedVector" }, "preparing_muzzle_animation_shift": { "$ref": "#/definitions/AnimatedVector" }, "prepared_muzzle_animation_shift": { "$ref": "#/definitions/AnimatedVector" }, "starting_attack_muzzle_animation_shift": { "$ref": "#/definitions/AnimatedVector" }, "attacking_muzzle_animation_shift": { "$ref": "#/definitions/AnimatedVector" }, "ending_attack_muzzle_animation_shift": { "$ref": "#/definitions/AnimatedVector" }, "folding_muzzle_animation_shift": { "$ref": "#/definitions/AnimatedVector" }, "enough_fuel_indicator_picture": { "$ref": "#/definitions/Sprite4Way" }, "not_enough_fuel_indicator_picture": { "$ref": "#/definitions/Sprite4Way" }, "out_of_ammo_alert_icon": { "$ref": "#/definitions/Sprite" } }, "required": [ "type", "name", "attack_parameters", "folded_animation", "call_for_help_radius", "turret_base_has_direction", "graphics_set", "fluid_buffer_size", "fluid_buffer_input_flow", "activation_buffer_ratio", "fluid_box" ] }, "FluidWagonPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/FluidWagonPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "fluid-wagon" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "collision_box": { "$ref": "#/definitions/BoundingBox" }, "collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "map_generator_bounding_box": { "$ref": "#/definitions/BoundingBox" }, "selection_box": { "$ref": "#/definitions/BoundingBox" }, "drawing_box_vertical_extension": { "$ref": "#/definitions/double" }, "sticker_box": { "$ref": "#/definitions/BoundingBox" }, "hit_visualization_box": { "$ref": "#/definitions/BoundingBox" }, "trigger_target_mask": { "$ref": "#/definitions/TriggerTargetMask" }, "flags": { "$ref": "#/definitions/EntityPrototypeFlags" }, "tile_buildability_rules": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileBuildabilityRule" } }, { "type": "object", "additionalProperties": false } ] }, "minable": { "$ref": "#/definitions/MinableProperties" }, "surface_conditions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SurfaceCondition" } }, { "type": "object", "additionalProperties": false } ] }, "deconstruction_alternative": { "$ref": "#/definitions/EntityID" }, "selection_priority": { "$ref": "#/definitions/uint8" }, "build_grid_size": { "$ref": "#/definitions/uint8" }, "remove_decoratives": { "anyOf": [ { "type": "string", "const": "automatic" }, { "type": "string", "const": "true" }, { "type": "string", "const": "false" } ] }, "emissions_per_second": { "type": "object", "additionalProperties": { "$ref": "#/definitions/double" }, "propertyNames": { "$ref": "#/definitions/AirbornePollutantID" } }, "shooting_cursor_size": { "$ref": "#/definitions/double" }, "created_smoke": { "$ref": "#/definitions/CreateTrivialSmokeEffectItem" }, "working_sound": { "$ref": "#/definitions/WorkingSound" }, "created_effect": { "$ref": "#/definitions/Trigger" }, "build_sound": { "$ref": "#/definitions/Sound" }, "mined_sound": { "$ref": "#/definitions/Sound" }, "mining_sound": { "$ref": "#/definitions/Sound" }, "rotated_sound": { "$ref": "#/definitions/Sound" }, "impact_category": { "$ref": "#/definitions/string" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "placeable_position_visualization": { "$ref": "#/definitions/Sprite" }, "radius_visualisation_specification": { "$ref": "#/definitions/RadiusVisualisationSpecification" }, "stateless_visualisation": { "$ref": "#/definitions/StatelessVisualisations" }, "build_base_evolution_requirement": { "$ref": "#/definitions/double" }, "alert_icon_shift": { "$ref": "#/definitions/Vector" }, "alert_icon_scale": { "$ref": "#/definitions/float" }, "fast_replaceable_group": { "$ref": "#/definitions/string" }, "next_upgrade": { "$ref": "#/definitions/EntityID" }, "protected_from_tile_building": { "$ref": "#/definitions/bool" }, "heating_energy": { "$ref": "#/definitions/Energy" }, "allow_copy_paste": { "$ref": "#/definitions/bool" }, "selectable_in_game": { "$ref": "#/definitions/bool" }, "placeable_by": { "anyOf": [ { "$ref": "#/definitions/ItemToPlace" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemToPlace" } }, { "type": "object", "additionalProperties": false } ] } ] }, "remains_when_mined": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "additional_pastable_entities": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] }, "tile_width": { "$ref": "#/definitions/int32" }, "tile_height": { "$ref": "#/definitions/int32" }, "diagonal_tile_grid_size": { "$ref": "#/definitions/TilePosition" }, "autoplace": { "$ref": "#/definitions/AutoplaceSpecification" }, "map_color": { "$ref": "#/definitions/Color" }, "friendly_map_color": { "$ref": "#/definitions/Color" }, "enemy_map_color": { "$ref": "#/definitions/Color" }, "water_reflection": { "$ref": "#/definitions/WaterReflectionDefinition" }, "ambient_sounds_group": { "$ref": "#/definitions/EntityID" }, "ambient_sounds": { "anyOf": [ { "$ref": "#/definitions/WorldAmbientSoundDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/WorldAmbientSoundDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "icon_draw_specification": { "$ref": "#/definitions/IconDrawSpecification" }, "icons_positioning": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconSequencePositioning" } }, { "type": "object", "additionalProperties": false } ] }, "max_health": { "$ref": "#/definitions/float" }, "healing_per_tick": { "$ref": "#/definitions/float" }, "repair_speed_modifier": { "$ref": "#/definitions/float" }, "dying_explosion": { "anyOf": [ { "$ref": "#/definitions/ExplosionDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ExplosionDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "dying_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "damaged_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "loot": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/LootItem" } }, { "type": "object", "additionalProperties": false } ] }, "resistances": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Resistance" } }, { "type": "object", "additionalProperties": false } ] }, "attack_reaction": { "anyOf": [ { "$ref": "#/definitions/AttackReactionItem" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/AttackReactionItem" } }, { "type": "object", "additionalProperties": false } ] } ] }, "repair_sound": { "$ref": "#/definitions/Sound" }, "alert_when_damaged": { "$ref": "#/definitions/bool" }, "hide_resistances": { "$ref": "#/definitions/bool" }, "create_ghost_on_death": { "$ref": "#/definitions/bool" }, "random_corpse_variation": { "$ref": "#/definitions/bool" }, "integration_patch_render_layer": { "$ref": "#/definitions/RenderLayer" }, "corpse": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "integration_patch": { "$ref": "#/definitions/Sprite4Way" }, "overkill_fraction": { "$ref": "#/definitions/float" }, "is_military_target": { "$ref": "#/definitions/bool" }, "allow_run_time_change_of_is_military_target": { "$ref": "#/definitions/bool" }, "quality_indicator_scale": { "$ref": "#/definitions/double" }, "weight": { "$ref": "#/definitions/double" }, "braking_power": { "anyOf": [ { "$ref": "#/definitions/Energy" }, { "$ref": "#/definitions/double" } ] }, "braking_force": { "anyOf": [ { "$ref": "#/definitions/Energy" }, { "$ref": "#/definitions/double" } ] }, "friction": { "$ref": "#/definitions/double" }, "friction_force": { "$ref": "#/definitions/double" }, "energy_per_hit_point": { "$ref": "#/definitions/double" }, "terrain_friction_modifier": { "$ref": "#/definitions/float" }, "impact_speed_to_volume_ratio": { "$ref": "#/definitions/double" }, "stop_trigger_speed": { "$ref": "#/definitions/double" }, "crash_trigger": { "$ref": "#/definitions/TriggerEffect" }, "stop_trigger": { "$ref": "#/definitions/TriggerEffect" }, "equipment_grid": { "$ref": "#/definitions/EquipmentGridID" }, "minimap_representation": { "$ref": "#/definitions/Sprite" }, "selected_minimap_representation": { "$ref": "#/definitions/Sprite" }, "allow_passengers": { "$ref": "#/definitions/bool" }, "deliver_category": { "$ref": "#/definitions/string" }, "chunk_exploration_radius": { "$ref": "#/definitions/uint32" }, "allow_remote_driving": { "$ref": "#/definitions/bool" }, "max_speed": { "$ref": "#/definitions/double" }, "air_resistance": { "$ref": "#/definitions/double" }, "joint_distance": { "$ref": "#/definitions/double" }, "connection_distance": { "$ref": "#/definitions/double" }, "pictures": { "$ref": "#/definitions/RollingStockRotatedSlopedGraphics" }, "wheels": { "$ref": "#/definitions/RollingStockRotatedSlopedGraphics" }, "vertical_selection_shift": { "$ref": "#/definitions/double" }, "drive_over_tie_trigger": { "$ref": "#/definitions/TriggerEffect" }, "drive_over_tie_trigger_minimal_speed": { "$ref": "#/definitions/double" }, "tie_distance": { "$ref": "#/definitions/double" }, "back_light": { "$ref": "#/definitions/LightDefinition" }, "stand_by_light": { "$ref": "#/definitions/LightDefinition" }, "horizontal_doors": { "$ref": "#/definitions/Animation" }, "vertical_doors": { "$ref": "#/definitions/Animation" }, "color": { "$ref": "#/definitions/Color" }, "allow_manual_color": { "$ref": "#/definitions/bool" }, "allow_robot_dispatch_in_automatic_mode": { "$ref": "#/definitions/bool" }, "default_copy_color_from_train_stop": { "$ref": "#/definitions/bool" }, "transition_collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "elevated_collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "elevated_selection_priority": { "$ref": "#/definitions/uint8" }, "elevated_rail_sound": { "$ref": "#/definitions/MainSound" }, "drive_over_elevated_tie_trigger": { "$ref": "#/definitions/TriggerEffect" }, "door_opening_sound": { "$ref": "#/definitions/InterruptibleSound" }, "door_closing_sound": { "$ref": "#/definitions/InterruptibleSound" }, "capacity": { "$ref": "#/definitions/FluidAmount" }, "quality_affects_capacity": { "$ref": "#/definitions/bool" }, "tank_count": { "$ref": "#/definitions/uint8" } }, "required": [ "type", "name", "weight", "energy_per_hit_point", "max_speed", "air_resistance", "joint_distance", "connection_distance", "vertical_selection_shift", "capacity" ], "allOf": [ { "anyOf": [ { "required": [ "braking_power" ] }, { "required": [ "braking_force" ] } ] }, { "anyOf": [ { "required": [ "friction" ] }, { "required": [ "friction_force" ] } ] } ] }, "FontPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/FontPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "font" }, "name": { "$ref": "#/definitions/string" }, "size": { "$ref": "#/definitions/int32" }, "from": { "$ref": "#/definitions/string" }, "spacing": { "$ref": "#/definitions/float" }, "border": { "$ref": "#/definitions/bool" }, "filtered": { "$ref": "#/definitions/bool" }, "border_color": { "$ref": "#/definitions/Color" } }, "required": [ "type", "name", "size", "from" ] }, "FuelCategory": { "description": "https://lua-api.factorio.com/stable/prototypes/FuelCategory.html", "type": "object", "properties": { "type": { "type": "string", "const": "fuel-category" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "fuel_value_type": { "$ref": "#/definitions/LocalisedString" } }, "required": [ "type", "name" ] }, "FurnacePrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/FurnacePrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "furnace" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "collision_box": { "$ref": "#/definitions/BoundingBox" }, "collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "map_generator_bounding_box": { "$ref": "#/definitions/BoundingBox" }, "selection_box": { "$ref": "#/definitions/BoundingBox" }, "drawing_box_vertical_extension": { "$ref": "#/definitions/double" }, "sticker_box": { "$ref": "#/definitions/BoundingBox" }, "hit_visualization_box": { "$ref": "#/definitions/BoundingBox" }, "trigger_target_mask": { "$ref": "#/definitions/TriggerTargetMask" }, "flags": { "$ref": "#/definitions/EntityPrototypeFlags" }, "tile_buildability_rules": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileBuildabilityRule" } }, { "type": "object", "additionalProperties": false } ] }, "minable": { "$ref": "#/definitions/MinableProperties" }, "surface_conditions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SurfaceCondition" } }, { "type": "object", "additionalProperties": false } ] }, "deconstruction_alternative": { "$ref": "#/definitions/EntityID" }, "selection_priority": { "$ref": "#/definitions/uint8" }, "build_grid_size": { "$ref": "#/definitions/uint8" }, "remove_decoratives": { "anyOf": [ { "type": "string", "const": "automatic" }, { "type": "string", "const": "true" }, { "type": "string", "const": "false" } ] }, "emissions_per_second": { "type": "object", "additionalProperties": { "$ref": "#/definitions/double" }, "propertyNames": { "$ref": "#/definitions/AirbornePollutantID" } }, "shooting_cursor_size": { "$ref": "#/definitions/double" }, "created_smoke": { "$ref": "#/definitions/CreateTrivialSmokeEffectItem" }, "working_sound": { "$ref": "#/definitions/WorkingSound" }, "created_effect": { "$ref": "#/definitions/Trigger" }, "build_sound": { "$ref": "#/definitions/Sound" }, "mined_sound": { "$ref": "#/definitions/Sound" }, "mining_sound": { "$ref": "#/definitions/Sound" }, "rotated_sound": { "$ref": "#/definitions/Sound" }, "impact_category": { "$ref": "#/definitions/string" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "placeable_position_visualization": { "$ref": "#/definitions/Sprite" }, "radius_visualisation_specification": { "$ref": "#/definitions/RadiusVisualisationSpecification" }, "stateless_visualisation": { "$ref": "#/definitions/StatelessVisualisations" }, "build_base_evolution_requirement": { "$ref": "#/definitions/double" }, "alert_icon_shift": { "$ref": "#/definitions/Vector" }, "alert_icon_scale": { "$ref": "#/definitions/float" }, "fast_replaceable_group": { "$ref": "#/definitions/string" }, "next_upgrade": { "$ref": "#/definitions/EntityID" }, "protected_from_tile_building": { "$ref": "#/definitions/bool" }, "heating_energy": { "$ref": "#/definitions/Energy" }, "allow_copy_paste": { "$ref": "#/definitions/bool" }, "selectable_in_game": { "$ref": "#/definitions/bool" }, "placeable_by": { "anyOf": [ { "$ref": "#/definitions/ItemToPlace" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemToPlace" } }, { "type": "object", "additionalProperties": false } ] } ] }, "remains_when_mined": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "additional_pastable_entities": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] }, "tile_width": { "$ref": "#/definitions/int32" }, "tile_height": { "$ref": "#/definitions/int32" }, "diagonal_tile_grid_size": { "$ref": "#/definitions/TilePosition" }, "autoplace": { "$ref": "#/definitions/AutoplaceSpecification" }, "map_color": { "$ref": "#/definitions/Color" }, "friendly_map_color": { "$ref": "#/definitions/Color" }, "enemy_map_color": { "$ref": "#/definitions/Color" }, "water_reflection": { "$ref": "#/definitions/WaterReflectionDefinition" }, "ambient_sounds_group": { "$ref": "#/definitions/EntityID" }, "ambient_sounds": { "anyOf": [ { "$ref": "#/definitions/WorldAmbientSoundDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/WorldAmbientSoundDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "icon_draw_specification": { "$ref": "#/definitions/IconDrawSpecification" }, "icons_positioning": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconSequencePositioning" } }, { "type": "object", "additionalProperties": false } ] }, "max_health": { "$ref": "#/definitions/float" }, "healing_per_tick": { "$ref": "#/definitions/float" }, "repair_speed_modifier": { "$ref": "#/definitions/float" }, "dying_explosion": { "anyOf": [ { "$ref": "#/definitions/ExplosionDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ExplosionDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "dying_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "damaged_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "loot": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/LootItem" } }, { "type": "object", "additionalProperties": false } ] }, "resistances": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Resistance" } }, { "type": "object", "additionalProperties": false } ] }, "attack_reaction": { "anyOf": [ { "$ref": "#/definitions/AttackReactionItem" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/AttackReactionItem" } }, { "type": "object", "additionalProperties": false } ] } ] }, "repair_sound": { "$ref": "#/definitions/Sound" }, "alert_when_damaged": { "$ref": "#/definitions/bool" }, "hide_resistances": { "$ref": "#/definitions/bool" }, "create_ghost_on_death": { "$ref": "#/definitions/bool" }, "random_corpse_variation": { "$ref": "#/definitions/bool" }, "integration_patch_render_layer": { "$ref": "#/definitions/RenderLayer" }, "corpse": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "integration_patch": { "$ref": "#/definitions/Sprite4Way" }, "overkill_fraction": { "$ref": "#/definitions/float" }, "is_military_target": { "$ref": "#/definitions/bool" }, "allow_run_time_change_of_is_military_target": { "$ref": "#/definitions/bool" }, "quality_indicator_scale": { "$ref": "#/definitions/double" }, "energy_usage": { "$ref": "#/definitions/Energy" }, "crafting_speed": { "$ref": "#/definitions/double" }, "crafting_categories": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/RecipeCategoryID" } }, { "type": "object", "additionalProperties": false } ] }, "energy_source": { "$ref": "#/definitions/EnergySource" }, "fluid_boxes": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/FluidBox" } }, { "type": "object", "additionalProperties": false } ] }, "effect_receiver": { "$ref": "#/definitions/EffectReceiver" }, "module_slots": { "$ref": "#/definitions/ItemStackIndex" }, "allowed_effects": { "$ref": "#/definitions/EffectTypeLimitation" }, "allowed_module_categories": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ModuleCategoryID" } }, { "type": "object", "additionalProperties": false } ] }, "show_recipe_icon": { "$ref": "#/definitions/bool" }, "return_ingredients_on_change": { "$ref": "#/definitions/bool" }, "draw_entity_info_icon_background": { "$ref": "#/definitions/bool" }, "match_animation_speed_to_activity": { "$ref": "#/definitions/bool" }, "show_recipe_icon_on_map": { "$ref": "#/definitions/bool" }, "fast_transfer_modules_into_module_slots_only": { "$ref": "#/definitions/bool" }, "ignore_output_full": { "$ref": "#/definitions/bool" }, "graphics_set": { "$ref": "#/definitions/CraftingMachineGraphicsSet" }, "graphics_set_flipped": { "$ref": "#/definitions/CraftingMachineGraphicsSet" }, "perceived_performance": { "$ref": "#/definitions/PerceivedPerformance" }, "production_health_effect": { "$ref": "#/definitions/ProductionHealthEffect" }, "trash_inventory_size": { "$ref": "#/definitions/ItemStackIndex" }, "vector_to_place_result": { "$ref": "#/definitions/Vector" }, "forced_symmetry": { "$ref": "#/definitions/Mirroring" }, "result_inventory_size": { "$ref": "#/definitions/ItemStackIndex" }, "source_inventory_size": { "$ref": "#/definitions/ItemStackIndex" }, "cant_insert_at_source_message_key": { "$ref": "#/definitions/string" }, "custom_input_slot_tooltip_key": { "$ref": "#/definitions/string" } }, "required": [ "type", "name", "energy_usage", "crafting_speed", "crafting_categories", "energy_source", "result_inventory_size", "source_inventory_size" ] }, "FusionGeneratorPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/FusionGeneratorPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "fusion-generator" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "collision_box": { "$ref": "#/definitions/BoundingBox" }, "collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "map_generator_bounding_box": { "$ref": "#/definitions/BoundingBox" }, "selection_box": { "$ref": "#/definitions/BoundingBox" }, "drawing_box_vertical_extension": { "$ref": "#/definitions/double" }, "sticker_box": { "$ref": "#/definitions/BoundingBox" }, "hit_visualization_box": { "$ref": "#/definitions/BoundingBox" }, "trigger_target_mask": { "$ref": "#/definitions/TriggerTargetMask" }, "flags": { "$ref": "#/definitions/EntityPrototypeFlags" }, "tile_buildability_rules": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileBuildabilityRule" } }, { "type": "object", "additionalProperties": false } ] }, "minable": { "$ref": "#/definitions/MinableProperties" }, "surface_conditions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SurfaceCondition" } }, { "type": "object", "additionalProperties": false } ] }, "deconstruction_alternative": { "$ref": "#/definitions/EntityID" }, "selection_priority": { "$ref": "#/definitions/uint8" }, "build_grid_size": { "$ref": "#/definitions/uint8" }, "remove_decoratives": { "anyOf": [ { "type": "string", "const": "automatic" }, { "type": "string", "const": "true" }, { "type": "string", "const": "false" } ] }, "emissions_per_second": { "type": "object", "additionalProperties": { "$ref": "#/definitions/double" }, "propertyNames": { "$ref": "#/definitions/AirbornePollutantID" } }, "shooting_cursor_size": { "$ref": "#/definitions/double" }, "created_smoke": { "$ref": "#/definitions/CreateTrivialSmokeEffectItem" }, "working_sound": { "$ref": "#/definitions/WorkingSound" }, "created_effect": { "$ref": "#/definitions/Trigger" }, "build_sound": { "$ref": "#/definitions/Sound" }, "mined_sound": { "$ref": "#/definitions/Sound" }, "mining_sound": { "$ref": "#/definitions/Sound" }, "rotated_sound": { "$ref": "#/definitions/Sound" }, "impact_category": { "$ref": "#/definitions/string" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "placeable_position_visualization": { "$ref": "#/definitions/Sprite" }, "radius_visualisation_specification": { "$ref": "#/definitions/RadiusVisualisationSpecification" }, "stateless_visualisation": { "$ref": "#/definitions/StatelessVisualisations" }, "build_base_evolution_requirement": { "$ref": "#/definitions/double" }, "alert_icon_shift": { "$ref": "#/definitions/Vector" }, "alert_icon_scale": { "$ref": "#/definitions/float" }, "fast_replaceable_group": { "$ref": "#/definitions/string" }, "next_upgrade": { "$ref": "#/definitions/EntityID" }, "protected_from_tile_building": { "$ref": "#/definitions/bool" }, "heating_energy": { "$ref": "#/definitions/Energy" }, "allow_copy_paste": { "$ref": "#/definitions/bool" }, "selectable_in_game": { "$ref": "#/definitions/bool" }, "placeable_by": { "anyOf": [ { "$ref": "#/definitions/ItemToPlace" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemToPlace" } }, { "type": "object", "additionalProperties": false } ] } ] }, "remains_when_mined": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "additional_pastable_entities": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] }, "tile_width": { "$ref": "#/definitions/int32" }, "tile_height": { "$ref": "#/definitions/int32" }, "diagonal_tile_grid_size": { "$ref": "#/definitions/TilePosition" }, "autoplace": { "$ref": "#/definitions/AutoplaceSpecification" }, "map_color": { "$ref": "#/definitions/Color" }, "friendly_map_color": { "$ref": "#/definitions/Color" }, "enemy_map_color": { "$ref": "#/definitions/Color" }, "water_reflection": { "$ref": "#/definitions/WaterReflectionDefinition" }, "ambient_sounds_group": { "$ref": "#/definitions/EntityID" }, "ambient_sounds": { "anyOf": [ { "$ref": "#/definitions/WorldAmbientSoundDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/WorldAmbientSoundDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "icon_draw_specification": { "$ref": "#/definitions/IconDrawSpecification" }, "icons_positioning": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconSequencePositioning" } }, { "type": "object", "additionalProperties": false } ] }, "max_health": { "$ref": "#/definitions/float" }, "healing_per_tick": { "$ref": "#/definitions/float" }, "repair_speed_modifier": { "$ref": "#/definitions/float" }, "dying_explosion": { "anyOf": [ { "$ref": "#/definitions/ExplosionDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ExplosionDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "dying_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "damaged_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "loot": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/LootItem" } }, { "type": "object", "additionalProperties": false } ] }, "resistances": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Resistance" } }, { "type": "object", "additionalProperties": false } ] }, "attack_reaction": { "anyOf": [ { "$ref": "#/definitions/AttackReactionItem" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/AttackReactionItem" } }, { "type": "object", "additionalProperties": false } ] } ] }, "repair_sound": { "$ref": "#/definitions/Sound" }, "alert_when_damaged": { "$ref": "#/definitions/bool" }, "hide_resistances": { "$ref": "#/definitions/bool" }, "create_ghost_on_death": { "$ref": "#/definitions/bool" }, "random_corpse_variation": { "$ref": "#/definitions/bool" }, "integration_patch_render_layer": { "$ref": "#/definitions/RenderLayer" }, "corpse": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "integration_patch": { "$ref": "#/definitions/Sprite4Way" }, "overkill_fraction": { "$ref": "#/definitions/float" }, "is_military_target": { "$ref": "#/definitions/bool" }, "allow_run_time_change_of_is_military_target": { "$ref": "#/definitions/bool" }, "quality_indicator_scale": { "$ref": "#/definitions/double" }, "energy_source": { "$ref": "#/definitions/ElectricEnergySource" }, "graphics_set": { "$ref": "#/definitions/FusionGeneratorGraphicsSet" }, "input_fluid_box": { "$ref": "#/definitions/FluidBox" }, "output_fluid_box": { "$ref": "#/definitions/FluidBox" }, "max_fluid_usage": { "$ref": "#/definitions/FluidAmount" }, "perceived_performance": { "$ref": "#/definitions/PerceivedPerformance" } }, "required": [ "type", "name", "energy_source", "input_fluid_box", "output_fluid_box", "max_fluid_usage" ] }, "FusionReactorPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/FusionReactorPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "fusion-reactor" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "collision_box": { "$ref": "#/definitions/BoundingBox" }, "collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "map_generator_bounding_box": { "$ref": "#/definitions/BoundingBox" }, "selection_box": { "$ref": "#/definitions/BoundingBox" }, "drawing_box_vertical_extension": { "$ref": "#/definitions/double" }, "sticker_box": { "$ref": "#/definitions/BoundingBox" }, "hit_visualization_box": { "$ref": "#/definitions/BoundingBox" }, "trigger_target_mask": { "$ref": "#/definitions/TriggerTargetMask" }, "flags": { "$ref": "#/definitions/EntityPrototypeFlags" }, "tile_buildability_rules": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileBuildabilityRule" } }, { "type": "object", "additionalProperties": false } ] }, "minable": { "$ref": "#/definitions/MinableProperties" }, "surface_conditions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SurfaceCondition" } }, { "type": "object", "additionalProperties": false } ] }, "deconstruction_alternative": { "$ref": "#/definitions/EntityID" }, "selection_priority": { "$ref": "#/definitions/uint8" }, "build_grid_size": { "$ref": "#/definitions/uint8" }, "remove_decoratives": { "anyOf": [ { "type": "string", "const": "automatic" }, { "type": "string", "const": "true" }, { "type": "string", "const": "false" } ] }, "emissions_per_second": { "type": "object", "additionalProperties": { "$ref": "#/definitions/double" }, "propertyNames": { "$ref": "#/definitions/AirbornePollutantID" } }, "shooting_cursor_size": { "$ref": "#/definitions/double" }, "created_smoke": { "$ref": "#/definitions/CreateTrivialSmokeEffectItem" }, "working_sound": { "$ref": "#/definitions/WorkingSound" }, "created_effect": { "$ref": "#/definitions/Trigger" }, "build_sound": { "$ref": "#/definitions/Sound" }, "mined_sound": { "$ref": "#/definitions/Sound" }, "mining_sound": { "$ref": "#/definitions/Sound" }, "rotated_sound": { "$ref": "#/definitions/Sound" }, "impact_category": { "$ref": "#/definitions/string" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "placeable_position_visualization": { "$ref": "#/definitions/Sprite" }, "radius_visualisation_specification": { "$ref": "#/definitions/RadiusVisualisationSpecification" }, "stateless_visualisation": { "$ref": "#/definitions/StatelessVisualisations" }, "build_base_evolution_requirement": { "$ref": "#/definitions/double" }, "alert_icon_shift": { "$ref": "#/definitions/Vector" }, "alert_icon_scale": { "$ref": "#/definitions/float" }, "fast_replaceable_group": { "$ref": "#/definitions/string" }, "next_upgrade": { "$ref": "#/definitions/EntityID" }, "protected_from_tile_building": { "$ref": "#/definitions/bool" }, "heating_energy": { "$ref": "#/definitions/Energy" }, "allow_copy_paste": { "$ref": "#/definitions/bool" }, "selectable_in_game": { "$ref": "#/definitions/bool" }, "placeable_by": { "anyOf": [ { "$ref": "#/definitions/ItemToPlace" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemToPlace" } }, { "type": "object", "additionalProperties": false } ] } ] }, "remains_when_mined": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "additional_pastable_entities": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] }, "tile_width": { "$ref": "#/definitions/int32" }, "tile_height": { "$ref": "#/definitions/int32" }, "diagonal_tile_grid_size": { "$ref": "#/definitions/TilePosition" }, "autoplace": { "$ref": "#/definitions/AutoplaceSpecification" }, "map_color": { "$ref": "#/definitions/Color" }, "friendly_map_color": { "$ref": "#/definitions/Color" }, "enemy_map_color": { "$ref": "#/definitions/Color" }, "water_reflection": { "$ref": "#/definitions/WaterReflectionDefinition" }, "ambient_sounds_group": { "$ref": "#/definitions/EntityID" }, "ambient_sounds": { "anyOf": [ { "$ref": "#/definitions/WorldAmbientSoundDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/WorldAmbientSoundDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "icon_draw_specification": { "$ref": "#/definitions/IconDrawSpecification" }, "icons_positioning": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconSequencePositioning" } }, { "type": "object", "additionalProperties": false } ] }, "max_health": { "$ref": "#/definitions/float" }, "healing_per_tick": { "$ref": "#/definitions/float" }, "repair_speed_modifier": { "$ref": "#/definitions/float" }, "dying_explosion": { "anyOf": [ { "$ref": "#/definitions/ExplosionDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ExplosionDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "dying_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "damaged_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "loot": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/LootItem" } }, { "type": "object", "additionalProperties": false } ] }, "resistances": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Resistance" } }, { "type": "object", "additionalProperties": false } ] }, "attack_reaction": { "anyOf": [ { "$ref": "#/definitions/AttackReactionItem" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/AttackReactionItem" } }, { "type": "object", "additionalProperties": false } ] } ] }, "repair_sound": { "$ref": "#/definitions/Sound" }, "alert_when_damaged": { "$ref": "#/definitions/bool" }, "hide_resistances": { "$ref": "#/definitions/bool" }, "create_ghost_on_death": { "$ref": "#/definitions/bool" }, "random_corpse_variation": { "$ref": "#/definitions/bool" }, "integration_patch_render_layer": { "$ref": "#/definitions/RenderLayer" }, "corpse": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "integration_patch": { "$ref": "#/definitions/Sprite4Way" }, "overkill_fraction": { "$ref": "#/definitions/float" }, "is_military_target": { "$ref": "#/definitions/bool" }, "allow_run_time_change_of_is_military_target": { "$ref": "#/definitions/bool" }, "quality_indicator_scale": { "$ref": "#/definitions/double" }, "energy_source": { "$ref": "#/definitions/ElectricEnergySource" }, "burner": { "$ref": "#/definitions/BurnerEnergySource" }, "graphics_set": { "$ref": "#/definitions/FusionReactorGraphicsSet" }, "input_fluid_box": { "$ref": "#/definitions/FluidBox" }, "output_fluid_box": { "$ref": "#/definitions/FluidBox" }, "neighbour_connectable": { "$ref": "#/definitions/NeighbourConnectable" }, "two_direction_only": { "$ref": "#/definitions/bool" }, "neighbour_bonus": { "$ref": "#/definitions/float" }, "power_input": { "$ref": "#/definitions/Energy" }, "max_fluid_usage": { "$ref": "#/definitions/FluidAmount" }, "perceived_performance": { "$ref": "#/definitions/PerceivedPerformance" } }, "required": [ "type", "name", "energy_source", "burner", "graphics_set", "input_fluid_box", "output_fluid_box", "power_input", "max_fluid_usage" ] }, "GatePrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/GatePrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "gate" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "collision_box": { "$ref": "#/definitions/BoundingBox" }, "collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "map_generator_bounding_box": { "$ref": "#/definitions/BoundingBox" }, "selection_box": { "$ref": "#/definitions/BoundingBox" }, "drawing_box_vertical_extension": { "$ref": "#/definitions/double" }, "sticker_box": { "$ref": "#/definitions/BoundingBox" }, "hit_visualization_box": { "$ref": "#/definitions/BoundingBox" }, "trigger_target_mask": { "$ref": "#/definitions/TriggerTargetMask" }, "flags": { "$ref": "#/definitions/EntityPrototypeFlags" }, "tile_buildability_rules": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileBuildabilityRule" } }, { "type": "object", "additionalProperties": false } ] }, "minable": { "$ref": "#/definitions/MinableProperties" }, "surface_conditions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SurfaceCondition" } }, { "type": "object", "additionalProperties": false } ] }, "deconstruction_alternative": { "$ref": "#/definitions/EntityID" }, "selection_priority": { "$ref": "#/definitions/uint8" }, "build_grid_size": { "$ref": "#/definitions/uint8" }, "remove_decoratives": { "anyOf": [ { "type": "string", "const": "automatic" }, { "type": "string", "const": "true" }, { "type": "string", "const": "false" } ] }, "emissions_per_second": { "type": "object", "additionalProperties": { "$ref": "#/definitions/double" }, "propertyNames": { "$ref": "#/definitions/AirbornePollutantID" } }, "shooting_cursor_size": { "$ref": "#/definitions/double" }, "created_smoke": { "$ref": "#/definitions/CreateTrivialSmokeEffectItem" }, "working_sound": { "$ref": "#/definitions/WorkingSound" }, "created_effect": { "$ref": "#/definitions/Trigger" }, "build_sound": { "$ref": "#/definitions/Sound" }, "mined_sound": { "$ref": "#/definitions/Sound" }, "mining_sound": { "$ref": "#/definitions/Sound" }, "rotated_sound": { "$ref": "#/definitions/Sound" }, "impact_category": { "$ref": "#/definitions/string" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "placeable_position_visualization": { "$ref": "#/definitions/Sprite" }, "radius_visualisation_specification": { "$ref": "#/definitions/RadiusVisualisationSpecification" }, "stateless_visualisation": { "$ref": "#/definitions/StatelessVisualisations" }, "build_base_evolution_requirement": { "$ref": "#/definitions/double" }, "alert_icon_shift": { "$ref": "#/definitions/Vector" }, "alert_icon_scale": { "$ref": "#/definitions/float" }, "fast_replaceable_group": { "$ref": "#/definitions/string" }, "next_upgrade": { "$ref": "#/definitions/EntityID" }, "protected_from_tile_building": { "$ref": "#/definitions/bool" }, "heating_energy": { "$ref": "#/definitions/Energy" }, "allow_copy_paste": { "$ref": "#/definitions/bool" }, "selectable_in_game": { "$ref": "#/definitions/bool" }, "placeable_by": { "anyOf": [ { "$ref": "#/definitions/ItemToPlace" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemToPlace" } }, { "type": "object", "additionalProperties": false } ] } ] }, "remains_when_mined": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "additional_pastable_entities": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] }, "tile_width": { "$ref": "#/definitions/int32" }, "tile_height": { "$ref": "#/definitions/int32" }, "diagonal_tile_grid_size": { "$ref": "#/definitions/TilePosition" }, "autoplace": { "$ref": "#/definitions/AutoplaceSpecification" }, "map_color": { "$ref": "#/definitions/Color" }, "friendly_map_color": { "$ref": "#/definitions/Color" }, "enemy_map_color": { "$ref": "#/definitions/Color" }, "water_reflection": { "$ref": "#/definitions/WaterReflectionDefinition" }, "ambient_sounds_group": { "$ref": "#/definitions/EntityID" }, "ambient_sounds": { "anyOf": [ { "$ref": "#/definitions/WorldAmbientSoundDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/WorldAmbientSoundDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "icon_draw_specification": { "$ref": "#/definitions/IconDrawSpecification" }, "icons_positioning": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconSequencePositioning" } }, { "type": "object", "additionalProperties": false } ] }, "max_health": { "$ref": "#/definitions/float" }, "healing_per_tick": { "$ref": "#/definitions/float" }, "repair_speed_modifier": { "$ref": "#/definitions/float" }, "dying_explosion": { "anyOf": [ { "$ref": "#/definitions/ExplosionDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ExplosionDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "dying_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "damaged_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "loot": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/LootItem" } }, { "type": "object", "additionalProperties": false } ] }, "resistances": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Resistance" } }, { "type": "object", "additionalProperties": false } ] }, "attack_reaction": { "anyOf": [ { "$ref": "#/definitions/AttackReactionItem" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/AttackReactionItem" } }, { "type": "object", "additionalProperties": false } ] } ] }, "repair_sound": { "$ref": "#/definitions/Sound" }, "alert_when_damaged": { "$ref": "#/definitions/bool" }, "hide_resistances": { "$ref": "#/definitions/bool" }, "create_ghost_on_death": { "$ref": "#/definitions/bool" }, "random_corpse_variation": { "$ref": "#/definitions/bool" }, "integration_patch_render_layer": { "$ref": "#/definitions/RenderLayer" }, "corpse": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "integration_patch": { "$ref": "#/definitions/Sprite4Way" }, "overkill_fraction": { "$ref": "#/definitions/float" }, "is_military_target": { "$ref": "#/definitions/bool" }, "allow_run_time_change_of_is_military_target": { "$ref": "#/definitions/bool" }, "quality_indicator_scale": { "$ref": "#/definitions/double" }, "vertical_animation": { "$ref": "#/definitions/Animation" }, "horizontal_animation": { "$ref": "#/definitions/Animation" }, "vertical_rail_animation_left": { "$ref": "#/definitions/Animation" }, "vertical_rail_animation_right": { "$ref": "#/definitions/Animation" }, "horizontal_rail_animation_left": { "$ref": "#/definitions/Animation" }, "horizontal_rail_animation_right": { "$ref": "#/definitions/Animation" }, "vertical_rail_base": { "$ref": "#/definitions/Animation" }, "horizontal_rail_base": { "$ref": "#/definitions/Animation" }, "wall_patch": { "$ref": "#/definitions/Animation" }, "opening_speed": { "$ref": "#/definitions/float" }, "activation_distance": { "$ref": "#/definitions/double" }, "timeout_to_close": { "$ref": "#/definitions/uint32" }, "opening_sound": { "$ref": "#/definitions/Sound" }, "closing_sound": { "$ref": "#/definitions/Sound" }, "fadeout_interval": { "$ref": "#/definitions/uint32" }, "opened_collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" } }, "required": [ "type", "name", "opening_speed", "activation_distance", "timeout_to_close" ] }, "GeneratorEquipmentPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/GeneratorEquipmentPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "generator-equipment" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "sprite": { "$ref": "#/definitions/Sprite" }, "shape": { "$ref": "#/definitions/EquipmentShape" }, "categories": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EquipmentCategoryID" } }, { "type": "object", "additionalProperties": false } ] }, "energy_source": { "$ref": "#/definitions/ElectricEnergySource" }, "take_result": { "$ref": "#/definitions/ItemID" }, "background_color": { "$ref": "#/definitions/Color" }, "background_border_color": { "$ref": "#/definitions/Color" }, "grabbed_background_color": { "$ref": "#/definitions/Color" }, "power": { "$ref": "#/definitions/Energy" }, "burner": { "$ref": "#/definitions/BurnerEnergySource" } }, "required": [ "type", "name", "sprite", "shape", "categories", "energy_source", "power" ] }, "GeneratorPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/GeneratorPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "generator" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "collision_box": { "$ref": "#/definitions/BoundingBox" }, "collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "map_generator_bounding_box": { "$ref": "#/definitions/BoundingBox" }, "selection_box": { "$ref": "#/definitions/BoundingBox" }, "drawing_box_vertical_extension": { "$ref": "#/definitions/double" }, "sticker_box": { "$ref": "#/definitions/BoundingBox" }, "hit_visualization_box": { "$ref": "#/definitions/BoundingBox" }, "trigger_target_mask": { "$ref": "#/definitions/TriggerTargetMask" }, "flags": { "$ref": "#/definitions/EntityPrototypeFlags" }, "tile_buildability_rules": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileBuildabilityRule" } }, { "type": "object", "additionalProperties": false } ] }, "minable": { "$ref": "#/definitions/MinableProperties" }, "surface_conditions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SurfaceCondition" } }, { "type": "object", "additionalProperties": false } ] }, "deconstruction_alternative": { "$ref": "#/definitions/EntityID" }, "selection_priority": { "$ref": "#/definitions/uint8" }, "build_grid_size": { "$ref": "#/definitions/uint8" }, "remove_decoratives": { "anyOf": [ { "type": "string", "const": "automatic" }, { "type": "string", "const": "true" }, { "type": "string", "const": "false" } ] }, "emissions_per_second": { "type": "object", "additionalProperties": { "$ref": "#/definitions/double" }, "propertyNames": { "$ref": "#/definitions/AirbornePollutantID" } }, "shooting_cursor_size": { "$ref": "#/definitions/double" }, "created_smoke": { "$ref": "#/definitions/CreateTrivialSmokeEffectItem" }, "working_sound": { "$ref": "#/definitions/WorkingSound" }, "created_effect": { "$ref": "#/definitions/Trigger" }, "build_sound": { "$ref": "#/definitions/Sound" }, "mined_sound": { "$ref": "#/definitions/Sound" }, "mining_sound": { "$ref": "#/definitions/Sound" }, "rotated_sound": { "$ref": "#/definitions/Sound" }, "impact_category": { "$ref": "#/definitions/string" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "placeable_position_visualization": { "$ref": "#/definitions/Sprite" }, "radius_visualisation_specification": { "$ref": "#/definitions/RadiusVisualisationSpecification" }, "stateless_visualisation": { "$ref": "#/definitions/StatelessVisualisations" }, "build_base_evolution_requirement": { "$ref": "#/definitions/double" }, "alert_icon_shift": { "$ref": "#/definitions/Vector" }, "alert_icon_scale": { "$ref": "#/definitions/float" }, "fast_replaceable_group": { "$ref": "#/definitions/string" }, "next_upgrade": { "$ref": "#/definitions/EntityID" }, "protected_from_tile_building": { "$ref": "#/definitions/bool" }, "heating_energy": { "$ref": "#/definitions/Energy" }, "allow_copy_paste": { "$ref": "#/definitions/bool" }, "selectable_in_game": { "$ref": "#/definitions/bool" }, "placeable_by": { "anyOf": [ { "$ref": "#/definitions/ItemToPlace" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemToPlace" } }, { "type": "object", "additionalProperties": false } ] } ] }, "remains_when_mined": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "additional_pastable_entities": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] }, "tile_width": { "$ref": "#/definitions/int32" }, "tile_height": { "$ref": "#/definitions/int32" }, "diagonal_tile_grid_size": { "$ref": "#/definitions/TilePosition" }, "autoplace": { "$ref": "#/definitions/AutoplaceSpecification" }, "map_color": { "$ref": "#/definitions/Color" }, "friendly_map_color": { "$ref": "#/definitions/Color" }, "enemy_map_color": { "$ref": "#/definitions/Color" }, "water_reflection": { "$ref": "#/definitions/WaterReflectionDefinition" }, "ambient_sounds_group": { "$ref": "#/definitions/EntityID" }, "ambient_sounds": { "anyOf": [ { "$ref": "#/definitions/WorldAmbientSoundDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/WorldAmbientSoundDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "icon_draw_specification": { "$ref": "#/definitions/IconDrawSpecification" }, "icons_positioning": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconSequencePositioning" } }, { "type": "object", "additionalProperties": false } ] }, "max_health": { "$ref": "#/definitions/float" }, "healing_per_tick": { "$ref": "#/definitions/float" }, "repair_speed_modifier": { "$ref": "#/definitions/float" }, "dying_explosion": { "anyOf": [ { "$ref": "#/definitions/ExplosionDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ExplosionDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "dying_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "damaged_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "loot": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/LootItem" } }, { "type": "object", "additionalProperties": false } ] }, "resistances": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Resistance" } }, { "type": "object", "additionalProperties": false } ] }, "attack_reaction": { "anyOf": [ { "$ref": "#/definitions/AttackReactionItem" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/AttackReactionItem" } }, { "type": "object", "additionalProperties": false } ] } ] }, "repair_sound": { "$ref": "#/definitions/Sound" }, "alert_when_damaged": { "$ref": "#/definitions/bool" }, "hide_resistances": { "$ref": "#/definitions/bool" }, "create_ghost_on_death": { "$ref": "#/definitions/bool" }, "random_corpse_variation": { "$ref": "#/definitions/bool" }, "integration_patch_render_layer": { "$ref": "#/definitions/RenderLayer" }, "corpse": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "integration_patch": { "$ref": "#/definitions/Sprite4Way" }, "overkill_fraction": { "$ref": "#/definitions/float" }, "is_military_target": { "$ref": "#/definitions/bool" }, "allow_run_time_change_of_is_military_target": { "$ref": "#/definitions/bool" }, "quality_indicator_scale": { "$ref": "#/definitions/double" }, "energy_source": { "$ref": "#/definitions/ElectricEnergySource" }, "fluid_box": { "$ref": "#/definitions/FluidBox" }, "horizontal_animation": { "$ref": "#/definitions/Animation" }, "vertical_animation": { "$ref": "#/definitions/Animation" }, "horizontal_frozen_patch": { "$ref": "#/definitions/Sprite" }, "vertical_frozen_patch": { "$ref": "#/definitions/Sprite" }, "effectivity": { "$ref": "#/definitions/double" }, "fluid_usage_per_tick": { "$ref": "#/definitions/FluidAmount" }, "maximum_temperature": { "$ref": "#/definitions/float" }, "smoke": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SmokeSource" } }, { "type": "object", "additionalProperties": false } ] }, "burns_fluid": { "$ref": "#/definitions/bool" }, "scale_fluid_usage": { "$ref": "#/definitions/bool" }, "destroy_non_fuel_fluid": { "$ref": "#/definitions/bool" }, "perceived_performance": { "$ref": "#/definitions/PerceivedPerformance" }, "max_power_output": { "$ref": "#/definitions/Energy" } }, "required": [ "type", "name", "energy_source", "fluid_box", "fluid_usage_per_tick", "maximum_temperature" ] }, "GodControllerPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/GodControllerPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "god-controller" }, "name": { "$ref": "#/definitions/string" }, "inventory_size": { "$ref": "#/definitions/ItemStackIndex" }, "movement_speed": { "$ref": "#/definitions/double" }, "item_pickup_distance": { "$ref": "#/definitions/double" }, "loot_pickup_distance": { "$ref": "#/definitions/double" }, "mining_speed": { "$ref": "#/definitions/double" }, "crafting_categories": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/RecipeCategoryID" } }, { "type": "object", "additionalProperties": false } ] }, "mining_categories": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ResourceCategoryID" } }, { "type": "object", "additionalProperties": false } ] } }, "required": [ "type", "name", "inventory_size", "movement_speed", "item_pickup_distance", "loot_pickup_distance", "mining_speed" ] }, "GroupAttackAchievementPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/GroupAttackAchievementPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "group-attack-achievement" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "steam_stats_name": { "$ref": "#/definitions/string" }, "allowed_without_fight": { "$ref": "#/definitions/bool" }, "amount": { "$ref": "#/definitions/uint32" }, "entities": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } }, "required": [ "type", "name" ] }, "GuiStyle": { "description": "https://lua-api.factorio.com/stable/prototypes/GuiStyle.html", "type": "object", "properties": { "type": { "type": "string", "const": "gui-style" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "default_tileset": { "$ref": "#/definitions/FileName" }, "default_sprite_scale": { "$ref": "#/definitions/double" }, "default_sprite_priority": { "$ref": "#/definitions/SpritePriority" } }, "additionalProperties": { "$ref": "#/definitions/StyleSpecification" }, "required": [ "type", "name" ] }, "GunPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/GunPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "gun" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "stack_size": { "$ref": "#/definitions/ItemCountType" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "dark_background_icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "dark_background_icon": { "$ref": "#/definitions/FileName" }, "dark_background_icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "place_result": { "$ref": "#/definitions/EntityID" }, "place_as_equipment_result": { "$ref": "#/definitions/EquipmentID" }, "fuel_category": { "$ref": "#/definitions/FuelCategoryID" }, "burnt_result": { "$ref": "#/definitions/ItemID" }, "spoil_result": { "$ref": "#/definitions/ItemID" }, "plant_result": { "$ref": "#/definitions/EntityID" }, "place_as_tile": { "type": "object", "properties": { "result": { "$ref": "#/definitions/TileID" }, "condition": { "$ref": "#/definitions/CollisionMaskConnector" }, "invert": { "$ref": "#/definitions/bool" }, "condition_size": { "$ref": "#/definitions/uint32" }, "tile_condition": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileID" } }, { "type": "object", "additionalProperties": false } ] } }, "required": [ "result", "condition", "condition_size" ] }, "pictures": { "$ref": "#/definitions/SpriteVariations" }, "flags": { "$ref": "#/definitions/ItemPrototypeFlags" }, "spoil_ticks": { "$ref": "#/definitions/uint32" }, "fuel_value": { "$ref": "#/definitions/Energy" }, "fuel_acceleration_multiplier": { "$ref": "#/definitions/double" }, "fuel_top_speed_multiplier": { "$ref": "#/definitions/double" }, "fuel_emissions_multiplier": { "$ref": "#/definitions/double" }, "fuel_acceleration_multiplier_quality_bonus": { "$ref": "#/definitions/double" }, "fuel_top_speed_multiplier_quality_bonus": { "$ref": "#/definitions/double" }, "weight": { "$ref": "#/definitions/Weight" }, "ingredient_to_weight_coefficient": { "$ref": "#/definitions/double" }, "fuel_glow_color": { "$ref": "#/definitions/Color" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "pick_sound": { "$ref": "#/definitions/Sound" }, "drop_sound": { "$ref": "#/definitions/Sound" }, "inventory_move_sound": { "$ref": "#/definitions/Sound" }, "default_import_location": { "$ref": "#/definitions/SpaceLocationID" }, "color_hint": { "$ref": "#/definitions/ColorHintSpecification" }, "has_random_tint": { "$ref": "#/definitions/bool" }, "spoil_to_trigger_result": { "$ref": "#/definitions/SpoilToTriggerResult" }, "destroyed_by_dropping_trigger": { "$ref": "#/definitions/Trigger" }, "rocket_launch_products": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemProductPrototype" } }, { "type": "object", "additionalProperties": false } ] }, "send_to_orbit_mode": { "$ref": "#/definitions/SendToOrbitMode" }, "random_tint_color": { "$ref": "#/definitions/Color" }, "spoil_level": { "$ref": "#/definitions/uint8" }, "attack_parameters": { "$ref": "#/definitions/AttackParameters" } }, "required": [ "type", "name", "stack_size", "attack_parameters" ] }, "HalfDiagonalRailPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/HalfDiagonalRailPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "half-diagonal-rail" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "collision_box": { "$ref": "#/definitions/BoundingBox" }, "collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "map_generator_bounding_box": { "$ref": "#/definitions/BoundingBox" }, "selection_box": { "$ref": "#/definitions/BoundingBox" }, "drawing_box_vertical_extension": { "$ref": "#/definitions/double" }, "sticker_box": { "$ref": "#/definitions/BoundingBox" }, "hit_visualization_box": { "$ref": "#/definitions/BoundingBox" }, "trigger_target_mask": { "$ref": "#/definitions/TriggerTargetMask" }, "flags": { "$ref": "#/definitions/EntityPrototypeFlags" }, "tile_buildability_rules": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileBuildabilityRule" } }, { "type": "object", "additionalProperties": false } ] }, "minable": { "$ref": "#/definitions/MinableProperties" }, "surface_conditions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SurfaceCondition" } }, { "type": "object", "additionalProperties": false } ] }, "deconstruction_alternative": { "$ref": "#/definitions/EntityID" }, "selection_priority": { "$ref": "#/definitions/uint8" }, "build_grid_size": { "type": "integer", "const": 2 }, "remove_decoratives": { "anyOf": [ { "type": "string", "const": "automatic" }, { "type": "string", "const": "true" }, { "type": "string", "const": "false" } ] }, "emissions_per_second": { "type": "object", "additionalProperties": { "$ref": "#/definitions/double" }, "propertyNames": { "$ref": "#/definitions/AirbornePollutantID" } }, "shooting_cursor_size": { "$ref": "#/definitions/double" }, "created_smoke": { "$ref": "#/definitions/CreateTrivialSmokeEffectItem" }, "working_sound": { "$ref": "#/definitions/WorkingSound" }, "created_effect": { "$ref": "#/definitions/Trigger" }, "build_sound": { "$ref": "#/definitions/Sound" }, "mined_sound": { "$ref": "#/definitions/Sound" }, "mining_sound": { "$ref": "#/definitions/Sound" }, "rotated_sound": { "$ref": "#/definitions/Sound" }, "impact_category": { "$ref": "#/definitions/string" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "placeable_position_visualization": { "$ref": "#/definitions/Sprite" }, "radius_visualisation_specification": { "$ref": "#/definitions/RadiusVisualisationSpecification" }, "stateless_visualisation": { "$ref": "#/definitions/StatelessVisualisations" }, "build_base_evolution_requirement": { "$ref": "#/definitions/double" }, "alert_icon_shift": { "$ref": "#/definitions/Vector" }, "alert_icon_scale": { "$ref": "#/definitions/float" }, "fast_replaceable_group": { "$ref": "#/definitions/string" }, "next_upgrade": { "$ref": "#/definitions/EntityID" }, "protected_from_tile_building": { "$ref": "#/definitions/bool" }, "heating_energy": { "$ref": "#/definitions/Energy" }, "allow_copy_paste": { "$ref": "#/definitions/bool" }, "selectable_in_game": { "$ref": "#/definitions/bool" }, "placeable_by": { "anyOf": [ { "$ref": "#/definitions/ItemToPlace" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemToPlace" } }, { "type": "object", "additionalProperties": false } ] } ] }, "remains_when_mined": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "additional_pastable_entities": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] }, "tile_width": { "$ref": "#/definitions/int32" }, "tile_height": { "$ref": "#/definitions/int32" }, "diagonal_tile_grid_size": { "$ref": "#/definitions/TilePosition" }, "autoplace": { "$ref": "#/definitions/AutoplaceSpecification" }, "map_color": { "$ref": "#/definitions/Color" }, "friendly_map_color": { "$ref": "#/definitions/Color" }, "enemy_map_color": { "$ref": "#/definitions/Color" }, "water_reflection": { "$ref": "#/definitions/WaterReflectionDefinition" }, "ambient_sounds_group": { "$ref": "#/definitions/EntityID" }, "ambient_sounds": { "anyOf": [ { "$ref": "#/definitions/WorldAmbientSoundDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/WorldAmbientSoundDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "icon_draw_specification": { "$ref": "#/definitions/IconDrawSpecification" }, "icons_positioning": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconSequencePositioning" } }, { "type": "object", "additionalProperties": false } ] }, "max_health": { "$ref": "#/definitions/float" }, "healing_per_tick": { "$ref": "#/definitions/float" }, "repair_speed_modifier": { "$ref": "#/definitions/float" }, "dying_explosion": { "anyOf": [ { "$ref": "#/definitions/ExplosionDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ExplosionDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "dying_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "damaged_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "loot": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/LootItem" } }, { "type": "object", "additionalProperties": false } ] }, "resistances": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Resistance" } }, { "type": "object", "additionalProperties": false } ] }, "attack_reaction": { "anyOf": [ { "$ref": "#/definitions/AttackReactionItem" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/AttackReactionItem" } }, { "type": "object", "additionalProperties": false } ] } ] }, "repair_sound": { "$ref": "#/definitions/Sound" }, "alert_when_damaged": { "$ref": "#/definitions/bool" }, "hide_resistances": { "$ref": "#/definitions/bool" }, "create_ghost_on_death": { "$ref": "#/definitions/bool" }, "random_corpse_variation": { "$ref": "#/definitions/bool" }, "integration_patch_render_layer": { "$ref": "#/definitions/RenderLayer" }, "corpse": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "integration_patch": { "$ref": "#/definitions/Sprite4Way" }, "overkill_fraction": { "$ref": "#/definitions/float" }, "is_military_target": { "$ref": "#/definitions/bool" }, "allow_run_time_change_of_is_military_target": { "$ref": "#/definitions/bool" }, "quality_indicator_scale": { "$ref": "#/definitions/double" }, "walking_sound": { "$ref": "#/definitions/Sound" }, "pictures": { "$ref": "#/definitions/RailPictureSet" }, "fence_pictures": { "$ref": "#/definitions/RailFenceGraphicsSet" }, "extra_planner_penalty": { "$ref": "#/definitions/double" }, "extra_planner_goal_penalty": { "$ref": "#/definitions/double" }, "forced_fence_segment_count": { "$ref": "#/definitions/uint8" }, "ending_shifts": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Vector" } }, { "type": "object", "additionalProperties": false } ] }, "deconstruction_marker_positions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Vector" } }, { "type": "object", "additionalProperties": false } ] }, "removes_soft_decoratives": { "$ref": "#/definitions/bool" } }, "required": [ "type", "name", "pictures" ] }, "HeatInterfacePrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/HeatInterfacePrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "heat-interface" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "collision_box": { "$ref": "#/definitions/BoundingBox" }, "collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "map_generator_bounding_box": { "$ref": "#/definitions/BoundingBox" }, "selection_box": { "$ref": "#/definitions/BoundingBox" }, "drawing_box_vertical_extension": { "$ref": "#/definitions/double" }, "sticker_box": { "$ref": "#/definitions/BoundingBox" }, "hit_visualization_box": { "$ref": "#/definitions/BoundingBox" }, "trigger_target_mask": { "$ref": "#/definitions/TriggerTargetMask" }, "flags": { "$ref": "#/definitions/EntityPrototypeFlags" }, "tile_buildability_rules": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileBuildabilityRule" } }, { "type": "object", "additionalProperties": false } ] }, "minable": { "$ref": "#/definitions/MinableProperties" }, "surface_conditions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SurfaceCondition" } }, { "type": "object", "additionalProperties": false } ] }, "deconstruction_alternative": { "$ref": "#/definitions/EntityID" }, "selection_priority": { "$ref": "#/definitions/uint8" }, "build_grid_size": { "$ref": "#/definitions/uint8" }, "remove_decoratives": { "anyOf": [ { "type": "string", "const": "automatic" }, { "type": "string", "const": "true" }, { "type": "string", "const": "false" } ] }, "emissions_per_second": { "type": "object", "additionalProperties": { "$ref": "#/definitions/double" }, "propertyNames": { "$ref": "#/definitions/AirbornePollutantID" } }, "shooting_cursor_size": { "$ref": "#/definitions/double" }, "created_smoke": { "$ref": "#/definitions/CreateTrivialSmokeEffectItem" }, "working_sound": { "$ref": "#/definitions/WorkingSound" }, "created_effect": { "$ref": "#/definitions/Trigger" }, "build_sound": { "$ref": "#/definitions/Sound" }, "mined_sound": { "$ref": "#/definitions/Sound" }, "mining_sound": { "$ref": "#/definitions/Sound" }, "rotated_sound": { "$ref": "#/definitions/Sound" }, "impact_category": { "$ref": "#/definitions/string" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "placeable_position_visualization": { "$ref": "#/definitions/Sprite" }, "radius_visualisation_specification": { "$ref": "#/definitions/RadiusVisualisationSpecification" }, "stateless_visualisation": { "$ref": "#/definitions/StatelessVisualisations" }, "build_base_evolution_requirement": { "$ref": "#/definitions/double" }, "alert_icon_shift": { "$ref": "#/definitions/Vector" }, "alert_icon_scale": { "$ref": "#/definitions/float" }, "fast_replaceable_group": { "$ref": "#/definitions/string" }, "next_upgrade": { "$ref": "#/definitions/EntityID" }, "protected_from_tile_building": { "$ref": "#/definitions/bool" }, "heating_energy": { "$ref": "#/definitions/Energy" }, "allow_copy_paste": { "$ref": "#/definitions/bool" }, "selectable_in_game": { "$ref": "#/definitions/bool" }, "placeable_by": { "anyOf": [ { "$ref": "#/definitions/ItemToPlace" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemToPlace" } }, { "type": "object", "additionalProperties": false } ] } ] }, "remains_when_mined": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "additional_pastable_entities": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] }, "tile_width": { "$ref": "#/definitions/int32" }, "tile_height": { "$ref": "#/definitions/int32" }, "diagonal_tile_grid_size": { "$ref": "#/definitions/TilePosition" }, "autoplace": { "$ref": "#/definitions/AutoplaceSpecification" }, "map_color": { "$ref": "#/definitions/Color" }, "friendly_map_color": { "$ref": "#/definitions/Color" }, "enemy_map_color": { "$ref": "#/definitions/Color" }, "water_reflection": { "$ref": "#/definitions/WaterReflectionDefinition" }, "ambient_sounds_group": { "$ref": "#/definitions/EntityID" }, "ambient_sounds": { "anyOf": [ { "$ref": "#/definitions/WorldAmbientSoundDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/WorldAmbientSoundDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "icon_draw_specification": { "$ref": "#/definitions/IconDrawSpecification" }, "icons_positioning": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconSequencePositioning" } }, { "type": "object", "additionalProperties": false } ] }, "max_health": { "$ref": "#/definitions/float" }, "healing_per_tick": { "$ref": "#/definitions/float" }, "repair_speed_modifier": { "$ref": "#/definitions/float" }, "dying_explosion": { "anyOf": [ { "$ref": "#/definitions/ExplosionDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ExplosionDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "dying_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "damaged_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "loot": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/LootItem" } }, { "type": "object", "additionalProperties": false } ] }, "resistances": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Resistance" } }, { "type": "object", "additionalProperties": false } ] }, "attack_reaction": { "anyOf": [ { "$ref": "#/definitions/AttackReactionItem" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/AttackReactionItem" } }, { "type": "object", "additionalProperties": false } ] } ] }, "repair_sound": { "$ref": "#/definitions/Sound" }, "alert_when_damaged": { "$ref": "#/definitions/bool" }, "hide_resistances": { "$ref": "#/definitions/bool" }, "create_ghost_on_death": { "$ref": "#/definitions/bool" }, "random_corpse_variation": { "$ref": "#/definitions/bool" }, "integration_patch_render_layer": { "$ref": "#/definitions/RenderLayer" }, "corpse": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "integration_patch": { "$ref": "#/definitions/Sprite4Way" }, "overkill_fraction": { "$ref": "#/definitions/float" }, "is_military_target": { "$ref": "#/definitions/bool" }, "allow_run_time_change_of_is_military_target": { "$ref": "#/definitions/bool" }, "quality_indicator_scale": { "$ref": "#/definitions/double" }, "heat_buffer": { "$ref": "#/definitions/HeatBuffer" }, "picture": { "$ref": "#/definitions/Sprite" }, "gui_mode": { "anyOf": [ { "type": "string", "const": "all" }, { "type": "string", "const": "none" }, { "type": "string", "const": "admins" } ] } }, "required": [ "type", "name", "heat_buffer" ] }, "HeatPipePrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/HeatPipePrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "heat-pipe" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "collision_box": { "$ref": "#/definitions/BoundingBox" }, "collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "map_generator_bounding_box": { "$ref": "#/definitions/BoundingBox" }, "selection_box": { "$ref": "#/definitions/BoundingBox" }, "drawing_box_vertical_extension": { "$ref": "#/definitions/double" }, "sticker_box": { "$ref": "#/definitions/BoundingBox" }, "hit_visualization_box": { "$ref": "#/definitions/BoundingBox" }, "trigger_target_mask": { "$ref": "#/definitions/TriggerTargetMask" }, "flags": { "$ref": "#/definitions/EntityPrototypeFlags" }, "tile_buildability_rules": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileBuildabilityRule" } }, { "type": "object", "additionalProperties": false } ] }, "minable": { "$ref": "#/definitions/MinableProperties" }, "surface_conditions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SurfaceCondition" } }, { "type": "object", "additionalProperties": false } ] }, "deconstruction_alternative": { "$ref": "#/definitions/EntityID" }, "selection_priority": { "$ref": "#/definitions/uint8" }, "build_grid_size": { "$ref": "#/definitions/uint8" }, "remove_decoratives": { "anyOf": [ { "type": "string", "const": "automatic" }, { "type": "string", "const": "true" }, { "type": "string", "const": "false" } ] }, "emissions_per_second": { "type": "object", "additionalProperties": { "$ref": "#/definitions/double" }, "propertyNames": { "$ref": "#/definitions/AirbornePollutantID" } }, "shooting_cursor_size": { "$ref": "#/definitions/double" }, "created_smoke": { "$ref": "#/definitions/CreateTrivialSmokeEffectItem" }, "working_sound": { "$ref": "#/definitions/WorkingSound" }, "created_effect": { "$ref": "#/definitions/Trigger" }, "build_sound": { "$ref": "#/definitions/Sound" }, "mined_sound": { "$ref": "#/definitions/Sound" }, "mining_sound": { "$ref": "#/definitions/Sound" }, "rotated_sound": { "$ref": "#/definitions/Sound" }, "impact_category": { "$ref": "#/definitions/string" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "placeable_position_visualization": { "$ref": "#/definitions/Sprite" }, "radius_visualisation_specification": { "$ref": "#/definitions/RadiusVisualisationSpecification" }, "stateless_visualisation": { "$ref": "#/definitions/StatelessVisualisations" }, "build_base_evolution_requirement": { "$ref": "#/definitions/double" }, "alert_icon_shift": { "$ref": "#/definitions/Vector" }, "alert_icon_scale": { "$ref": "#/definitions/float" }, "fast_replaceable_group": { "$ref": "#/definitions/string" }, "next_upgrade": { "$ref": "#/definitions/EntityID" }, "protected_from_tile_building": { "$ref": "#/definitions/bool" }, "heating_energy": { "$ref": "#/definitions/Energy" }, "allow_copy_paste": { "$ref": "#/definitions/bool" }, "selectable_in_game": { "$ref": "#/definitions/bool" }, "placeable_by": { "anyOf": [ { "$ref": "#/definitions/ItemToPlace" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemToPlace" } }, { "type": "object", "additionalProperties": false } ] } ] }, "remains_when_mined": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "additional_pastable_entities": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] }, "tile_width": { "$ref": "#/definitions/int32" }, "tile_height": { "$ref": "#/definitions/int32" }, "diagonal_tile_grid_size": { "$ref": "#/definitions/TilePosition" }, "autoplace": { "$ref": "#/definitions/AutoplaceSpecification" }, "map_color": { "$ref": "#/definitions/Color" }, "friendly_map_color": { "$ref": "#/definitions/Color" }, "enemy_map_color": { "$ref": "#/definitions/Color" }, "water_reflection": { "$ref": "#/definitions/WaterReflectionDefinition" }, "ambient_sounds_group": { "$ref": "#/definitions/EntityID" }, "ambient_sounds": { "anyOf": [ { "$ref": "#/definitions/WorldAmbientSoundDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/WorldAmbientSoundDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "icon_draw_specification": { "$ref": "#/definitions/IconDrawSpecification" }, "icons_positioning": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconSequencePositioning" } }, { "type": "object", "additionalProperties": false } ] }, "max_health": { "$ref": "#/definitions/float" }, "healing_per_tick": { "$ref": "#/definitions/float" }, "repair_speed_modifier": { "$ref": "#/definitions/float" }, "dying_explosion": { "anyOf": [ { "$ref": "#/definitions/ExplosionDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ExplosionDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "dying_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "damaged_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "loot": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/LootItem" } }, { "type": "object", "additionalProperties": false } ] }, "resistances": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Resistance" } }, { "type": "object", "additionalProperties": false } ] }, "attack_reaction": { "anyOf": [ { "$ref": "#/definitions/AttackReactionItem" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/AttackReactionItem" } }, { "type": "object", "additionalProperties": false } ] } ] }, "repair_sound": { "$ref": "#/definitions/Sound" }, "alert_when_damaged": { "$ref": "#/definitions/bool" }, "hide_resistances": { "$ref": "#/definitions/bool" }, "create_ghost_on_death": { "$ref": "#/definitions/bool" }, "random_corpse_variation": { "$ref": "#/definitions/bool" }, "integration_patch_render_layer": { "$ref": "#/definitions/RenderLayer" }, "corpse": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "integration_patch": { "$ref": "#/definitions/Sprite4Way" }, "overkill_fraction": { "$ref": "#/definitions/float" }, "is_military_target": { "$ref": "#/definitions/bool" }, "allow_run_time_change_of_is_military_target": { "$ref": "#/definitions/bool" }, "quality_indicator_scale": { "$ref": "#/definitions/double" }, "connection_sprites": { "$ref": "#/definitions/ConnectableEntityGraphics" }, "heat_glow_sprites": { "$ref": "#/definitions/ConnectableEntityGraphics" }, "heat_buffer": { "$ref": "#/definitions/HeatBuffer" }, "heating_radius": { "$ref": "#/definitions/float" } }, "required": [ "type", "name", "heat_buffer" ] }, "HighlightBoxEntityPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/HighlightBoxEntityPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "highlight-box" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "collision_box": { "$ref": "#/definitions/BoundingBox" }, "collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "map_generator_bounding_box": { "$ref": "#/definitions/BoundingBox" }, "selection_box": { "$ref": "#/definitions/BoundingBox" }, "drawing_box_vertical_extension": { "$ref": "#/definitions/double" }, "sticker_box": { "$ref": "#/definitions/BoundingBox" }, "hit_visualization_box": { "$ref": "#/definitions/BoundingBox" }, "trigger_target_mask": { "$ref": "#/definitions/TriggerTargetMask" }, "flags": { "$ref": "#/definitions/EntityPrototypeFlags" }, "tile_buildability_rules": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileBuildabilityRule" } }, { "type": "object", "additionalProperties": false } ] }, "minable": { "$ref": "#/definitions/MinableProperties" }, "surface_conditions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SurfaceCondition" } }, { "type": "object", "additionalProperties": false } ] }, "deconstruction_alternative": { "$ref": "#/definitions/EntityID" }, "selection_priority": { "$ref": "#/definitions/uint8" }, "build_grid_size": { "$ref": "#/definitions/uint8" }, "remove_decoratives": { "anyOf": [ { "type": "string", "const": "automatic" }, { "type": "string", "const": "true" }, { "type": "string", "const": "false" } ] }, "emissions_per_second": { "type": "object", "additionalProperties": { "$ref": "#/definitions/double" }, "propertyNames": { "$ref": "#/definitions/AirbornePollutantID" } }, "shooting_cursor_size": { "$ref": "#/definitions/double" }, "created_smoke": { "$ref": "#/definitions/CreateTrivialSmokeEffectItem" }, "working_sound": { "$ref": "#/definitions/WorkingSound" }, "created_effect": { "$ref": "#/definitions/Trigger" }, "build_sound": { "$ref": "#/definitions/Sound" }, "mined_sound": { "$ref": "#/definitions/Sound" }, "mining_sound": { "$ref": "#/definitions/Sound" }, "rotated_sound": { "$ref": "#/definitions/Sound" }, "impact_category": { "$ref": "#/definitions/string" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "placeable_position_visualization": { "$ref": "#/definitions/Sprite" }, "radius_visualisation_specification": { "$ref": "#/definitions/RadiusVisualisationSpecification" }, "stateless_visualisation": { "$ref": "#/definitions/StatelessVisualisations" }, "build_base_evolution_requirement": { "$ref": "#/definitions/double" }, "alert_icon_shift": { "$ref": "#/definitions/Vector" }, "alert_icon_scale": { "$ref": "#/definitions/float" }, "fast_replaceable_group": { "$ref": "#/definitions/string" }, "next_upgrade": { "$ref": "#/definitions/EntityID" }, "protected_from_tile_building": { "$ref": "#/definitions/bool" }, "heating_energy": { "$ref": "#/definitions/Energy" }, "allow_copy_paste": { "$ref": "#/definitions/bool" }, "selectable_in_game": { "$ref": "#/definitions/bool" }, "placeable_by": { "anyOf": [ { "$ref": "#/definitions/ItemToPlace" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemToPlace" } }, { "type": "object", "additionalProperties": false } ] } ] }, "remains_when_mined": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "additional_pastable_entities": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] }, "tile_width": { "$ref": "#/definitions/int32" }, "tile_height": { "$ref": "#/definitions/int32" }, "diagonal_tile_grid_size": { "$ref": "#/definitions/TilePosition" }, "autoplace": { "$ref": "#/definitions/AutoplaceSpecification" }, "map_color": { "$ref": "#/definitions/Color" }, "friendly_map_color": { "$ref": "#/definitions/Color" }, "enemy_map_color": { "$ref": "#/definitions/Color" }, "water_reflection": { "$ref": "#/definitions/WaterReflectionDefinition" }, "ambient_sounds_group": { "$ref": "#/definitions/EntityID" }, "ambient_sounds": { "anyOf": [ { "$ref": "#/definitions/WorldAmbientSoundDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/WorldAmbientSoundDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "icon_draw_specification": { "$ref": "#/definitions/IconDrawSpecification" }, "icons_positioning": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconSequencePositioning" } }, { "type": "object", "additionalProperties": false } ] } }, "required": [ "type", "name" ] }, "ImpactCategory": { "description": "https://lua-api.factorio.com/stable/prototypes/ImpactCategory.html", "type": "object", "properties": { "type": { "type": "string", "const": "impact-category" }, "name": { "$ref": "#/definitions/string" } }, "required": [ "type", "name" ] }, "InfinityContainerPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/InfinityContainerPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "infinity-container" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "collision_box": { "$ref": "#/definitions/BoundingBox" }, "collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "map_generator_bounding_box": { "$ref": "#/definitions/BoundingBox" }, "selection_box": { "$ref": "#/definitions/BoundingBox" }, "drawing_box_vertical_extension": { "$ref": "#/definitions/double" }, "sticker_box": { "$ref": "#/definitions/BoundingBox" }, "hit_visualization_box": { "$ref": "#/definitions/BoundingBox" }, "trigger_target_mask": { "$ref": "#/definitions/TriggerTargetMask" }, "flags": { "$ref": "#/definitions/EntityPrototypeFlags" }, "tile_buildability_rules": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileBuildabilityRule" } }, { "type": "object", "additionalProperties": false } ] }, "minable": { "$ref": "#/definitions/MinableProperties" }, "surface_conditions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SurfaceCondition" } }, { "type": "object", "additionalProperties": false } ] }, "deconstruction_alternative": { "$ref": "#/definitions/EntityID" }, "selection_priority": { "$ref": "#/definitions/uint8" }, "build_grid_size": { "$ref": "#/definitions/uint8" }, "remove_decoratives": { "anyOf": [ { "type": "string", "const": "automatic" }, { "type": "string", "const": "true" }, { "type": "string", "const": "false" } ] }, "emissions_per_second": { "type": "object", "additionalProperties": { "$ref": "#/definitions/double" }, "propertyNames": { "$ref": "#/definitions/AirbornePollutantID" } }, "shooting_cursor_size": { "$ref": "#/definitions/double" }, "created_smoke": { "$ref": "#/definitions/CreateTrivialSmokeEffectItem" }, "working_sound": { "$ref": "#/definitions/WorkingSound" }, "created_effect": { "$ref": "#/definitions/Trigger" }, "build_sound": { "$ref": "#/definitions/Sound" }, "mined_sound": { "$ref": "#/definitions/Sound" }, "mining_sound": { "$ref": "#/definitions/Sound" }, "rotated_sound": { "$ref": "#/definitions/Sound" }, "impact_category": { "$ref": "#/definitions/string" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "placeable_position_visualization": { "$ref": "#/definitions/Sprite" }, "radius_visualisation_specification": { "$ref": "#/definitions/RadiusVisualisationSpecification" }, "stateless_visualisation": { "$ref": "#/definitions/StatelessVisualisations" }, "build_base_evolution_requirement": { "$ref": "#/definitions/double" }, "alert_icon_shift": { "$ref": "#/definitions/Vector" }, "alert_icon_scale": { "$ref": "#/definitions/float" }, "fast_replaceable_group": { "$ref": "#/definitions/string" }, "next_upgrade": { "$ref": "#/definitions/EntityID" }, "protected_from_tile_building": { "$ref": "#/definitions/bool" }, "heating_energy": { "$ref": "#/definitions/Energy" }, "allow_copy_paste": { "$ref": "#/definitions/bool" }, "selectable_in_game": { "$ref": "#/definitions/bool" }, "placeable_by": { "anyOf": [ { "$ref": "#/definitions/ItemToPlace" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemToPlace" } }, { "type": "object", "additionalProperties": false } ] } ] }, "remains_when_mined": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "additional_pastable_entities": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] }, "tile_width": { "$ref": "#/definitions/int32" }, "tile_height": { "$ref": "#/definitions/int32" }, "diagonal_tile_grid_size": { "$ref": "#/definitions/TilePosition" }, "autoplace": { "$ref": "#/definitions/AutoplaceSpecification" }, "map_color": { "$ref": "#/definitions/Color" }, "friendly_map_color": { "$ref": "#/definitions/Color" }, "enemy_map_color": { "$ref": "#/definitions/Color" }, "water_reflection": { "$ref": "#/definitions/WaterReflectionDefinition" }, "ambient_sounds_group": { "$ref": "#/definitions/EntityID" }, "ambient_sounds": { "anyOf": [ { "$ref": "#/definitions/WorldAmbientSoundDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/WorldAmbientSoundDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "icon_draw_specification": { "$ref": "#/definitions/IconDrawSpecification" }, "icons_positioning": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconSequencePositioning" } }, { "type": "object", "additionalProperties": false } ] }, "max_health": { "$ref": "#/definitions/float" }, "healing_per_tick": { "$ref": "#/definitions/float" }, "repair_speed_modifier": { "$ref": "#/definitions/float" }, "dying_explosion": { "anyOf": [ { "$ref": "#/definitions/ExplosionDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ExplosionDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "dying_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "damaged_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "loot": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/LootItem" } }, { "type": "object", "additionalProperties": false } ] }, "resistances": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Resistance" } }, { "type": "object", "additionalProperties": false } ] }, "attack_reaction": { "anyOf": [ { "$ref": "#/definitions/AttackReactionItem" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/AttackReactionItem" } }, { "type": "object", "additionalProperties": false } ] } ] }, "repair_sound": { "$ref": "#/definitions/Sound" }, "alert_when_damaged": { "$ref": "#/definitions/bool" }, "hide_resistances": { "$ref": "#/definitions/bool" }, "create_ghost_on_death": { "$ref": "#/definitions/bool" }, "random_corpse_variation": { "$ref": "#/definitions/bool" }, "integration_patch_render_layer": { "$ref": "#/definitions/RenderLayer" }, "corpse": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "integration_patch": { "$ref": "#/definitions/Sprite4Way" }, "overkill_fraction": { "$ref": "#/definitions/float" }, "is_military_target": { "$ref": "#/definitions/bool" }, "allow_run_time_change_of_is_military_target": { "$ref": "#/definitions/bool" }, "quality_indicator_scale": { "$ref": "#/definitions/double" }, "inventory_size": { "$ref": "#/definitions/ItemStackIndex" }, "quality_affects_inventory_size": { "$ref": "#/definitions/bool" }, "picture": { "$ref": "#/definitions/Sprite" }, "inventory_type": { "anyOf": [ { "type": "string", "const": "normal" }, { "type": "string", "const": "with_bar" }, { "type": "string", "const": "with_filters_and_bar" } ] }, "circuit_wire_max_distance": { "$ref": "#/definitions/double" }, "draw_copper_wires": { "$ref": "#/definitions/bool" }, "draw_circuit_wires": { "$ref": "#/definitions/bool" }, "circuit_connector": { "$ref": "#/definitions/CircuitConnectorDefinition" }, "default_status": { "$ref": "#/definitions/EntityStatus" }, "logistic_mode": { "anyOf": [ { "type": "string", "const": "active-provider" }, { "type": "string", "const": "passive-provider" }, { "type": "string", "const": "requester" }, { "type": "string", "const": "storage" }, { "type": "string", "const": "buffer" } ] }, "max_logistic_slots": { "$ref": "#/definitions/uint16" }, "trash_inventory_size": { "$ref": "#/definitions/ItemStackIndex" }, "render_not_in_network_icon": { "$ref": "#/definitions/bool" }, "opened_duration": { "$ref": "#/definitions/uint8" }, "animation": { "$ref": "#/definitions/Animation" }, "landing_location_offset": { "$ref": "#/definitions/Vector" }, "use_exact_mode": { "$ref": "#/definitions/bool" }, "animation_sound": { "$ref": "#/definitions/Sound" }, "erase_contents_when_mined": { "$ref": "#/definitions/bool" }, "preserve_contents_when_created": { "$ref": "#/definitions/bool" }, "gui_mode": { "anyOf": [ { "type": "string", "const": "all" }, { "type": "string", "const": "none" }, { "type": "string", "const": "admins" } ] } }, "required": [ "type", "name", "inventory_size", "erase_contents_when_mined" ] }, "InfinityPipePrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/InfinityPipePrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "infinity-pipe" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "collision_box": { "$ref": "#/definitions/BoundingBox" }, "collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "map_generator_bounding_box": { "$ref": "#/definitions/BoundingBox" }, "selection_box": { "$ref": "#/definitions/BoundingBox" }, "drawing_box_vertical_extension": { "$ref": "#/definitions/double" }, "sticker_box": { "$ref": "#/definitions/BoundingBox" }, "hit_visualization_box": { "$ref": "#/definitions/BoundingBox" }, "trigger_target_mask": { "$ref": "#/definitions/TriggerTargetMask" }, "flags": { "$ref": "#/definitions/EntityPrototypeFlags" }, "tile_buildability_rules": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileBuildabilityRule" } }, { "type": "object", "additionalProperties": false } ] }, "minable": { "$ref": "#/definitions/MinableProperties" }, "surface_conditions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SurfaceCondition" } }, { "type": "object", "additionalProperties": false } ] }, "deconstruction_alternative": { "$ref": "#/definitions/EntityID" }, "selection_priority": { "$ref": "#/definitions/uint8" }, "build_grid_size": { "$ref": "#/definitions/uint8" }, "remove_decoratives": { "anyOf": [ { "type": "string", "const": "automatic" }, { "type": "string", "const": "true" }, { "type": "string", "const": "false" } ] }, "emissions_per_second": { "type": "object", "additionalProperties": { "$ref": "#/definitions/double" }, "propertyNames": { "$ref": "#/definitions/AirbornePollutantID" } }, "shooting_cursor_size": { "$ref": "#/definitions/double" }, "created_smoke": { "$ref": "#/definitions/CreateTrivialSmokeEffectItem" }, "working_sound": { "$ref": "#/definitions/WorkingSound" }, "created_effect": { "$ref": "#/definitions/Trigger" }, "build_sound": { "$ref": "#/definitions/Sound" }, "mined_sound": { "$ref": "#/definitions/Sound" }, "mining_sound": { "$ref": "#/definitions/Sound" }, "rotated_sound": { "$ref": "#/definitions/Sound" }, "impact_category": { "$ref": "#/definitions/string" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "placeable_position_visualization": { "$ref": "#/definitions/Sprite" }, "radius_visualisation_specification": { "$ref": "#/definitions/RadiusVisualisationSpecification" }, "stateless_visualisation": { "$ref": "#/definitions/StatelessVisualisations" }, "build_base_evolution_requirement": { "$ref": "#/definitions/double" }, "alert_icon_shift": { "$ref": "#/definitions/Vector" }, "alert_icon_scale": { "$ref": "#/definitions/float" }, "fast_replaceable_group": { "$ref": "#/definitions/string" }, "next_upgrade": { "$ref": "#/definitions/EntityID" }, "protected_from_tile_building": { "$ref": "#/definitions/bool" }, "heating_energy": { "$ref": "#/definitions/Energy" }, "allow_copy_paste": { "$ref": "#/definitions/bool" }, "selectable_in_game": { "$ref": "#/definitions/bool" }, "placeable_by": { "anyOf": [ { "$ref": "#/definitions/ItemToPlace" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemToPlace" } }, { "type": "object", "additionalProperties": false } ] } ] }, "remains_when_mined": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "additional_pastable_entities": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] }, "tile_width": { "$ref": "#/definitions/int32" }, "tile_height": { "$ref": "#/definitions/int32" }, "diagonal_tile_grid_size": { "$ref": "#/definitions/TilePosition" }, "autoplace": { "$ref": "#/definitions/AutoplaceSpecification" }, "map_color": { "$ref": "#/definitions/Color" }, "friendly_map_color": { "$ref": "#/definitions/Color" }, "enemy_map_color": { "$ref": "#/definitions/Color" }, "water_reflection": { "$ref": "#/definitions/WaterReflectionDefinition" }, "ambient_sounds_group": { "$ref": "#/definitions/EntityID" }, "ambient_sounds": { "anyOf": [ { "$ref": "#/definitions/WorldAmbientSoundDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/WorldAmbientSoundDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "icon_draw_specification": { "$ref": "#/definitions/IconDrawSpecification" }, "icons_positioning": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconSequencePositioning" } }, { "type": "object", "additionalProperties": false } ] }, "max_health": { "$ref": "#/definitions/float" }, "healing_per_tick": { "$ref": "#/definitions/float" }, "repair_speed_modifier": { "$ref": "#/definitions/float" }, "dying_explosion": { "anyOf": [ { "$ref": "#/definitions/ExplosionDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ExplosionDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "dying_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "damaged_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "loot": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/LootItem" } }, { "type": "object", "additionalProperties": false } ] }, "resistances": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Resistance" } }, { "type": "object", "additionalProperties": false } ] }, "attack_reaction": { "anyOf": [ { "$ref": "#/definitions/AttackReactionItem" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/AttackReactionItem" } }, { "type": "object", "additionalProperties": false } ] } ] }, "repair_sound": { "$ref": "#/definitions/Sound" }, "alert_when_damaged": { "$ref": "#/definitions/bool" }, "hide_resistances": { "$ref": "#/definitions/bool" }, "create_ghost_on_death": { "$ref": "#/definitions/bool" }, "random_corpse_variation": { "$ref": "#/definitions/bool" }, "integration_patch_render_layer": { "$ref": "#/definitions/RenderLayer" }, "corpse": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "integration_patch": { "$ref": "#/definitions/Sprite4Way" }, "overkill_fraction": { "$ref": "#/definitions/float" }, "is_military_target": { "$ref": "#/definitions/bool" }, "allow_run_time_change_of_is_military_target": { "$ref": "#/definitions/bool" }, "quality_indicator_scale": { "$ref": "#/definitions/double" }, "fluid_box": { "$ref": "#/definitions/FluidBox" }, "horizontal_window_bounding_box": { "$ref": "#/definitions/BoundingBox" }, "vertical_window_bounding_box": { "$ref": "#/definitions/BoundingBox" }, "pictures": { "$ref": "#/definitions/PipePictures" }, "gui_mode": { "anyOf": [ { "type": "string", "const": "all" }, { "type": "string", "const": "none" }, { "type": "string", "const": "admins" } ] } }, "required": [ "type", "name", "fluid_box", "horizontal_window_bounding_box", "vertical_window_bounding_box" ] }, "InserterPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/InserterPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "inserter" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "collision_box": { "$ref": "#/definitions/BoundingBox" }, "collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "map_generator_bounding_box": { "$ref": "#/definitions/BoundingBox" }, "selection_box": { "$ref": "#/definitions/BoundingBox" }, "drawing_box_vertical_extension": { "$ref": "#/definitions/double" }, "sticker_box": { "$ref": "#/definitions/BoundingBox" }, "hit_visualization_box": { "$ref": "#/definitions/BoundingBox" }, "trigger_target_mask": { "$ref": "#/definitions/TriggerTargetMask" }, "flags": { "$ref": "#/definitions/EntityPrototypeFlags" }, "tile_buildability_rules": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileBuildabilityRule" } }, { "type": "object", "additionalProperties": false } ] }, "minable": { "$ref": "#/definitions/MinableProperties" }, "surface_conditions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SurfaceCondition" } }, { "type": "object", "additionalProperties": false } ] }, "deconstruction_alternative": { "$ref": "#/definitions/EntityID" }, "selection_priority": { "$ref": "#/definitions/uint8" }, "build_grid_size": { "$ref": "#/definitions/uint8" }, "remove_decoratives": { "anyOf": [ { "type": "string", "const": "automatic" }, { "type": "string", "const": "true" }, { "type": "string", "const": "false" } ] }, "emissions_per_second": { "type": "object", "additionalProperties": { "$ref": "#/definitions/double" }, "propertyNames": { "$ref": "#/definitions/AirbornePollutantID" } }, "shooting_cursor_size": { "$ref": "#/definitions/double" }, "created_smoke": { "$ref": "#/definitions/CreateTrivialSmokeEffectItem" }, "working_sound": { "$ref": "#/definitions/WorkingSound" }, "created_effect": { "$ref": "#/definitions/Trigger" }, "build_sound": { "$ref": "#/definitions/Sound" }, "mined_sound": { "$ref": "#/definitions/Sound" }, "mining_sound": { "$ref": "#/definitions/Sound" }, "rotated_sound": { "$ref": "#/definitions/Sound" }, "impact_category": { "$ref": "#/definitions/string" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "placeable_position_visualization": { "$ref": "#/definitions/Sprite" }, "radius_visualisation_specification": { "$ref": "#/definitions/RadiusVisualisationSpecification" }, "stateless_visualisation": { "$ref": "#/definitions/StatelessVisualisations" }, "build_base_evolution_requirement": { "$ref": "#/definitions/double" }, "alert_icon_shift": { "$ref": "#/definitions/Vector" }, "alert_icon_scale": { "$ref": "#/definitions/float" }, "fast_replaceable_group": { "$ref": "#/definitions/string" }, "next_upgrade": { "$ref": "#/definitions/EntityID" }, "protected_from_tile_building": { "$ref": "#/definitions/bool" }, "heating_energy": { "$ref": "#/definitions/Energy" }, "allow_copy_paste": { "$ref": "#/definitions/bool" }, "selectable_in_game": { "$ref": "#/definitions/bool" }, "placeable_by": { "anyOf": [ { "$ref": "#/definitions/ItemToPlace" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemToPlace" } }, { "type": "object", "additionalProperties": false } ] } ] }, "remains_when_mined": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "additional_pastable_entities": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] }, "tile_width": { "$ref": "#/definitions/int32" }, "tile_height": { "$ref": "#/definitions/int32" }, "diagonal_tile_grid_size": { "$ref": "#/definitions/TilePosition" }, "autoplace": { "$ref": "#/definitions/AutoplaceSpecification" }, "map_color": { "$ref": "#/definitions/Color" }, "friendly_map_color": { "$ref": "#/definitions/Color" }, "enemy_map_color": { "$ref": "#/definitions/Color" }, "water_reflection": { "$ref": "#/definitions/WaterReflectionDefinition" }, "ambient_sounds_group": { "$ref": "#/definitions/EntityID" }, "ambient_sounds": { "anyOf": [ { "$ref": "#/definitions/WorldAmbientSoundDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/WorldAmbientSoundDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "icon_draw_specification": { "$ref": "#/definitions/IconDrawSpecification" }, "icons_positioning": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconSequencePositioning" } }, { "type": "object", "additionalProperties": false } ] }, "max_health": { "$ref": "#/definitions/float" }, "healing_per_tick": { "$ref": "#/definitions/float" }, "repair_speed_modifier": { "$ref": "#/definitions/float" }, "dying_explosion": { "anyOf": [ { "$ref": "#/definitions/ExplosionDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ExplosionDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "dying_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "damaged_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "loot": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/LootItem" } }, { "type": "object", "additionalProperties": false } ] }, "resistances": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Resistance" } }, { "type": "object", "additionalProperties": false } ] }, "attack_reaction": { "anyOf": [ { "$ref": "#/definitions/AttackReactionItem" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/AttackReactionItem" } }, { "type": "object", "additionalProperties": false } ] } ] }, "repair_sound": { "$ref": "#/definitions/Sound" }, "alert_when_damaged": { "$ref": "#/definitions/bool" }, "hide_resistances": { "$ref": "#/definitions/bool" }, "create_ghost_on_death": { "$ref": "#/definitions/bool" }, "random_corpse_variation": { "$ref": "#/definitions/bool" }, "integration_patch_render_layer": { "$ref": "#/definitions/RenderLayer" }, "corpse": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "integration_patch": { "$ref": "#/definitions/Sprite4Way" }, "overkill_fraction": { "$ref": "#/definitions/float" }, "is_military_target": { "$ref": "#/definitions/bool" }, "allow_run_time_change_of_is_military_target": { "$ref": "#/definitions/bool" }, "quality_indicator_scale": { "$ref": "#/definitions/double" }, "extension_speed": { "$ref": "#/definitions/double" }, "rotation_speed": { "$ref": "#/definitions/double" }, "starting_distance": { "$ref": "#/definitions/double" }, "insert_position": { "$ref": "#/definitions/Vector" }, "pickup_position": { "$ref": "#/definitions/Vector" }, "platform_picture": { "$ref": "#/definitions/Sprite4Way" }, "platform_frozen": { "$ref": "#/definitions/Sprite4Way" }, "hand_base_picture": { "$ref": "#/definitions/Sprite" }, "hand_open_picture": { "$ref": "#/definitions/Sprite" }, "hand_closed_picture": { "$ref": "#/definitions/Sprite" }, "hand_base_frozen": { "$ref": "#/definitions/Sprite" }, "hand_open_frozen": { "$ref": "#/definitions/Sprite" }, "hand_closed_frozen": { "$ref": "#/definitions/Sprite" }, "hand_base_shadow": { "$ref": "#/definitions/Sprite" }, "hand_open_shadow": { "$ref": "#/definitions/Sprite" }, "hand_closed_shadow": { "$ref": "#/definitions/Sprite" }, "energy_source": { "$ref": "#/definitions/EnergySource" }, "energy_per_movement": { "$ref": "#/definitions/Energy" }, "energy_per_rotation": { "$ref": "#/definitions/Energy" }, "bulk": { "$ref": "#/definitions/bool" }, "allow_custom_vectors": { "$ref": "#/definitions/bool" }, "allow_burner_leech": { "$ref": "#/definitions/bool" }, "draw_held_item": { "$ref": "#/definitions/bool" }, "use_easter_egg": { "$ref": "#/definitions/bool" }, "grab_less_to_match_belt_stack": { "$ref": "#/definitions/bool" }, "wait_for_full_hand": { "$ref": "#/definitions/bool" }, "enter_drop_mode_if_held_stack_spoiled": { "$ref": "#/definitions/bool" }, "max_belt_stack_size": { "$ref": "#/definitions/uint8" }, "filter_count": { "$ref": "#/definitions/uint8" }, "hand_size": { "$ref": "#/definitions/double" }, "circuit_wire_max_distance": { "$ref": "#/definitions/double" }, "draw_copper_wires": { "$ref": "#/definitions/bool" }, "draw_circuit_wires": { "$ref": "#/definitions/bool" }, "default_stack_control_input_signal": { "$ref": "#/definitions/SignalIDConnector" }, "draw_inserter_arrow": { "$ref": "#/definitions/bool" }, "chases_belt_items": { "$ref": "#/definitions/bool" }, "stack_size_bonus": { "$ref": "#/definitions/uint8" }, "circuit_connector": { "type": "array", "items": [ { "$ref": "#/definitions/CircuitConnectorDefinition" }, { "$ref": "#/definitions/CircuitConnectorDefinition" }, { "$ref": "#/definitions/CircuitConnectorDefinition" }, { "$ref": "#/definitions/CircuitConnectorDefinition" } ], "minItems": 4, "maxItems": 4 } }, "required": [ "type", "name", "extension_speed", "rotation_speed", "insert_position", "pickup_position", "energy_source" ] }, "InventoryBonusEquipmentPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/InventoryBonusEquipmentPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "inventory-bonus-equipment" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "sprite": { "$ref": "#/definitions/Sprite" }, "shape": { "$ref": "#/definitions/EquipmentShape" }, "categories": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EquipmentCategoryID" } }, { "type": "object", "additionalProperties": false } ] }, "energy_source": { "$ref": "#/definitions/ElectricEnergySource" }, "take_result": { "$ref": "#/definitions/ItemID" }, "background_color": { "$ref": "#/definitions/Color" }, "background_border_color": { "$ref": "#/definitions/Color" }, "grabbed_background_color": { "$ref": "#/definitions/Color" }, "inventory_size_bonus": { "$ref": "#/definitions/ItemStackIndex" } }, "required": [ "type", "name", "sprite", "shape", "categories", "inventory_size_bonus" ] }, "ItemEntityPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/ItemEntityPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "item-entity" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "collision_box": { "$ref": "#/definitions/BoundingBox" }, "collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "map_generator_bounding_box": { "$ref": "#/definitions/BoundingBox" }, "selection_box": { "$ref": "#/definitions/BoundingBox" }, "drawing_box_vertical_extension": { "$ref": "#/definitions/double" }, "sticker_box": { "$ref": "#/definitions/BoundingBox" }, "hit_visualization_box": { "$ref": "#/definitions/BoundingBox" }, "trigger_target_mask": { "$ref": "#/definitions/TriggerTargetMask" }, "flags": { "$ref": "#/definitions/EntityPrototypeFlags" }, "tile_buildability_rules": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileBuildabilityRule" } }, { "type": "object", "additionalProperties": false } ] }, "minable": { "$ref": "#/definitions/MinableProperties" }, "surface_conditions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SurfaceCondition" } }, { "type": "object", "additionalProperties": false } ] }, "deconstruction_alternative": { "$ref": "#/definitions/EntityID" }, "selection_priority": { "$ref": "#/definitions/uint8" }, "build_grid_size": { "$ref": "#/definitions/uint8" }, "remove_decoratives": { "anyOf": [ { "type": "string", "const": "automatic" }, { "type": "string", "const": "true" }, { "type": "string", "const": "false" } ] }, "emissions_per_second": { "type": "object", "additionalProperties": { "$ref": "#/definitions/double" }, "propertyNames": { "$ref": "#/definitions/AirbornePollutantID" } }, "shooting_cursor_size": { "$ref": "#/definitions/double" }, "created_smoke": { "$ref": "#/definitions/CreateTrivialSmokeEffectItem" }, "working_sound": { "$ref": "#/definitions/WorkingSound" }, "created_effect": { "$ref": "#/definitions/Trigger" }, "build_sound": { "$ref": "#/definitions/Sound" }, "mined_sound": { "$ref": "#/definitions/Sound" }, "mining_sound": { "$ref": "#/definitions/Sound" }, "rotated_sound": { "$ref": "#/definitions/Sound" }, "impact_category": { "$ref": "#/definitions/string" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "placeable_position_visualization": { "$ref": "#/definitions/Sprite" }, "radius_visualisation_specification": { "$ref": "#/definitions/RadiusVisualisationSpecification" }, "stateless_visualisation": { "$ref": "#/definitions/StatelessVisualisations" }, "build_base_evolution_requirement": { "$ref": "#/definitions/double" }, "alert_icon_shift": { "$ref": "#/definitions/Vector" }, "alert_icon_scale": { "$ref": "#/definitions/float" }, "fast_replaceable_group": { "$ref": "#/definitions/string" }, "next_upgrade": { "$ref": "#/definitions/EntityID" }, "protected_from_tile_building": { "$ref": "#/definitions/bool" }, "heating_energy": { "$ref": "#/definitions/Energy" }, "allow_copy_paste": { "$ref": "#/definitions/bool" }, "selectable_in_game": { "$ref": "#/definitions/bool" }, "placeable_by": { "anyOf": [ { "$ref": "#/definitions/ItemToPlace" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemToPlace" } }, { "type": "object", "additionalProperties": false } ] } ] }, "remains_when_mined": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "additional_pastable_entities": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] }, "tile_width": { "$ref": "#/definitions/int32" }, "tile_height": { "$ref": "#/definitions/int32" }, "diagonal_tile_grid_size": { "$ref": "#/definitions/TilePosition" }, "autoplace": { "$ref": "#/definitions/AutoplaceSpecification" }, "map_color": { "$ref": "#/definitions/Color" }, "friendly_map_color": { "$ref": "#/definitions/Color" }, "enemy_map_color": { "$ref": "#/definitions/Color" }, "water_reflection": { "$ref": "#/definitions/WaterReflectionDefinition" }, "ambient_sounds_group": { "$ref": "#/definitions/EntityID" }, "ambient_sounds": { "anyOf": [ { "$ref": "#/definitions/WorldAmbientSoundDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/WorldAmbientSoundDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "icon_draw_specification": { "$ref": "#/definitions/IconDrawSpecification" }, "icons_positioning": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconSequencePositioning" } }, { "type": "object", "additionalProperties": false } ] } }, "required": [ "type", "name" ] }, "ItemGroup": { "description": "https://lua-api.factorio.com/stable/prototypes/ItemGroup.html", "type": "object", "properties": { "type": { "type": "string", "const": "item-group" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "order_in_recipe": { "$ref": "#/definitions/Order" } }, "required": [ "type", "name" ] }, "ItemPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/ItemPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "item" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "stack_size": { "$ref": "#/definitions/ItemCountType" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "dark_background_icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "dark_background_icon": { "$ref": "#/definitions/FileName" }, "dark_background_icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "place_result": { "$ref": "#/definitions/EntityID" }, "place_as_equipment_result": { "$ref": "#/definitions/EquipmentID" }, "fuel_category": { "$ref": "#/definitions/FuelCategoryID" }, "burnt_result": { "$ref": "#/definitions/ItemID" }, "spoil_result": { "$ref": "#/definitions/ItemID" }, "plant_result": { "$ref": "#/definitions/EntityID" }, "place_as_tile": { "type": "object", "properties": { "result": { "$ref": "#/definitions/TileID" }, "condition": { "$ref": "#/definitions/CollisionMaskConnector" }, "invert": { "$ref": "#/definitions/bool" }, "condition_size": { "$ref": "#/definitions/uint32" }, "tile_condition": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileID" } }, { "type": "object", "additionalProperties": false } ] } }, "required": [ "result", "condition", "condition_size" ] }, "pictures": { "$ref": "#/definitions/SpriteVariations" }, "flags": { "$ref": "#/definitions/ItemPrototypeFlags" }, "spoil_ticks": { "$ref": "#/definitions/uint32" }, "fuel_value": { "$ref": "#/definitions/Energy" }, "fuel_acceleration_multiplier": { "$ref": "#/definitions/double" }, "fuel_top_speed_multiplier": { "$ref": "#/definitions/double" }, "fuel_emissions_multiplier": { "$ref": "#/definitions/double" }, "fuel_acceleration_multiplier_quality_bonus": { "$ref": "#/definitions/double" }, "fuel_top_speed_multiplier_quality_bonus": { "$ref": "#/definitions/double" }, "weight": { "$ref": "#/definitions/Weight" }, "ingredient_to_weight_coefficient": { "$ref": "#/definitions/double" }, "fuel_glow_color": { "$ref": "#/definitions/Color" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "pick_sound": { "$ref": "#/definitions/Sound" }, "drop_sound": { "$ref": "#/definitions/Sound" }, "inventory_move_sound": { "$ref": "#/definitions/Sound" }, "default_import_location": { "$ref": "#/definitions/SpaceLocationID" }, "color_hint": { "$ref": "#/definitions/ColorHintSpecification" }, "has_random_tint": { "$ref": "#/definitions/bool" }, "spoil_to_trigger_result": { "$ref": "#/definitions/SpoilToTriggerResult" }, "destroyed_by_dropping_trigger": { "$ref": "#/definitions/Trigger" }, "rocket_launch_products": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemProductPrototype" } }, { "type": "object", "additionalProperties": false } ] }, "send_to_orbit_mode": { "$ref": "#/definitions/SendToOrbitMode" }, "random_tint_color": { "$ref": "#/definitions/Color" }, "spoil_level": { "$ref": "#/definitions/uint8" } }, "required": [ "type", "name", "stack_size" ] }, "ItemRequestProxyPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/ItemRequestProxyPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "item-request-proxy" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "collision_box": { "$ref": "#/definitions/BoundingBox" }, "collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "map_generator_bounding_box": { "$ref": "#/definitions/BoundingBox" }, "selection_box": { "$ref": "#/definitions/BoundingBox" }, "drawing_box_vertical_extension": { "$ref": "#/definitions/double" }, "sticker_box": { "$ref": "#/definitions/BoundingBox" }, "hit_visualization_box": { "$ref": "#/definitions/BoundingBox" }, "trigger_target_mask": { "$ref": "#/definitions/TriggerTargetMask" }, "flags": { "$ref": "#/definitions/EntityPrototypeFlags" }, "tile_buildability_rules": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileBuildabilityRule" } }, { "type": "object", "additionalProperties": false } ] }, "minable": { "$ref": "#/definitions/MinableProperties" }, "surface_conditions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SurfaceCondition" } }, { "type": "object", "additionalProperties": false } ] }, "deconstruction_alternative": { "$ref": "#/definitions/EntityID" }, "selection_priority": { "$ref": "#/definitions/uint8" }, "build_grid_size": { "$ref": "#/definitions/uint8" }, "remove_decoratives": { "anyOf": [ { "type": "string", "const": "automatic" }, { "type": "string", "const": "true" }, { "type": "string", "const": "false" } ] }, "emissions_per_second": { "type": "object", "additionalProperties": { "$ref": "#/definitions/double" }, "propertyNames": { "$ref": "#/definitions/AirbornePollutantID" } }, "shooting_cursor_size": { "$ref": "#/definitions/double" }, "created_smoke": { "$ref": "#/definitions/CreateTrivialSmokeEffectItem" }, "working_sound": { "$ref": "#/definitions/WorkingSound" }, "created_effect": { "$ref": "#/definitions/Trigger" }, "build_sound": { "$ref": "#/definitions/Sound" }, "mined_sound": { "$ref": "#/definitions/Sound" }, "mining_sound": { "$ref": "#/definitions/Sound" }, "rotated_sound": { "$ref": "#/definitions/Sound" }, "impact_category": { "$ref": "#/definitions/string" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "placeable_position_visualization": { "$ref": "#/definitions/Sprite" }, "radius_visualisation_specification": { "$ref": "#/definitions/RadiusVisualisationSpecification" }, "stateless_visualisation": { "$ref": "#/definitions/StatelessVisualisations" }, "build_base_evolution_requirement": { "$ref": "#/definitions/double" }, "alert_icon_shift": { "$ref": "#/definitions/Vector" }, "alert_icon_scale": { "$ref": "#/definitions/float" }, "fast_replaceable_group": { "$ref": "#/definitions/string" }, "next_upgrade": { "$ref": "#/definitions/EntityID" }, "protected_from_tile_building": { "$ref": "#/definitions/bool" }, "heating_energy": { "$ref": "#/definitions/Energy" }, "allow_copy_paste": { "$ref": "#/definitions/bool" }, "selectable_in_game": { "$ref": "#/definitions/bool" }, "placeable_by": { "anyOf": [ { "$ref": "#/definitions/ItemToPlace" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemToPlace" } }, { "type": "object", "additionalProperties": false } ] } ] }, "remains_when_mined": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "additional_pastable_entities": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] }, "tile_width": { "$ref": "#/definitions/int32" }, "tile_height": { "$ref": "#/definitions/int32" }, "diagonal_tile_grid_size": { "$ref": "#/definitions/TilePosition" }, "autoplace": { "$ref": "#/definitions/AutoplaceSpecification" }, "map_color": { "$ref": "#/definitions/Color" }, "friendly_map_color": { "$ref": "#/definitions/Color" }, "enemy_map_color": { "$ref": "#/definitions/Color" }, "water_reflection": { "$ref": "#/definitions/WaterReflectionDefinition" }, "ambient_sounds_group": { "$ref": "#/definitions/EntityID" }, "ambient_sounds": { "anyOf": [ { "$ref": "#/definitions/WorldAmbientSoundDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/WorldAmbientSoundDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "icon_draw_specification": { "$ref": "#/definitions/IconDrawSpecification" }, "icons_positioning": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconSequencePositioning" } }, { "type": "object", "additionalProperties": false } ] }, "use_target_entity_alert_icon_shift": { "$ref": "#/definitions/bool" } }, "required": [ "type", "name" ] }, "ItemSubGroup": { "description": "https://lua-api.factorio.com/stable/prototypes/ItemSubGroup.html", "type": "object", "properties": { "type": { "type": "string", "const": "item-subgroup" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "group": { "$ref": "#/definitions/ItemGroupID" } }, "required": [ "type", "name", "group" ] }, "ItemWithEntityDataPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/ItemWithEntityDataPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "item-with-entity-data" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "stack_size": { "$ref": "#/definitions/ItemCountType" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "dark_background_icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "dark_background_icon": { "$ref": "#/definitions/FileName" }, "dark_background_icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "place_result": { "$ref": "#/definitions/EntityID" }, "place_as_equipment_result": { "$ref": "#/definitions/EquipmentID" }, "fuel_category": { "$ref": "#/definitions/FuelCategoryID" }, "burnt_result": { "$ref": "#/definitions/ItemID" }, "spoil_result": { "$ref": "#/definitions/ItemID" }, "plant_result": { "$ref": "#/definitions/EntityID" }, "place_as_tile": { "type": "object", "properties": { "result": { "$ref": "#/definitions/TileID" }, "condition": { "$ref": "#/definitions/CollisionMaskConnector" }, "invert": { "$ref": "#/definitions/bool" }, "condition_size": { "$ref": "#/definitions/uint32" }, "tile_condition": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileID" } }, { "type": "object", "additionalProperties": false } ] } }, "required": [ "result", "condition", "condition_size" ] }, "pictures": { "$ref": "#/definitions/SpriteVariations" }, "flags": { "$ref": "#/definitions/ItemPrototypeFlags" }, "spoil_ticks": { "$ref": "#/definitions/uint32" }, "fuel_value": { "$ref": "#/definitions/Energy" }, "fuel_acceleration_multiplier": { "$ref": "#/definitions/double" }, "fuel_top_speed_multiplier": { "$ref": "#/definitions/double" }, "fuel_emissions_multiplier": { "$ref": "#/definitions/double" }, "fuel_acceleration_multiplier_quality_bonus": { "$ref": "#/definitions/double" }, "fuel_top_speed_multiplier_quality_bonus": { "$ref": "#/definitions/double" }, "weight": { "$ref": "#/definitions/Weight" }, "ingredient_to_weight_coefficient": { "$ref": "#/definitions/double" }, "fuel_glow_color": { "$ref": "#/definitions/Color" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "pick_sound": { "$ref": "#/definitions/Sound" }, "drop_sound": { "$ref": "#/definitions/Sound" }, "inventory_move_sound": { "$ref": "#/definitions/Sound" }, "default_import_location": { "$ref": "#/definitions/SpaceLocationID" }, "color_hint": { "$ref": "#/definitions/ColorHintSpecification" }, "has_random_tint": { "$ref": "#/definitions/bool" }, "spoil_to_trigger_result": { "$ref": "#/definitions/SpoilToTriggerResult" }, "destroyed_by_dropping_trigger": { "$ref": "#/definitions/Trigger" }, "rocket_launch_products": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemProductPrototype" } }, { "type": "object", "additionalProperties": false } ] }, "send_to_orbit_mode": { "$ref": "#/definitions/SendToOrbitMode" }, "random_tint_color": { "$ref": "#/definitions/Color" }, "spoil_level": { "$ref": "#/definitions/uint8" }, "icon_tintable_masks": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon_tintable_mask": { "$ref": "#/definitions/FileName" }, "icon_tintable_mask_size": { "$ref": "#/definitions/SpriteSizeType" }, "icon_tintables": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon_tintable": { "$ref": "#/definitions/FileName" }, "icon_tintable_size": { "$ref": "#/definitions/SpriteSizeType" } }, "required": [ "type", "name", "stack_size" ] }, "ItemWithInventoryPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/ItemWithInventoryPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "item-with-inventory" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "stack_size": { "type": "integer", "const": 1 }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "dark_background_icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "dark_background_icon": { "$ref": "#/definitions/FileName" }, "dark_background_icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "place_result": { "$ref": "#/definitions/EntityID" }, "place_as_equipment_result": { "$ref": "#/definitions/EquipmentID" }, "fuel_category": { "$ref": "#/definitions/FuelCategoryID" }, "burnt_result": { "$ref": "#/definitions/ItemID" }, "spoil_result": { "$ref": "#/definitions/ItemID" }, "plant_result": { "$ref": "#/definitions/EntityID" }, "place_as_tile": { "type": "object", "properties": { "result": { "$ref": "#/definitions/TileID" }, "condition": { "$ref": "#/definitions/CollisionMaskConnector" }, "invert": { "$ref": "#/definitions/bool" }, "condition_size": { "$ref": "#/definitions/uint32" }, "tile_condition": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileID" } }, { "type": "object", "additionalProperties": false } ] } }, "required": [ "result", "condition", "condition_size" ] }, "pictures": { "$ref": "#/definitions/SpriteVariations" }, "flags": { "$ref": "#/definitions/ItemPrototypeFlags" }, "spoil_ticks": { "$ref": "#/definitions/uint32" }, "fuel_value": { "$ref": "#/definitions/Energy" }, "fuel_acceleration_multiplier": { "$ref": "#/definitions/double" }, "fuel_top_speed_multiplier": { "$ref": "#/definitions/double" }, "fuel_emissions_multiplier": { "$ref": "#/definitions/double" }, "fuel_acceleration_multiplier_quality_bonus": { "$ref": "#/definitions/double" }, "fuel_top_speed_multiplier_quality_bonus": { "$ref": "#/definitions/double" }, "weight": { "$ref": "#/definitions/Weight" }, "ingredient_to_weight_coefficient": { "$ref": "#/definitions/double" }, "fuel_glow_color": { "$ref": "#/definitions/Color" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "pick_sound": { "$ref": "#/definitions/Sound" }, "drop_sound": { "$ref": "#/definitions/Sound" }, "inventory_move_sound": { "$ref": "#/definitions/Sound" }, "default_import_location": { "$ref": "#/definitions/SpaceLocationID" }, "color_hint": { "$ref": "#/definitions/ColorHintSpecification" }, "has_random_tint": { "$ref": "#/definitions/bool" }, "spoil_to_trigger_result": { "$ref": "#/definitions/SpoilToTriggerResult" }, "destroyed_by_dropping_trigger": { "$ref": "#/definitions/Trigger" }, "rocket_launch_products": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemProductPrototype" } }, { "type": "object", "additionalProperties": false } ] }, "send_to_orbit_mode": { "$ref": "#/definitions/SendToOrbitMode" }, "random_tint_color": { "$ref": "#/definitions/Color" }, "spoil_level": { "$ref": "#/definitions/uint8" }, "default_label_color": { "$ref": "#/definitions/Color" }, "draw_label_for_cursor_render": { "$ref": "#/definitions/bool" }, "inventory_size": { "$ref": "#/definitions/ItemStackIndex" }, "item_filters": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemID" } }, { "type": "object", "additionalProperties": false } ] }, "item_group_filters": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemGroupID" } }, { "type": "object", "additionalProperties": false } ] }, "item_subgroup_filters": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemSubGroupID" } }, { "type": "object", "additionalProperties": false } ] }, "filter_mode": { "anyOf": [ { "type": "string", "const": "blacklist" }, { "type": "string", "const": "whitelist" } ] }, "filter_message_key": { "$ref": "#/definitions/string" } }, "required": [ "type", "name", "stack_size", "inventory_size" ] }, "ItemWithLabelPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/ItemWithLabelPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "item-with-label" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "stack_size": { "$ref": "#/definitions/ItemCountType" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "dark_background_icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "dark_background_icon": { "$ref": "#/definitions/FileName" }, "dark_background_icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "place_result": { "$ref": "#/definitions/EntityID" }, "place_as_equipment_result": { "$ref": "#/definitions/EquipmentID" }, "fuel_category": { "$ref": "#/definitions/FuelCategoryID" }, "burnt_result": { "$ref": "#/definitions/ItemID" }, "spoil_result": { "$ref": "#/definitions/ItemID" }, "plant_result": { "$ref": "#/definitions/EntityID" }, "place_as_tile": { "type": "object", "properties": { "result": { "$ref": "#/definitions/TileID" }, "condition": { "$ref": "#/definitions/CollisionMaskConnector" }, "invert": { "$ref": "#/definitions/bool" }, "condition_size": { "$ref": "#/definitions/uint32" }, "tile_condition": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileID" } }, { "type": "object", "additionalProperties": false } ] } }, "required": [ "result", "condition", "condition_size" ] }, "pictures": { "$ref": "#/definitions/SpriteVariations" }, "flags": { "$ref": "#/definitions/ItemPrototypeFlags" }, "spoil_ticks": { "$ref": "#/definitions/uint32" }, "fuel_value": { "$ref": "#/definitions/Energy" }, "fuel_acceleration_multiplier": { "$ref": "#/definitions/double" }, "fuel_top_speed_multiplier": { "$ref": "#/definitions/double" }, "fuel_emissions_multiplier": { "$ref": "#/definitions/double" }, "fuel_acceleration_multiplier_quality_bonus": { "$ref": "#/definitions/double" }, "fuel_top_speed_multiplier_quality_bonus": { "$ref": "#/definitions/double" }, "weight": { "$ref": "#/definitions/Weight" }, "ingredient_to_weight_coefficient": { "$ref": "#/definitions/double" }, "fuel_glow_color": { "$ref": "#/definitions/Color" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "pick_sound": { "$ref": "#/definitions/Sound" }, "drop_sound": { "$ref": "#/definitions/Sound" }, "inventory_move_sound": { "$ref": "#/definitions/Sound" }, "default_import_location": { "$ref": "#/definitions/SpaceLocationID" }, "color_hint": { "$ref": "#/definitions/ColorHintSpecification" }, "has_random_tint": { "$ref": "#/definitions/bool" }, "spoil_to_trigger_result": { "$ref": "#/definitions/SpoilToTriggerResult" }, "destroyed_by_dropping_trigger": { "$ref": "#/definitions/Trigger" }, "rocket_launch_products": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemProductPrototype" } }, { "type": "object", "additionalProperties": false } ] }, "send_to_orbit_mode": { "$ref": "#/definitions/SendToOrbitMode" }, "random_tint_color": { "$ref": "#/definitions/Color" }, "spoil_level": { "$ref": "#/definitions/uint8" }, "default_label_color": { "$ref": "#/definitions/Color" }, "draw_label_for_cursor_render": { "$ref": "#/definitions/bool" } }, "required": [ "type", "name", "stack_size" ] }, "ItemWithTagsPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/ItemWithTagsPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "item-with-tags" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "stack_size": { "$ref": "#/definitions/ItemCountType" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "dark_background_icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "dark_background_icon": { "$ref": "#/definitions/FileName" }, "dark_background_icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "place_result": { "$ref": "#/definitions/EntityID" }, "place_as_equipment_result": { "$ref": "#/definitions/EquipmentID" }, "fuel_category": { "$ref": "#/definitions/FuelCategoryID" }, "burnt_result": { "$ref": "#/definitions/ItemID" }, "spoil_result": { "$ref": "#/definitions/ItemID" }, "plant_result": { "$ref": "#/definitions/EntityID" }, "place_as_tile": { "type": "object", "properties": { "result": { "$ref": "#/definitions/TileID" }, "condition": { "$ref": "#/definitions/CollisionMaskConnector" }, "invert": { "$ref": "#/definitions/bool" }, "condition_size": { "$ref": "#/definitions/uint32" }, "tile_condition": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileID" } }, { "type": "object", "additionalProperties": false } ] } }, "required": [ "result", "condition", "condition_size" ] }, "pictures": { "$ref": "#/definitions/SpriteVariations" }, "flags": { "$ref": "#/definitions/ItemPrototypeFlags" }, "spoil_ticks": { "$ref": "#/definitions/uint32" }, "fuel_value": { "$ref": "#/definitions/Energy" }, "fuel_acceleration_multiplier": { "$ref": "#/definitions/double" }, "fuel_top_speed_multiplier": { "$ref": "#/definitions/double" }, "fuel_emissions_multiplier": { "$ref": "#/definitions/double" }, "fuel_acceleration_multiplier_quality_bonus": { "$ref": "#/definitions/double" }, "fuel_top_speed_multiplier_quality_bonus": { "$ref": "#/definitions/double" }, "weight": { "$ref": "#/definitions/Weight" }, "ingredient_to_weight_coefficient": { "$ref": "#/definitions/double" }, "fuel_glow_color": { "$ref": "#/definitions/Color" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "pick_sound": { "$ref": "#/definitions/Sound" }, "drop_sound": { "$ref": "#/definitions/Sound" }, "inventory_move_sound": { "$ref": "#/definitions/Sound" }, "default_import_location": { "$ref": "#/definitions/SpaceLocationID" }, "color_hint": { "$ref": "#/definitions/ColorHintSpecification" }, "has_random_tint": { "$ref": "#/definitions/bool" }, "spoil_to_trigger_result": { "$ref": "#/definitions/SpoilToTriggerResult" }, "destroyed_by_dropping_trigger": { "$ref": "#/definitions/Trigger" }, "rocket_launch_products": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemProductPrototype" } }, { "type": "object", "additionalProperties": false } ] }, "send_to_orbit_mode": { "$ref": "#/definitions/SendToOrbitMode" }, "random_tint_color": { "$ref": "#/definitions/Color" }, "spoil_level": { "$ref": "#/definitions/uint8" }, "default_label_color": { "$ref": "#/definitions/Color" }, "draw_label_for_cursor_render": { "$ref": "#/definitions/bool" } }, "required": [ "type", "name", "stack_size" ] }, "KillAchievementPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/KillAchievementPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "kill-achievement" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "steam_stats_name": { "$ref": "#/definitions/string" }, "allowed_without_fight": { "$ref": "#/definitions/bool" }, "to_kill": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "type_to_kill": { "$ref": "#/definitions/string" }, "damage_type": { "$ref": "#/definitions/DamageTypeID" }, "damage_dealer": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "amount": { "$ref": "#/definitions/uint32" }, "in_vehicle": { "$ref": "#/definitions/bool" }, "personally": { "$ref": "#/definitions/bool" } }, "required": [ "type", "name" ] }, "LabPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/LabPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "lab" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "collision_box": { "$ref": "#/definitions/BoundingBox" }, "collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "map_generator_bounding_box": { "$ref": "#/definitions/BoundingBox" }, "selection_box": { "$ref": "#/definitions/BoundingBox" }, "drawing_box_vertical_extension": { "$ref": "#/definitions/double" }, "sticker_box": { "$ref": "#/definitions/BoundingBox" }, "hit_visualization_box": { "$ref": "#/definitions/BoundingBox" }, "trigger_target_mask": { "$ref": "#/definitions/TriggerTargetMask" }, "flags": { "$ref": "#/definitions/EntityPrototypeFlags" }, "tile_buildability_rules": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileBuildabilityRule" } }, { "type": "object", "additionalProperties": false } ] }, "minable": { "$ref": "#/definitions/MinableProperties" }, "surface_conditions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SurfaceCondition" } }, { "type": "object", "additionalProperties": false } ] }, "deconstruction_alternative": { "$ref": "#/definitions/EntityID" }, "selection_priority": { "$ref": "#/definitions/uint8" }, "build_grid_size": { "$ref": "#/definitions/uint8" }, "remove_decoratives": { "anyOf": [ { "type": "string", "const": "automatic" }, { "type": "string", "const": "true" }, { "type": "string", "const": "false" } ] }, "emissions_per_second": { "type": "object", "additionalProperties": { "$ref": "#/definitions/double" }, "propertyNames": { "$ref": "#/definitions/AirbornePollutantID" } }, "shooting_cursor_size": { "$ref": "#/definitions/double" }, "created_smoke": { "$ref": "#/definitions/CreateTrivialSmokeEffectItem" }, "working_sound": { "$ref": "#/definitions/WorkingSound" }, "created_effect": { "$ref": "#/definitions/Trigger" }, "build_sound": { "$ref": "#/definitions/Sound" }, "mined_sound": { "$ref": "#/definitions/Sound" }, "mining_sound": { "$ref": "#/definitions/Sound" }, "rotated_sound": { "$ref": "#/definitions/Sound" }, "impact_category": { "$ref": "#/definitions/string" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "placeable_position_visualization": { "$ref": "#/definitions/Sprite" }, "radius_visualisation_specification": { "$ref": "#/definitions/RadiusVisualisationSpecification" }, "stateless_visualisation": { "$ref": "#/definitions/StatelessVisualisations" }, "build_base_evolution_requirement": { "$ref": "#/definitions/double" }, "alert_icon_shift": { "$ref": "#/definitions/Vector" }, "alert_icon_scale": { "$ref": "#/definitions/float" }, "fast_replaceable_group": { "$ref": "#/definitions/string" }, "next_upgrade": { "$ref": "#/definitions/EntityID" }, "protected_from_tile_building": { "$ref": "#/definitions/bool" }, "heating_energy": { "$ref": "#/definitions/Energy" }, "allow_copy_paste": { "$ref": "#/definitions/bool" }, "selectable_in_game": { "$ref": "#/definitions/bool" }, "placeable_by": { "anyOf": [ { "$ref": "#/definitions/ItemToPlace" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemToPlace" } }, { "type": "object", "additionalProperties": false } ] } ] }, "remains_when_mined": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "additional_pastable_entities": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] }, "tile_width": { "$ref": "#/definitions/int32" }, "tile_height": { "$ref": "#/definitions/int32" }, "diagonal_tile_grid_size": { "$ref": "#/definitions/TilePosition" }, "autoplace": { "$ref": "#/definitions/AutoplaceSpecification" }, "map_color": { "$ref": "#/definitions/Color" }, "friendly_map_color": { "$ref": "#/definitions/Color" }, "enemy_map_color": { "$ref": "#/definitions/Color" }, "water_reflection": { "$ref": "#/definitions/WaterReflectionDefinition" }, "ambient_sounds_group": { "$ref": "#/definitions/EntityID" }, "ambient_sounds": { "anyOf": [ { "$ref": "#/definitions/WorldAmbientSoundDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/WorldAmbientSoundDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "icon_draw_specification": { "$ref": "#/definitions/IconDrawSpecification" }, "icons_positioning": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconSequencePositioning" } }, { "type": "object", "additionalProperties": false } ] }, "max_health": { "$ref": "#/definitions/float" }, "healing_per_tick": { "$ref": "#/definitions/float" }, "repair_speed_modifier": { "$ref": "#/definitions/float" }, "dying_explosion": { "anyOf": [ { "$ref": "#/definitions/ExplosionDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ExplosionDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "dying_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "damaged_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "loot": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/LootItem" } }, { "type": "object", "additionalProperties": false } ] }, "resistances": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Resistance" } }, { "type": "object", "additionalProperties": false } ] }, "attack_reaction": { "anyOf": [ { "$ref": "#/definitions/AttackReactionItem" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/AttackReactionItem" } }, { "type": "object", "additionalProperties": false } ] } ] }, "repair_sound": { "$ref": "#/definitions/Sound" }, "alert_when_damaged": { "$ref": "#/definitions/bool" }, "hide_resistances": { "$ref": "#/definitions/bool" }, "create_ghost_on_death": { "$ref": "#/definitions/bool" }, "random_corpse_variation": { "$ref": "#/definitions/bool" }, "integration_patch_render_layer": { "$ref": "#/definitions/RenderLayer" }, "corpse": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "integration_patch": { "$ref": "#/definitions/Sprite4Way" }, "overkill_fraction": { "$ref": "#/definitions/float" }, "is_military_target": { "$ref": "#/definitions/bool" }, "allow_run_time_change_of_is_military_target": { "$ref": "#/definitions/bool" }, "quality_indicator_scale": { "$ref": "#/definitions/double" }, "energy_usage": { "$ref": "#/definitions/Energy" }, "energy_source": { "$ref": "#/definitions/EnergySource" }, "on_animation": { "$ref": "#/definitions/Animation" }, "off_animation": { "$ref": "#/definitions/Animation" }, "frozen_patch": { "$ref": "#/definitions/Sprite" }, "inputs": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemID" } }, { "type": "object", "additionalProperties": false } ] }, "researching_speed": { "$ref": "#/definitions/double" }, "effect_receiver": { "$ref": "#/definitions/EffectReceiver" }, "module_slots": { "$ref": "#/definitions/ItemStackIndex" }, "uses_quality_drain_modifier": { "$ref": "#/definitions/bool" }, "science_pack_drain_rate_percent": { "$ref": "#/definitions/uint8" }, "allowed_effects": { "$ref": "#/definitions/EffectTypeLimitation" }, "allowed_module_categories": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ModuleCategoryID" } }, { "type": "object", "additionalProperties": false } ] }, "light": { "$ref": "#/definitions/LightDefinition" }, "trash_inventory_size": { "$ref": "#/definitions/ItemStackIndex" } }, "required": [ "type", "name", "energy_usage", "energy_source", "inputs" ] }, "LampPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/LampPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "lamp" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "collision_box": { "$ref": "#/definitions/BoundingBox" }, "collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "map_generator_bounding_box": { "$ref": "#/definitions/BoundingBox" }, "selection_box": { "$ref": "#/definitions/BoundingBox" }, "drawing_box_vertical_extension": { "$ref": "#/definitions/double" }, "sticker_box": { "$ref": "#/definitions/BoundingBox" }, "hit_visualization_box": { "$ref": "#/definitions/BoundingBox" }, "trigger_target_mask": { "$ref": "#/definitions/TriggerTargetMask" }, "flags": { "$ref": "#/definitions/EntityPrototypeFlags" }, "tile_buildability_rules": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileBuildabilityRule" } }, { "type": "object", "additionalProperties": false } ] }, "minable": { "$ref": "#/definitions/MinableProperties" }, "surface_conditions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SurfaceCondition" } }, { "type": "object", "additionalProperties": false } ] }, "deconstruction_alternative": { "$ref": "#/definitions/EntityID" }, "selection_priority": { "$ref": "#/definitions/uint8" }, "build_grid_size": { "$ref": "#/definitions/uint8" }, "remove_decoratives": { "anyOf": [ { "type": "string", "const": "automatic" }, { "type": "string", "const": "true" }, { "type": "string", "const": "false" } ] }, "emissions_per_second": { "type": "object", "additionalProperties": { "$ref": "#/definitions/double" }, "propertyNames": { "$ref": "#/definitions/AirbornePollutantID" } }, "shooting_cursor_size": { "$ref": "#/definitions/double" }, "created_smoke": { "$ref": "#/definitions/CreateTrivialSmokeEffectItem" }, "working_sound": { "$ref": "#/definitions/WorkingSound" }, "created_effect": { "$ref": "#/definitions/Trigger" }, "build_sound": { "$ref": "#/definitions/Sound" }, "mined_sound": { "$ref": "#/definitions/Sound" }, "mining_sound": { "$ref": "#/definitions/Sound" }, "rotated_sound": { "$ref": "#/definitions/Sound" }, "impact_category": { "$ref": "#/definitions/string" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "placeable_position_visualization": { "$ref": "#/definitions/Sprite" }, "radius_visualisation_specification": { "$ref": "#/definitions/RadiusVisualisationSpecification" }, "stateless_visualisation": { "$ref": "#/definitions/StatelessVisualisations" }, "build_base_evolution_requirement": { "$ref": "#/definitions/double" }, "alert_icon_shift": { "$ref": "#/definitions/Vector" }, "alert_icon_scale": { "$ref": "#/definitions/float" }, "fast_replaceable_group": { "$ref": "#/definitions/string" }, "next_upgrade": { "$ref": "#/definitions/EntityID" }, "protected_from_tile_building": { "$ref": "#/definitions/bool" }, "heating_energy": { "$ref": "#/definitions/Energy" }, "allow_copy_paste": { "$ref": "#/definitions/bool" }, "selectable_in_game": { "$ref": "#/definitions/bool" }, "placeable_by": { "anyOf": [ { "$ref": "#/definitions/ItemToPlace" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemToPlace" } }, { "type": "object", "additionalProperties": false } ] } ] }, "remains_when_mined": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "additional_pastable_entities": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] }, "tile_width": { "$ref": "#/definitions/int32" }, "tile_height": { "$ref": "#/definitions/int32" }, "diagonal_tile_grid_size": { "$ref": "#/definitions/TilePosition" }, "autoplace": { "$ref": "#/definitions/AutoplaceSpecification" }, "map_color": { "$ref": "#/definitions/Color" }, "friendly_map_color": { "$ref": "#/definitions/Color" }, "enemy_map_color": { "$ref": "#/definitions/Color" }, "water_reflection": { "$ref": "#/definitions/WaterReflectionDefinition" }, "ambient_sounds_group": { "$ref": "#/definitions/EntityID" }, "ambient_sounds": { "anyOf": [ { "$ref": "#/definitions/WorldAmbientSoundDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/WorldAmbientSoundDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "icon_draw_specification": { "$ref": "#/definitions/IconDrawSpecification" }, "icons_positioning": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconSequencePositioning" } }, { "type": "object", "additionalProperties": false } ] }, "max_health": { "$ref": "#/definitions/float" }, "healing_per_tick": { "$ref": "#/definitions/float" }, "repair_speed_modifier": { "$ref": "#/definitions/float" }, "dying_explosion": { "anyOf": [ { "$ref": "#/definitions/ExplosionDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ExplosionDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "dying_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "damaged_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "loot": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/LootItem" } }, { "type": "object", "additionalProperties": false } ] }, "resistances": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Resistance" } }, { "type": "object", "additionalProperties": false } ] }, "attack_reaction": { "anyOf": [ { "$ref": "#/definitions/AttackReactionItem" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/AttackReactionItem" } }, { "type": "object", "additionalProperties": false } ] } ] }, "repair_sound": { "$ref": "#/definitions/Sound" }, "alert_when_damaged": { "$ref": "#/definitions/bool" }, "hide_resistances": { "$ref": "#/definitions/bool" }, "create_ghost_on_death": { "$ref": "#/definitions/bool" }, "random_corpse_variation": { "$ref": "#/definitions/bool" }, "integration_patch_render_layer": { "$ref": "#/definitions/RenderLayer" }, "corpse": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "integration_patch": { "$ref": "#/definitions/Sprite4Way" }, "overkill_fraction": { "$ref": "#/definitions/float" }, "is_military_target": { "$ref": "#/definitions/bool" }, "allow_run_time_change_of_is_military_target": { "$ref": "#/definitions/bool" }, "quality_indicator_scale": { "$ref": "#/definitions/double" }, "picture_on": { "$ref": "#/definitions/Sprite" }, "picture_off": { "$ref": "#/definitions/Sprite" }, "energy_usage_per_tick": { "$ref": "#/definitions/Energy" }, "energy_source": { "anyOf": [ { "$ref": "#/definitions/ElectricEnergySource" }, { "$ref": "#/definitions/VoidEnergySource" } ] }, "light": { "$ref": "#/definitions/LightDefinition" }, "light_when_colored": { "$ref": "#/definitions/LightDefinition" }, "circuit_wire_max_distance": { "$ref": "#/definitions/double" }, "draw_copper_wires": { "$ref": "#/definitions/bool" }, "draw_circuit_wires": { "$ref": "#/definitions/bool" }, "circuit_connector": { "$ref": "#/definitions/CircuitConnectorDefinition" }, "glow_size": { "$ref": "#/definitions/float" }, "glow_color_intensity": { "$ref": "#/definitions/float" }, "darkness_for_all_lamps_on": { "$ref": "#/definitions/float" }, "darkness_for_all_lamps_off": { "$ref": "#/definitions/float" }, "always_on": { "$ref": "#/definitions/bool" }, "signal_to_color_mapping": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SignalColorMapping" } }, { "type": "object", "additionalProperties": false } ] }, "glow_render_mode": { "anyOf": [ { "type": "string", "const": "additive" }, { "type": "string", "const": "multiplicative" } ] }, "default_red_signal": { "$ref": "#/definitions/SignalIDConnector" }, "default_green_signal": { "$ref": "#/definitions/SignalIDConnector" }, "default_blue_signal": { "$ref": "#/definitions/SignalIDConnector" }, "default_rgb_signal": { "$ref": "#/definitions/SignalIDConnector" } }, "required": [ "type", "name", "energy_usage_per_tick", "energy_source" ] }, "LandMinePrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/LandMinePrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "land-mine" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "collision_box": { "$ref": "#/definitions/BoundingBox" }, "collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "map_generator_bounding_box": { "$ref": "#/definitions/BoundingBox" }, "selection_box": { "$ref": "#/definitions/BoundingBox" }, "drawing_box_vertical_extension": { "$ref": "#/definitions/double" }, "sticker_box": { "$ref": "#/definitions/BoundingBox" }, "hit_visualization_box": { "$ref": "#/definitions/BoundingBox" }, "trigger_target_mask": { "$ref": "#/definitions/TriggerTargetMask" }, "flags": { "$ref": "#/definitions/EntityPrototypeFlags" }, "tile_buildability_rules": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileBuildabilityRule" } }, { "type": "object", "additionalProperties": false } ] }, "minable": { "$ref": "#/definitions/MinableProperties" }, "surface_conditions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SurfaceCondition" } }, { "type": "object", "additionalProperties": false } ] }, "deconstruction_alternative": { "$ref": "#/definitions/EntityID" }, "selection_priority": { "$ref": "#/definitions/uint8" }, "build_grid_size": { "$ref": "#/definitions/uint8" }, "remove_decoratives": { "anyOf": [ { "type": "string", "const": "automatic" }, { "type": "string", "const": "true" }, { "type": "string", "const": "false" } ] }, "emissions_per_second": { "type": "object", "additionalProperties": { "$ref": "#/definitions/double" }, "propertyNames": { "$ref": "#/definitions/AirbornePollutantID" } }, "shooting_cursor_size": { "$ref": "#/definitions/double" }, "created_smoke": { "$ref": "#/definitions/CreateTrivialSmokeEffectItem" }, "working_sound": { "$ref": "#/definitions/WorkingSound" }, "created_effect": { "$ref": "#/definitions/Trigger" }, "build_sound": { "$ref": "#/definitions/Sound" }, "mined_sound": { "$ref": "#/definitions/Sound" }, "mining_sound": { "$ref": "#/definitions/Sound" }, "rotated_sound": { "$ref": "#/definitions/Sound" }, "impact_category": { "$ref": "#/definitions/string" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "placeable_position_visualization": { "$ref": "#/definitions/Sprite" }, "radius_visualisation_specification": { "$ref": "#/definitions/RadiusVisualisationSpecification" }, "stateless_visualisation": { "$ref": "#/definitions/StatelessVisualisations" }, "build_base_evolution_requirement": { "$ref": "#/definitions/double" }, "alert_icon_shift": { "$ref": "#/definitions/Vector" }, "alert_icon_scale": { "$ref": "#/definitions/float" }, "fast_replaceable_group": { "$ref": "#/definitions/string" }, "next_upgrade": { "$ref": "#/definitions/EntityID" }, "protected_from_tile_building": { "$ref": "#/definitions/bool" }, "heating_energy": { "$ref": "#/definitions/Energy" }, "allow_copy_paste": { "$ref": "#/definitions/bool" }, "selectable_in_game": { "$ref": "#/definitions/bool" }, "placeable_by": { "anyOf": [ { "$ref": "#/definitions/ItemToPlace" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemToPlace" } }, { "type": "object", "additionalProperties": false } ] } ] }, "remains_when_mined": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "additional_pastable_entities": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] }, "tile_width": { "$ref": "#/definitions/int32" }, "tile_height": { "$ref": "#/definitions/int32" }, "diagonal_tile_grid_size": { "$ref": "#/definitions/TilePosition" }, "autoplace": { "$ref": "#/definitions/AutoplaceSpecification" }, "map_color": { "$ref": "#/definitions/Color" }, "friendly_map_color": { "$ref": "#/definitions/Color" }, "enemy_map_color": { "$ref": "#/definitions/Color" }, "water_reflection": { "$ref": "#/definitions/WaterReflectionDefinition" }, "ambient_sounds_group": { "$ref": "#/definitions/EntityID" }, "ambient_sounds": { "anyOf": [ { "$ref": "#/definitions/WorldAmbientSoundDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/WorldAmbientSoundDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "icon_draw_specification": { "$ref": "#/definitions/IconDrawSpecification" }, "icons_positioning": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconSequencePositioning" } }, { "type": "object", "additionalProperties": false } ] }, "max_health": { "$ref": "#/definitions/float" }, "healing_per_tick": { "$ref": "#/definitions/float" }, "repair_speed_modifier": { "$ref": "#/definitions/float" }, "dying_explosion": { "anyOf": [ { "$ref": "#/definitions/ExplosionDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ExplosionDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "dying_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "damaged_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "loot": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/LootItem" } }, { "type": "object", "additionalProperties": false } ] }, "resistances": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Resistance" } }, { "type": "object", "additionalProperties": false } ] }, "attack_reaction": { "anyOf": [ { "$ref": "#/definitions/AttackReactionItem" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/AttackReactionItem" } }, { "type": "object", "additionalProperties": false } ] } ] }, "repair_sound": { "$ref": "#/definitions/Sound" }, "alert_when_damaged": { "$ref": "#/definitions/bool" }, "hide_resistances": { "$ref": "#/definitions/bool" }, "create_ghost_on_death": { "$ref": "#/definitions/bool" }, "random_corpse_variation": { "$ref": "#/definitions/bool" }, "integration_patch_render_layer": { "$ref": "#/definitions/RenderLayer" }, "corpse": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "integration_patch": { "$ref": "#/definitions/Sprite4Way" }, "overkill_fraction": { "$ref": "#/definitions/float" }, "is_military_target": { "$ref": "#/definitions/bool" }, "allow_run_time_change_of_is_military_target": { "$ref": "#/definitions/bool" }, "quality_indicator_scale": { "$ref": "#/definitions/double" }, "picture_safe": { "$ref": "#/definitions/Sprite" }, "picture_set": { "$ref": "#/definitions/Sprite" }, "trigger_radius": { "$ref": "#/definitions/double" }, "picture_set_enemy": { "$ref": "#/definitions/Sprite" }, "timeout": { "$ref": "#/definitions/uint32" }, "action": { "$ref": "#/definitions/Trigger" }, "ammo_category": { "$ref": "#/definitions/AmmoCategoryID" }, "force_die_on_attack": { "$ref": "#/definitions/bool" }, "trigger_force": { "$ref": "#/definitions/ForceCondition" }, "trigger_collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" } }, "required": [ "type", "name", "trigger_radius" ] }, "LaneSplitterPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/LaneSplitterPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "lane-splitter" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "collision_box": { "$ref": "#/definitions/BoundingBox" }, "collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "map_generator_bounding_box": { "$ref": "#/definitions/BoundingBox" }, "selection_box": { "$ref": "#/definitions/BoundingBox" }, "drawing_box_vertical_extension": { "$ref": "#/definitions/double" }, "sticker_box": { "$ref": "#/definitions/BoundingBox" }, "hit_visualization_box": { "$ref": "#/definitions/BoundingBox" }, "trigger_target_mask": { "$ref": "#/definitions/TriggerTargetMask" }, "flags": { "$ref": "#/definitions/EntityPrototypeFlags" }, "tile_buildability_rules": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileBuildabilityRule" } }, { "type": "object", "additionalProperties": false } ] }, "minable": { "$ref": "#/definitions/MinableProperties" }, "surface_conditions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SurfaceCondition" } }, { "type": "object", "additionalProperties": false } ] }, "deconstruction_alternative": { "$ref": "#/definitions/EntityID" }, "selection_priority": { "$ref": "#/definitions/uint8" }, "build_grid_size": { "$ref": "#/definitions/uint8" }, "remove_decoratives": { "anyOf": [ { "type": "string", "const": "automatic" }, { "type": "string", "const": "true" }, { "type": "string", "const": "false" } ] }, "emissions_per_second": { "type": "object", "additionalProperties": { "$ref": "#/definitions/double" }, "propertyNames": { "$ref": "#/definitions/AirbornePollutantID" } }, "shooting_cursor_size": { "$ref": "#/definitions/double" }, "created_smoke": { "$ref": "#/definitions/CreateTrivialSmokeEffectItem" }, "working_sound": { "$ref": "#/definitions/WorkingSound" }, "created_effect": { "$ref": "#/definitions/Trigger" }, "build_sound": { "$ref": "#/definitions/Sound" }, "mined_sound": { "$ref": "#/definitions/Sound" }, "mining_sound": { "$ref": "#/definitions/Sound" }, "rotated_sound": { "$ref": "#/definitions/Sound" }, "impact_category": { "$ref": "#/definitions/string" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "placeable_position_visualization": { "$ref": "#/definitions/Sprite" }, "radius_visualisation_specification": { "$ref": "#/definitions/RadiusVisualisationSpecification" }, "stateless_visualisation": { "$ref": "#/definitions/StatelessVisualisations" }, "build_base_evolution_requirement": { "$ref": "#/definitions/double" }, "alert_icon_shift": { "$ref": "#/definitions/Vector" }, "alert_icon_scale": { "$ref": "#/definitions/float" }, "fast_replaceable_group": { "$ref": "#/definitions/string" }, "next_upgrade": { "$ref": "#/definitions/EntityID" }, "protected_from_tile_building": { "$ref": "#/definitions/bool" }, "heating_energy": { "$ref": "#/definitions/Energy" }, "allow_copy_paste": { "$ref": "#/definitions/bool" }, "selectable_in_game": { "$ref": "#/definitions/bool" }, "placeable_by": { "anyOf": [ { "$ref": "#/definitions/ItemToPlace" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemToPlace" } }, { "type": "object", "additionalProperties": false } ] } ] }, "remains_when_mined": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "additional_pastable_entities": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] }, "tile_width": { "$ref": "#/definitions/int32" }, "tile_height": { "$ref": "#/definitions/int32" }, "diagonal_tile_grid_size": { "$ref": "#/definitions/TilePosition" }, "autoplace": { "$ref": "#/definitions/AutoplaceSpecification" }, "map_color": { "$ref": "#/definitions/Color" }, "friendly_map_color": { "$ref": "#/definitions/Color" }, "enemy_map_color": { "$ref": "#/definitions/Color" }, "water_reflection": { "$ref": "#/definitions/WaterReflectionDefinition" }, "ambient_sounds_group": { "$ref": "#/definitions/EntityID" }, "ambient_sounds": { "anyOf": [ { "$ref": "#/definitions/WorldAmbientSoundDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/WorldAmbientSoundDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "icon_draw_specification": { "$ref": "#/definitions/IconDrawSpecification" }, "icons_positioning": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconSequencePositioning" } }, { "type": "object", "additionalProperties": false } ] }, "max_health": { "$ref": "#/definitions/float" }, "healing_per_tick": { "$ref": "#/definitions/float" }, "repair_speed_modifier": { "$ref": "#/definitions/float" }, "dying_explosion": { "anyOf": [ { "$ref": "#/definitions/ExplosionDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ExplosionDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "dying_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "damaged_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "loot": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/LootItem" } }, { "type": "object", "additionalProperties": false } ] }, "resistances": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Resistance" } }, { "type": "object", "additionalProperties": false } ] }, "attack_reaction": { "anyOf": [ { "$ref": "#/definitions/AttackReactionItem" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/AttackReactionItem" } }, { "type": "object", "additionalProperties": false } ] } ] }, "repair_sound": { "$ref": "#/definitions/Sound" }, "alert_when_damaged": { "$ref": "#/definitions/bool" }, "hide_resistances": { "$ref": "#/definitions/bool" }, "create_ghost_on_death": { "$ref": "#/definitions/bool" }, "random_corpse_variation": { "$ref": "#/definitions/bool" }, "integration_patch_render_layer": { "$ref": "#/definitions/RenderLayer" }, "corpse": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "integration_patch": { "$ref": "#/definitions/Sprite4Way" }, "overkill_fraction": { "$ref": "#/definitions/float" }, "is_military_target": { "$ref": "#/definitions/bool" }, "allow_run_time_change_of_is_military_target": { "$ref": "#/definitions/bool" }, "quality_indicator_scale": { "$ref": "#/definitions/double" }, "belt_animation_set": { "$ref": "#/definitions/TransportBeltAnimationSet" }, "speed": { "$ref": "#/definitions/double" }, "animation_speed_coefficient": { "$ref": "#/definitions/double" }, "structure_animation_speed_coefficient": { "$ref": "#/definitions/double" }, "structure_animation_movement_cooldown": { "$ref": "#/definitions/uint32" }, "structure": { "$ref": "#/definitions/Animation4Way" }, "structure_patch": { "$ref": "#/definitions/Animation4Way" } }, "required": [ "type", "name", "speed", "structure" ] }, "LegacyCurvedRailPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/LegacyCurvedRailPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "legacy-curved-rail" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "collision_box": { "$ref": "#/definitions/BoundingBox" }, "collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "map_generator_bounding_box": { "$ref": "#/definitions/BoundingBox" }, "selection_box": { "$ref": "#/definitions/BoundingBox" }, "drawing_box_vertical_extension": { "$ref": "#/definitions/double" }, "sticker_box": { "$ref": "#/definitions/BoundingBox" }, "hit_visualization_box": { "$ref": "#/definitions/BoundingBox" }, "trigger_target_mask": { "$ref": "#/definitions/TriggerTargetMask" }, "flags": { "$ref": "#/definitions/EntityPrototypeFlags" }, "tile_buildability_rules": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileBuildabilityRule" } }, { "type": "object", "additionalProperties": false } ] }, "minable": { "$ref": "#/definitions/MinableProperties" }, "surface_conditions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SurfaceCondition" } }, { "type": "object", "additionalProperties": false } ] }, "deconstruction_alternative": { "$ref": "#/definitions/EntityID" }, "selection_priority": { "$ref": "#/definitions/uint8" }, "build_grid_size": { "type": "integer", "const": 2 }, "remove_decoratives": { "anyOf": [ { "type": "string", "const": "automatic" }, { "type": "string", "const": "true" }, { "type": "string", "const": "false" } ] }, "emissions_per_second": { "type": "object", "additionalProperties": { "$ref": "#/definitions/double" }, "propertyNames": { "$ref": "#/definitions/AirbornePollutantID" } }, "shooting_cursor_size": { "$ref": "#/definitions/double" }, "created_smoke": { "$ref": "#/definitions/CreateTrivialSmokeEffectItem" }, "working_sound": { "$ref": "#/definitions/WorkingSound" }, "created_effect": { "$ref": "#/definitions/Trigger" }, "build_sound": { "$ref": "#/definitions/Sound" }, "mined_sound": { "$ref": "#/definitions/Sound" }, "mining_sound": { "$ref": "#/definitions/Sound" }, "rotated_sound": { "$ref": "#/definitions/Sound" }, "impact_category": { "$ref": "#/definitions/string" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "placeable_position_visualization": { "$ref": "#/definitions/Sprite" }, "radius_visualisation_specification": { "$ref": "#/definitions/RadiusVisualisationSpecification" }, "stateless_visualisation": { "$ref": "#/definitions/StatelessVisualisations" }, "build_base_evolution_requirement": { "$ref": "#/definitions/double" }, "alert_icon_shift": { "$ref": "#/definitions/Vector" }, "alert_icon_scale": { "$ref": "#/definitions/float" }, "fast_replaceable_group": { "$ref": "#/definitions/string" }, "next_upgrade": { "$ref": "#/definitions/EntityID" }, "protected_from_tile_building": { "$ref": "#/definitions/bool" }, "heating_energy": { "$ref": "#/definitions/Energy" }, "allow_copy_paste": { "$ref": "#/definitions/bool" }, "selectable_in_game": { "$ref": "#/definitions/bool" }, "placeable_by": { "anyOf": [ { "$ref": "#/definitions/ItemToPlace" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemToPlace" } }, { "type": "object", "additionalProperties": false } ] } ] }, "remains_when_mined": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "additional_pastable_entities": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] }, "tile_width": { "$ref": "#/definitions/int32" }, "tile_height": { "$ref": "#/definitions/int32" }, "diagonal_tile_grid_size": { "$ref": "#/definitions/TilePosition" }, "autoplace": { "$ref": "#/definitions/AutoplaceSpecification" }, "map_color": { "$ref": "#/definitions/Color" }, "friendly_map_color": { "$ref": "#/definitions/Color" }, "enemy_map_color": { "$ref": "#/definitions/Color" }, "water_reflection": { "$ref": "#/definitions/WaterReflectionDefinition" }, "ambient_sounds_group": { "$ref": "#/definitions/EntityID" }, "ambient_sounds": { "anyOf": [ { "$ref": "#/definitions/WorldAmbientSoundDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/WorldAmbientSoundDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "icon_draw_specification": { "$ref": "#/definitions/IconDrawSpecification" }, "icons_positioning": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconSequencePositioning" } }, { "type": "object", "additionalProperties": false } ] }, "max_health": { "$ref": "#/definitions/float" }, "healing_per_tick": { "$ref": "#/definitions/float" }, "repair_speed_modifier": { "$ref": "#/definitions/float" }, "dying_explosion": { "anyOf": [ { "$ref": "#/definitions/ExplosionDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ExplosionDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "dying_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "damaged_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "loot": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/LootItem" } }, { "type": "object", "additionalProperties": false } ] }, "resistances": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Resistance" } }, { "type": "object", "additionalProperties": false } ] }, "attack_reaction": { "anyOf": [ { "$ref": "#/definitions/AttackReactionItem" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/AttackReactionItem" } }, { "type": "object", "additionalProperties": false } ] } ] }, "repair_sound": { "$ref": "#/definitions/Sound" }, "alert_when_damaged": { "$ref": "#/definitions/bool" }, "hide_resistances": { "$ref": "#/definitions/bool" }, "create_ghost_on_death": { "$ref": "#/definitions/bool" }, "random_corpse_variation": { "$ref": "#/definitions/bool" }, "integration_patch_render_layer": { "$ref": "#/definitions/RenderLayer" }, "corpse": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "integration_patch": { "$ref": "#/definitions/Sprite4Way" }, "overkill_fraction": { "$ref": "#/definitions/float" }, "is_military_target": { "$ref": "#/definitions/bool" }, "allow_run_time_change_of_is_military_target": { "$ref": "#/definitions/bool" }, "quality_indicator_scale": { "$ref": "#/definitions/double" }, "walking_sound": { "$ref": "#/definitions/Sound" }, "pictures": { "$ref": "#/definitions/RailPictureSet" }, "fence_pictures": { "$ref": "#/definitions/RailFenceGraphicsSet" }, "extra_planner_penalty": { "$ref": "#/definitions/double" }, "extra_planner_goal_penalty": { "$ref": "#/definitions/double" }, "forced_fence_segment_count": { "$ref": "#/definitions/uint8" }, "ending_shifts": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Vector" } }, { "type": "object", "additionalProperties": false } ] }, "deconstruction_marker_positions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Vector" } }, { "type": "object", "additionalProperties": false } ] }, "removes_soft_decoratives": { "$ref": "#/definitions/bool" } }, "required": [ "type", "name", "pictures" ] }, "LegacyStraightRailPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/LegacyStraightRailPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "legacy-straight-rail" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "collision_box": { "$ref": "#/definitions/BoundingBox" }, "collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "map_generator_bounding_box": { "$ref": "#/definitions/BoundingBox" }, "selection_box": { "$ref": "#/definitions/BoundingBox" }, "drawing_box_vertical_extension": { "$ref": "#/definitions/double" }, "sticker_box": { "$ref": "#/definitions/BoundingBox" }, "hit_visualization_box": { "$ref": "#/definitions/BoundingBox" }, "trigger_target_mask": { "$ref": "#/definitions/TriggerTargetMask" }, "flags": { "$ref": "#/definitions/EntityPrototypeFlags" }, "tile_buildability_rules": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileBuildabilityRule" } }, { "type": "object", "additionalProperties": false } ] }, "minable": { "$ref": "#/definitions/MinableProperties" }, "surface_conditions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SurfaceCondition" } }, { "type": "object", "additionalProperties": false } ] }, "deconstruction_alternative": { "$ref": "#/definitions/EntityID" }, "selection_priority": { "$ref": "#/definitions/uint8" }, "build_grid_size": { "type": "integer", "const": 2 }, "remove_decoratives": { "anyOf": [ { "type": "string", "const": "automatic" }, { "type": "string", "const": "true" }, { "type": "string", "const": "false" } ] }, "emissions_per_second": { "type": "object", "additionalProperties": { "$ref": "#/definitions/double" }, "propertyNames": { "$ref": "#/definitions/AirbornePollutantID" } }, "shooting_cursor_size": { "$ref": "#/definitions/double" }, "created_smoke": { "$ref": "#/definitions/CreateTrivialSmokeEffectItem" }, "working_sound": { "$ref": "#/definitions/WorkingSound" }, "created_effect": { "$ref": "#/definitions/Trigger" }, "build_sound": { "$ref": "#/definitions/Sound" }, "mined_sound": { "$ref": "#/definitions/Sound" }, "mining_sound": { "$ref": "#/definitions/Sound" }, "rotated_sound": { "$ref": "#/definitions/Sound" }, "impact_category": { "$ref": "#/definitions/string" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "placeable_position_visualization": { "$ref": "#/definitions/Sprite" }, "radius_visualisation_specification": { "$ref": "#/definitions/RadiusVisualisationSpecification" }, "stateless_visualisation": { "$ref": "#/definitions/StatelessVisualisations" }, "build_base_evolution_requirement": { "$ref": "#/definitions/double" }, "alert_icon_shift": { "$ref": "#/definitions/Vector" }, "alert_icon_scale": { "$ref": "#/definitions/float" }, "fast_replaceable_group": { "$ref": "#/definitions/string" }, "next_upgrade": { "$ref": "#/definitions/EntityID" }, "protected_from_tile_building": { "$ref": "#/definitions/bool" }, "heating_energy": { "$ref": "#/definitions/Energy" }, "allow_copy_paste": { "$ref": "#/definitions/bool" }, "selectable_in_game": { "$ref": "#/definitions/bool" }, "placeable_by": { "anyOf": [ { "$ref": "#/definitions/ItemToPlace" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemToPlace" } }, { "type": "object", "additionalProperties": false } ] } ] }, "remains_when_mined": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "additional_pastable_entities": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] }, "tile_width": { "$ref": "#/definitions/int32" }, "tile_height": { "$ref": "#/definitions/int32" }, "diagonal_tile_grid_size": { "$ref": "#/definitions/TilePosition" }, "autoplace": { "$ref": "#/definitions/AutoplaceSpecification" }, "map_color": { "$ref": "#/definitions/Color" }, "friendly_map_color": { "$ref": "#/definitions/Color" }, "enemy_map_color": { "$ref": "#/definitions/Color" }, "water_reflection": { "$ref": "#/definitions/WaterReflectionDefinition" }, "ambient_sounds_group": { "$ref": "#/definitions/EntityID" }, "ambient_sounds": { "anyOf": [ { "$ref": "#/definitions/WorldAmbientSoundDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/WorldAmbientSoundDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "icon_draw_specification": { "$ref": "#/definitions/IconDrawSpecification" }, "icons_positioning": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconSequencePositioning" } }, { "type": "object", "additionalProperties": false } ] }, "max_health": { "$ref": "#/definitions/float" }, "healing_per_tick": { "$ref": "#/definitions/float" }, "repair_speed_modifier": { "$ref": "#/definitions/float" }, "dying_explosion": { "anyOf": [ { "$ref": "#/definitions/ExplosionDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ExplosionDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "dying_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "damaged_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "loot": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/LootItem" } }, { "type": "object", "additionalProperties": false } ] }, "resistances": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Resistance" } }, { "type": "object", "additionalProperties": false } ] }, "attack_reaction": { "anyOf": [ { "$ref": "#/definitions/AttackReactionItem" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/AttackReactionItem" } }, { "type": "object", "additionalProperties": false } ] } ] }, "repair_sound": { "$ref": "#/definitions/Sound" }, "alert_when_damaged": { "$ref": "#/definitions/bool" }, "hide_resistances": { "$ref": "#/definitions/bool" }, "create_ghost_on_death": { "$ref": "#/definitions/bool" }, "random_corpse_variation": { "$ref": "#/definitions/bool" }, "integration_patch_render_layer": { "$ref": "#/definitions/RenderLayer" }, "corpse": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "integration_patch": { "$ref": "#/definitions/Sprite4Way" }, "overkill_fraction": { "$ref": "#/definitions/float" }, "is_military_target": { "$ref": "#/definitions/bool" }, "allow_run_time_change_of_is_military_target": { "$ref": "#/definitions/bool" }, "quality_indicator_scale": { "$ref": "#/definitions/double" }, "walking_sound": { "$ref": "#/definitions/Sound" }, "pictures": { "$ref": "#/definitions/RailPictureSet" }, "fence_pictures": { "$ref": "#/definitions/RailFenceGraphicsSet" }, "extra_planner_penalty": { "$ref": "#/definitions/double" }, "extra_planner_goal_penalty": { "$ref": "#/definitions/double" }, "forced_fence_segment_count": { "$ref": "#/definitions/uint8" }, "ending_shifts": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Vector" } }, { "type": "object", "additionalProperties": false } ] }, "deconstruction_marker_positions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Vector" } }, { "type": "object", "additionalProperties": false } ] }, "removes_soft_decoratives": { "$ref": "#/definitions/bool" } }, "required": [ "type", "name", "pictures" ] }, "LightningAttractorPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/LightningAttractorPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "lightning-attractor" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "collision_box": { "$ref": "#/definitions/BoundingBox" }, "collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "map_generator_bounding_box": { "$ref": "#/definitions/BoundingBox" }, "selection_box": { "$ref": "#/definitions/BoundingBox" }, "drawing_box_vertical_extension": { "$ref": "#/definitions/double" }, "sticker_box": { "$ref": "#/definitions/BoundingBox" }, "hit_visualization_box": { "$ref": "#/definitions/BoundingBox" }, "trigger_target_mask": { "$ref": "#/definitions/TriggerTargetMask" }, "flags": { "$ref": "#/definitions/EntityPrototypeFlags" }, "tile_buildability_rules": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileBuildabilityRule" } }, { "type": "object", "additionalProperties": false } ] }, "minable": { "$ref": "#/definitions/MinableProperties" }, "surface_conditions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SurfaceCondition" } }, { "type": "object", "additionalProperties": false } ] }, "deconstruction_alternative": { "$ref": "#/definitions/EntityID" }, "selection_priority": { "$ref": "#/definitions/uint8" }, "build_grid_size": { "$ref": "#/definitions/uint8" }, "remove_decoratives": { "anyOf": [ { "type": "string", "const": "automatic" }, { "type": "string", "const": "true" }, { "type": "string", "const": "false" } ] }, "emissions_per_second": { "type": "object", "additionalProperties": { "$ref": "#/definitions/double" }, "propertyNames": { "$ref": "#/definitions/AirbornePollutantID" } }, "shooting_cursor_size": { "$ref": "#/definitions/double" }, "created_smoke": { "$ref": "#/definitions/CreateTrivialSmokeEffectItem" }, "working_sound": { "$ref": "#/definitions/WorkingSound" }, "created_effect": { "$ref": "#/definitions/Trigger" }, "build_sound": { "$ref": "#/definitions/Sound" }, "mined_sound": { "$ref": "#/definitions/Sound" }, "mining_sound": { "$ref": "#/definitions/Sound" }, "rotated_sound": { "$ref": "#/definitions/Sound" }, "impact_category": { "$ref": "#/definitions/string" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "placeable_position_visualization": { "$ref": "#/definitions/Sprite" }, "radius_visualisation_specification": { "$ref": "#/definitions/RadiusVisualisationSpecification" }, "stateless_visualisation": { "$ref": "#/definitions/StatelessVisualisations" }, "build_base_evolution_requirement": { "$ref": "#/definitions/double" }, "alert_icon_shift": { "$ref": "#/definitions/Vector" }, "alert_icon_scale": { "$ref": "#/definitions/float" }, "fast_replaceable_group": { "$ref": "#/definitions/string" }, "next_upgrade": { "$ref": "#/definitions/EntityID" }, "protected_from_tile_building": { "$ref": "#/definitions/bool" }, "heating_energy": { "$ref": "#/definitions/Energy" }, "allow_copy_paste": { "$ref": "#/definitions/bool" }, "selectable_in_game": { "$ref": "#/definitions/bool" }, "placeable_by": { "anyOf": [ { "$ref": "#/definitions/ItemToPlace" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemToPlace" } }, { "type": "object", "additionalProperties": false } ] } ] }, "remains_when_mined": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "additional_pastable_entities": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] }, "tile_width": { "$ref": "#/definitions/int32" }, "tile_height": { "$ref": "#/definitions/int32" }, "diagonal_tile_grid_size": { "$ref": "#/definitions/TilePosition" }, "autoplace": { "$ref": "#/definitions/AutoplaceSpecification" }, "map_color": { "$ref": "#/definitions/Color" }, "friendly_map_color": { "$ref": "#/definitions/Color" }, "enemy_map_color": { "$ref": "#/definitions/Color" }, "water_reflection": { "$ref": "#/definitions/WaterReflectionDefinition" }, "ambient_sounds_group": { "$ref": "#/definitions/EntityID" }, "ambient_sounds": { "anyOf": [ { "$ref": "#/definitions/WorldAmbientSoundDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/WorldAmbientSoundDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "icon_draw_specification": { "$ref": "#/definitions/IconDrawSpecification" }, "icons_positioning": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconSequencePositioning" } }, { "type": "object", "additionalProperties": false } ] }, "max_health": { "$ref": "#/definitions/float" }, "healing_per_tick": { "$ref": "#/definitions/float" }, "repair_speed_modifier": { "$ref": "#/definitions/float" }, "dying_explosion": { "anyOf": [ { "$ref": "#/definitions/ExplosionDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ExplosionDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "dying_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "damaged_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "loot": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/LootItem" } }, { "type": "object", "additionalProperties": false } ] }, "resistances": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Resistance" } }, { "type": "object", "additionalProperties": false } ] }, "attack_reaction": { "anyOf": [ { "$ref": "#/definitions/AttackReactionItem" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/AttackReactionItem" } }, { "type": "object", "additionalProperties": false } ] } ] }, "repair_sound": { "$ref": "#/definitions/Sound" }, "alert_when_damaged": { "$ref": "#/definitions/bool" }, "hide_resistances": { "$ref": "#/definitions/bool" }, "create_ghost_on_death": { "$ref": "#/definitions/bool" }, "random_corpse_variation": { "$ref": "#/definitions/bool" }, "integration_patch_render_layer": { "$ref": "#/definitions/RenderLayer" }, "corpse": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "integration_patch": { "$ref": "#/definitions/Sprite4Way" }, "overkill_fraction": { "$ref": "#/definitions/float" }, "is_military_target": { "$ref": "#/definitions/bool" }, "allow_run_time_change_of_is_military_target": { "$ref": "#/definitions/bool" }, "quality_indicator_scale": { "$ref": "#/definitions/double" }, "chargable_graphics": { "$ref": "#/definitions/ChargableGraphics" }, "lightning_strike_offset": { "$ref": "#/definitions/MapPosition" }, "efficiency": { "$ref": "#/definitions/double" }, "range_elongation": { "$ref": "#/definitions/double" }, "energy_source": { "$ref": "#/definitions/ElectricEnergySource" } }, "required": [ "type", "name" ] }, "LightningPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/LightningPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "lightning" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "collision_box": { "$ref": "#/definitions/BoundingBox" }, "collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "map_generator_bounding_box": { "$ref": "#/definitions/BoundingBox" }, "selection_box": { "$ref": "#/definitions/BoundingBox" }, "drawing_box_vertical_extension": { "$ref": "#/definitions/double" }, "sticker_box": { "$ref": "#/definitions/BoundingBox" }, "hit_visualization_box": { "$ref": "#/definitions/BoundingBox" }, "trigger_target_mask": { "$ref": "#/definitions/TriggerTargetMask" }, "flags": { "$ref": "#/definitions/EntityPrototypeFlags" }, "tile_buildability_rules": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileBuildabilityRule" } }, { "type": "object", "additionalProperties": false } ] }, "minable": { "$ref": "#/definitions/MinableProperties" }, "surface_conditions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SurfaceCondition" } }, { "type": "object", "additionalProperties": false } ] }, "deconstruction_alternative": { "$ref": "#/definitions/EntityID" }, "selection_priority": { "$ref": "#/definitions/uint8" }, "build_grid_size": { "$ref": "#/definitions/uint8" }, "remove_decoratives": { "anyOf": [ { "type": "string", "const": "automatic" }, { "type": "string", "const": "true" }, { "type": "string", "const": "false" } ] }, "emissions_per_second": { "type": "object", "additionalProperties": { "$ref": "#/definitions/double" }, "propertyNames": { "$ref": "#/definitions/AirbornePollutantID" } }, "shooting_cursor_size": { "$ref": "#/definitions/double" }, "created_smoke": { "$ref": "#/definitions/CreateTrivialSmokeEffectItem" }, "working_sound": { "$ref": "#/definitions/WorkingSound" }, "created_effect": { "$ref": "#/definitions/Trigger" }, "build_sound": { "$ref": "#/definitions/Sound" }, "mined_sound": { "$ref": "#/definitions/Sound" }, "mining_sound": { "$ref": "#/definitions/Sound" }, "rotated_sound": { "$ref": "#/definitions/Sound" }, "impact_category": { "$ref": "#/definitions/string" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "placeable_position_visualization": { "$ref": "#/definitions/Sprite" }, "radius_visualisation_specification": { "$ref": "#/definitions/RadiusVisualisationSpecification" }, "stateless_visualisation": { "$ref": "#/definitions/StatelessVisualisations" }, "build_base_evolution_requirement": { "$ref": "#/definitions/double" }, "alert_icon_shift": { "$ref": "#/definitions/Vector" }, "alert_icon_scale": { "$ref": "#/definitions/float" }, "fast_replaceable_group": { "$ref": "#/definitions/string" }, "next_upgrade": { "$ref": "#/definitions/EntityID" }, "protected_from_tile_building": { "$ref": "#/definitions/bool" }, "heating_energy": { "$ref": "#/definitions/Energy" }, "allow_copy_paste": { "$ref": "#/definitions/bool" }, "selectable_in_game": { "$ref": "#/definitions/bool" }, "placeable_by": { "anyOf": [ { "$ref": "#/definitions/ItemToPlace" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemToPlace" } }, { "type": "object", "additionalProperties": false } ] } ] }, "remains_when_mined": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "additional_pastable_entities": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] }, "tile_width": { "$ref": "#/definitions/int32" }, "tile_height": { "$ref": "#/definitions/int32" }, "diagonal_tile_grid_size": { "$ref": "#/definitions/TilePosition" }, "autoplace": { "$ref": "#/definitions/AutoplaceSpecification" }, "map_color": { "$ref": "#/definitions/Color" }, "friendly_map_color": { "$ref": "#/definitions/Color" }, "enemy_map_color": { "$ref": "#/definitions/Color" }, "water_reflection": { "$ref": "#/definitions/WaterReflectionDefinition" }, "ambient_sounds_group": { "$ref": "#/definitions/EntityID" }, "ambient_sounds": { "anyOf": [ { "$ref": "#/definitions/WorldAmbientSoundDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/WorldAmbientSoundDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "icon_draw_specification": { "$ref": "#/definitions/IconDrawSpecification" }, "icons_positioning": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconSequencePositioning" } }, { "type": "object", "additionalProperties": false } ] }, "graphics_set": { "$ref": "#/definitions/LightningGraphicsSet" }, "sound": { "$ref": "#/definitions/Sound" }, "attracted_volume_modifier": { "$ref": "#/definitions/float" }, "strike_effect": { "$ref": "#/definitions/Trigger" }, "source_offset": { "$ref": "#/definitions/Vector" }, "source_variance": { "$ref": "#/definitions/Vector" }, "damage": { "$ref": "#/definitions/double" }, "energy": { "$ref": "#/definitions/Energy" }, "time_to_damage": { "$ref": "#/definitions/uint16" }, "effect_duration": { "$ref": "#/definitions/uint16" } }, "required": [ "type", "name", "effect_duration" ] }, "LinkedBeltPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/LinkedBeltPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "linked-belt" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "collision_box": { "$ref": "#/definitions/BoundingBox" }, "collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "map_generator_bounding_box": { "$ref": "#/definitions/BoundingBox" }, "selection_box": { "$ref": "#/definitions/BoundingBox" }, "drawing_box_vertical_extension": { "$ref": "#/definitions/double" }, "sticker_box": { "$ref": "#/definitions/BoundingBox" }, "hit_visualization_box": { "$ref": "#/definitions/BoundingBox" }, "trigger_target_mask": { "$ref": "#/definitions/TriggerTargetMask" }, "flags": { "$ref": "#/definitions/EntityPrototypeFlags" }, "tile_buildability_rules": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileBuildabilityRule" } }, { "type": "object", "additionalProperties": false } ] }, "minable": { "$ref": "#/definitions/MinableProperties" }, "surface_conditions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SurfaceCondition" } }, { "type": "object", "additionalProperties": false } ] }, "deconstruction_alternative": { "$ref": "#/definitions/EntityID" }, "selection_priority": { "$ref": "#/definitions/uint8" }, "build_grid_size": { "$ref": "#/definitions/uint8" }, "remove_decoratives": { "anyOf": [ { "type": "string", "const": "automatic" }, { "type": "string", "const": "true" }, { "type": "string", "const": "false" } ] }, "emissions_per_second": { "type": "object", "additionalProperties": { "$ref": "#/definitions/double" }, "propertyNames": { "$ref": "#/definitions/AirbornePollutantID" } }, "shooting_cursor_size": { "$ref": "#/definitions/double" }, "created_smoke": { "$ref": "#/definitions/CreateTrivialSmokeEffectItem" }, "working_sound": { "$ref": "#/definitions/WorkingSound" }, "created_effect": { "$ref": "#/definitions/Trigger" }, "build_sound": { "$ref": "#/definitions/Sound" }, "mined_sound": { "$ref": "#/definitions/Sound" }, "mining_sound": { "$ref": "#/definitions/Sound" }, "rotated_sound": { "$ref": "#/definitions/Sound" }, "impact_category": { "$ref": "#/definitions/string" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "placeable_position_visualization": { "$ref": "#/definitions/Sprite" }, "radius_visualisation_specification": { "$ref": "#/definitions/RadiusVisualisationSpecification" }, "stateless_visualisation": { "$ref": "#/definitions/StatelessVisualisations" }, "build_base_evolution_requirement": { "$ref": "#/definitions/double" }, "alert_icon_shift": { "$ref": "#/definitions/Vector" }, "alert_icon_scale": { "$ref": "#/definitions/float" }, "fast_replaceable_group": { "$ref": "#/definitions/string" }, "next_upgrade": { "$ref": "#/definitions/EntityID" }, "protected_from_tile_building": { "$ref": "#/definitions/bool" }, "heating_energy": { "$ref": "#/definitions/Energy" }, "allow_copy_paste": { "$ref": "#/definitions/bool" }, "selectable_in_game": { "$ref": "#/definitions/bool" }, "placeable_by": { "anyOf": [ { "$ref": "#/definitions/ItemToPlace" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemToPlace" } }, { "type": "object", "additionalProperties": false } ] } ] }, "remains_when_mined": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "additional_pastable_entities": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] }, "tile_width": { "$ref": "#/definitions/int32" }, "tile_height": { "$ref": "#/definitions/int32" }, "diagonal_tile_grid_size": { "$ref": "#/definitions/TilePosition" }, "autoplace": { "$ref": "#/definitions/AutoplaceSpecification" }, "map_color": { "$ref": "#/definitions/Color" }, "friendly_map_color": { "$ref": "#/definitions/Color" }, "enemy_map_color": { "$ref": "#/definitions/Color" }, "water_reflection": { "$ref": "#/definitions/WaterReflectionDefinition" }, "ambient_sounds_group": { "$ref": "#/definitions/EntityID" }, "ambient_sounds": { "anyOf": [ { "$ref": "#/definitions/WorldAmbientSoundDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/WorldAmbientSoundDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "icon_draw_specification": { "$ref": "#/definitions/IconDrawSpecification" }, "icons_positioning": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconSequencePositioning" } }, { "type": "object", "additionalProperties": false } ] }, "max_health": { "$ref": "#/definitions/float" }, "healing_per_tick": { "$ref": "#/definitions/float" }, "repair_speed_modifier": { "$ref": "#/definitions/float" }, "dying_explosion": { "anyOf": [ { "$ref": "#/definitions/ExplosionDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ExplosionDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "dying_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "damaged_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "loot": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/LootItem" } }, { "type": "object", "additionalProperties": false } ] }, "resistances": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Resistance" } }, { "type": "object", "additionalProperties": false } ] }, "attack_reaction": { "anyOf": [ { "$ref": "#/definitions/AttackReactionItem" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/AttackReactionItem" } }, { "type": "object", "additionalProperties": false } ] } ] }, "repair_sound": { "$ref": "#/definitions/Sound" }, "alert_when_damaged": { "$ref": "#/definitions/bool" }, "hide_resistances": { "$ref": "#/definitions/bool" }, "create_ghost_on_death": { "$ref": "#/definitions/bool" }, "random_corpse_variation": { "$ref": "#/definitions/bool" }, "integration_patch_render_layer": { "$ref": "#/definitions/RenderLayer" }, "corpse": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "integration_patch": { "$ref": "#/definitions/Sprite4Way" }, "overkill_fraction": { "$ref": "#/definitions/float" }, "is_military_target": { "$ref": "#/definitions/bool" }, "allow_run_time_change_of_is_military_target": { "$ref": "#/definitions/bool" }, "quality_indicator_scale": { "$ref": "#/definitions/double" }, "belt_animation_set": { "$ref": "#/definitions/TransportBeltAnimationSet" }, "speed": { "$ref": "#/definitions/double" }, "animation_speed_coefficient": { "$ref": "#/definitions/double" }, "structure": { "type": "object", "properties": { "direction_in": { "$ref": "#/definitions/Sprite4Way" }, "direction_out": { "$ref": "#/definitions/Sprite4Way" }, "back_patch": { "$ref": "#/definitions/Sprite4Way" }, "front_patch": { "$ref": "#/definitions/Sprite4Way" }, "direction_in_side_loading": { "$ref": "#/definitions/Sprite4Way" }, "direction_out_side_loading": { "$ref": "#/definitions/Sprite4Way" } } }, "structure_render_layer": { "$ref": "#/definitions/RenderLayer" }, "allow_clone_connection": { "$ref": "#/definitions/bool" }, "allow_blueprint_connection": { "$ref": "#/definitions/bool" }, "allow_side_loading": { "$ref": "#/definitions/bool" } }, "required": [ "type", "name", "speed" ] }, "LinkedContainerPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/LinkedContainerPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "linked-container" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "collision_box": { "$ref": "#/definitions/BoundingBox" }, "collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "map_generator_bounding_box": { "$ref": "#/definitions/BoundingBox" }, "selection_box": { "$ref": "#/definitions/BoundingBox" }, "drawing_box_vertical_extension": { "$ref": "#/definitions/double" }, "sticker_box": { "$ref": "#/definitions/BoundingBox" }, "hit_visualization_box": { "$ref": "#/definitions/BoundingBox" }, "trigger_target_mask": { "$ref": "#/definitions/TriggerTargetMask" }, "flags": { "$ref": "#/definitions/EntityPrototypeFlags" }, "tile_buildability_rules": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileBuildabilityRule" } }, { "type": "object", "additionalProperties": false } ] }, "minable": { "$ref": "#/definitions/MinableProperties" }, "surface_conditions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SurfaceCondition" } }, { "type": "object", "additionalProperties": false } ] }, "deconstruction_alternative": { "$ref": "#/definitions/EntityID" }, "selection_priority": { "$ref": "#/definitions/uint8" }, "build_grid_size": { "$ref": "#/definitions/uint8" }, "remove_decoratives": { "anyOf": [ { "type": "string", "const": "automatic" }, { "type": "string", "const": "true" }, { "type": "string", "const": "false" } ] }, "emissions_per_second": { "type": "object", "additionalProperties": { "$ref": "#/definitions/double" }, "propertyNames": { "$ref": "#/definitions/AirbornePollutantID" } }, "shooting_cursor_size": { "$ref": "#/definitions/double" }, "created_smoke": { "$ref": "#/definitions/CreateTrivialSmokeEffectItem" }, "working_sound": { "$ref": "#/definitions/WorkingSound" }, "created_effect": { "$ref": "#/definitions/Trigger" }, "build_sound": { "$ref": "#/definitions/Sound" }, "mined_sound": { "$ref": "#/definitions/Sound" }, "mining_sound": { "$ref": "#/definitions/Sound" }, "rotated_sound": { "$ref": "#/definitions/Sound" }, "impact_category": { "$ref": "#/definitions/string" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "placeable_position_visualization": { "$ref": "#/definitions/Sprite" }, "radius_visualisation_specification": { "$ref": "#/definitions/RadiusVisualisationSpecification" }, "stateless_visualisation": { "$ref": "#/definitions/StatelessVisualisations" }, "build_base_evolution_requirement": { "$ref": "#/definitions/double" }, "alert_icon_shift": { "$ref": "#/definitions/Vector" }, "alert_icon_scale": { "$ref": "#/definitions/float" }, "fast_replaceable_group": { "$ref": "#/definitions/string" }, "next_upgrade": { "$ref": "#/definitions/EntityID" }, "protected_from_tile_building": { "$ref": "#/definitions/bool" }, "heating_energy": { "$ref": "#/definitions/Energy" }, "allow_copy_paste": { "$ref": "#/definitions/bool" }, "selectable_in_game": { "$ref": "#/definitions/bool" }, "placeable_by": { "anyOf": [ { "$ref": "#/definitions/ItemToPlace" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemToPlace" } }, { "type": "object", "additionalProperties": false } ] } ] }, "remains_when_mined": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "additional_pastable_entities": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] }, "tile_width": { "$ref": "#/definitions/int32" }, "tile_height": { "$ref": "#/definitions/int32" }, "diagonal_tile_grid_size": { "$ref": "#/definitions/TilePosition" }, "autoplace": { "$ref": "#/definitions/AutoplaceSpecification" }, "map_color": { "$ref": "#/definitions/Color" }, "friendly_map_color": { "$ref": "#/definitions/Color" }, "enemy_map_color": { "$ref": "#/definitions/Color" }, "water_reflection": { "$ref": "#/definitions/WaterReflectionDefinition" }, "ambient_sounds_group": { "$ref": "#/definitions/EntityID" }, "ambient_sounds": { "anyOf": [ { "$ref": "#/definitions/WorldAmbientSoundDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/WorldAmbientSoundDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "icon_draw_specification": { "$ref": "#/definitions/IconDrawSpecification" }, "icons_positioning": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconSequencePositioning" } }, { "type": "object", "additionalProperties": false } ] }, "max_health": { "$ref": "#/definitions/float" }, "healing_per_tick": { "$ref": "#/definitions/float" }, "repair_speed_modifier": { "$ref": "#/definitions/float" }, "dying_explosion": { "anyOf": [ { "$ref": "#/definitions/ExplosionDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ExplosionDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "dying_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "damaged_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "loot": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/LootItem" } }, { "type": "object", "additionalProperties": false } ] }, "resistances": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Resistance" } }, { "type": "object", "additionalProperties": false } ] }, "attack_reaction": { "anyOf": [ { "$ref": "#/definitions/AttackReactionItem" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/AttackReactionItem" } }, { "type": "object", "additionalProperties": false } ] } ] }, "repair_sound": { "$ref": "#/definitions/Sound" }, "alert_when_damaged": { "$ref": "#/definitions/bool" }, "hide_resistances": { "$ref": "#/definitions/bool" }, "create_ghost_on_death": { "$ref": "#/definitions/bool" }, "random_corpse_variation": { "$ref": "#/definitions/bool" }, "integration_patch_render_layer": { "$ref": "#/definitions/RenderLayer" }, "corpse": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "integration_patch": { "$ref": "#/definitions/Sprite4Way" }, "overkill_fraction": { "$ref": "#/definitions/float" }, "is_military_target": { "$ref": "#/definitions/bool" }, "allow_run_time_change_of_is_military_target": { "$ref": "#/definitions/bool" }, "quality_indicator_scale": { "$ref": "#/definitions/double" }, "inventory_size": { "$ref": "#/definitions/ItemStackIndex" }, "picture": { "$ref": "#/definitions/Sprite" }, "inventory_type": { "anyOf": [ { "type": "string", "const": "normal" }, { "type": "string", "const": "with_bar" }, { "type": "string", "const": "with_filters_and_bar" } ] }, "gui_mode": { "anyOf": [ { "type": "string", "const": "all" }, { "type": "string", "const": "none" }, { "type": "string", "const": "admins" } ] }, "circuit_wire_max_distance": { "$ref": "#/definitions/double" }, "draw_copper_wires": { "$ref": "#/definitions/bool" }, "draw_circuit_wires": { "$ref": "#/definitions/bool" }, "circuit_connector": { "$ref": "#/definitions/CircuitConnectorDefinition" } }, "required": [ "type", "name", "inventory_size" ] }, "Loader1x1Prototype": { "description": "https://lua-api.factorio.com/stable/prototypes/Loader1x1Prototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "loader-1x1" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "collision_box": { "$ref": "#/definitions/BoundingBox" }, "collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "map_generator_bounding_box": { "$ref": "#/definitions/BoundingBox" }, "selection_box": { "$ref": "#/definitions/BoundingBox" }, "drawing_box_vertical_extension": { "$ref": "#/definitions/double" }, "sticker_box": { "$ref": "#/definitions/BoundingBox" }, "hit_visualization_box": { "$ref": "#/definitions/BoundingBox" }, "trigger_target_mask": { "$ref": "#/definitions/TriggerTargetMask" }, "flags": { "$ref": "#/definitions/EntityPrototypeFlags" }, "tile_buildability_rules": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileBuildabilityRule" } }, { "type": "object", "additionalProperties": false } ] }, "minable": { "$ref": "#/definitions/MinableProperties" }, "surface_conditions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SurfaceCondition" } }, { "type": "object", "additionalProperties": false } ] }, "deconstruction_alternative": { "$ref": "#/definitions/EntityID" }, "selection_priority": { "$ref": "#/definitions/uint8" }, "build_grid_size": { "$ref": "#/definitions/uint8" }, "remove_decoratives": { "anyOf": [ { "type": "string", "const": "automatic" }, { "type": "string", "const": "true" }, { "type": "string", "const": "false" } ] }, "emissions_per_second": { "type": "object", "additionalProperties": { "$ref": "#/definitions/double" }, "propertyNames": { "$ref": "#/definitions/AirbornePollutantID" } }, "shooting_cursor_size": { "$ref": "#/definitions/double" }, "created_smoke": { "$ref": "#/definitions/CreateTrivialSmokeEffectItem" }, "working_sound": { "$ref": "#/definitions/WorkingSound" }, "created_effect": { "$ref": "#/definitions/Trigger" }, "build_sound": { "$ref": "#/definitions/Sound" }, "mined_sound": { "$ref": "#/definitions/Sound" }, "mining_sound": { "$ref": "#/definitions/Sound" }, "rotated_sound": { "$ref": "#/definitions/Sound" }, "impact_category": { "$ref": "#/definitions/string" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "placeable_position_visualization": { "$ref": "#/definitions/Sprite" }, "radius_visualisation_specification": { "$ref": "#/definitions/RadiusVisualisationSpecification" }, "stateless_visualisation": { "$ref": "#/definitions/StatelessVisualisations" }, "build_base_evolution_requirement": { "$ref": "#/definitions/double" }, "alert_icon_shift": { "$ref": "#/definitions/Vector" }, "alert_icon_scale": { "$ref": "#/definitions/float" }, "fast_replaceable_group": { "$ref": "#/definitions/string" }, "next_upgrade": { "$ref": "#/definitions/EntityID" }, "protected_from_tile_building": { "$ref": "#/definitions/bool" }, "heating_energy": { "$ref": "#/definitions/Energy" }, "allow_copy_paste": { "$ref": "#/definitions/bool" }, "selectable_in_game": { "$ref": "#/definitions/bool" }, "placeable_by": { "anyOf": [ { "$ref": "#/definitions/ItemToPlace" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemToPlace" } }, { "type": "object", "additionalProperties": false } ] } ] }, "remains_when_mined": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "additional_pastable_entities": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] }, "tile_width": { "$ref": "#/definitions/int32" }, "tile_height": { "$ref": "#/definitions/int32" }, "diagonal_tile_grid_size": { "$ref": "#/definitions/TilePosition" }, "autoplace": { "$ref": "#/definitions/AutoplaceSpecification" }, "map_color": { "$ref": "#/definitions/Color" }, "friendly_map_color": { "$ref": "#/definitions/Color" }, "enemy_map_color": { "$ref": "#/definitions/Color" }, "water_reflection": { "$ref": "#/definitions/WaterReflectionDefinition" }, "ambient_sounds_group": { "$ref": "#/definitions/EntityID" }, "ambient_sounds": { "anyOf": [ { "$ref": "#/definitions/WorldAmbientSoundDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/WorldAmbientSoundDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "icon_draw_specification": { "$ref": "#/definitions/IconDrawSpecification" }, "icons_positioning": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconSequencePositioning" } }, { "type": "object", "additionalProperties": false } ] }, "max_health": { "$ref": "#/definitions/float" }, "healing_per_tick": { "$ref": "#/definitions/float" }, "repair_speed_modifier": { "$ref": "#/definitions/float" }, "dying_explosion": { "anyOf": [ { "$ref": "#/definitions/ExplosionDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ExplosionDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "dying_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "damaged_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "loot": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/LootItem" } }, { "type": "object", "additionalProperties": false } ] }, "resistances": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Resistance" } }, { "type": "object", "additionalProperties": false } ] }, "attack_reaction": { "anyOf": [ { "$ref": "#/definitions/AttackReactionItem" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/AttackReactionItem" } }, { "type": "object", "additionalProperties": false } ] } ] }, "repair_sound": { "$ref": "#/definitions/Sound" }, "alert_when_damaged": { "$ref": "#/definitions/bool" }, "hide_resistances": { "$ref": "#/definitions/bool" }, "create_ghost_on_death": { "$ref": "#/definitions/bool" }, "random_corpse_variation": { "$ref": "#/definitions/bool" }, "integration_patch_render_layer": { "$ref": "#/definitions/RenderLayer" }, "corpse": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "integration_patch": { "$ref": "#/definitions/Sprite4Way" }, "overkill_fraction": { "$ref": "#/definitions/float" }, "is_military_target": { "$ref": "#/definitions/bool" }, "allow_run_time_change_of_is_military_target": { "$ref": "#/definitions/bool" }, "quality_indicator_scale": { "$ref": "#/definitions/double" }, "belt_animation_set": { "$ref": "#/definitions/TransportBeltAnimationSet" }, "speed": { "$ref": "#/definitions/double" }, "animation_speed_coefficient": { "$ref": "#/definitions/double" }, "structure": { "$ref": "#/definitions/LoaderStructure" }, "filter_count": { "$ref": "#/definitions/uint8" }, "structure_render_layer": { "$ref": "#/definitions/RenderLayer" }, "circuit_connector_layer": { "$ref": "#/definitions/RenderLayer" }, "container_distance": { "$ref": "#/definitions/double" }, "allow_rail_interaction": { "$ref": "#/definitions/bool" }, "allow_container_interaction": { "$ref": "#/definitions/bool" }, "per_lane_filters": { "$ref": "#/definitions/bool" }, "max_belt_stack_size": { "$ref": "#/definitions/uint8" }, "belt_length": { "$ref": "#/definitions/double" }, "energy_source": { "anyOf": [ { "$ref": "#/definitions/ElectricEnergySource" }, { "$ref": "#/definitions/HeatEnergySource" }, { "$ref": "#/definitions/FluidEnergySource" }, { "$ref": "#/definitions/VoidEnergySource" } ] }, "energy_per_item": { "$ref": "#/definitions/Energy" }, "circuit_wire_max_distance": { "$ref": "#/definitions/double" }, "draw_copper_wires": { "$ref": "#/definitions/bool" }, "draw_circuit_wires": { "$ref": "#/definitions/bool" }, "circuit_connector": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/CircuitConnectorDefinition" } }, { "type": "object", "additionalProperties": false } ] } }, "required": [ "type", "name", "speed", "filter_count" ] }, "Loader1x2Prototype": { "description": "https://lua-api.factorio.com/stable/prototypes/Loader1x2Prototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "loader" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "collision_box": { "$ref": "#/definitions/BoundingBox" }, "collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "map_generator_bounding_box": { "$ref": "#/definitions/BoundingBox" }, "selection_box": { "$ref": "#/definitions/BoundingBox" }, "drawing_box_vertical_extension": { "$ref": "#/definitions/double" }, "sticker_box": { "$ref": "#/definitions/BoundingBox" }, "hit_visualization_box": { "$ref": "#/definitions/BoundingBox" }, "trigger_target_mask": { "$ref": "#/definitions/TriggerTargetMask" }, "flags": { "$ref": "#/definitions/EntityPrototypeFlags" }, "tile_buildability_rules": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileBuildabilityRule" } }, { "type": "object", "additionalProperties": false } ] }, "minable": { "$ref": "#/definitions/MinableProperties" }, "surface_conditions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SurfaceCondition" } }, { "type": "object", "additionalProperties": false } ] }, "deconstruction_alternative": { "$ref": "#/definitions/EntityID" }, "selection_priority": { "$ref": "#/definitions/uint8" }, "build_grid_size": { "$ref": "#/definitions/uint8" }, "remove_decoratives": { "anyOf": [ { "type": "string", "const": "automatic" }, { "type": "string", "const": "true" }, { "type": "string", "const": "false" } ] }, "emissions_per_second": { "type": "object", "additionalProperties": { "$ref": "#/definitions/double" }, "propertyNames": { "$ref": "#/definitions/AirbornePollutantID" } }, "shooting_cursor_size": { "$ref": "#/definitions/double" }, "created_smoke": { "$ref": "#/definitions/CreateTrivialSmokeEffectItem" }, "working_sound": { "$ref": "#/definitions/WorkingSound" }, "created_effect": { "$ref": "#/definitions/Trigger" }, "build_sound": { "$ref": "#/definitions/Sound" }, "mined_sound": { "$ref": "#/definitions/Sound" }, "mining_sound": { "$ref": "#/definitions/Sound" }, "rotated_sound": { "$ref": "#/definitions/Sound" }, "impact_category": { "$ref": "#/definitions/string" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "placeable_position_visualization": { "$ref": "#/definitions/Sprite" }, "radius_visualisation_specification": { "$ref": "#/definitions/RadiusVisualisationSpecification" }, "stateless_visualisation": { "$ref": "#/definitions/StatelessVisualisations" }, "build_base_evolution_requirement": { "$ref": "#/definitions/double" }, "alert_icon_shift": { "$ref": "#/definitions/Vector" }, "alert_icon_scale": { "$ref": "#/definitions/float" }, "fast_replaceable_group": { "$ref": "#/definitions/string" }, "next_upgrade": { "$ref": "#/definitions/EntityID" }, "protected_from_tile_building": { "$ref": "#/definitions/bool" }, "heating_energy": { "$ref": "#/definitions/Energy" }, "allow_copy_paste": { "$ref": "#/definitions/bool" }, "selectable_in_game": { "$ref": "#/definitions/bool" }, "placeable_by": { "anyOf": [ { "$ref": "#/definitions/ItemToPlace" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemToPlace" } }, { "type": "object", "additionalProperties": false } ] } ] }, "remains_when_mined": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "additional_pastable_entities": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] }, "tile_width": { "$ref": "#/definitions/int32" }, "tile_height": { "$ref": "#/definitions/int32" }, "diagonal_tile_grid_size": { "$ref": "#/definitions/TilePosition" }, "autoplace": { "$ref": "#/definitions/AutoplaceSpecification" }, "map_color": { "$ref": "#/definitions/Color" }, "friendly_map_color": { "$ref": "#/definitions/Color" }, "enemy_map_color": { "$ref": "#/definitions/Color" }, "water_reflection": { "$ref": "#/definitions/WaterReflectionDefinition" }, "ambient_sounds_group": { "$ref": "#/definitions/EntityID" }, "ambient_sounds": { "anyOf": [ { "$ref": "#/definitions/WorldAmbientSoundDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/WorldAmbientSoundDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "icon_draw_specification": { "$ref": "#/definitions/IconDrawSpecification" }, "icons_positioning": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconSequencePositioning" } }, { "type": "object", "additionalProperties": false } ] }, "max_health": { "$ref": "#/definitions/float" }, "healing_per_tick": { "$ref": "#/definitions/float" }, "repair_speed_modifier": { "$ref": "#/definitions/float" }, "dying_explosion": { "anyOf": [ { "$ref": "#/definitions/ExplosionDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ExplosionDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "dying_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "damaged_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "loot": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/LootItem" } }, { "type": "object", "additionalProperties": false } ] }, "resistances": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Resistance" } }, { "type": "object", "additionalProperties": false } ] }, "attack_reaction": { "anyOf": [ { "$ref": "#/definitions/AttackReactionItem" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/AttackReactionItem" } }, { "type": "object", "additionalProperties": false } ] } ] }, "repair_sound": { "$ref": "#/definitions/Sound" }, "alert_when_damaged": { "$ref": "#/definitions/bool" }, "hide_resistances": { "$ref": "#/definitions/bool" }, "create_ghost_on_death": { "$ref": "#/definitions/bool" }, "random_corpse_variation": { "$ref": "#/definitions/bool" }, "integration_patch_render_layer": { "$ref": "#/definitions/RenderLayer" }, "corpse": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "integration_patch": { "$ref": "#/definitions/Sprite4Way" }, "overkill_fraction": { "$ref": "#/definitions/float" }, "is_military_target": { "$ref": "#/definitions/bool" }, "allow_run_time_change_of_is_military_target": { "$ref": "#/definitions/bool" }, "quality_indicator_scale": { "$ref": "#/definitions/double" }, "belt_animation_set": { "$ref": "#/definitions/TransportBeltAnimationSet" }, "speed": { "$ref": "#/definitions/double" }, "animation_speed_coefficient": { "$ref": "#/definitions/double" }, "structure": { "$ref": "#/definitions/LoaderStructure" }, "filter_count": { "$ref": "#/definitions/uint8" }, "structure_render_layer": { "$ref": "#/definitions/RenderLayer" }, "circuit_connector_layer": { "$ref": "#/definitions/RenderLayer" }, "container_distance": { "$ref": "#/definitions/double" }, "allow_rail_interaction": { "$ref": "#/definitions/bool" }, "allow_container_interaction": { "$ref": "#/definitions/bool" }, "per_lane_filters": { "$ref": "#/definitions/bool" }, "max_belt_stack_size": { "$ref": "#/definitions/uint8" }, "belt_length": { "$ref": "#/definitions/double" }, "energy_source": { "anyOf": [ { "$ref": "#/definitions/ElectricEnergySource" }, { "$ref": "#/definitions/HeatEnergySource" }, { "$ref": "#/definitions/FluidEnergySource" }, { "$ref": "#/definitions/VoidEnergySource" } ] }, "energy_per_item": { "$ref": "#/definitions/Energy" }, "circuit_wire_max_distance": { "$ref": "#/definitions/double" }, "draw_copper_wires": { "$ref": "#/definitions/bool" }, "draw_circuit_wires": { "$ref": "#/definitions/bool" }, "circuit_connector": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/CircuitConnectorDefinition" } }, { "type": "object", "additionalProperties": false } ] } }, "required": [ "type", "name", "speed", "filter_count" ] }, "LocomotivePrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/LocomotivePrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "locomotive" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "collision_box": { "$ref": "#/definitions/BoundingBox" }, "collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "map_generator_bounding_box": { "$ref": "#/definitions/BoundingBox" }, "selection_box": { "$ref": "#/definitions/BoundingBox" }, "drawing_box_vertical_extension": { "$ref": "#/definitions/double" }, "sticker_box": { "$ref": "#/definitions/BoundingBox" }, "hit_visualization_box": { "$ref": "#/definitions/BoundingBox" }, "trigger_target_mask": { "$ref": "#/definitions/TriggerTargetMask" }, "flags": { "$ref": "#/definitions/EntityPrototypeFlags" }, "tile_buildability_rules": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileBuildabilityRule" } }, { "type": "object", "additionalProperties": false } ] }, "minable": { "$ref": "#/definitions/MinableProperties" }, "surface_conditions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SurfaceCondition" } }, { "type": "object", "additionalProperties": false } ] }, "deconstruction_alternative": { "$ref": "#/definitions/EntityID" }, "selection_priority": { "$ref": "#/definitions/uint8" }, "build_grid_size": { "$ref": "#/definitions/uint8" }, "remove_decoratives": { "anyOf": [ { "type": "string", "const": "automatic" }, { "type": "string", "const": "true" }, { "type": "string", "const": "false" } ] }, "emissions_per_second": { "type": "object", "additionalProperties": { "$ref": "#/definitions/double" }, "propertyNames": { "$ref": "#/definitions/AirbornePollutantID" } }, "shooting_cursor_size": { "$ref": "#/definitions/double" }, "created_smoke": { "$ref": "#/definitions/CreateTrivialSmokeEffectItem" }, "working_sound": { "$ref": "#/definitions/WorkingSound" }, "created_effect": { "$ref": "#/definitions/Trigger" }, "build_sound": { "$ref": "#/definitions/Sound" }, "mined_sound": { "$ref": "#/definitions/Sound" }, "mining_sound": { "$ref": "#/definitions/Sound" }, "rotated_sound": { "$ref": "#/definitions/Sound" }, "impact_category": { "$ref": "#/definitions/string" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "placeable_position_visualization": { "$ref": "#/definitions/Sprite" }, "radius_visualisation_specification": { "$ref": "#/definitions/RadiusVisualisationSpecification" }, "stateless_visualisation": { "$ref": "#/definitions/StatelessVisualisations" }, "build_base_evolution_requirement": { "$ref": "#/definitions/double" }, "alert_icon_shift": { "$ref": "#/definitions/Vector" }, "alert_icon_scale": { "$ref": "#/definitions/float" }, "fast_replaceable_group": { "$ref": "#/definitions/string" }, "next_upgrade": { "$ref": "#/definitions/EntityID" }, "protected_from_tile_building": { "$ref": "#/definitions/bool" }, "heating_energy": { "$ref": "#/definitions/Energy" }, "allow_copy_paste": { "$ref": "#/definitions/bool" }, "selectable_in_game": { "$ref": "#/definitions/bool" }, "placeable_by": { "anyOf": [ { "$ref": "#/definitions/ItemToPlace" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemToPlace" } }, { "type": "object", "additionalProperties": false } ] } ] }, "remains_when_mined": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "additional_pastable_entities": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] }, "tile_width": { "$ref": "#/definitions/int32" }, "tile_height": { "$ref": "#/definitions/int32" }, "diagonal_tile_grid_size": { "$ref": "#/definitions/TilePosition" }, "autoplace": { "$ref": "#/definitions/AutoplaceSpecification" }, "map_color": { "$ref": "#/definitions/Color" }, "friendly_map_color": { "$ref": "#/definitions/Color" }, "enemy_map_color": { "$ref": "#/definitions/Color" }, "water_reflection": { "$ref": "#/definitions/WaterReflectionDefinition" }, "ambient_sounds_group": { "$ref": "#/definitions/EntityID" }, "ambient_sounds": { "anyOf": [ { "$ref": "#/definitions/WorldAmbientSoundDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/WorldAmbientSoundDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "icon_draw_specification": { "$ref": "#/definitions/IconDrawSpecification" }, "icons_positioning": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconSequencePositioning" } }, { "type": "object", "additionalProperties": false } ] }, "max_health": { "$ref": "#/definitions/float" }, "healing_per_tick": { "$ref": "#/definitions/float" }, "repair_speed_modifier": { "$ref": "#/definitions/float" }, "dying_explosion": { "anyOf": [ { "$ref": "#/definitions/ExplosionDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ExplosionDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "dying_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "damaged_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "loot": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/LootItem" } }, { "type": "object", "additionalProperties": false } ] }, "resistances": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Resistance" } }, { "type": "object", "additionalProperties": false } ] }, "attack_reaction": { "anyOf": [ { "$ref": "#/definitions/AttackReactionItem" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/AttackReactionItem" } }, { "type": "object", "additionalProperties": false } ] } ] }, "repair_sound": { "$ref": "#/definitions/Sound" }, "alert_when_damaged": { "$ref": "#/definitions/bool" }, "hide_resistances": { "$ref": "#/definitions/bool" }, "create_ghost_on_death": { "$ref": "#/definitions/bool" }, "random_corpse_variation": { "$ref": "#/definitions/bool" }, "integration_patch_render_layer": { "$ref": "#/definitions/RenderLayer" }, "corpse": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "integration_patch": { "$ref": "#/definitions/Sprite4Way" }, "overkill_fraction": { "$ref": "#/definitions/float" }, "is_military_target": { "$ref": "#/definitions/bool" }, "allow_run_time_change_of_is_military_target": { "$ref": "#/definitions/bool" }, "quality_indicator_scale": { "$ref": "#/definitions/double" }, "weight": { "$ref": "#/definitions/double" }, "braking_power": { "anyOf": [ { "$ref": "#/definitions/Energy" }, { "$ref": "#/definitions/double" } ] }, "braking_force": { "anyOf": [ { "$ref": "#/definitions/Energy" }, { "$ref": "#/definitions/double" } ] }, "friction": { "$ref": "#/definitions/double" }, "friction_force": { "$ref": "#/definitions/double" }, "energy_per_hit_point": { "$ref": "#/definitions/double" }, "terrain_friction_modifier": { "$ref": "#/definitions/float" }, "impact_speed_to_volume_ratio": { "$ref": "#/definitions/double" }, "stop_trigger_speed": { "$ref": "#/definitions/double" }, "crash_trigger": { "$ref": "#/definitions/TriggerEffect" }, "stop_trigger": { "$ref": "#/definitions/TriggerEffect" }, "equipment_grid": { "$ref": "#/definitions/EquipmentGridID" }, "minimap_representation": { "$ref": "#/definitions/Sprite" }, "selected_minimap_representation": { "$ref": "#/definitions/Sprite" }, "allow_passengers": { "$ref": "#/definitions/bool" }, "deliver_category": { "$ref": "#/definitions/string" }, "chunk_exploration_radius": { "$ref": "#/definitions/uint32" }, "allow_remote_driving": { "$ref": "#/definitions/bool" }, "max_speed": { "$ref": "#/definitions/double" }, "air_resistance": { "$ref": "#/definitions/double" }, "joint_distance": { "$ref": "#/definitions/double" }, "connection_distance": { "$ref": "#/definitions/double" }, "pictures": { "$ref": "#/definitions/RollingStockRotatedSlopedGraphics" }, "wheels": { "$ref": "#/definitions/RollingStockRotatedSlopedGraphics" }, "vertical_selection_shift": { "$ref": "#/definitions/double" }, "drive_over_tie_trigger": { "$ref": "#/definitions/TriggerEffect" }, "drive_over_tie_trigger_minimal_speed": { "$ref": "#/definitions/double" }, "tie_distance": { "$ref": "#/definitions/double" }, "back_light": { "$ref": "#/definitions/LightDefinition" }, "stand_by_light": { "$ref": "#/definitions/LightDefinition" }, "horizontal_doors": { "$ref": "#/definitions/Animation" }, "vertical_doors": { "$ref": "#/definitions/Animation" }, "color": { "$ref": "#/definitions/Color" }, "allow_manual_color": { "$ref": "#/definitions/bool" }, "allow_robot_dispatch_in_automatic_mode": { "$ref": "#/definitions/bool" }, "default_copy_color_from_train_stop": { "$ref": "#/definitions/bool" }, "transition_collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "elevated_collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "elevated_selection_priority": { "$ref": "#/definitions/uint8" }, "elevated_rail_sound": { "$ref": "#/definitions/MainSound" }, "drive_over_elevated_tie_trigger": { "$ref": "#/definitions/TriggerEffect" }, "door_opening_sound": { "$ref": "#/definitions/InterruptibleSound" }, "door_closing_sound": { "$ref": "#/definitions/InterruptibleSound" }, "max_power": { "$ref": "#/definitions/Energy" }, "reversing_power_modifier": { "$ref": "#/definitions/double" }, "energy_source": { "anyOf": [ { "$ref": "#/definitions/BurnerEnergySource" }, { "$ref": "#/definitions/VoidEnergySource" } ] }, "front_light": { "$ref": "#/definitions/LightDefinition" }, "front_light_pictures": { "$ref": "#/definitions/RollingStockRotatedSlopedGraphics" }, "darkness_to_render_light_animation": { "$ref": "#/definitions/float" }, "max_snap_to_train_stop_distance": { "$ref": "#/definitions/float" } }, "required": [ "type", "name", "weight", "energy_per_hit_point", "max_speed", "air_resistance", "joint_distance", "connection_distance", "vertical_selection_shift", "max_power", "reversing_power_modifier", "energy_source" ], "allOf": [ { "anyOf": [ { "required": [ "braking_power" ] }, { "required": [ "braking_force" ] } ] }, { "anyOf": [ { "required": [ "friction" ] }, { "required": [ "friction_force" ] } ] } ] }, "LogisticContainerPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/LogisticContainerPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "logistic-container" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "collision_box": { "$ref": "#/definitions/BoundingBox" }, "collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "map_generator_bounding_box": { "$ref": "#/definitions/BoundingBox" }, "selection_box": { "$ref": "#/definitions/BoundingBox" }, "drawing_box_vertical_extension": { "$ref": "#/definitions/double" }, "sticker_box": { "$ref": "#/definitions/BoundingBox" }, "hit_visualization_box": { "$ref": "#/definitions/BoundingBox" }, "trigger_target_mask": { "$ref": "#/definitions/TriggerTargetMask" }, "flags": { "$ref": "#/definitions/EntityPrototypeFlags" }, "tile_buildability_rules": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileBuildabilityRule" } }, { "type": "object", "additionalProperties": false } ] }, "minable": { "$ref": "#/definitions/MinableProperties" }, "surface_conditions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SurfaceCondition" } }, { "type": "object", "additionalProperties": false } ] }, "deconstruction_alternative": { "$ref": "#/definitions/EntityID" }, "selection_priority": { "$ref": "#/definitions/uint8" }, "build_grid_size": { "$ref": "#/definitions/uint8" }, "remove_decoratives": { "anyOf": [ { "type": "string", "const": "automatic" }, { "type": "string", "const": "true" }, { "type": "string", "const": "false" } ] }, "emissions_per_second": { "type": "object", "additionalProperties": { "$ref": "#/definitions/double" }, "propertyNames": { "$ref": "#/definitions/AirbornePollutantID" } }, "shooting_cursor_size": { "$ref": "#/definitions/double" }, "created_smoke": { "$ref": "#/definitions/CreateTrivialSmokeEffectItem" }, "working_sound": { "$ref": "#/definitions/WorkingSound" }, "created_effect": { "$ref": "#/definitions/Trigger" }, "build_sound": { "$ref": "#/definitions/Sound" }, "mined_sound": { "$ref": "#/definitions/Sound" }, "mining_sound": { "$ref": "#/definitions/Sound" }, "rotated_sound": { "$ref": "#/definitions/Sound" }, "impact_category": { "$ref": "#/definitions/string" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "placeable_position_visualization": { "$ref": "#/definitions/Sprite" }, "radius_visualisation_specification": { "$ref": "#/definitions/RadiusVisualisationSpecification" }, "stateless_visualisation": { "$ref": "#/definitions/StatelessVisualisations" }, "build_base_evolution_requirement": { "$ref": "#/definitions/double" }, "alert_icon_shift": { "$ref": "#/definitions/Vector" }, "alert_icon_scale": { "$ref": "#/definitions/float" }, "fast_replaceable_group": { "$ref": "#/definitions/string" }, "next_upgrade": { "$ref": "#/definitions/EntityID" }, "protected_from_tile_building": { "$ref": "#/definitions/bool" }, "heating_energy": { "$ref": "#/definitions/Energy" }, "allow_copy_paste": { "$ref": "#/definitions/bool" }, "selectable_in_game": { "$ref": "#/definitions/bool" }, "placeable_by": { "anyOf": [ { "$ref": "#/definitions/ItemToPlace" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemToPlace" } }, { "type": "object", "additionalProperties": false } ] } ] }, "remains_when_mined": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "additional_pastable_entities": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] }, "tile_width": { "$ref": "#/definitions/int32" }, "tile_height": { "$ref": "#/definitions/int32" }, "diagonal_tile_grid_size": { "$ref": "#/definitions/TilePosition" }, "autoplace": { "$ref": "#/definitions/AutoplaceSpecification" }, "map_color": { "$ref": "#/definitions/Color" }, "friendly_map_color": { "$ref": "#/definitions/Color" }, "enemy_map_color": { "$ref": "#/definitions/Color" }, "water_reflection": { "$ref": "#/definitions/WaterReflectionDefinition" }, "ambient_sounds_group": { "$ref": "#/definitions/EntityID" }, "ambient_sounds": { "anyOf": [ { "$ref": "#/definitions/WorldAmbientSoundDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/WorldAmbientSoundDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "icon_draw_specification": { "$ref": "#/definitions/IconDrawSpecification" }, "icons_positioning": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconSequencePositioning" } }, { "type": "object", "additionalProperties": false } ] }, "max_health": { "$ref": "#/definitions/float" }, "healing_per_tick": { "$ref": "#/definitions/float" }, "repair_speed_modifier": { "$ref": "#/definitions/float" }, "dying_explosion": { "anyOf": [ { "$ref": "#/definitions/ExplosionDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ExplosionDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "dying_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "damaged_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "loot": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/LootItem" } }, { "type": "object", "additionalProperties": false } ] }, "resistances": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Resistance" } }, { "type": "object", "additionalProperties": false } ] }, "attack_reaction": { "anyOf": [ { "$ref": "#/definitions/AttackReactionItem" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/AttackReactionItem" } }, { "type": "object", "additionalProperties": false } ] } ] }, "repair_sound": { "$ref": "#/definitions/Sound" }, "alert_when_damaged": { "$ref": "#/definitions/bool" }, "hide_resistances": { "$ref": "#/definitions/bool" }, "create_ghost_on_death": { "$ref": "#/definitions/bool" }, "random_corpse_variation": { "$ref": "#/definitions/bool" }, "integration_patch_render_layer": { "$ref": "#/definitions/RenderLayer" }, "corpse": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "integration_patch": { "$ref": "#/definitions/Sprite4Way" }, "overkill_fraction": { "$ref": "#/definitions/float" }, "is_military_target": { "$ref": "#/definitions/bool" }, "allow_run_time_change_of_is_military_target": { "$ref": "#/definitions/bool" }, "quality_indicator_scale": { "$ref": "#/definitions/double" }, "inventory_size": { "$ref": "#/definitions/ItemStackIndex" }, "quality_affects_inventory_size": { "$ref": "#/definitions/bool" }, "picture": { "$ref": "#/definitions/Sprite" }, "inventory_type": { "anyOf": [ { "type": "string", "const": "normal" }, { "type": "string", "const": "with_bar" }, { "type": "string", "const": "with_filters_and_bar" } ] }, "circuit_wire_max_distance": { "$ref": "#/definitions/double" }, "draw_copper_wires": { "$ref": "#/definitions/bool" }, "draw_circuit_wires": { "$ref": "#/definitions/bool" }, "circuit_connector": { "$ref": "#/definitions/CircuitConnectorDefinition" }, "default_status": { "$ref": "#/definitions/EntityStatus" }, "logistic_mode": { "anyOf": [ { "type": "string", "const": "active-provider" }, { "type": "string", "const": "passive-provider" }, { "type": "string", "const": "requester" }, { "type": "string", "const": "storage" }, { "type": "string", "const": "buffer" } ] }, "max_logistic_slots": { "$ref": "#/definitions/uint16" }, "trash_inventory_size": { "$ref": "#/definitions/ItemStackIndex" }, "render_not_in_network_icon": { "$ref": "#/definitions/bool" }, "opened_duration": { "$ref": "#/definitions/uint8" }, "animation": { "$ref": "#/definitions/Animation" }, "landing_location_offset": { "$ref": "#/definitions/Vector" }, "use_exact_mode": { "$ref": "#/definitions/bool" }, "animation_sound": { "$ref": "#/definitions/Sound" } }, "required": [ "type", "name", "inventory_size", "logistic_mode" ] }, "LogisticRobotPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/LogisticRobotPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "logistic-robot" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "collision_box": { "$ref": "#/definitions/BoundingBox" }, "collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "map_generator_bounding_box": { "$ref": "#/definitions/BoundingBox" }, "selection_box": { "$ref": "#/definitions/BoundingBox" }, "drawing_box_vertical_extension": { "$ref": "#/definitions/double" }, "sticker_box": { "$ref": "#/definitions/BoundingBox" }, "hit_visualization_box": { "$ref": "#/definitions/BoundingBox" }, "trigger_target_mask": { "$ref": "#/definitions/TriggerTargetMask" }, "flags": { "$ref": "#/definitions/EntityPrototypeFlags" }, "tile_buildability_rules": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileBuildabilityRule" } }, { "type": "object", "additionalProperties": false } ] }, "minable": { "$ref": "#/definitions/MinableProperties" }, "surface_conditions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SurfaceCondition" } }, { "type": "object", "additionalProperties": false } ] }, "deconstruction_alternative": { "$ref": "#/definitions/EntityID" }, "selection_priority": { "$ref": "#/definitions/uint8" }, "build_grid_size": { "$ref": "#/definitions/uint8" }, "remove_decoratives": { "anyOf": [ { "type": "string", "const": "automatic" }, { "type": "string", "const": "true" }, { "type": "string", "const": "false" } ] }, "emissions_per_second": { "type": "object", "additionalProperties": { "$ref": "#/definitions/double" }, "propertyNames": { "$ref": "#/definitions/AirbornePollutantID" } }, "shooting_cursor_size": { "$ref": "#/definitions/double" }, "created_smoke": { "$ref": "#/definitions/CreateTrivialSmokeEffectItem" }, "working_sound": { "$ref": "#/definitions/WorkingSound" }, "created_effect": { "$ref": "#/definitions/Trigger" }, "build_sound": { "$ref": "#/definitions/Sound" }, "mined_sound": { "$ref": "#/definitions/Sound" }, "mining_sound": { "$ref": "#/definitions/Sound" }, "rotated_sound": { "$ref": "#/definitions/Sound" }, "impact_category": { "$ref": "#/definitions/string" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "placeable_position_visualization": { "$ref": "#/definitions/Sprite" }, "radius_visualisation_specification": { "$ref": "#/definitions/RadiusVisualisationSpecification" }, "stateless_visualisation": { "$ref": "#/definitions/StatelessVisualisations" }, "build_base_evolution_requirement": { "$ref": "#/definitions/double" }, "alert_icon_shift": { "$ref": "#/definitions/Vector" }, "alert_icon_scale": { "$ref": "#/definitions/float" }, "fast_replaceable_group": { "$ref": "#/definitions/string" }, "next_upgrade": { "$ref": "#/definitions/EntityID" }, "protected_from_tile_building": { "$ref": "#/definitions/bool" }, "heating_energy": { "$ref": "#/definitions/Energy" }, "allow_copy_paste": { "$ref": "#/definitions/bool" }, "selectable_in_game": { "$ref": "#/definitions/bool" }, "placeable_by": { "anyOf": [ { "$ref": "#/definitions/ItemToPlace" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemToPlace" } }, { "type": "object", "additionalProperties": false } ] } ] }, "remains_when_mined": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "additional_pastable_entities": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] }, "tile_width": { "$ref": "#/definitions/int32" }, "tile_height": { "$ref": "#/definitions/int32" }, "diagonal_tile_grid_size": { "$ref": "#/definitions/TilePosition" }, "autoplace": { "$ref": "#/definitions/AutoplaceSpecification" }, "map_color": { "$ref": "#/definitions/Color" }, "friendly_map_color": { "$ref": "#/definitions/Color" }, "enemy_map_color": { "$ref": "#/definitions/Color" }, "water_reflection": { "$ref": "#/definitions/WaterReflectionDefinition" }, "ambient_sounds_group": { "$ref": "#/definitions/EntityID" }, "ambient_sounds": { "anyOf": [ { "$ref": "#/definitions/WorldAmbientSoundDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/WorldAmbientSoundDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "icon_draw_specification": { "$ref": "#/definitions/IconDrawSpecification" }, "icons_positioning": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconSequencePositioning" } }, { "type": "object", "additionalProperties": false } ] }, "max_health": { "$ref": "#/definitions/float" }, "healing_per_tick": { "$ref": "#/definitions/float" }, "repair_speed_modifier": { "$ref": "#/definitions/float" }, "dying_explosion": { "anyOf": [ { "$ref": "#/definitions/ExplosionDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ExplosionDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "dying_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "damaged_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "loot": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/LootItem" } }, { "type": "object", "additionalProperties": false } ] }, "resistances": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Resistance" } }, { "type": "object", "additionalProperties": false } ] }, "attack_reaction": { "anyOf": [ { "$ref": "#/definitions/AttackReactionItem" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/AttackReactionItem" } }, { "type": "object", "additionalProperties": false } ] } ] }, "repair_sound": { "$ref": "#/definitions/Sound" }, "alert_when_damaged": { "$ref": "#/definitions/bool" }, "hide_resistances": { "$ref": "#/definitions/bool" }, "create_ghost_on_death": { "$ref": "#/definitions/bool" }, "random_corpse_variation": { "$ref": "#/definitions/bool" }, "integration_patch_render_layer": { "$ref": "#/definitions/RenderLayer" }, "corpse": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "integration_patch": { "$ref": "#/definitions/Sprite4Way" }, "overkill_fraction": { "$ref": "#/definitions/float" }, "is_military_target": { "$ref": "#/definitions/bool" }, "allow_run_time_change_of_is_military_target": { "$ref": "#/definitions/bool" }, "quality_indicator_scale": { "$ref": "#/definitions/double" }, "speed": { "$ref": "#/definitions/double" }, "max_speed": { "$ref": "#/definitions/double" }, "max_energy": { "$ref": "#/definitions/Energy" }, "energy_per_move": { "$ref": "#/definitions/Energy" }, "energy_per_tick": { "$ref": "#/definitions/Energy" }, "min_to_charge": { "$ref": "#/definitions/float" }, "max_to_charge": { "$ref": "#/definitions/float" }, "speed_multiplier_when_out_of_energy": { "$ref": "#/definitions/float" }, "max_payload_size": { "$ref": "#/definitions/ItemCountType" }, "idle": { "$ref": "#/definitions/RotatedAnimation" }, "in_motion": { "$ref": "#/definitions/RotatedAnimation" }, "shadow_idle": { "$ref": "#/definitions/RotatedAnimation" }, "shadow_in_motion": { "$ref": "#/definitions/RotatedAnimation" }, "destroy_action": { "$ref": "#/definitions/Trigger" }, "draw_cargo": { "$ref": "#/definitions/bool" }, "charging_sound": { "$ref": "#/definitions/InterruptibleSound" }, "idle_with_cargo": { "$ref": "#/definitions/RotatedAnimation" }, "in_motion_with_cargo": { "$ref": "#/definitions/RotatedAnimation" }, "shadow_idle_with_cargo": { "$ref": "#/definitions/RotatedAnimation" }, "shadow_in_motion_with_cargo": { "$ref": "#/definitions/RotatedAnimation" } }, "required": [ "type", "name", "speed", "max_payload_size" ] }, "MapGenPresets": { "description": "https://lua-api.factorio.com/stable/prototypes/MapGenPresets.html", "type": "object", "properties": { "type": { "type": "string", "const": "map-gen-presets" }, "name": { "$ref": "#/definitions/string" } }, "additionalProperties": { "$ref": "#/definitions/MapGenPreset" }, "required": [ "type", "name" ] }, "MapSettings": { "description": "https://lua-api.factorio.com/stable/prototypes/MapSettings.html", "type": "object", "properties": { "type": { "type": "string", "const": "map-settings" }, "name": { "$ref": "#/definitions/string" }, "pollution": { "$ref": "#/definitions/PollutionSettings" }, "steering": { "type": "object", "properties": { "default": { "$ref": "#/definitions/StateSteeringSettings" }, "moving": { "$ref": "#/definitions/StateSteeringSettings" } }, "required": [ "default", "moving" ] }, "enemy_evolution": { "$ref": "#/definitions/EnemyEvolutionSettings" }, "enemy_expansion": { "$ref": "#/definitions/EnemyExpansionSettings" }, "unit_group": { "$ref": "#/definitions/UnitGroupSettings" }, "path_finder": { "$ref": "#/definitions/PathFinderSettings" }, "max_failed_behavior_count": { "$ref": "#/definitions/uint32" }, "difficulty_settings": { "$ref": "#/definitions/DifficultySettings" }, "asteroids": { "$ref": "#/definitions/AsteroidSettings" } }, "required": [ "type", "name", "pollution", "steering", "enemy_evolution", "enemy_expansion", "unit_group", "path_finder", "max_failed_behavior_count", "difficulty_settings", "asteroids" ] }, "MarketPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/MarketPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "market" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "collision_box": { "$ref": "#/definitions/BoundingBox" }, "collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "map_generator_bounding_box": { "$ref": "#/definitions/BoundingBox" }, "selection_box": { "$ref": "#/definitions/BoundingBox" }, "drawing_box_vertical_extension": { "$ref": "#/definitions/double" }, "sticker_box": { "$ref": "#/definitions/BoundingBox" }, "hit_visualization_box": { "$ref": "#/definitions/BoundingBox" }, "trigger_target_mask": { "$ref": "#/definitions/TriggerTargetMask" }, "flags": { "$ref": "#/definitions/EntityPrototypeFlags" }, "tile_buildability_rules": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileBuildabilityRule" } }, { "type": "object", "additionalProperties": false } ] }, "minable": { "$ref": "#/definitions/MinableProperties" }, "surface_conditions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SurfaceCondition" } }, { "type": "object", "additionalProperties": false } ] }, "deconstruction_alternative": { "$ref": "#/definitions/EntityID" }, "selection_priority": { "$ref": "#/definitions/uint8" }, "build_grid_size": { "$ref": "#/definitions/uint8" }, "remove_decoratives": { "anyOf": [ { "type": "string", "const": "automatic" }, { "type": "string", "const": "true" }, { "type": "string", "const": "false" } ] }, "emissions_per_second": { "type": "object", "additionalProperties": { "$ref": "#/definitions/double" }, "propertyNames": { "$ref": "#/definitions/AirbornePollutantID" } }, "shooting_cursor_size": { "$ref": "#/definitions/double" }, "created_smoke": { "$ref": "#/definitions/CreateTrivialSmokeEffectItem" }, "working_sound": { "$ref": "#/definitions/WorkingSound" }, "created_effect": { "$ref": "#/definitions/Trigger" }, "build_sound": { "$ref": "#/definitions/Sound" }, "mined_sound": { "$ref": "#/definitions/Sound" }, "mining_sound": { "$ref": "#/definitions/Sound" }, "rotated_sound": { "$ref": "#/definitions/Sound" }, "impact_category": { "$ref": "#/definitions/string" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "placeable_position_visualization": { "$ref": "#/definitions/Sprite" }, "radius_visualisation_specification": { "$ref": "#/definitions/RadiusVisualisationSpecification" }, "stateless_visualisation": { "$ref": "#/definitions/StatelessVisualisations" }, "build_base_evolution_requirement": { "$ref": "#/definitions/double" }, "alert_icon_shift": { "$ref": "#/definitions/Vector" }, "alert_icon_scale": { "$ref": "#/definitions/float" }, "fast_replaceable_group": { "$ref": "#/definitions/string" }, "next_upgrade": { "$ref": "#/definitions/EntityID" }, "protected_from_tile_building": { "$ref": "#/definitions/bool" }, "heating_energy": { "$ref": "#/definitions/Energy" }, "allow_copy_paste": { "$ref": "#/definitions/bool" }, "selectable_in_game": { "$ref": "#/definitions/bool" }, "placeable_by": { "anyOf": [ { "$ref": "#/definitions/ItemToPlace" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemToPlace" } }, { "type": "object", "additionalProperties": false } ] } ] }, "remains_when_mined": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "additional_pastable_entities": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] }, "tile_width": { "$ref": "#/definitions/int32" }, "tile_height": { "$ref": "#/definitions/int32" }, "diagonal_tile_grid_size": { "$ref": "#/definitions/TilePosition" }, "autoplace": { "$ref": "#/definitions/AutoplaceSpecification" }, "map_color": { "$ref": "#/definitions/Color" }, "friendly_map_color": { "$ref": "#/definitions/Color" }, "enemy_map_color": { "$ref": "#/definitions/Color" }, "water_reflection": { "$ref": "#/definitions/WaterReflectionDefinition" }, "ambient_sounds_group": { "$ref": "#/definitions/EntityID" }, "ambient_sounds": { "anyOf": [ { "$ref": "#/definitions/WorldAmbientSoundDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/WorldAmbientSoundDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "icon_draw_specification": { "$ref": "#/definitions/IconDrawSpecification" }, "icons_positioning": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconSequencePositioning" } }, { "type": "object", "additionalProperties": false } ] }, "max_health": { "$ref": "#/definitions/float" }, "healing_per_tick": { "$ref": "#/definitions/float" }, "repair_speed_modifier": { "$ref": "#/definitions/float" }, "dying_explosion": { "anyOf": [ { "$ref": "#/definitions/ExplosionDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ExplosionDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "dying_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "damaged_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "loot": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/LootItem" } }, { "type": "object", "additionalProperties": false } ] }, "resistances": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Resistance" } }, { "type": "object", "additionalProperties": false } ] }, "attack_reaction": { "anyOf": [ { "$ref": "#/definitions/AttackReactionItem" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/AttackReactionItem" } }, { "type": "object", "additionalProperties": false } ] } ] }, "repair_sound": { "$ref": "#/definitions/Sound" }, "alert_when_damaged": { "$ref": "#/definitions/bool" }, "hide_resistances": { "$ref": "#/definitions/bool" }, "create_ghost_on_death": { "$ref": "#/definitions/bool" }, "random_corpse_variation": { "$ref": "#/definitions/bool" }, "integration_patch_render_layer": { "$ref": "#/definitions/RenderLayer" }, "corpse": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "integration_patch": { "$ref": "#/definitions/Sprite4Way" }, "overkill_fraction": { "$ref": "#/definitions/float" }, "is_military_target": { "$ref": "#/definitions/bool" }, "allow_run_time_change_of_is_military_target": { "$ref": "#/definitions/bool" }, "quality_indicator_scale": { "$ref": "#/definitions/double" }, "picture": { "$ref": "#/definitions/Sprite" }, "allow_access_to_all_forces": { "$ref": "#/definitions/bool" } }, "required": [ "type", "name" ] }, "MiningDrillPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/MiningDrillPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "mining-drill" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "collision_box": { "$ref": "#/definitions/BoundingBox" }, "collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "map_generator_bounding_box": { "$ref": "#/definitions/BoundingBox" }, "selection_box": { "$ref": "#/definitions/BoundingBox" }, "drawing_box_vertical_extension": { "$ref": "#/definitions/double" }, "sticker_box": { "$ref": "#/definitions/BoundingBox" }, "hit_visualization_box": { "$ref": "#/definitions/BoundingBox" }, "trigger_target_mask": { "$ref": "#/definitions/TriggerTargetMask" }, "flags": { "$ref": "#/definitions/EntityPrototypeFlags" }, "tile_buildability_rules": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileBuildabilityRule" } }, { "type": "object", "additionalProperties": false } ] }, "minable": { "$ref": "#/definitions/MinableProperties" }, "surface_conditions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SurfaceCondition" } }, { "type": "object", "additionalProperties": false } ] }, "deconstruction_alternative": { "$ref": "#/definitions/EntityID" }, "selection_priority": { "$ref": "#/definitions/uint8" }, "build_grid_size": { "$ref": "#/definitions/uint8" }, "remove_decoratives": { "anyOf": [ { "type": "string", "const": "automatic" }, { "type": "string", "const": "true" }, { "type": "string", "const": "false" } ] }, "emissions_per_second": { "type": "object", "additionalProperties": { "$ref": "#/definitions/double" }, "propertyNames": { "$ref": "#/definitions/AirbornePollutantID" } }, "shooting_cursor_size": { "$ref": "#/definitions/double" }, "created_smoke": { "$ref": "#/definitions/CreateTrivialSmokeEffectItem" }, "working_sound": { "$ref": "#/definitions/WorkingSound" }, "created_effect": { "$ref": "#/definitions/Trigger" }, "build_sound": { "$ref": "#/definitions/Sound" }, "mined_sound": { "$ref": "#/definitions/Sound" }, "mining_sound": { "$ref": "#/definitions/Sound" }, "rotated_sound": { "$ref": "#/definitions/Sound" }, "impact_category": { "$ref": "#/definitions/string" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "placeable_position_visualization": { "$ref": "#/definitions/Sprite" }, "radius_visualisation_specification": { "$ref": "#/definitions/RadiusVisualisationSpecification" }, "stateless_visualisation": { "$ref": "#/definitions/StatelessVisualisations" }, "build_base_evolution_requirement": { "$ref": "#/definitions/double" }, "alert_icon_shift": { "$ref": "#/definitions/Vector" }, "alert_icon_scale": { "$ref": "#/definitions/float" }, "fast_replaceable_group": { "$ref": "#/definitions/string" }, "next_upgrade": { "$ref": "#/definitions/EntityID" }, "protected_from_tile_building": { "$ref": "#/definitions/bool" }, "heating_energy": { "$ref": "#/definitions/Energy" }, "allow_copy_paste": { "$ref": "#/definitions/bool" }, "selectable_in_game": { "$ref": "#/definitions/bool" }, "placeable_by": { "anyOf": [ { "$ref": "#/definitions/ItemToPlace" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemToPlace" } }, { "type": "object", "additionalProperties": false } ] } ] }, "remains_when_mined": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "additional_pastable_entities": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] }, "tile_width": { "$ref": "#/definitions/int32" }, "tile_height": { "$ref": "#/definitions/int32" }, "diagonal_tile_grid_size": { "$ref": "#/definitions/TilePosition" }, "autoplace": { "$ref": "#/definitions/AutoplaceSpecification" }, "map_color": { "$ref": "#/definitions/Color" }, "friendly_map_color": { "$ref": "#/definitions/Color" }, "enemy_map_color": { "$ref": "#/definitions/Color" }, "water_reflection": { "$ref": "#/definitions/WaterReflectionDefinition" }, "ambient_sounds_group": { "$ref": "#/definitions/EntityID" }, "ambient_sounds": { "anyOf": [ { "$ref": "#/definitions/WorldAmbientSoundDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/WorldAmbientSoundDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "icon_draw_specification": { "$ref": "#/definitions/IconDrawSpecification" }, "icons_positioning": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconSequencePositioning" } }, { "type": "object", "additionalProperties": false } ] }, "max_health": { "$ref": "#/definitions/float" }, "healing_per_tick": { "$ref": "#/definitions/float" }, "repair_speed_modifier": { "$ref": "#/definitions/float" }, "dying_explosion": { "anyOf": [ { "$ref": "#/definitions/ExplosionDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ExplosionDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "dying_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "damaged_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "loot": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/LootItem" } }, { "type": "object", "additionalProperties": false } ] }, "resistances": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Resistance" } }, { "type": "object", "additionalProperties": false } ] }, "attack_reaction": { "anyOf": [ { "$ref": "#/definitions/AttackReactionItem" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/AttackReactionItem" } }, { "type": "object", "additionalProperties": false } ] } ] }, "repair_sound": { "$ref": "#/definitions/Sound" }, "alert_when_damaged": { "$ref": "#/definitions/bool" }, "hide_resistances": { "$ref": "#/definitions/bool" }, "create_ghost_on_death": { "$ref": "#/definitions/bool" }, "random_corpse_variation": { "$ref": "#/definitions/bool" }, "integration_patch_render_layer": { "$ref": "#/definitions/RenderLayer" }, "corpse": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "integration_patch": { "$ref": "#/definitions/Sprite4Way" }, "overkill_fraction": { "$ref": "#/definitions/float" }, "is_military_target": { "$ref": "#/definitions/bool" }, "allow_run_time_change_of_is_military_target": { "$ref": "#/definitions/bool" }, "quality_indicator_scale": { "$ref": "#/definitions/double" }, "vector_to_place_result": { "$ref": "#/definitions/Vector" }, "resource_searching_radius": { "$ref": "#/definitions/double" }, "energy_usage": { "$ref": "#/definitions/Energy" }, "mining_speed": { "$ref": "#/definitions/double" }, "energy_source": { "$ref": "#/definitions/EnergySource" }, "resource_categories": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ResourceCategoryID" } }, { "type": "object", "additionalProperties": false } ] }, "output_fluid_box": { "$ref": "#/definitions/FluidBox" }, "input_fluid_box": { "$ref": "#/definitions/FluidBox" }, "graphics_set": { "$ref": "#/definitions/MiningDrillGraphicsSet" }, "wet_mining_graphics_set": { "$ref": "#/definitions/MiningDrillGraphicsSet" }, "perceived_performance": { "$ref": "#/definitions/PerceivedPerformance" }, "base_picture": { "$ref": "#/definitions/Sprite4Way" }, "effect_receiver": { "$ref": "#/definitions/EffectReceiver" }, "module_slots": { "$ref": "#/definitions/ItemStackIndex" }, "allowed_effects": { "$ref": "#/definitions/EffectTypeLimitation" }, "allowed_module_categories": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ModuleCategoryID" } }, { "type": "object", "additionalProperties": false } ] }, "radius_visualisation_picture": { "$ref": "#/definitions/Sprite" }, "circuit_wire_max_distance": { "$ref": "#/definitions/double" }, "draw_copper_wires": { "$ref": "#/definitions/bool" }, "draw_circuit_wires": { "$ref": "#/definitions/bool" }, "base_render_layer": { "$ref": "#/definitions/RenderLayer" }, "resource_drain_rate_percent": { "$ref": "#/definitions/uint8" }, "shuffle_resources_to_mine": { "$ref": "#/definitions/bool" }, "drops_full_belt_stacks": { "$ref": "#/definitions/bool" }, "moving_sound": { "$ref": "#/definitions/InterruptibleSound" }, "drilling_sound": { "$ref": "#/definitions/InterruptibleSound" }, "drilling_sound_animation_start_frame": { "$ref": "#/definitions/uint16" }, "drilling_sound_animation_end_frame": { "$ref": "#/definitions/uint16" }, "monitor_visualization_tint": { "$ref": "#/definitions/Color" }, "circuit_connector": { "type": "array", "items": [ { "$ref": "#/definitions/CircuitConnectorDefinition" }, { "$ref": "#/definitions/CircuitConnectorDefinition" }, { "$ref": "#/definitions/CircuitConnectorDefinition" }, { "$ref": "#/definitions/CircuitConnectorDefinition" } ], "minItems": 4, "maxItems": 4 }, "filter_count": { "$ref": "#/definitions/uint8" } }, "required": [ "type", "name", "vector_to_place_result", "resource_searching_radius", "energy_usage", "mining_speed", "energy_source", "resource_categories" ] }, "ModuleCategory": { "description": "https://lua-api.factorio.com/stable/prototypes/ModuleCategory.html", "type": "object", "properties": { "type": { "type": "string", "const": "module-category" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" } }, "required": [ "type", "name" ] }, "ModulePrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/ModulePrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "module" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "stack_size": { "$ref": "#/definitions/ItemCountType" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "dark_background_icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "dark_background_icon": { "$ref": "#/definitions/FileName" }, "dark_background_icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "place_result": { "$ref": "#/definitions/EntityID" }, "place_as_equipment_result": { "$ref": "#/definitions/EquipmentID" }, "fuel_category": { "$ref": "#/definitions/FuelCategoryID" }, "burnt_result": { "$ref": "#/definitions/ItemID" }, "spoil_result": { "$ref": "#/definitions/ItemID" }, "plant_result": { "$ref": "#/definitions/EntityID" }, "place_as_tile": { "type": "object", "properties": { "result": { "$ref": "#/definitions/TileID" }, "condition": { "$ref": "#/definitions/CollisionMaskConnector" }, "invert": { "$ref": "#/definitions/bool" }, "condition_size": { "$ref": "#/definitions/uint32" }, "tile_condition": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileID" } }, { "type": "object", "additionalProperties": false } ] } }, "required": [ "result", "condition", "condition_size" ] }, "pictures": { "$ref": "#/definitions/SpriteVariations" }, "flags": { "$ref": "#/definitions/ItemPrototypeFlags" }, "spoil_ticks": { "$ref": "#/definitions/uint32" }, "fuel_value": { "$ref": "#/definitions/Energy" }, "fuel_acceleration_multiplier": { "$ref": "#/definitions/double" }, "fuel_top_speed_multiplier": { "$ref": "#/definitions/double" }, "fuel_emissions_multiplier": { "$ref": "#/definitions/double" }, "fuel_acceleration_multiplier_quality_bonus": { "$ref": "#/definitions/double" }, "fuel_top_speed_multiplier_quality_bonus": { "$ref": "#/definitions/double" }, "weight": { "$ref": "#/definitions/Weight" }, "ingredient_to_weight_coefficient": { "$ref": "#/definitions/double" }, "fuel_glow_color": { "$ref": "#/definitions/Color" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "pick_sound": { "$ref": "#/definitions/Sound" }, "drop_sound": { "$ref": "#/definitions/Sound" }, "inventory_move_sound": { "$ref": "#/definitions/Sound" }, "default_import_location": { "$ref": "#/definitions/SpaceLocationID" }, "color_hint": { "$ref": "#/definitions/ColorHintSpecification" }, "has_random_tint": { "$ref": "#/definitions/bool" }, "spoil_to_trigger_result": { "$ref": "#/definitions/SpoilToTriggerResult" }, "destroyed_by_dropping_trigger": { "$ref": "#/definitions/Trigger" }, "rocket_launch_products": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemProductPrototype" } }, { "type": "object", "additionalProperties": false } ] }, "send_to_orbit_mode": { "$ref": "#/definitions/SendToOrbitMode" }, "random_tint_color": { "$ref": "#/definitions/Color" }, "spoil_level": { "$ref": "#/definitions/uint8" }, "category": { "$ref": "#/definitions/ModuleCategoryID" }, "tier": { "$ref": "#/definitions/uint32" }, "effect": { "$ref": "#/definitions/Effect" }, "requires_beacon_alt_mode": { "$ref": "#/definitions/bool" }, "art_style": { "$ref": "#/definitions/string" }, "beacon_tint": { "type": "object", "properties": { "primary": { "$ref": "#/definitions/Color" }, "secondary": { "$ref": "#/definitions/Color" }, "tertiary": { "$ref": "#/definitions/Color" }, "quaternary": { "$ref": "#/definitions/Color" } } } }, "required": [ "type", "name", "stack_size", "category", "tier", "effect" ] }, "ModuleTransferAchievementPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/ModuleTransferAchievementPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "module-transfer-achievement" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "steam_stats_name": { "$ref": "#/definitions/string" }, "allowed_without_fight": { "$ref": "#/definitions/bool" }, "module": { "anyOf": [ { "$ref": "#/definitions/ItemID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "amount": { "$ref": "#/definitions/uint32" }, "limited_to_one_game": { "$ref": "#/definitions/bool" } }, "required": [ "type", "name", "module" ] }, "MouseCursor": { "description": "https://lua-api.factorio.com/stable/prototypes/MouseCursor.html", "type": "object", "properties": { "type": { "type": "string", "const": "mouse-cursor" }, "name": { "$ref": "#/definitions/string" }, "system_cursor": { "anyOf": [ { "type": "string", "const": "arrow" }, { "type": "string", "const": "i-beam" }, { "type": "string", "const": "crosshair" }, { "type": "string", "const": "wait-arrow" }, { "type": "string", "const": "size-all" }, { "type": "string", "const": "no" }, { "type": "string", "const": "hand" } ] }, "filename": { "$ref": "#/definitions/FileName" }, "hot_pixel_x": { "$ref": "#/definitions/int16" }, "hot_pixel_y": { "$ref": "#/definitions/int16" } }, "required": [ "type", "name" ] }, "MovementBonusEquipmentPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/MovementBonusEquipmentPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "movement-bonus-equipment" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "sprite": { "$ref": "#/definitions/Sprite" }, "shape": { "$ref": "#/definitions/EquipmentShape" }, "categories": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EquipmentCategoryID" } }, { "type": "object", "additionalProperties": false } ] }, "energy_source": { "$ref": "#/definitions/ElectricEnergySource" }, "take_result": { "$ref": "#/definitions/ItemID" }, "background_color": { "$ref": "#/definitions/Color" }, "background_border_color": { "$ref": "#/definitions/Color" }, "grabbed_background_color": { "$ref": "#/definitions/Color" }, "energy_consumption": { "$ref": "#/definitions/Energy" }, "movement_bonus": { "$ref": "#/definitions/double" } }, "required": [ "type", "name", "sprite", "shape", "categories", "energy_source", "energy_consumption", "movement_bonus" ] }, "NamedNoiseExpression": { "description": "https://lua-api.factorio.com/stable/prototypes/NamedNoiseExpression.html", "type": "object", "properties": { "type": { "type": "string", "const": "noise-expression" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "expression": { "$ref": "#/definitions/NoiseExpression" }, "local_expressions": { "type": "object", "additionalProperties": { "$ref": "#/definitions/NoiseExpression" }, "propertyNames": { "$ref": "#/definitions/string" } }, "local_functions": { "type": "object", "additionalProperties": { "$ref": "#/definitions/NoiseFunction" }, "propertyNames": { "$ref": "#/definitions/string" } }, "intended_property": { "$ref": "#/definitions/string" } }, "required": [ "type", "name", "expression" ] }, "NamedNoiseFunction": { "description": "https://lua-api.factorio.com/stable/prototypes/NamedNoiseFunction.html", "type": "object", "properties": { "type": { "type": "string", "const": "noise-function" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "parameters": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/string" } }, { "type": "object", "additionalProperties": false } ] }, "expression": { "$ref": "#/definitions/NoiseExpression" }, "local_expressions": { "type": "object", "additionalProperties": { "$ref": "#/definitions/NoiseExpression" }, "propertyNames": { "$ref": "#/definitions/string" } }, "local_functions": { "type": "object", "additionalProperties": { "$ref": "#/definitions/NoiseFunction" }, "propertyNames": { "$ref": "#/definitions/string" } } }, "required": [ "type", "name", "parameters", "expression" ] }, "NightVisionEquipmentPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/NightVisionEquipmentPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "night-vision-equipment" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "sprite": { "$ref": "#/definitions/Sprite" }, "shape": { "$ref": "#/definitions/EquipmentShape" }, "categories": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EquipmentCategoryID" } }, { "type": "object", "additionalProperties": false } ] }, "energy_source": { "$ref": "#/definitions/ElectricEnergySource" }, "take_result": { "$ref": "#/definitions/ItemID" }, "background_color": { "$ref": "#/definitions/Color" }, "background_border_color": { "$ref": "#/definitions/Color" }, "grabbed_background_color": { "$ref": "#/definitions/Color" }, "energy_input": { "$ref": "#/definitions/Energy" }, "color_lookup": { "$ref": "#/definitions/DaytimeColorLookupTable" }, "darkness_to_turn_on": { "$ref": "#/definitions/float" }, "activate_sound": { "$ref": "#/definitions/Sound" }, "deactivate_sound": { "$ref": "#/definitions/Sound" } }, "required": [ "type", "name", "sprite", "shape", "categories", "energy_source", "energy_input", "color_lookup" ] }, "OffshorePumpPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/OffshorePumpPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "offshore-pump" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "collision_box": { "$ref": "#/definitions/BoundingBox" }, "collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "map_generator_bounding_box": { "$ref": "#/definitions/BoundingBox" }, "selection_box": { "$ref": "#/definitions/BoundingBox" }, "drawing_box_vertical_extension": { "$ref": "#/definitions/double" }, "sticker_box": { "$ref": "#/definitions/BoundingBox" }, "hit_visualization_box": { "$ref": "#/definitions/BoundingBox" }, "trigger_target_mask": { "$ref": "#/definitions/TriggerTargetMask" }, "flags": { "$ref": "#/definitions/EntityPrototypeFlags" }, "tile_buildability_rules": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileBuildabilityRule" } }, { "type": "object", "additionalProperties": false } ] }, "minable": { "$ref": "#/definitions/MinableProperties" }, "surface_conditions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SurfaceCondition" } }, { "type": "object", "additionalProperties": false } ] }, "deconstruction_alternative": { "$ref": "#/definitions/EntityID" }, "selection_priority": { "$ref": "#/definitions/uint8" }, "build_grid_size": { "$ref": "#/definitions/uint8" }, "remove_decoratives": { "anyOf": [ { "type": "string", "const": "automatic" }, { "type": "string", "const": "true" }, { "type": "string", "const": "false" } ] }, "emissions_per_second": { "type": "object", "additionalProperties": { "$ref": "#/definitions/double" }, "propertyNames": { "$ref": "#/definitions/AirbornePollutantID" } }, "shooting_cursor_size": { "$ref": "#/definitions/double" }, "created_smoke": { "$ref": "#/definitions/CreateTrivialSmokeEffectItem" }, "working_sound": { "$ref": "#/definitions/WorkingSound" }, "created_effect": { "$ref": "#/definitions/Trigger" }, "build_sound": { "$ref": "#/definitions/Sound" }, "mined_sound": { "$ref": "#/definitions/Sound" }, "mining_sound": { "$ref": "#/definitions/Sound" }, "rotated_sound": { "$ref": "#/definitions/Sound" }, "impact_category": { "$ref": "#/definitions/string" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "placeable_position_visualization": { "$ref": "#/definitions/Sprite" }, "radius_visualisation_specification": { "$ref": "#/definitions/RadiusVisualisationSpecification" }, "stateless_visualisation": { "$ref": "#/definitions/StatelessVisualisations" }, "build_base_evolution_requirement": { "$ref": "#/definitions/double" }, "alert_icon_shift": { "$ref": "#/definitions/Vector" }, "alert_icon_scale": { "$ref": "#/definitions/float" }, "fast_replaceable_group": { "$ref": "#/definitions/string" }, "next_upgrade": { "$ref": "#/definitions/EntityID" }, "protected_from_tile_building": { "$ref": "#/definitions/bool" }, "heating_energy": { "$ref": "#/definitions/Energy" }, "allow_copy_paste": { "$ref": "#/definitions/bool" }, "selectable_in_game": { "$ref": "#/definitions/bool" }, "placeable_by": { "anyOf": [ { "$ref": "#/definitions/ItemToPlace" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemToPlace" } }, { "type": "object", "additionalProperties": false } ] } ] }, "remains_when_mined": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "additional_pastable_entities": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] }, "tile_width": { "$ref": "#/definitions/int32" }, "tile_height": { "$ref": "#/definitions/int32" }, "diagonal_tile_grid_size": { "$ref": "#/definitions/TilePosition" }, "autoplace": { "$ref": "#/definitions/AutoplaceSpecification" }, "map_color": { "$ref": "#/definitions/Color" }, "friendly_map_color": { "$ref": "#/definitions/Color" }, "enemy_map_color": { "$ref": "#/definitions/Color" }, "water_reflection": { "$ref": "#/definitions/WaterReflectionDefinition" }, "ambient_sounds_group": { "$ref": "#/definitions/EntityID" }, "ambient_sounds": { "anyOf": [ { "$ref": "#/definitions/WorldAmbientSoundDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/WorldAmbientSoundDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "icon_draw_specification": { "$ref": "#/definitions/IconDrawSpecification" }, "icons_positioning": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconSequencePositioning" } }, { "type": "object", "additionalProperties": false } ] }, "max_health": { "$ref": "#/definitions/float" }, "healing_per_tick": { "$ref": "#/definitions/float" }, "repair_speed_modifier": { "$ref": "#/definitions/float" }, "dying_explosion": { "anyOf": [ { "$ref": "#/definitions/ExplosionDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ExplosionDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "dying_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "damaged_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "loot": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/LootItem" } }, { "type": "object", "additionalProperties": false } ] }, "resistances": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Resistance" } }, { "type": "object", "additionalProperties": false } ] }, "attack_reaction": { "anyOf": [ { "$ref": "#/definitions/AttackReactionItem" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/AttackReactionItem" } }, { "type": "object", "additionalProperties": false } ] } ] }, "repair_sound": { "$ref": "#/definitions/Sound" }, "alert_when_damaged": { "$ref": "#/definitions/bool" }, "hide_resistances": { "$ref": "#/definitions/bool" }, "create_ghost_on_death": { "$ref": "#/definitions/bool" }, "random_corpse_variation": { "$ref": "#/definitions/bool" }, "integration_patch_render_layer": { "$ref": "#/definitions/RenderLayer" }, "corpse": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "integration_patch": { "$ref": "#/definitions/Sprite4Way" }, "overkill_fraction": { "$ref": "#/definitions/float" }, "is_military_target": { "$ref": "#/definitions/bool" }, "allow_run_time_change_of_is_military_target": { "$ref": "#/definitions/bool" }, "quality_indicator_scale": { "$ref": "#/definitions/double" }, "fluid_box": { "$ref": "#/definitions/FluidBox" }, "pumping_speed": { "$ref": "#/definitions/FluidAmount" }, "fluid_source_offset": { "$ref": "#/definitions/Vector" }, "perceived_performance": { "$ref": "#/definitions/PerceivedPerformance" }, "graphics_set": { "$ref": "#/definitions/OffshorePumpGraphicsSet" }, "energy_source": { "$ref": "#/definitions/EnergySource" }, "energy_usage": { "$ref": "#/definitions/Energy" }, "remove_on_tile_collision": { "$ref": "#/definitions/bool" }, "always_draw_fluid": { "$ref": "#/definitions/bool" }, "circuit_wire_max_distance": { "$ref": "#/definitions/double" }, "draw_copper_wires": { "$ref": "#/definitions/bool" }, "draw_circuit_wires": { "$ref": "#/definitions/bool" }, "circuit_connector": { "type": "array", "items": [ { "$ref": "#/definitions/CircuitConnectorDefinition" }, { "$ref": "#/definitions/CircuitConnectorDefinition" }, { "$ref": "#/definitions/CircuitConnectorDefinition" }, { "$ref": "#/definitions/CircuitConnectorDefinition" } ], "minItems": 4, "maxItems": 4 } }, "required": [ "type", "name", "fluid_box", "pumping_speed", "fluid_source_offset", "energy_source", "energy_usage" ] }, "ParticlePrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/ParticlePrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "optimized-particle" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "pictures": { "$ref": "#/definitions/AnimationVariations" }, "life_time": { "$ref": "#/definitions/uint16" }, "shadows": { "$ref": "#/definitions/AnimationVariations" }, "draw_shadow_when_on_ground": { "$ref": "#/definitions/bool" }, "regular_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "ended_in_water_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "ended_on_ground_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "render_layer": { "$ref": "#/definitions/RenderLayer" }, "render_layer_when_on_ground": { "$ref": "#/definitions/RenderLayer" }, "regular_trigger_effect_frequency": { "$ref": "#/definitions/uint32" }, "movement_modifier_when_on_ground": { "$ref": "#/definitions/float" }, "movement_modifier": { "$ref": "#/definitions/float" }, "vertical_acceleration": { "$ref": "#/definitions/float" }, "mining_particle_frame_speed": { "$ref": "#/definitions/float" }, "fade_away_duration": { "$ref": "#/definitions/uint16" } }, "required": [ "type", "name", "life_time" ] }, "ParticleSourcePrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/ParticleSourcePrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "particle-source" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "collision_box": { "$ref": "#/definitions/BoundingBox" }, "collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "map_generator_bounding_box": { "$ref": "#/definitions/BoundingBox" }, "selection_box": { "$ref": "#/definitions/BoundingBox" }, "drawing_box_vertical_extension": { "$ref": "#/definitions/double" }, "sticker_box": { "$ref": "#/definitions/BoundingBox" }, "hit_visualization_box": { "$ref": "#/definitions/BoundingBox" }, "trigger_target_mask": { "$ref": "#/definitions/TriggerTargetMask" }, "flags": { "$ref": "#/definitions/EntityPrototypeFlags" }, "tile_buildability_rules": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileBuildabilityRule" } }, { "type": "object", "additionalProperties": false } ] }, "minable": { "$ref": "#/definitions/MinableProperties" }, "surface_conditions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SurfaceCondition" } }, { "type": "object", "additionalProperties": false } ] }, "deconstruction_alternative": { "$ref": "#/definitions/EntityID" }, "selection_priority": { "$ref": "#/definitions/uint8" }, "build_grid_size": { "$ref": "#/definitions/uint8" }, "remove_decoratives": { "anyOf": [ { "type": "string", "const": "automatic" }, { "type": "string", "const": "true" }, { "type": "string", "const": "false" } ] }, "emissions_per_second": { "type": "object", "additionalProperties": { "$ref": "#/definitions/double" }, "propertyNames": { "$ref": "#/definitions/AirbornePollutantID" } }, "shooting_cursor_size": { "$ref": "#/definitions/double" }, "created_smoke": { "$ref": "#/definitions/CreateTrivialSmokeEffectItem" }, "working_sound": { "$ref": "#/definitions/WorkingSound" }, "created_effect": { "$ref": "#/definitions/Trigger" }, "build_sound": { "$ref": "#/definitions/Sound" }, "mined_sound": { "$ref": "#/definitions/Sound" }, "mining_sound": { "$ref": "#/definitions/Sound" }, "rotated_sound": { "$ref": "#/definitions/Sound" }, "impact_category": { "$ref": "#/definitions/string" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "placeable_position_visualization": { "$ref": "#/definitions/Sprite" }, "radius_visualisation_specification": { "$ref": "#/definitions/RadiusVisualisationSpecification" }, "stateless_visualisation": { "$ref": "#/definitions/StatelessVisualisations" }, "build_base_evolution_requirement": { "$ref": "#/definitions/double" }, "alert_icon_shift": { "$ref": "#/definitions/Vector" }, "alert_icon_scale": { "$ref": "#/definitions/float" }, "fast_replaceable_group": { "$ref": "#/definitions/string" }, "next_upgrade": { "$ref": "#/definitions/EntityID" }, "protected_from_tile_building": { "$ref": "#/definitions/bool" }, "heating_energy": { "$ref": "#/definitions/Energy" }, "allow_copy_paste": { "$ref": "#/definitions/bool" }, "selectable_in_game": { "$ref": "#/definitions/bool" }, "placeable_by": { "anyOf": [ { "$ref": "#/definitions/ItemToPlace" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemToPlace" } }, { "type": "object", "additionalProperties": false } ] } ] }, "remains_when_mined": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "additional_pastable_entities": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] }, "tile_width": { "$ref": "#/definitions/int32" }, "tile_height": { "$ref": "#/definitions/int32" }, "diagonal_tile_grid_size": { "$ref": "#/definitions/TilePosition" }, "autoplace": { "$ref": "#/definitions/AutoplaceSpecification" }, "map_color": { "$ref": "#/definitions/Color" }, "friendly_map_color": { "$ref": "#/definitions/Color" }, "enemy_map_color": { "$ref": "#/definitions/Color" }, "water_reflection": { "$ref": "#/definitions/WaterReflectionDefinition" }, "ambient_sounds_group": { "$ref": "#/definitions/EntityID" }, "ambient_sounds": { "anyOf": [ { "$ref": "#/definitions/WorldAmbientSoundDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/WorldAmbientSoundDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "icon_draw_specification": { "$ref": "#/definitions/IconDrawSpecification" }, "icons_positioning": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconSequencePositioning" } }, { "type": "object", "additionalProperties": false } ] }, "time_to_live": { "$ref": "#/definitions/float" }, "time_before_start": { "$ref": "#/definitions/float" }, "height": { "$ref": "#/definitions/float" }, "vertical_speed": { "$ref": "#/definitions/float" }, "horizontal_speed": { "$ref": "#/definitions/float" }, "particle": { "$ref": "#/definitions/ParticleID" }, "smoke": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SmokeSource" } }, { "type": "object", "additionalProperties": false } ] }, "time_to_live_deviation": { "$ref": "#/definitions/float" }, "time_before_start_deviation": { "$ref": "#/definitions/float" }, "height_deviation": { "$ref": "#/definitions/float" }, "vertical_speed_deviation": { "$ref": "#/definitions/float" }, "horizontal_speed_deviation": { "$ref": "#/definitions/float" } }, "required": [ "type", "name", "time_to_live", "time_before_start", "height", "vertical_speed", "horizontal_speed" ] }, "PipePrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/PipePrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "pipe" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "collision_box": { "$ref": "#/definitions/BoundingBox" }, "collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "map_generator_bounding_box": { "$ref": "#/definitions/BoundingBox" }, "selection_box": { "$ref": "#/definitions/BoundingBox" }, "drawing_box_vertical_extension": { "$ref": "#/definitions/double" }, "sticker_box": { "$ref": "#/definitions/BoundingBox" }, "hit_visualization_box": { "$ref": "#/definitions/BoundingBox" }, "trigger_target_mask": { "$ref": "#/definitions/TriggerTargetMask" }, "flags": { "$ref": "#/definitions/EntityPrototypeFlags" }, "tile_buildability_rules": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileBuildabilityRule" } }, { "type": "object", "additionalProperties": false } ] }, "minable": { "$ref": "#/definitions/MinableProperties" }, "surface_conditions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SurfaceCondition" } }, { "type": "object", "additionalProperties": false } ] }, "deconstruction_alternative": { "$ref": "#/definitions/EntityID" }, "selection_priority": { "$ref": "#/definitions/uint8" }, "build_grid_size": { "$ref": "#/definitions/uint8" }, "remove_decoratives": { "anyOf": [ { "type": "string", "const": "automatic" }, { "type": "string", "const": "true" }, { "type": "string", "const": "false" } ] }, "emissions_per_second": { "type": "object", "additionalProperties": { "$ref": "#/definitions/double" }, "propertyNames": { "$ref": "#/definitions/AirbornePollutantID" } }, "shooting_cursor_size": { "$ref": "#/definitions/double" }, "created_smoke": { "$ref": "#/definitions/CreateTrivialSmokeEffectItem" }, "working_sound": { "$ref": "#/definitions/WorkingSound" }, "created_effect": { "$ref": "#/definitions/Trigger" }, "build_sound": { "$ref": "#/definitions/Sound" }, "mined_sound": { "$ref": "#/definitions/Sound" }, "mining_sound": { "$ref": "#/definitions/Sound" }, "rotated_sound": { "$ref": "#/definitions/Sound" }, "impact_category": { "$ref": "#/definitions/string" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "placeable_position_visualization": { "$ref": "#/definitions/Sprite" }, "radius_visualisation_specification": { "$ref": "#/definitions/RadiusVisualisationSpecification" }, "stateless_visualisation": { "$ref": "#/definitions/StatelessVisualisations" }, "build_base_evolution_requirement": { "$ref": "#/definitions/double" }, "alert_icon_shift": { "$ref": "#/definitions/Vector" }, "alert_icon_scale": { "$ref": "#/definitions/float" }, "fast_replaceable_group": { "$ref": "#/definitions/string" }, "next_upgrade": { "$ref": "#/definitions/EntityID" }, "protected_from_tile_building": { "$ref": "#/definitions/bool" }, "heating_energy": { "$ref": "#/definitions/Energy" }, "allow_copy_paste": { "$ref": "#/definitions/bool" }, "selectable_in_game": { "$ref": "#/definitions/bool" }, "placeable_by": { "anyOf": [ { "$ref": "#/definitions/ItemToPlace" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemToPlace" } }, { "type": "object", "additionalProperties": false } ] } ] }, "remains_when_mined": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "additional_pastable_entities": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] }, "tile_width": { "$ref": "#/definitions/int32" }, "tile_height": { "$ref": "#/definitions/int32" }, "diagonal_tile_grid_size": { "$ref": "#/definitions/TilePosition" }, "autoplace": { "$ref": "#/definitions/AutoplaceSpecification" }, "map_color": { "$ref": "#/definitions/Color" }, "friendly_map_color": { "$ref": "#/definitions/Color" }, "enemy_map_color": { "$ref": "#/definitions/Color" }, "water_reflection": { "$ref": "#/definitions/WaterReflectionDefinition" }, "ambient_sounds_group": { "$ref": "#/definitions/EntityID" }, "ambient_sounds": { "anyOf": [ { "$ref": "#/definitions/WorldAmbientSoundDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/WorldAmbientSoundDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "icon_draw_specification": { "$ref": "#/definitions/IconDrawSpecification" }, "icons_positioning": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconSequencePositioning" } }, { "type": "object", "additionalProperties": false } ] }, "max_health": { "$ref": "#/definitions/float" }, "healing_per_tick": { "$ref": "#/definitions/float" }, "repair_speed_modifier": { "$ref": "#/definitions/float" }, "dying_explosion": { "anyOf": [ { "$ref": "#/definitions/ExplosionDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ExplosionDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "dying_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "damaged_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "loot": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/LootItem" } }, { "type": "object", "additionalProperties": false } ] }, "resistances": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Resistance" } }, { "type": "object", "additionalProperties": false } ] }, "attack_reaction": { "anyOf": [ { "$ref": "#/definitions/AttackReactionItem" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/AttackReactionItem" } }, { "type": "object", "additionalProperties": false } ] } ] }, "repair_sound": { "$ref": "#/definitions/Sound" }, "alert_when_damaged": { "$ref": "#/definitions/bool" }, "hide_resistances": { "$ref": "#/definitions/bool" }, "create_ghost_on_death": { "$ref": "#/definitions/bool" }, "random_corpse_variation": { "$ref": "#/definitions/bool" }, "integration_patch_render_layer": { "$ref": "#/definitions/RenderLayer" }, "corpse": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "integration_patch": { "$ref": "#/definitions/Sprite4Way" }, "overkill_fraction": { "$ref": "#/definitions/float" }, "is_military_target": { "$ref": "#/definitions/bool" }, "allow_run_time_change_of_is_military_target": { "$ref": "#/definitions/bool" }, "quality_indicator_scale": { "$ref": "#/definitions/double" }, "fluid_box": { "$ref": "#/definitions/FluidBox" }, "horizontal_window_bounding_box": { "$ref": "#/definitions/BoundingBox" }, "vertical_window_bounding_box": { "$ref": "#/definitions/BoundingBox" }, "pictures": { "$ref": "#/definitions/PipePictures" } }, "required": [ "type", "name", "fluid_box", "horizontal_window_bounding_box", "vertical_window_bounding_box" ] }, "PipeToGroundPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/PipeToGroundPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "pipe-to-ground" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "collision_box": { "$ref": "#/definitions/BoundingBox" }, "collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "map_generator_bounding_box": { "$ref": "#/definitions/BoundingBox" }, "selection_box": { "$ref": "#/definitions/BoundingBox" }, "drawing_box_vertical_extension": { "$ref": "#/definitions/double" }, "sticker_box": { "$ref": "#/definitions/BoundingBox" }, "hit_visualization_box": { "$ref": "#/definitions/BoundingBox" }, "trigger_target_mask": { "$ref": "#/definitions/TriggerTargetMask" }, "flags": { "$ref": "#/definitions/EntityPrototypeFlags" }, "tile_buildability_rules": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileBuildabilityRule" } }, { "type": "object", "additionalProperties": false } ] }, "minable": { "$ref": "#/definitions/MinableProperties" }, "surface_conditions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SurfaceCondition" } }, { "type": "object", "additionalProperties": false } ] }, "deconstruction_alternative": { "$ref": "#/definitions/EntityID" }, "selection_priority": { "$ref": "#/definitions/uint8" }, "build_grid_size": { "$ref": "#/definitions/uint8" }, "remove_decoratives": { "anyOf": [ { "type": "string", "const": "automatic" }, { "type": "string", "const": "true" }, { "type": "string", "const": "false" } ] }, "emissions_per_second": { "type": "object", "additionalProperties": { "$ref": "#/definitions/double" }, "propertyNames": { "$ref": "#/definitions/AirbornePollutantID" } }, "shooting_cursor_size": { "$ref": "#/definitions/double" }, "created_smoke": { "$ref": "#/definitions/CreateTrivialSmokeEffectItem" }, "working_sound": { "$ref": "#/definitions/WorkingSound" }, "created_effect": { "$ref": "#/definitions/Trigger" }, "build_sound": { "$ref": "#/definitions/Sound" }, "mined_sound": { "$ref": "#/definitions/Sound" }, "mining_sound": { "$ref": "#/definitions/Sound" }, "rotated_sound": { "$ref": "#/definitions/Sound" }, "impact_category": { "$ref": "#/definitions/string" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "placeable_position_visualization": { "$ref": "#/definitions/Sprite" }, "radius_visualisation_specification": { "$ref": "#/definitions/RadiusVisualisationSpecification" }, "stateless_visualisation": { "$ref": "#/definitions/StatelessVisualisations" }, "build_base_evolution_requirement": { "$ref": "#/definitions/double" }, "alert_icon_shift": { "$ref": "#/definitions/Vector" }, "alert_icon_scale": { "$ref": "#/definitions/float" }, "fast_replaceable_group": { "$ref": "#/definitions/string" }, "next_upgrade": { "$ref": "#/definitions/EntityID" }, "protected_from_tile_building": { "$ref": "#/definitions/bool" }, "heating_energy": { "$ref": "#/definitions/Energy" }, "allow_copy_paste": { "$ref": "#/definitions/bool" }, "selectable_in_game": { "$ref": "#/definitions/bool" }, "placeable_by": { "anyOf": [ { "$ref": "#/definitions/ItemToPlace" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemToPlace" } }, { "type": "object", "additionalProperties": false } ] } ] }, "remains_when_mined": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "additional_pastable_entities": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] }, "tile_width": { "$ref": "#/definitions/int32" }, "tile_height": { "$ref": "#/definitions/int32" }, "diagonal_tile_grid_size": { "$ref": "#/definitions/TilePosition" }, "autoplace": { "$ref": "#/definitions/AutoplaceSpecification" }, "map_color": { "$ref": "#/definitions/Color" }, "friendly_map_color": { "$ref": "#/definitions/Color" }, "enemy_map_color": { "$ref": "#/definitions/Color" }, "water_reflection": { "$ref": "#/definitions/WaterReflectionDefinition" }, "ambient_sounds_group": { "$ref": "#/definitions/EntityID" }, "ambient_sounds": { "anyOf": [ { "$ref": "#/definitions/WorldAmbientSoundDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/WorldAmbientSoundDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "icon_draw_specification": { "$ref": "#/definitions/IconDrawSpecification" }, "icons_positioning": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconSequencePositioning" } }, { "type": "object", "additionalProperties": false } ] }, "max_health": { "$ref": "#/definitions/float" }, "healing_per_tick": { "$ref": "#/definitions/float" }, "repair_speed_modifier": { "$ref": "#/definitions/float" }, "dying_explosion": { "anyOf": [ { "$ref": "#/definitions/ExplosionDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ExplosionDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "dying_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "damaged_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "loot": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/LootItem" } }, { "type": "object", "additionalProperties": false } ] }, "resistances": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Resistance" } }, { "type": "object", "additionalProperties": false } ] }, "attack_reaction": { "anyOf": [ { "$ref": "#/definitions/AttackReactionItem" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/AttackReactionItem" } }, { "type": "object", "additionalProperties": false } ] } ] }, "repair_sound": { "$ref": "#/definitions/Sound" }, "alert_when_damaged": { "$ref": "#/definitions/bool" }, "hide_resistances": { "$ref": "#/definitions/bool" }, "create_ghost_on_death": { "$ref": "#/definitions/bool" }, "random_corpse_variation": { "$ref": "#/definitions/bool" }, "integration_patch_render_layer": { "$ref": "#/definitions/RenderLayer" }, "corpse": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "integration_patch": { "$ref": "#/definitions/Sprite4Way" }, "overkill_fraction": { "$ref": "#/definitions/float" }, "is_military_target": { "$ref": "#/definitions/bool" }, "allow_run_time_change_of_is_military_target": { "$ref": "#/definitions/bool" }, "quality_indicator_scale": { "$ref": "#/definitions/double" }, "fluid_box": { "$ref": "#/definitions/FluidBox" }, "pictures": { "$ref": "#/definitions/Sprite4Way" }, "frozen_patch": { "$ref": "#/definitions/Sprite4Way" }, "visualization": { "$ref": "#/definitions/Sprite4Way" }, "disabled_visualization": { "$ref": "#/definitions/Sprite4Way" }, "draw_fluid_icon_override": { "$ref": "#/definitions/bool" } }, "required": [ "type", "name", "fluid_box" ] }, "PlaceEquipmentAchievementPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/PlaceEquipmentAchievementPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "place-equipment-achievement" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "steam_stats_name": { "$ref": "#/definitions/string" }, "allowed_without_fight": { "$ref": "#/definitions/bool" }, "armor": { "$ref": "#/definitions/ItemID" }, "limit_quality": { "$ref": "#/definitions/QualityID" }, "limit_equip_quality": { "$ref": "#/definitions/QualityID" }, "amount": { "$ref": "#/definitions/uint32" }, "limited_to_one_game": { "$ref": "#/definitions/bool" } }, "required": [ "type", "name", "armor", "limit_quality", "limit_equip_quality" ] }, "PlanetPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/PlanetPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "planet" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "gravity_pull": { "$ref": "#/definitions/double" }, "distance": { "$ref": "#/definitions/double" }, "orientation": { "$ref": "#/definitions/RealOrientation" }, "magnitude": { "$ref": "#/definitions/double" }, "parked_platforms_orientation": { "$ref": "#/definitions/RealOrientation" }, "label_orientation": { "$ref": "#/definitions/RealOrientation" }, "draw_orbit": { "$ref": "#/definitions/bool" }, "solar_power_in_space": { "$ref": "#/definitions/double" }, "asteroid_spawn_influence": { "$ref": "#/definitions/double" }, "fly_condition": { "$ref": "#/definitions/bool" }, "auto_save_on_first_trip": { "$ref": "#/definitions/bool" }, "procession_graphic_catalogue": { "$ref": "#/definitions/ProcessionGraphicCatalogue" }, "procession_audio_catalogue": { "$ref": "#/definitions/ProcessionAudioCatalogue" }, "platform_procession_set": { "$ref": "#/definitions/ProcessionSet" }, "planet_procession_set": { "$ref": "#/definitions/ProcessionSet" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "starmap_icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "starmap_icon": { "$ref": "#/definitions/FileName" }, "starmap_icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "asteroid_spawn_definitions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SpaceLocationAsteroidSpawnDefinition" } }, { "type": "object", "additionalProperties": false } ] }, "map_seed_offset": { "$ref": "#/definitions/uint32" }, "entities_require_heating": { "$ref": "#/definitions/bool" }, "pollutant_type": { "$ref": "#/definitions/AirbornePollutantID" }, "persistent_ambient_sounds": { "$ref": "#/definitions/PersistentWorldAmbientSoundsDefinition" }, "surface_render_parameters": { "$ref": "#/definitions/SurfaceRenderParameters" }, "player_effects": { "$ref": "#/definitions/Trigger" }, "ticks_between_player_effects": { "$ref": "#/definitions/MapTick" }, "map_gen_settings": { "$ref": "#/definitions/PlanetPrototypeMapGenSettings" }, "surface_properties": { "type": "object", "additionalProperties": { "$ref": "#/definitions/double" }, "propertyNames": { "$ref": "#/definitions/SurfacePropertyID" } }, "lightning_properties": { "$ref": "#/definitions/LightningProperties" } }, "required": [ "type", "name", "distance", "orientation" ] }, "PlantPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/PlantPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "plant" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "collision_box": { "$ref": "#/definitions/BoundingBox" }, "collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "map_generator_bounding_box": { "$ref": "#/definitions/BoundingBox" }, "selection_box": { "$ref": "#/definitions/BoundingBox" }, "drawing_box_vertical_extension": { "$ref": "#/definitions/double" }, "sticker_box": { "$ref": "#/definitions/BoundingBox" }, "hit_visualization_box": { "$ref": "#/definitions/BoundingBox" }, "trigger_target_mask": { "$ref": "#/definitions/TriggerTargetMask" }, "flags": { "$ref": "#/definitions/EntityPrototypeFlags" }, "tile_buildability_rules": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileBuildabilityRule" } }, { "type": "object", "additionalProperties": false } ] }, "minable": { "$ref": "#/definitions/MinableProperties" }, "surface_conditions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SurfaceCondition" } }, { "type": "object", "additionalProperties": false } ] }, "deconstruction_alternative": { "$ref": "#/definitions/EntityID" }, "selection_priority": { "$ref": "#/definitions/uint8" }, "build_grid_size": { "$ref": "#/definitions/uint8" }, "remove_decoratives": { "anyOf": [ { "type": "string", "const": "automatic" }, { "type": "string", "const": "true" }, { "type": "string", "const": "false" } ] }, "emissions_per_second": { "type": "object", "additionalProperties": { "$ref": "#/definitions/double" }, "propertyNames": { "$ref": "#/definitions/AirbornePollutantID" } }, "shooting_cursor_size": { "$ref": "#/definitions/double" }, "created_smoke": { "$ref": "#/definitions/CreateTrivialSmokeEffectItem" }, "working_sound": { "$ref": "#/definitions/WorkingSound" }, "created_effect": { "$ref": "#/definitions/Trigger" }, "build_sound": { "$ref": "#/definitions/Sound" }, "mined_sound": { "$ref": "#/definitions/Sound" }, "mining_sound": { "$ref": "#/definitions/Sound" }, "rotated_sound": { "$ref": "#/definitions/Sound" }, "impact_category": { "$ref": "#/definitions/string" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "placeable_position_visualization": { "$ref": "#/definitions/Sprite" }, "radius_visualisation_specification": { "$ref": "#/definitions/RadiusVisualisationSpecification" }, "stateless_visualisation": { "$ref": "#/definitions/StatelessVisualisations" }, "build_base_evolution_requirement": { "$ref": "#/definitions/double" }, "alert_icon_shift": { "$ref": "#/definitions/Vector" }, "alert_icon_scale": { "$ref": "#/definitions/float" }, "fast_replaceable_group": { "$ref": "#/definitions/string" }, "next_upgrade": { "$ref": "#/definitions/EntityID" }, "protected_from_tile_building": { "$ref": "#/definitions/bool" }, "heating_energy": { "$ref": "#/definitions/Energy" }, "allow_copy_paste": { "$ref": "#/definitions/bool" }, "selectable_in_game": { "$ref": "#/definitions/bool" }, "placeable_by": { "anyOf": [ { "$ref": "#/definitions/ItemToPlace" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemToPlace" } }, { "type": "object", "additionalProperties": false } ] } ] }, "remains_when_mined": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "additional_pastable_entities": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] }, "tile_width": { "$ref": "#/definitions/int32" }, "tile_height": { "$ref": "#/definitions/int32" }, "diagonal_tile_grid_size": { "$ref": "#/definitions/TilePosition" }, "autoplace": { "$ref": "#/definitions/AutoplaceSpecification" }, "map_color": { "$ref": "#/definitions/Color" }, "friendly_map_color": { "$ref": "#/definitions/Color" }, "enemy_map_color": { "$ref": "#/definitions/Color" }, "water_reflection": { "$ref": "#/definitions/WaterReflectionDefinition" }, "ambient_sounds_group": { "$ref": "#/definitions/EntityID" }, "ambient_sounds": { "anyOf": [ { "$ref": "#/definitions/WorldAmbientSoundDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/WorldAmbientSoundDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "icon_draw_specification": { "$ref": "#/definitions/IconDrawSpecification" }, "icons_positioning": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconSequencePositioning" } }, { "type": "object", "additionalProperties": false } ] }, "max_health": { "$ref": "#/definitions/float" }, "healing_per_tick": { "$ref": "#/definitions/float" }, "repair_speed_modifier": { "$ref": "#/definitions/float" }, "dying_explosion": { "anyOf": [ { "$ref": "#/definitions/ExplosionDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ExplosionDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "dying_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "damaged_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "loot": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/LootItem" } }, { "type": "object", "additionalProperties": false } ] }, "resistances": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Resistance" } }, { "type": "object", "additionalProperties": false } ] }, "attack_reaction": { "anyOf": [ { "$ref": "#/definitions/AttackReactionItem" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/AttackReactionItem" } }, { "type": "object", "additionalProperties": false } ] } ] }, "repair_sound": { "$ref": "#/definitions/Sound" }, "alert_when_damaged": { "$ref": "#/definitions/bool" }, "hide_resistances": { "$ref": "#/definitions/bool" }, "create_ghost_on_death": { "$ref": "#/definitions/bool" }, "random_corpse_variation": { "$ref": "#/definitions/bool" }, "integration_patch_render_layer": { "$ref": "#/definitions/RenderLayer" }, "corpse": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "integration_patch": { "$ref": "#/definitions/Sprite4Way" }, "overkill_fraction": { "$ref": "#/definitions/float" }, "variation_weights": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/float" } }, { "type": "object", "additionalProperties": false } ] }, "darkness_of_burnt_tree": { "$ref": "#/definitions/float" }, "pictures": { "$ref": "#/definitions/SpriteVariations" }, "variations": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TreeVariation" } }, { "type": "object", "additionalProperties": false } ] }, "colors": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Color" } }, { "type": "object", "additionalProperties": false } ] }, "stateless_visualisation_variations": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/StatelessVisualisations" } }, { "type": "object", "additionalProperties": false } ] }, "growth_ticks": { "$ref": "#/definitions/MapTick" }, "harvest_emissions": { "type": "object", "additionalProperties": { "$ref": "#/definitions/double" }, "propertyNames": { "$ref": "#/definitions/AirbornePollutantID" } }, "agricultural_tower_tint": { "$ref": "#/definitions/RecipeTints" } }, "required": [ "type", "name", "growth_ticks" ] }, "PlayerDamagedAchievementPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/PlayerDamagedAchievementPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "player-damaged-achievement" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "steam_stats_name": { "$ref": "#/definitions/string" }, "allowed_without_fight": { "$ref": "#/definitions/bool" }, "minimum_damage": { "$ref": "#/definitions/float" }, "should_survive": { "$ref": "#/definitions/bool" }, "type_of_dealer": { "$ref": "#/definitions/string" } }, "required": [ "type", "name", "minimum_damage", "should_survive" ] }, "PlayerPortPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/PlayerPortPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "player-port" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "collision_box": { "$ref": "#/definitions/BoundingBox" }, "collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "map_generator_bounding_box": { "$ref": "#/definitions/BoundingBox" }, "selection_box": { "$ref": "#/definitions/BoundingBox" }, "drawing_box_vertical_extension": { "$ref": "#/definitions/double" }, "sticker_box": { "$ref": "#/definitions/BoundingBox" }, "hit_visualization_box": { "$ref": "#/definitions/BoundingBox" }, "trigger_target_mask": { "$ref": "#/definitions/TriggerTargetMask" }, "flags": { "$ref": "#/definitions/EntityPrototypeFlags" }, "tile_buildability_rules": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileBuildabilityRule" } }, { "type": "object", "additionalProperties": false } ] }, "minable": { "$ref": "#/definitions/MinableProperties" }, "surface_conditions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SurfaceCondition" } }, { "type": "object", "additionalProperties": false } ] }, "deconstruction_alternative": { "$ref": "#/definitions/EntityID" }, "selection_priority": { "$ref": "#/definitions/uint8" }, "build_grid_size": { "$ref": "#/definitions/uint8" }, "remove_decoratives": { "anyOf": [ { "type": "string", "const": "automatic" }, { "type": "string", "const": "true" }, { "type": "string", "const": "false" } ] }, "emissions_per_second": { "type": "object", "additionalProperties": { "$ref": "#/definitions/double" }, "propertyNames": { "$ref": "#/definitions/AirbornePollutantID" } }, "shooting_cursor_size": { "$ref": "#/definitions/double" }, "created_smoke": { "$ref": "#/definitions/CreateTrivialSmokeEffectItem" }, "working_sound": { "$ref": "#/definitions/WorkingSound" }, "created_effect": { "$ref": "#/definitions/Trigger" }, "build_sound": { "$ref": "#/definitions/Sound" }, "mined_sound": { "$ref": "#/definitions/Sound" }, "mining_sound": { "$ref": "#/definitions/Sound" }, "rotated_sound": { "$ref": "#/definitions/Sound" }, "impact_category": { "$ref": "#/definitions/string" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "placeable_position_visualization": { "$ref": "#/definitions/Sprite" }, "radius_visualisation_specification": { "$ref": "#/definitions/RadiusVisualisationSpecification" }, "stateless_visualisation": { "$ref": "#/definitions/StatelessVisualisations" }, "build_base_evolution_requirement": { "$ref": "#/definitions/double" }, "alert_icon_shift": { "$ref": "#/definitions/Vector" }, "alert_icon_scale": { "$ref": "#/definitions/float" }, "fast_replaceable_group": { "$ref": "#/definitions/string" }, "next_upgrade": { "$ref": "#/definitions/EntityID" }, "protected_from_tile_building": { "$ref": "#/definitions/bool" }, "heating_energy": { "$ref": "#/definitions/Energy" }, "allow_copy_paste": { "$ref": "#/definitions/bool" }, "selectable_in_game": { "$ref": "#/definitions/bool" }, "placeable_by": { "anyOf": [ { "$ref": "#/definitions/ItemToPlace" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemToPlace" } }, { "type": "object", "additionalProperties": false } ] } ] }, "remains_when_mined": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "additional_pastable_entities": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] }, "tile_width": { "$ref": "#/definitions/int32" }, "tile_height": { "$ref": "#/definitions/int32" }, "diagonal_tile_grid_size": { "$ref": "#/definitions/TilePosition" }, "autoplace": { "$ref": "#/definitions/AutoplaceSpecification" }, "map_color": { "$ref": "#/definitions/Color" }, "friendly_map_color": { "$ref": "#/definitions/Color" }, "enemy_map_color": { "$ref": "#/definitions/Color" }, "water_reflection": { "$ref": "#/definitions/WaterReflectionDefinition" }, "ambient_sounds_group": { "$ref": "#/definitions/EntityID" }, "ambient_sounds": { "anyOf": [ { "$ref": "#/definitions/WorldAmbientSoundDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/WorldAmbientSoundDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "icon_draw_specification": { "$ref": "#/definitions/IconDrawSpecification" }, "icons_positioning": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconSequencePositioning" } }, { "type": "object", "additionalProperties": false } ] }, "max_health": { "$ref": "#/definitions/float" }, "healing_per_tick": { "$ref": "#/definitions/float" }, "repair_speed_modifier": { "$ref": "#/definitions/float" }, "dying_explosion": { "anyOf": [ { "$ref": "#/definitions/ExplosionDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ExplosionDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "dying_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "damaged_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "loot": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/LootItem" } }, { "type": "object", "additionalProperties": false } ] }, "resistances": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Resistance" } }, { "type": "object", "additionalProperties": false } ] }, "attack_reaction": { "anyOf": [ { "$ref": "#/definitions/AttackReactionItem" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/AttackReactionItem" } }, { "type": "object", "additionalProperties": false } ] } ] }, "repair_sound": { "$ref": "#/definitions/Sound" }, "alert_when_damaged": { "$ref": "#/definitions/bool" }, "hide_resistances": { "$ref": "#/definitions/bool" }, "create_ghost_on_death": { "$ref": "#/definitions/bool" }, "random_corpse_variation": { "$ref": "#/definitions/bool" }, "integration_patch_render_layer": { "$ref": "#/definitions/RenderLayer" }, "corpse": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "integration_patch": { "$ref": "#/definitions/Sprite4Way" }, "overkill_fraction": { "$ref": "#/definitions/float" }, "is_military_target": { "$ref": "#/definitions/bool" }, "allow_run_time_change_of_is_military_target": { "$ref": "#/definitions/bool" }, "quality_indicator_scale": { "$ref": "#/definitions/double" } }, "required": [ "type", "name" ] }, "PowerSwitchPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/PowerSwitchPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "power-switch" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "collision_box": { "$ref": "#/definitions/BoundingBox" }, "collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "map_generator_bounding_box": { "$ref": "#/definitions/BoundingBox" }, "selection_box": { "$ref": "#/definitions/BoundingBox" }, "drawing_box_vertical_extension": { "$ref": "#/definitions/double" }, "sticker_box": { "$ref": "#/definitions/BoundingBox" }, "hit_visualization_box": { "$ref": "#/definitions/BoundingBox" }, "trigger_target_mask": { "$ref": "#/definitions/TriggerTargetMask" }, "flags": { "$ref": "#/definitions/EntityPrototypeFlags" }, "tile_buildability_rules": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileBuildabilityRule" } }, { "type": "object", "additionalProperties": false } ] }, "minable": { "$ref": "#/definitions/MinableProperties" }, "surface_conditions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SurfaceCondition" } }, { "type": "object", "additionalProperties": false } ] }, "deconstruction_alternative": { "$ref": "#/definitions/EntityID" }, "selection_priority": { "$ref": "#/definitions/uint8" }, "build_grid_size": { "$ref": "#/definitions/uint8" }, "remove_decoratives": { "anyOf": [ { "type": "string", "const": "automatic" }, { "type": "string", "const": "true" }, { "type": "string", "const": "false" } ] }, "emissions_per_second": { "type": "object", "additionalProperties": { "$ref": "#/definitions/double" }, "propertyNames": { "$ref": "#/definitions/AirbornePollutantID" } }, "shooting_cursor_size": { "$ref": "#/definitions/double" }, "created_smoke": { "$ref": "#/definitions/CreateTrivialSmokeEffectItem" }, "working_sound": { "$ref": "#/definitions/WorkingSound" }, "created_effect": { "$ref": "#/definitions/Trigger" }, "build_sound": { "$ref": "#/definitions/Sound" }, "mined_sound": { "$ref": "#/definitions/Sound" }, "mining_sound": { "$ref": "#/definitions/Sound" }, "rotated_sound": { "$ref": "#/definitions/Sound" }, "impact_category": { "$ref": "#/definitions/string" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "placeable_position_visualization": { "$ref": "#/definitions/Sprite" }, "radius_visualisation_specification": { "$ref": "#/definitions/RadiusVisualisationSpecification" }, "stateless_visualisation": { "$ref": "#/definitions/StatelessVisualisations" }, "build_base_evolution_requirement": { "$ref": "#/definitions/double" }, "alert_icon_shift": { "$ref": "#/definitions/Vector" }, "alert_icon_scale": { "$ref": "#/definitions/float" }, "fast_replaceable_group": { "$ref": "#/definitions/string" }, "next_upgrade": { "$ref": "#/definitions/EntityID" }, "protected_from_tile_building": { "$ref": "#/definitions/bool" }, "heating_energy": { "$ref": "#/definitions/Energy" }, "allow_copy_paste": { "$ref": "#/definitions/bool" }, "selectable_in_game": { "$ref": "#/definitions/bool" }, "placeable_by": { "anyOf": [ { "$ref": "#/definitions/ItemToPlace" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemToPlace" } }, { "type": "object", "additionalProperties": false } ] } ] }, "remains_when_mined": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "additional_pastable_entities": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] }, "tile_width": { "$ref": "#/definitions/int32" }, "tile_height": { "$ref": "#/definitions/int32" }, "diagonal_tile_grid_size": { "$ref": "#/definitions/TilePosition" }, "autoplace": { "$ref": "#/definitions/AutoplaceSpecification" }, "map_color": { "$ref": "#/definitions/Color" }, "friendly_map_color": { "$ref": "#/definitions/Color" }, "enemy_map_color": { "$ref": "#/definitions/Color" }, "water_reflection": { "$ref": "#/definitions/WaterReflectionDefinition" }, "ambient_sounds_group": { "$ref": "#/definitions/EntityID" }, "ambient_sounds": { "anyOf": [ { "$ref": "#/definitions/WorldAmbientSoundDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/WorldAmbientSoundDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "icon_draw_specification": { "$ref": "#/definitions/IconDrawSpecification" }, "icons_positioning": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconSequencePositioning" } }, { "type": "object", "additionalProperties": false } ] }, "max_health": { "$ref": "#/definitions/float" }, "healing_per_tick": { "$ref": "#/definitions/float" }, "repair_speed_modifier": { "$ref": "#/definitions/float" }, "dying_explosion": { "anyOf": [ { "$ref": "#/definitions/ExplosionDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ExplosionDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "dying_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "damaged_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "loot": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/LootItem" } }, { "type": "object", "additionalProperties": false } ] }, "resistances": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Resistance" } }, { "type": "object", "additionalProperties": false } ] }, "attack_reaction": { "anyOf": [ { "$ref": "#/definitions/AttackReactionItem" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/AttackReactionItem" } }, { "type": "object", "additionalProperties": false } ] } ] }, "repair_sound": { "$ref": "#/definitions/Sound" }, "alert_when_damaged": { "$ref": "#/definitions/bool" }, "hide_resistances": { "$ref": "#/definitions/bool" }, "create_ghost_on_death": { "$ref": "#/definitions/bool" }, "random_corpse_variation": { "$ref": "#/definitions/bool" }, "integration_patch_render_layer": { "$ref": "#/definitions/RenderLayer" }, "corpse": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "integration_patch": { "$ref": "#/definitions/Sprite4Way" }, "overkill_fraction": { "$ref": "#/definitions/float" }, "is_military_target": { "$ref": "#/definitions/bool" }, "allow_run_time_change_of_is_military_target": { "$ref": "#/definitions/bool" }, "quality_indicator_scale": { "$ref": "#/definitions/double" }, "power_on_animation": { "$ref": "#/definitions/Animation" }, "overlay_start": { "$ref": "#/definitions/Animation" }, "overlay_loop": { "$ref": "#/definitions/Animation" }, "led_on": { "$ref": "#/definitions/Sprite" }, "led_off": { "$ref": "#/definitions/Sprite" }, "frozen_patch": { "$ref": "#/definitions/Sprite" }, "overlay_start_delay": { "$ref": "#/definitions/uint8" }, "circuit_wire_connection_point": { "$ref": "#/definitions/WireConnectionPoint" }, "left_wire_connection_point": { "$ref": "#/definitions/WireConnectionPoint" }, "right_wire_connection_point": { "$ref": "#/definitions/WireConnectionPoint" }, "wire_max_distance": { "$ref": "#/definitions/double" }, "draw_copper_wires": { "$ref": "#/definitions/bool" }, "draw_circuit_wires": { "$ref": "#/definitions/bool" } }, "required": [ "type", "name", "overlay_start_delay", "circuit_wire_connection_point", "left_wire_connection_point", "right_wire_connection_point" ] }, "ProcessionLayerInheritanceGroup": { "description": "https://lua-api.factorio.com/stable/prototypes/ProcessionLayerInheritanceGroup.html", "type": "object", "properties": { "type": { "type": "string", "const": "procession-layer-inheritance-group" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "intermezzo_application": { "$ref": "#/definitions/TransitionApplication" }, "arrival_application": { "$ref": "#/definitions/TransitionApplication" } }, "required": [ "type", "name" ] }, "ProcessionPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/ProcessionPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "procession" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "timeline": { "$ref": "#/definitions/ProcessionTimeline" }, "ground_timeline": { "$ref": "#/definitions/ProcessionTimeline" }, "usage": { "anyOf": [ { "type": "string", "const": "departure" }, { "type": "string", "const": "arrival" }, { "type": "string", "const": "intermezzo" } ] }, "procession_style": { "anyOf": [ { "$ref": "#/definitions/uint32" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/uint32" } }, { "type": "object", "additionalProperties": false } ] } ] } }, "required": [ "type", "name", "timeline", "usage", "procession_style" ] }, "ProduceAchievementPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/ProduceAchievementPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "produce-achievement" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "steam_stats_name": { "$ref": "#/definitions/string" }, "allowed_without_fight": { "$ref": "#/definitions/bool" }, "amount": { "$ref": "#/definitions/MaterialAmountType" }, "limited_to_one_game": { "$ref": "#/definitions/bool" }, "item_product": { "$ref": "#/definitions/ItemIDFilter" }, "fluid_product": { "$ref": "#/definitions/FluidID" } }, "required": [ "type", "name", "amount", "limited_to_one_game" ] }, "ProducePerHourAchievementPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/ProducePerHourAchievementPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "produce-per-hour-achievement" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "steam_stats_name": { "$ref": "#/definitions/string" }, "allowed_without_fight": { "$ref": "#/definitions/bool" }, "amount": { "$ref": "#/definitions/MaterialAmountType" }, "item_product": { "$ref": "#/definitions/ItemIDFilter" }, "fluid_product": { "$ref": "#/definitions/FluidID" } }, "required": [ "type", "name", "amount" ] }, "ProgrammableSpeakerPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/ProgrammableSpeakerPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "programmable-speaker" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "collision_box": { "$ref": "#/definitions/BoundingBox" }, "collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "map_generator_bounding_box": { "$ref": "#/definitions/BoundingBox" }, "selection_box": { "$ref": "#/definitions/BoundingBox" }, "drawing_box_vertical_extension": { "$ref": "#/definitions/double" }, "sticker_box": { "$ref": "#/definitions/BoundingBox" }, "hit_visualization_box": { "$ref": "#/definitions/BoundingBox" }, "trigger_target_mask": { "$ref": "#/definitions/TriggerTargetMask" }, "flags": { "$ref": "#/definitions/EntityPrototypeFlags" }, "tile_buildability_rules": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileBuildabilityRule" } }, { "type": "object", "additionalProperties": false } ] }, "minable": { "$ref": "#/definitions/MinableProperties" }, "surface_conditions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SurfaceCondition" } }, { "type": "object", "additionalProperties": false } ] }, "deconstruction_alternative": { "$ref": "#/definitions/EntityID" }, "selection_priority": { "$ref": "#/definitions/uint8" }, "build_grid_size": { "$ref": "#/definitions/uint8" }, "remove_decoratives": { "anyOf": [ { "type": "string", "const": "automatic" }, { "type": "string", "const": "true" }, { "type": "string", "const": "false" } ] }, "emissions_per_second": { "type": "object", "additionalProperties": { "$ref": "#/definitions/double" }, "propertyNames": { "$ref": "#/definitions/AirbornePollutantID" } }, "shooting_cursor_size": { "$ref": "#/definitions/double" }, "created_smoke": { "$ref": "#/definitions/CreateTrivialSmokeEffectItem" }, "working_sound": { "$ref": "#/definitions/WorkingSound" }, "created_effect": { "$ref": "#/definitions/Trigger" }, "build_sound": { "$ref": "#/definitions/Sound" }, "mined_sound": { "$ref": "#/definitions/Sound" }, "mining_sound": { "$ref": "#/definitions/Sound" }, "rotated_sound": { "$ref": "#/definitions/Sound" }, "impact_category": { "$ref": "#/definitions/string" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "placeable_position_visualization": { "$ref": "#/definitions/Sprite" }, "radius_visualisation_specification": { "$ref": "#/definitions/RadiusVisualisationSpecification" }, "stateless_visualisation": { "$ref": "#/definitions/StatelessVisualisations" }, "build_base_evolution_requirement": { "$ref": "#/definitions/double" }, "alert_icon_shift": { "$ref": "#/definitions/Vector" }, "alert_icon_scale": { "$ref": "#/definitions/float" }, "fast_replaceable_group": { "$ref": "#/definitions/string" }, "next_upgrade": { "$ref": "#/definitions/EntityID" }, "protected_from_tile_building": { "$ref": "#/definitions/bool" }, "heating_energy": { "$ref": "#/definitions/Energy" }, "allow_copy_paste": { "$ref": "#/definitions/bool" }, "selectable_in_game": { "$ref": "#/definitions/bool" }, "placeable_by": { "anyOf": [ { "$ref": "#/definitions/ItemToPlace" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemToPlace" } }, { "type": "object", "additionalProperties": false } ] } ] }, "remains_when_mined": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "additional_pastable_entities": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] }, "tile_width": { "$ref": "#/definitions/int32" }, "tile_height": { "$ref": "#/definitions/int32" }, "diagonal_tile_grid_size": { "$ref": "#/definitions/TilePosition" }, "autoplace": { "$ref": "#/definitions/AutoplaceSpecification" }, "map_color": { "$ref": "#/definitions/Color" }, "friendly_map_color": { "$ref": "#/definitions/Color" }, "enemy_map_color": { "$ref": "#/definitions/Color" }, "water_reflection": { "$ref": "#/definitions/WaterReflectionDefinition" }, "ambient_sounds_group": { "$ref": "#/definitions/EntityID" }, "ambient_sounds": { "anyOf": [ { "$ref": "#/definitions/WorldAmbientSoundDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/WorldAmbientSoundDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "icon_draw_specification": { "$ref": "#/definitions/IconDrawSpecification" }, "icons_positioning": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconSequencePositioning" } }, { "type": "object", "additionalProperties": false } ] }, "max_health": { "$ref": "#/definitions/float" }, "healing_per_tick": { "$ref": "#/definitions/float" }, "repair_speed_modifier": { "$ref": "#/definitions/float" }, "dying_explosion": { "anyOf": [ { "$ref": "#/definitions/ExplosionDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ExplosionDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "dying_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "damaged_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "loot": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/LootItem" } }, { "type": "object", "additionalProperties": false } ] }, "resistances": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Resistance" } }, { "type": "object", "additionalProperties": false } ] }, "attack_reaction": { "anyOf": [ { "$ref": "#/definitions/AttackReactionItem" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/AttackReactionItem" } }, { "type": "object", "additionalProperties": false } ] } ] }, "repair_sound": { "$ref": "#/definitions/Sound" }, "alert_when_damaged": { "$ref": "#/definitions/bool" }, "hide_resistances": { "$ref": "#/definitions/bool" }, "create_ghost_on_death": { "$ref": "#/definitions/bool" }, "random_corpse_variation": { "$ref": "#/definitions/bool" }, "integration_patch_render_layer": { "$ref": "#/definitions/RenderLayer" }, "corpse": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "integration_patch": { "$ref": "#/definitions/Sprite4Way" }, "overkill_fraction": { "$ref": "#/definitions/float" }, "is_military_target": { "$ref": "#/definitions/bool" }, "allow_run_time_change_of_is_military_target": { "$ref": "#/definitions/bool" }, "quality_indicator_scale": { "$ref": "#/definitions/double" }, "energy_source": { "anyOf": [ { "$ref": "#/definitions/ElectricEnergySource" }, { "$ref": "#/definitions/VoidEnergySource" } ] }, "energy_usage_per_tick": { "$ref": "#/definitions/Energy" }, "sprite": { "$ref": "#/definitions/Sprite" }, "maximum_polyphony": { "$ref": "#/definitions/uint32" }, "instruments": { "oneOf": [ { "type": "array", "items": { "type": "object", "properties": { "name": { "$ref": "#/definitions/string" }, "notes": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ProgrammableSpeakerNote" } }, { "type": "object", "additionalProperties": false } ] } }, "required": [ "name", "notes" ] } }, { "type": "object", "additionalProperties": false } ] }, "audible_distance_modifier": { "$ref": "#/definitions/float" }, "circuit_wire_max_distance": { "$ref": "#/definitions/double" }, "draw_copper_wires": { "$ref": "#/definitions/bool" }, "draw_circuit_wires": { "$ref": "#/definitions/bool" }, "circuit_connector": { "$ref": "#/definitions/CircuitConnectorDefinition" } }, "required": [ "type", "name", "energy_source", "energy_usage_per_tick", "maximum_polyphony", "instruments" ] }, "ProjectilePrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/ProjectilePrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "projectile" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "collision_box": { "$ref": "#/definitions/BoundingBox" }, "collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "map_generator_bounding_box": { "$ref": "#/definitions/BoundingBox" }, "selection_box": { "$ref": "#/definitions/BoundingBox" }, "drawing_box_vertical_extension": { "$ref": "#/definitions/double" }, "sticker_box": { "$ref": "#/definitions/BoundingBox" }, "hit_visualization_box": { "$ref": "#/definitions/BoundingBox" }, "trigger_target_mask": { "$ref": "#/definitions/TriggerTargetMask" }, "flags": { "$ref": "#/definitions/EntityPrototypeFlags" }, "tile_buildability_rules": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileBuildabilityRule" } }, { "type": "object", "additionalProperties": false } ] }, "minable": { "$ref": "#/definitions/MinableProperties" }, "surface_conditions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SurfaceCondition" } }, { "type": "object", "additionalProperties": false } ] }, "deconstruction_alternative": { "$ref": "#/definitions/EntityID" }, "selection_priority": { "$ref": "#/definitions/uint8" }, "build_grid_size": { "$ref": "#/definitions/uint8" }, "remove_decoratives": { "anyOf": [ { "type": "string", "const": "automatic" }, { "type": "string", "const": "true" }, { "type": "string", "const": "false" } ] }, "emissions_per_second": { "type": "object", "additionalProperties": { "$ref": "#/definitions/double" }, "propertyNames": { "$ref": "#/definitions/AirbornePollutantID" } }, "shooting_cursor_size": { "$ref": "#/definitions/double" }, "created_smoke": { "$ref": "#/definitions/CreateTrivialSmokeEffectItem" }, "working_sound": { "$ref": "#/definitions/WorkingSound" }, "created_effect": { "$ref": "#/definitions/Trigger" }, "build_sound": { "$ref": "#/definitions/Sound" }, "mined_sound": { "$ref": "#/definitions/Sound" }, "mining_sound": { "$ref": "#/definitions/Sound" }, "rotated_sound": { "$ref": "#/definitions/Sound" }, "impact_category": { "$ref": "#/definitions/string" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "placeable_position_visualization": { "$ref": "#/definitions/Sprite" }, "radius_visualisation_specification": { "$ref": "#/definitions/RadiusVisualisationSpecification" }, "stateless_visualisation": { "$ref": "#/definitions/StatelessVisualisations" }, "build_base_evolution_requirement": { "$ref": "#/definitions/double" }, "alert_icon_shift": { "$ref": "#/definitions/Vector" }, "alert_icon_scale": { "$ref": "#/definitions/float" }, "fast_replaceable_group": { "$ref": "#/definitions/string" }, "next_upgrade": { "$ref": "#/definitions/EntityID" }, "protected_from_tile_building": { "$ref": "#/definitions/bool" }, "heating_energy": { "$ref": "#/definitions/Energy" }, "allow_copy_paste": { "$ref": "#/definitions/bool" }, "selectable_in_game": { "$ref": "#/definitions/bool" }, "placeable_by": { "anyOf": [ { "$ref": "#/definitions/ItemToPlace" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemToPlace" } }, { "type": "object", "additionalProperties": false } ] } ] }, "remains_when_mined": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "additional_pastable_entities": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] }, "tile_width": { "$ref": "#/definitions/int32" }, "tile_height": { "$ref": "#/definitions/int32" }, "diagonal_tile_grid_size": { "$ref": "#/definitions/TilePosition" }, "autoplace": { "$ref": "#/definitions/AutoplaceSpecification" }, "map_color": { "$ref": "#/definitions/Color" }, "friendly_map_color": { "$ref": "#/definitions/Color" }, "enemy_map_color": { "$ref": "#/definitions/Color" }, "water_reflection": { "$ref": "#/definitions/WaterReflectionDefinition" }, "ambient_sounds_group": { "$ref": "#/definitions/EntityID" }, "ambient_sounds": { "anyOf": [ { "$ref": "#/definitions/WorldAmbientSoundDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/WorldAmbientSoundDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "icon_draw_specification": { "$ref": "#/definitions/IconDrawSpecification" }, "icons_positioning": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconSequencePositioning" } }, { "type": "object", "additionalProperties": false } ] }, "acceleration": { "$ref": "#/definitions/double" }, "animation": { "$ref": "#/definitions/RotatedAnimationVariations" }, "rotatable": { "$ref": "#/definitions/bool" }, "enable_drawing_with_mask": { "$ref": "#/definitions/bool" }, "direction_only": { "$ref": "#/definitions/bool" }, "hit_at_collision_position": { "$ref": "#/definitions/bool" }, "force_condition": { "$ref": "#/definitions/ForceCondition" }, "piercing_damage": { "$ref": "#/definitions/float" }, "max_speed": { "$ref": "#/definitions/double" }, "turn_speed": { "$ref": "#/definitions/float" }, "speed_modifier": { "$ref": "#/definitions/Vector" }, "height": { "$ref": "#/definitions/double" }, "action": { "$ref": "#/definitions/Trigger" }, "final_action": { "$ref": "#/definitions/Trigger" }, "light": { "$ref": "#/definitions/LightDefinition" }, "smoke": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SmokeSource" } }, { "type": "object", "additionalProperties": false } ] }, "hit_collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "turning_speed_increases_exponentially_with_projectile_speed": { "$ref": "#/definitions/bool" }, "shadow": { "$ref": "#/definitions/RotatedAnimationVariations" } }, "required": [ "type", "name", "acceleration" ] }, "PumpPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/PumpPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "pump" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "collision_box": { "$ref": "#/definitions/BoundingBox" }, "collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "map_generator_bounding_box": { "$ref": "#/definitions/BoundingBox" }, "selection_box": { "$ref": "#/definitions/BoundingBox" }, "drawing_box_vertical_extension": { "$ref": "#/definitions/double" }, "sticker_box": { "$ref": "#/definitions/BoundingBox" }, "hit_visualization_box": { "$ref": "#/definitions/BoundingBox" }, "trigger_target_mask": { "$ref": "#/definitions/TriggerTargetMask" }, "flags": { "$ref": "#/definitions/EntityPrototypeFlags" }, "tile_buildability_rules": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileBuildabilityRule" } }, { "type": "object", "additionalProperties": false } ] }, "minable": { "$ref": "#/definitions/MinableProperties" }, "surface_conditions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SurfaceCondition" } }, { "type": "object", "additionalProperties": false } ] }, "deconstruction_alternative": { "$ref": "#/definitions/EntityID" }, "selection_priority": { "$ref": "#/definitions/uint8" }, "build_grid_size": { "$ref": "#/definitions/uint8" }, "remove_decoratives": { "anyOf": [ { "type": "string", "const": "automatic" }, { "type": "string", "const": "true" }, { "type": "string", "const": "false" } ] }, "emissions_per_second": { "type": "object", "additionalProperties": { "$ref": "#/definitions/double" }, "propertyNames": { "$ref": "#/definitions/AirbornePollutantID" } }, "shooting_cursor_size": { "$ref": "#/definitions/double" }, "created_smoke": { "$ref": "#/definitions/CreateTrivialSmokeEffectItem" }, "working_sound": { "$ref": "#/definitions/WorkingSound" }, "created_effect": { "$ref": "#/definitions/Trigger" }, "build_sound": { "$ref": "#/definitions/Sound" }, "mined_sound": { "$ref": "#/definitions/Sound" }, "mining_sound": { "$ref": "#/definitions/Sound" }, "rotated_sound": { "$ref": "#/definitions/Sound" }, "impact_category": { "$ref": "#/definitions/string" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "placeable_position_visualization": { "$ref": "#/definitions/Sprite" }, "radius_visualisation_specification": { "$ref": "#/definitions/RadiusVisualisationSpecification" }, "stateless_visualisation": { "$ref": "#/definitions/StatelessVisualisations" }, "build_base_evolution_requirement": { "$ref": "#/definitions/double" }, "alert_icon_shift": { "$ref": "#/definitions/Vector" }, "alert_icon_scale": { "$ref": "#/definitions/float" }, "fast_replaceable_group": { "$ref": "#/definitions/string" }, "next_upgrade": { "$ref": "#/definitions/EntityID" }, "protected_from_tile_building": { "$ref": "#/definitions/bool" }, "heating_energy": { "$ref": "#/definitions/Energy" }, "allow_copy_paste": { "$ref": "#/definitions/bool" }, "selectable_in_game": { "$ref": "#/definitions/bool" }, "placeable_by": { "anyOf": [ { "$ref": "#/definitions/ItemToPlace" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemToPlace" } }, { "type": "object", "additionalProperties": false } ] } ] }, "remains_when_mined": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "additional_pastable_entities": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] }, "tile_width": { "$ref": "#/definitions/int32" }, "tile_height": { "$ref": "#/definitions/int32" }, "diagonal_tile_grid_size": { "$ref": "#/definitions/TilePosition" }, "autoplace": { "$ref": "#/definitions/AutoplaceSpecification" }, "map_color": { "$ref": "#/definitions/Color" }, "friendly_map_color": { "$ref": "#/definitions/Color" }, "enemy_map_color": { "$ref": "#/definitions/Color" }, "water_reflection": { "$ref": "#/definitions/WaterReflectionDefinition" }, "ambient_sounds_group": { "$ref": "#/definitions/EntityID" }, "ambient_sounds": { "anyOf": [ { "$ref": "#/definitions/WorldAmbientSoundDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/WorldAmbientSoundDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "icon_draw_specification": { "$ref": "#/definitions/IconDrawSpecification" }, "icons_positioning": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconSequencePositioning" } }, { "type": "object", "additionalProperties": false } ] }, "max_health": { "$ref": "#/definitions/float" }, "healing_per_tick": { "$ref": "#/definitions/float" }, "repair_speed_modifier": { "$ref": "#/definitions/float" }, "dying_explosion": { "anyOf": [ { "$ref": "#/definitions/ExplosionDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ExplosionDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "dying_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "damaged_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "loot": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/LootItem" } }, { "type": "object", "additionalProperties": false } ] }, "resistances": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Resistance" } }, { "type": "object", "additionalProperties": false } ] }, "attack_reaction": { "anyOf": [ { "$ref": "#/definitions/AttackReactionItem" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/AttackReactionItem" } }, { "type": "object", "additionalProperties": false } ] } ] }, "repair_sound": { "$ref": "#/definitions/Sound" }, "alert_when_damaged": { "$ref": "#/definitions/bool" }, "hide_resistances": { "$ref": "#/definitions/bool" }, "create_ghost_on_death": { "$ref": "#/definitions/bool" }, "random_corpse_variation": { "$ref": "#/definitions/bool" }, "integration_patch_render_layer": { "$ref": "#/definitions/RenderLayer" }, "corpse": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "integration_patch": { "$ref": "#/definitions/Sprite4Way" }, "overkill_fraction": { "$ref": "#/definitions/float" }, "is_military_target": { "$ref": "#/definitions/bool" }, "allow_run_time_change_of_is_military_target": { "$ref": "#/definitions/bool" }, "quality_indicator_scale": { "$ref": "#/definitions/double" }, "fluid_box": { "$ref": "#/definitions/FluidBox" }, "energy_source": { "$ref": "#/definitions/EnergySource" }, "energy_usage": { "$ref": "#/definitions/Energy" }, "pumping_speed": { "$ref": "#/definitions/FluidAmount" }, "animations": { "$ref": "#/definitions/Animation4Way" }, "fluid_wagon_connector_speed": { "$ref": "#/definitions/double" }, "fluid_wagon_connector_alignment_tolerance": { "$ref": "#/definitions/double" }, "fluid_wagon_connector_frame_count": { "$ref": "#/definitions/uint8" }, "fluid_animation": { "$ref": "#/definitions/Animation4Way" }, "glass_pictures": { "$ref": "#/definitions/Sprite4Way" }, "frozen_patch": { "$ref": "#/definitions/Sprite4Way" }, "circuit_wire_max_distance": { "$ref": "#/definitions/double" }, "draw_copper_wires": { "$ref": "#/definitions/bool" }, "draw_circuit_wires": { "$ref": "#/definitions/bool" }, "circuit_connector": { "type": "array", "items": [ { "$ref": "#/definitions/CircuitConnectorDefinition" }, { "$ref": "#/definitions/CircuitConnectorDefinition" }, { "$ref": "#/definitions/CircuitConnectorDefinition" }, { "$ref": "#/definitions/CircuitConnectorDefinition" } ], "minItems": 4, "maxItems": 4 }, "fluid_wagon_connector_graphics": { "type": "object", "properties": { "load_animations": { "$ref": "#/definitions/PumpConnectorGraphics" }, "unload_animations": { "$ref": "#/definitions/PumpConnectorGraphics" } }, "required": [ "load_animations", "unload_animations" ] } }, "required": [ "type", "name", "fluid_box", "energy_source", "energy_usage", "pumping_speed" ] }, "QualityPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/QualityPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "quality" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "draw_sprite_by_default": { "$ref": "#/definitions/bool" }, "color": { "$ref": "#/definitions/Color" }, "level": { "$ref": "#/definitions/uint32" }, "next": { "$ref": "#/definitions/QualityID" }, "next_probability": { "$ref": "#/definitions/double" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "beacon_power_usage_multiplier": { "$ref": "#/definitions/float" }, "mining_drill_resource_drain_multiplier": { "$ref": "#/definitions/float" }, "science_pack_drain_multiplier": { "$ref": "#/definitions/float" } }, "required": [ "type", "name", "color", "level" ] }, "RadarPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/RadarPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "radar" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "collision_box": { "$ref": "#/definitions/BoundingBox" }, "collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "map_generator_bounding_box": { "$ref": "#/definitions/BoundingBox" }, "selection_box": { "$ref": "#/definitions/BoundingBox" }, "drawing_box_vertical_extension": { "$ref": "#/definitions/double" }, "sticker_box": { "$ref": "#/definitions/BoundingBox" }, "hit_visualization_box": { "$ref": "#/definitions/BoundingBox" }, "trigger_target_mask": { "$ref": "#/definitions/TriggerTargetMask" }, "flags": { "$ref": "#/definitions/EntityPrototypeFlags" }, "tile_buildability_rules": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileBuildabilityRule" } }, { "type": "object", "additionalProperties": false } ] }, "minable": { "$ref": "#/definitions/MinableProperties" }, "surface_conditions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SurfaceCondition" } }, { "type": "object", "additionalProperties": false } ] }, "deconstruction_alternative": { "$ref": "#/definitions/EntityID" }, "selection_priority": { "$ref": "#/definitions/uint8" }, "build_grid_size": { "$ref": "#/definitions/uint8" }, "remove_decoratives": { "anyOf": [ { "type": "string", "const": "automatic" }, { "type": "string", "const": "true" }, { "type": "string", "const": "false" } ] }, "emissions_per_second": { "type": "object", "additionalProperties": { "$ref": "#/definitions/double" }, "propertyNames": { "$ref": "#/definitions/AirbornePollutantID" } }, "shooting_cursor_size": { "$ref": "#/definitions/double" }, "created_smoke": { "$ref": "#/definitions/CreateTrivialSmokeEffectItem" }, "working_sound": { "$ref": "#/definitions/WorkingSound" }, "created_effect": { "$ref": "#/definitions/Trigger" }, "build_sound": { "$ref": "#/definitions/Sound" }, "mined_sound": { "$ref": "#/definitions/Sound" }, "mining_sound": { "$ref": "#/definitions/Sound" }, "rotated_sound": { "$ref": "#/definitions/Sound" }, "impact_category": { "$ref": "#/definitions/string" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "placeable_position_visualization": { "$ref": "#/definitions/Sprite" }, "radius_visualisation_specification": { "$ref": "#/definitions/RadiusVisualisationSpecification" }, "stateless_visualisation": { "$ref": "#/definitions/StatelessVisualisations" }, "build_base_evolution_requirement": { "$ref": "#/definitions/double" }, "alert_icon_shift": { "$ref": "#/definitions/Vector" }, "alert_icon_scale": { "$ref": "#/definitions/float" }, "fast_replaceable_group": { "$ref": "#/definitions/string" }, "next_upgrade": { "$ref": "#/definitions/EntityID" }, "protected_from_tile_building": { "$ref": "#/definitions/bool" }, "heating_energy": { "$ref": "#/definitions/Energy" }, "allow_copy_paste": { "$ref": "#/definitions/bool" }, "selectable_in_game": { "$ref": "#/definitions/bool" }, "placeable_by": { "anyOf": [ { "$ref": "#/definitions/ItemToPlace" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemToPlace" } }, { "type": "object", "additionalProperties": false } ] } ] }, "remains_when_mined": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "additional_pastable_entities": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] }, "tile_width": { "$ref": "#/definitions/int32" }, "tile_height": { "$ref": "#/definitions/int32" }, "diagonal_tile_grid_size": { "$ref": "#/definitions/TilePosition" }, "autoplace": { "$ref": "#/definitions/AutoplaceSpecification" }, "map_color": { "$ref": "#/definitions/Color" }, "friendly_map_color": { "$ref": "#/definitions/Color" }, "enemy_map_color": { "$ref": "#/definitions/Color" }, "water_reflection": { "$ref": "#/definitions/WaterReflectionDefinition" }, "ambient_sounds_group": { "$ref": "#/definitions/EntityID" }, "ambient_sounds": { "anyOf": [ { "$ref": "#/definitions/WorldAmbientSoundDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/WorldAmbientSoundDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "icon_draw_specification": { "$ref": "#/definitions/IconDrawSpecification" }, "icons_positioning": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconSequencePositioning" } }, { "type": "object", "additionalProperties": false } ] }, "max_health": { "$ref": "#/definitions/float" }, "healing_per_tick": { "$ref": "#/definitions/float" }, "repair_speed_modifier": { "$ref": "#/definitions/float" }, "dying_explosion": { "anyOf": [ { "$ref": "#/definitions/ExplosionDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ExplosionDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "dying_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "damaged_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "loot": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/LootItem" } }, { "type": "object", "additionalProperties": false } ] }, "resistances": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Resistance" } }, { "type": "object", "additionalProperties": false } ] }, "attack_reaction": { "anyOf": [ { "$ref": "#/definitions/AttackReactionItem" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/AttackReactionItem" } }, { "type": "object", "additionalProperties": false } ] } ] }, "repair_sound": { "$ref": "#/definitions/Sound" }, "alert_when_damaged": { "$ref": "#/definitions/bool" }, "hide_resistances": { "$ref": "#/definitions/bool" }, "create_ghost_on_death": { "$ref": "#/definitions/bool" }, "random_corpse_variation": { "$ref": "#/definitions/bool" }, "integration_patch_render_layer": { "$ref": "#/definitions/RenderLayer" }, "corpse": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "integration_patch": { "$ref": "#/definitions/Sprite4Way" }, "overkill_fraction": { "$ref": "#/definitions/float" }, "is_military_target": { "$ref": "#/definitions/bool" }, "allow_run_time_change_of_is_military_target": { "$ref": "#/definitions/bool" }, "quality_indicator_scale": { "$ref": "#/definitions/double" }, "energy_usage": { "$ref": "#/definitions/Energy" }, "energy_per_sector": { "$ref": "#/definitions/Energy" }, "energy_per_nearby_scan": { "$ref": "#/definitions/Energy" }, "energy_source": { "$ref": "#/definitions/EnergySource" }, "pictures": { "$ref": "#/definitions/RotatedSprite" }, "frozen_patch": { "$ref": "#/definitions/Sprite" }, "max_distance_of_sector_revealed": { "$ref": "#/definitions/uint32" }, "max_distance_of_nearby_sector_revealed": { "$ref": "#/definitions/uint32" }, "circuit_wire_max_distance": { "$ref": "#/definitions/double" }, "draw_copper_wires": { "$ref": "#/definitions/bool" }, "draw_circuit_wires": { "$ref": "#/definitions/bool" }, "circuit_connector": { "$ref": "#/definitions/CircuitConnectorDefinition" }, "radius_minimap_visualisation_color": { "$ref": "#/definitions/Color" }, "rotation_speed": { "$ref": "#/definitions/double" }, "connects_to_other_radars": { "$ref": "#/definitions/bool" }, "reset_orientation_when_frozen": { "$ref": "#/definitions/bool" }, "energy_fraction_to_connect": { "$ref": "#/definitions/float" }, "energy_fraction_to_disconnect": { "$ref": "#/definitions/float" } }, "required": [ "type", "name", "energy_usage", "energy_per_sector", "energy_per_nearby_scan", "energy_source", "max_distance_of_sector_revealed", "max_distance_of_nearby_sector_revealed" ] }, "RailChainSignalPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/RailChainSignalPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "rail-chain-signal" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "collision_box": { "$ref": "#/definitions/BoundingBox" }, "collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "map_generator_bounding_box": { "$ref": "#/definitions/BoundingBox" }, "selection_box": { "$ref": "#/definitions/BoundingBox" }, "drawing_box_vertical_extension": { "$ref": "#/definitions/double" }, "sticker_box": { "$ref": "#/definitions/BoundingBox" }, "hit_visualization_box": { "$ref": "#/definitions/BoundingBox" }, "trigger_target_mask": { "$ref": "#/definitions/TriggerTargetMask" }, "flags": { "$ref": "#/definitions/EntityPrototypeFlags" }, "tile_buildability_rules": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileBuildabilityRule" } }, { "type": "object", "additionalProperties": false } ] }, "minable": { "$ref": "#/definitions/MinableProperties" }, "surface_conditions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SurfaceCondition" } }, { "type": "object", "additionalProperties": false } ] }, "deconstruction_alternative": { "$ref": "#/definitions/EntityID" }, "selection_priority": { "$ref": "#/definitions/uint8" }, "build_grid_size": { "$ref": "#/definitions/uint8" }, "remove_decoratives": { "anyOf": [ { "type": "string", "const": "automatic" }, { "type": "string", "const": "true" }, { "type": "string", "const": "false" } ] }, "emissions_per_second": { "type": "object", "additionalProperties": { "$ref": "#/definitions/double" }, "propertyNames": { "$ref": "#/definitions/AirbornePollutantID" } }, "shooting_cursor_size": { "$ref": "#/definitions/double" }, "created_smoke": { "$ref": "#/definitions/CreateTrivialSmokeEffectItem" }, "working_sound": { "$ref": "#/definitions/WorkingSound" }, "created_effect": { "$ref": "#/definitions/Trigger" }, "build_sound": { "$ref": "#/definitions/Sound" }, "mined_sound": { "$ref": "#/definitions/Sound" }, "mining_sound": { "$ref": "#/definitions/Sound" }, "rotated_sound": { "$ref": "#/definitions/Sound" }, "impact_category": { "$ref": "#/definitions/string" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "placeable_position_visualization": { "$ref": "#/definitions/Sprite" }, "radius_visualisation_specification": { "$ref": "#/definitions/RadiusVisualisationSpecification" }, "stateless_visualisation": { "$ref": "#/definitions/StatelessVisualisations" }, "build_base_evolution_requirement": { "$ref": "#/definitions/double" }, "alert_icon_shift": { "$ref": "#/definitions/Vector" }, "alert_icon_scale": { "$ref": "#/definitions/float" }, "fast_replaceable_group": { "$ref": "#/definitions/string" }, "next_upgrade": { "$ref": "#/definitions/EntityID" }, "protected_from_tile_building": { "$ref": "#/definitions/bool" }, "heating_energy": { "$ref": "#/definitions/Energy" }, "allow_copy_paste": { "$ref": "#/definitions/bool" }, "selectable_in_game": { "$ref": "#/definitions/bool" }, "placeable_by": { "anyOf": [ { "$ref": "#/definitions/ItemToPlace" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemToPlace" } }, { "type": "object", "additionalProperties": false } ] } ] }, "remains_when_mined": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "additional_pastable_entities": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] }, "tile_width": { "$ref": "#/definitions/int32" }, "tile_height": { "$ref": "#/definitions/int32" }, "diagonal_tile_grid_size": { "$ref": "#/definitions/TilePosition" }, "autoplace": { "$ref": "#/definitions/AutoplaceSpecification" }, "map_color": { "$ref": "#/definitions/Color" }, "friendly_map_color": { "$ref": "#/definitions/Color" }, "enemy_map_color": { "$ref": "#/definitions/Color" }, "water_reflection": { "$ref": "#/definitions/WaterReflectionDefinition" }, "ambient_sounds_group": { "$ref": "#/definitions/EntityID" }, "ambient_sounds": { "anyOf": [ { "$ref": "#/definitions/WorldAmbientSoundDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/WorldAmbientSoundDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "icon_draw_specification": { "$ref": "#/definitions/IconDrawSpecification" }, "icons_positioning": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconSequencePositioning" } }, { "type": "object", "additionalProperties": false } ] }, "max_health": { "$ref": "#/definitions/float" }, "healing_per_tick": { "$ref": "#/definitions/float" }, "repair_speed_modifier": { "$ref": "#/definitions/float" }, "dying_explosion": { "anyOf": [ { "$ref": "#/definitions/ExplosionDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ExplosionDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "dying_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "damaged_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "loot": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/LootItem" } }, { "type": "object", "additionalProperties": false } ] }, "resistances": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Resistance" } }, { "type": "object", "additionalProperties": false } ] }, "attack_reaction": { "anyOf": [ { "$ref": "#/definitions/AttackReactionItem" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/AttackReactionItem" } }, { "type": "object", "additionalProperties": false } ] } ] }, "repair_sound": { "$ref": "#/definitions/Sound" }, "alert_when_damaged": { "$ref": "#/definitions/bool" }, "hide_resistances": { "$ref": "#/definitions/bool" }, "create_ghost_on_death": { "$ref": "#/definitions/bool" }, "random_corpse_variation": { "$ref": "#/definitions/bool" }, "integration_patch_render_layer": { "$ref": "#/definitions/RenderLayer" }, "corpse": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "integration_patch": { "$ref": "#/definitions/Sprite4Way" }, "overkill_fraction": { "$ref": "#/definitions/float" }, "is_military_target": { "$ref": "#/definitions/bool" }, "allow_run_time_change_of_is_military_target": { "$ref": "#/definitions/bool" }, "quality_indicator_scale": { "$ref": "#/definitions/double" }, "ground_picture_set": { "$ref": "#/definitions/RailSignalPictureSet" }, "elevated_picture_set": { "$ref": "#/definitions/RailSignalPictureSet" }, "circuit_wire_max_distance": { "$ref": "#/definitions/double" }, "draw_copper_wires": { "$ref": "#/definitions/bool" }, "draw_circuit_wires": { "$ref": "#/definitions/bool" }, "default_red_output_signal": { "$ref": "#/definitions/SignalIDConnector" }, "default_orange_output_signal": { "$ref": "#/definitions/SignalIDConnector" }, "default_green_output_signal": { "$ref": "#/definitions/SignalIDConnector" }, "default_blue_output_signal": { "$ref": "#/definitions/SignalIDConnector" }, "elevated_collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "elevated_selection_priority": { "$ref": "#/definitions/uint8" } }, "required": [ "type", "name", "ground_picture_set", "elevated_picture_set" ] }, "RailPlannerPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/RailPlannerPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "rail-planner" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "stack_size": { "$ref": "#/definitions/ItemCountType" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "dark_background_icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "dark_background_icon": { "$ref": "#/definitions/FileName" }, "dark_background_icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "place_result": { "$ref": "#/definitions/EntityID" }, "place_as_equipment_result": { "$ref": "#/definitions/EquipmentID" }, "fuel_category": { "$ref": "#/definitions/FuelCategoryID" }, "burnt_result": { "$ref": "#/definitions/ItemID" }, "spoil_result": { "$ref": "#/definitions/ItemID" }, "plant_result": { "$ref": "#/definitions/EntityID" }, "place_as_tile": { "type": "object", "properties": { "result": { "$ref": "#/definitions/TileID" }, "condition": { "$ref": "#/definitions/CollisionMaskConnector" }, "invert": { "$ref": "#/definitions/bool" }, "condition_size": { "$ref": "#/definitions/uint32" }, "tile_condition": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileID" } }, { "type": "object", "additionalProperties": false } ] } }, "required": [ "result", "condition", "condition_size" ] }, "pictures": { "$ref": "#/definitions/SpriteVariations" }, "flags": { "$ref": "#/definitions/ItemPrototypeFlags" }, "spoil_ticks": { "$ref": "#/definitions/uint32" }, "fuel_value": { "$ref": "#/definitions/Energy" }, "fuel_acceleration_multiplier": { "$ref": "#/definitions/double" }, "fuel_top_speed_multiplier": { "$ref": "#/definitions/double" }, "fuel_emissions_multiplier": { "$ref": "#/definitions/double" }, "fuel_acceleration_multiplier_quality_bonus": { "$ref": "#/definitions/double" }, "fuel_top_speed_multiplier_quality_bonus": { "$ref": "#/definitions/double" }, "weight": { "$ref": "#/definitions/Weight" }, "ingredient_to_weight_coefficient": { "$ref": "#/definitions/double" }, "fuel_glow_color": { "$ref": "#/definitions/Color" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "pick_sound": { "$ref": "#/definitions/Sound" }, "drop_sound": { "$ref": "#/definitions/Sound" }, "inventory_move_sound": { "$ref": "#/definitions/Sound" }, "default_import_location": { "$ref": "#/definitions/SpaceLocationID" }, "color_hint": { "$ref": "#/definitions/ColorHintSpecification" }, "has_random_tint": { "$ref": "#/definitions/bool" }, "spoil_to_trigger_result": { "$ref": "#/definitions/SpoilToTriggerResult" }, "destroyed_by_dropping_trigger": { "$ref": "#/definitions/Trigger" }, "rocket_launch_products": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemProductPrototype" } }, { "type": "object", "additionalProperties": false } ] }, "send_to_orbit_mode": { "$ref": "#/definitions/SendToOrbitMode" }, "random_tint_color": { "$ref": "#/definitions/Color" }, "spoil_level": { "$ref": "#/definitions/uint8" }, "rails": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] }, "support": { "$ref": "#/definitions/EntityID" }, "manual_length_limit": { "$ref": "#/definitions/double" } }, "required": [ "type", "name", "stack_size", "rails" ] }, "RailRampPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/RailRampPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "rail-ramp" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "collision_box": { "$ref": "#/definitions/BoundingBox" }, "collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "map_generator_bounding_box": { "$ref": "#/definitions/BoundingBox" }, "selection_box": { "$ref": "#/definitions/BoundingBox" }, "drawing_box_vertical_extension": { "$ref": "#/definitions/double" }, "sticker_box": { "$ref": "#/definitions/BoundingBox" }, "hit_visualization_box": { "$ref": "#/definitions/BoundingBox" }, "trigger_target_mask": { "$ref": "#/definitions/TriggerTargetMask" }, "flags": { "$ref": "#/definitions/EntityPrototypeFlags" }, "tile_buildability_rules": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileBuildabilityRule" } }, { "type": "object", "additionalProperties": false } ] }, "minable": { "$ref": "#/definitions/MinableProperties" }, "surface_conditions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SurfaceCondition" } }, { "type": "object", "additionalProperties": false } ] }, "deconstruction_alternative": { "$ref": "#/definitions/EntityID" }, "selection_priority": { "$ref": "#/definitions/uint8" }, "build_grid_size": { "type": "integer", "const": 2 }, "remove_decoratives": { "anyOf": [ { "type": "string", "const": "automatic" }, { "type": "string", "const": "true" }, { "type": "string", "const": "false" } ] }, "emissions_per_second": { "type": "object", "additionalProperties": { "$ref": "#/definitions/double" }, "propertyNames": { "$ref": "#/definitions/AirbornePollutantID" } }, "shooting_cursor_size": { "$ref": "#/definitions/double" }, "created_smoke": { "$ref": "#/definitions/CreateTrivialSmokeEffectItem" }, "working_sound": { "$ref": "#/definitions/WorkingSound" }, "created_effect": { "$ref": "#/definitions/Trigger" }, "build_sound": { "$ref": "#/definitions/Sound" }, "mined_sound": { "$ref": "#/definitions/Sound" }, "mining_sound": { "$ref": "#/definitions/Sound" }, "rotated_sound": { "$ref": "#/definitions/Sound" }, "impact_category": { "$ref": "#/definitions/string" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "placeable_position_visualization": { "$ref": "#/definitions/Sprite" }, "radius_visualisation_specification": { "$ref": "#/definitions/RadiusVisualisationSpecification" }, "stateless_visualisation": { "$ref": "#/definitions/StatelessVisualisations" }, "build_base_evolution_requirement": { "$ref": "#/definitions/double" }, "alert_icon_shift": { "$ref": "#/definitions/Vector" }, "alert_icon_scale": { "$ref": "#/definitions/float" }, "fast_replaceable_group": { "$ref": "#/definitions/string" }, "next_upgrade": { "$ref": "#/definitions/EntityID" }, "protected_from_tile_building": { "$ref": "#/definitions/bool" }, "heating_energy": { "$ref": "#/definitions/Energy" }, "allow_copy_paste": { "$ref": "#/definitions/bool" }, "selectable_in_game": { "$ref": "#/definitions/bool" }, "placeable_by": { "anyOf": [ { "$ref": "#/definitions/ItemToPlace" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemToPlace" } }, { "type": "object", "additionalProperties": false } ] } ] }, "remains_when_mined": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "additional_pastable_entities": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] }, "tile_width": { "$ref": "#/definitions/int32" }, "tile_height": { "$ref": "#/definitions/int32" }, "diagonal_tile_grid_size": { "$ref": "#/definitions/TilePosition" }, "autoplace": { "$ref": "#/definitions/AutoplaceSpecification" }, "map_color": { "$ref": "#/definitions/Color" }, "friendly_map_color": { "$ref": "#/definitions/Color" }, "enemy_map_color": { "$ref": "#/definitions/Color" }, "water_reflection": { "$ref": "#/definitions/WaterReflectionDefinition" }, "ambient_sounds_group": { "$ref": "#/definitions/EntityID" }, "ambient_sounds": { "anyOf": [ { "$ref": "#/definitions/WorldAmbientSoundDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/WorldAmbientSoundDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "icon_draw_specification": { "$ref": "#/definitions/IconDrawSpecification" }, "icons_positioning": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconSequencePositioning" } }, { "type": "object", "additionalProperties": false } ] }, "max_health": { "$ref": "#/definitions/float" }, "healing_per_tick": { "$ref": "#/definitions/float" }, "repair_speed_modifier": { "$ref": "#/definitions/float" }, "dying_explosion": { "anyOf": [ { "$ref": "#/definitions/ExplosionDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ExplosionDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "dying_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "damaged_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "loot": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/LootItem" } }, { "type": "object", "additionalProperties": false } ] }, "resistances": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Resistance" } }, { "type": "object", "additionalProperties": false } ] }, "attack_reaction": { "anyOf": [ { "$ref": "#/definitions/AttackReactionItem" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/AttackReactionItem" } }, { "type": "object", "additionalProperties": false } ] } ] }, "repair_sound": { "$ref": "#/definitions/Sound" }, "alert_when_damaged": { "$ref": "#/definitions/bool" }, "hide_resistances": { "$ref": "#/definitions/bool" }, "create_ghost_on_death": { "$ref": "#/definitions/bool" }, "random_corpse_variation": { "$ref": "#/definitions/bool" }, "integration_patch_render_layer": { "$ref": "#/definitions/RenderLayer" }, "corpse": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "integration_patch": { "$ref": "#/definitions/Sprite4Way" }, "overkill_fraction": { "$ref": "#/definitions/float" }, "is_military_target": { "$ref": "#/definitions/bool" }, "allow_run_time_change_of_is_military_target": { "$ref": "#/definitions/bool" }, "quality_indicator_scale": { "$ref": "#/definitions/double" }, "walking_sound": { "$ref": "#/definitions/Sound" }, "pictures": { "$ref": "#/definitions/RailPictureSet" }, "fence_pictures": { "$ref": "#/definitions/RailFenceGraphicsSet" }, "extra_planner_penalty": { "$ref": "#/definitions/double" }, "extra_planner_goal_penalty": { "$ref": "#/definitions/double" }, "forced_fence_segment_count": { "$ref": "#/definitions/uint8" }, "ending_shifts": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Vector" } }, { "type": "object", "additionalProperties": false } ] }, "deconstruction_marker_positions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Vector" } }, { "type": "object", "additionalProperties": false } ] }, "removes_soft_decoratives": { "$ref": "#/definitions/bool" }, "support_range": { "$ref": "#/definitions/float" }, "collision_mask_allow_on_deep_oil_ocean": { "$ref": "#/definitions/CollisionMaskConnector" } }, "required": [ "type", "name", "pictures" ] }, "RailRemnantsPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/RailRemnantsPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "rail-remnants" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "collision_box": { "$ref": "#/definitions/BoundingBox" }, "collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "map_generator_bounding_box": { "$ref": "#/definitions/BoundingBox" }, "selection_box": { "$ref": "#/definitions/BoundingBox" }, "drawing_box_vertical_extension": { "$ref": "#/definitions/double" }, "sticker_box": { "$ref": "#/definitions/BoundingBox" }, "hit_visualization_box": { "$ref": "#/definitions/BoundingBox" }, "trigger_target_mask": { "$ref": "#/definitions/TriggerTargetMask" }, "flags": { "$ref": "#/definitions/EntityPrototypeFlags" }, "tile_buildability_rules": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileBuildabilityRule" } }, { "type": "object", "additionalProperties": false } ] }, "minable": { "$ref": "#/definitions/MinableProperties" }, "surface_conditions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SurfaceCondition" } }, { "type": "object", "additionalProperties": false } ] }, "deconstruction_alternative": { "$ref": "#/definitions/EntityID" }, "selection_priority": { "$ref": "#/definitions/uint8" }, "build_grid_size": { "type": "integer", "const": 2 }, "remove_decoratives": { "anyOf": [ { "type": "string", "const": "automatic" }, { "type": "string", "const": "true" }, { "type": "string", "const": "false" } ] }, "emissions_per_second": { "type": "object", "additionalProperties": { "$ref": "#/definitions/double" }, "propertyNames": { "$ref": "#/definitions/AirbornePollutantID" } }, "shooting_cursor_size": { "$ref": "#/definitions/double" }, "created_smoke": { "$ref": "#/definitions/CreateTrivialSmokeEffectItem" }, "working_sound": { "$ref": "#/definitions/WorkingSound" }, "created_effect": { "$ref": "#/definitions/Trigger" }, "build_sound": { "$ref": "#/definitions/Sound" }, "mined_sound": { "$ref": "#/definitions/Sound" }, "mining_sound": { "$ref": "#/definitions/Sound" }, "rotated_sound": { "$ref": "#/definitions/Sound" }, "impact_category": { "$ref": "#/definitions/string" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "placeable_position_visualization": { "$ref": "#/definitions/Sprite" }, "radius_visualisation_specification": { "$ref": "#/definitions/RadiusVisualisationSpecification" }, "stateless_visualisation": { "$ref": "#/definitions/StatelessVisualisations" }, "build_base_evolution_requirement": { "$ref": "#/definitions/double" }, "alert_icon_shift": { "$ref": "#/definitions/Vector" }, "alert_icon_scale": { "$ref": "#/definitions/float" }, "fast_replaceable_group": { "$ref": "#/definitions/string" }, "next_upgrade": { "$ref": "#/definitions/EntityID" }, "protected_from_tile_building": { "$ref": "#/definitions/bool" }, "heating_energy": { "$ref": "#/definitions/Energy" }, "allow_copy_paste": { "$ref": "#/definitions/bool" }, "selectable_in_game": { "$ref": "#/definitions/bool" }, "placeable_by": { "anyOf": [ { "$ref": "#/definitions/ItemToPlace" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemToPlace" } }, { "type": "object", "additionalProperties": false } ] } ] }, "remains_when_mined": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "additional_pastable_entities": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] }, "tile_width": { "$ref": "#/definitions/int32" }, "tile_height": { "$ref": "#/definitions/int32" }, "diagonal_tile_grid_size": { "$ref": "#/definitions/TilePosition" }, "autoplace": { "$ref": "#/definitions/AutoplaceSpecification" }, "map_color": { "$ref": "#/definitions/Color" }, "friendly_map_color": { "$ref": "#/definitions/Color" }, "enemy_map_color": { "$ref": "#/definitions/Color" }, "water_reflection": { "$ref": "#/definitions/WaterReflectionDefinition" }, "ambient_sounds_group": { "$ref": "#/definitions/EntityID" }, "ambient_sounds": { "anyOf": [ { "$ref": "#/definitions/WorldAmbientSoundDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/WorldAmbientSoundDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "icon_draw_specification": { "$ref": "#/definitions/IconDrawSpecification" }, "icons_positioning": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconSequencePositioning" } }, { "type": "object", "additionalProperties": false } ] }, "dying_speed": { "$ref": "#/definitions/float" }, "splash_speed": { "$ref": "#/definitions/float" }, "time_before_shading_off": { "$ref": "#/definitions/uint32" }, "time_before_removed": { "$ref": "#/definitions/uint32" }, "expires": { "$ref": "#/definitions/bool" }, "remove_on_entity_placement": { "$ref": "#/definitions/bool" }, "remove_on_tile_placement": { "$ref": "#/definitions/bool" }, "auto_setup_collision_box": { "$ref": "#/definitions/bool" }, "final_render_layer": { "$ref": "#/definitions/RenderLayer" }, "ground_patch_render_layer": { "$ref": "#/definitions/RenderLayer" }, "animation_render_layer": { "$ref": "#/definitions/RenderLayer" }, "splash_render_layer": { "$ref": "#/definitions/RenderLayer" }, "animation_overlay_render_layer": { "$ref": "#/definitions/RenderLayer" }, "animation_overlay_final_render_layer": { "$ref": "#/definitions/RenderLayer" }, "shuffle_directions_at_frame": { "$ref": "#/definitions/uint8" }, "use_tile_color_for_ground_patch_tint": { "$ref": "#/definitions/bool" }, "use_decay_layer": { "$ref": "#/definitions/bool" }, "underwater_layer_offset": { "$ref": "#/definitions/int8" }, "ground_patch_fade_in_delay": { "$ref": "#/definitions/float" }, "ground_patch_fade_in_speed": { "$ref": "#/definitions/float" }, "ground_patch_fade_out_start": { "$ref": "#/definitions/float" }, "decay_frame_transition_duration": { "$ref": "#/definitions/float" }, "animation": { "$ref": "#/definitions/RotatedAnimationVariations" }, "animation_overlay": { "$ref": "#/definitions/RotatedAnimationVariations" }, "decay_animation": { "$ref": "#/definitions/RotatedAnimationVariations" }, "splash": { "$ref": "#/definitions/AnimationVariations" }, "ground_patch": { "$ref": "#/definitions/AnimationVariations" }, "ground_patch_higher": { "$ref": "#/definitions/AnimationVariations" }, "ground_patch_decay": { "$ref": "#/definitions/AnimationVariations" }, "underwater_patch": { "$ref": "#/definitions/RotatedSprite" }, "ground_patch_fade_out_duration": { "$ref": "#/definitions/float" }, "direction_shuffle": { "oneOf": [ { "type": "array", "items": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/uint16" } }, { "type": "object", "additionalProperties": false } ] } }, { "type": "object", "additionalProperties": false } ] }, "pictures": { "$ref": "#/definitions/RailPictureSet" }, "related_rail": { "$ref": "#/definitions/EntityID" }, "secondary_collision_box": { "$ref": "#/definitions/BoundingBox" } }, "required": [ "type", "name", "pictures", "related_rail" ] }, "RailSignalPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/RailSignalPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "rail-signal" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "collision_box": { "$ref": "#/definitions/BoundingBox" }, "collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "map_generator_bounding_box": { "$ref": "#/definitions/BoundingBox" }, "selection_box": { "$ref": "#/definitions/BoundingBox" }, "drawing_box_vertical_extension": { "$ref": "#/definitions/double" }, "sticker_box": { "$ref": "#/definitions/BoundingBox" }, "hit_visualization_box": { "$ref": "#/definitions/BoundingBox" }, "trigger_target_mask": { "$ref": "#/definitions/TriggerTargetMask" }, "flags": { "$ref": "#/definitions/EntityPrototypeFlags" }, "tile_buildability_rules": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileBuildabilityRule" } }, { "type": "object", "additionalProperties": false } ] }, "minable": { "$ref": "#/definitions/MinableProperties" }, "surface_conditions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SurfaceCondition" } }, { "type": "object", "additionalProperties": false } ] }, "deconstruction_alternative": { "$ref": "#/definitions/EntityID" }, "selection_priority": { "$ref": "#/definitions/uint8" }, "build_grid_size": { "$ref": "#/definitions/uint8" }, "remove_decoratives": { "anyOf": [ { "type": "string", "const": "automatic" }, { "type": "string", "const": "true" }, { "type": "string", "const": "false" } ] }, "emissions_per_second": { "type": "object", "additionalProperties": { "$ref": "#/definitions/double" }, "propertyNames": { "$ref": "#/definitions/AirbornePollutantID" } }, "shooting_cursor_size": { "$ref": "#/definitions/double" }, "created_smoke": { "$ref": "#/definitions/CreateTrivialSmokeEffectItem" }, "working_sound": { "$ref": "#/definitions/WorkingSound" }, "created_effect": { "$ref": "#/definitions/Trigger" }, "build_sound": { "$ref": "#/definitions/Sound" }, "mined_sound": { "$ref": "#/definitions/Sound" }, "mining_sound": { "$ref": "#/definitions/Sound" }, "rotated_sound": { "$ref": "#/definitions/Sound" }, "impact_category": { "$ref": "#/definitions/string" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "placeable_position_visualization": { "$ref": "#/definitions/Sprite" }, "radius_visualisation_specification": { "$ref": "#/definitions/RadiusVisualisationSpecification" }, "stateless_visualisation": { "$ref": "#/definitions/StatelessVisualisations" }, "build_base_evolution_requirement": { "$ref": "#/definitions/double" }, "alert_icon_shift": { "$ref": "#/definitions/Vector" }, "alert_icon_scale": { "$ref": "#/definitions/float" }, "fast_replaceable_group": { "$ref": "#/definitions/string" }, "next_upgrade": { "$ref": "#/definitions/EntityID" }, "protected_from_tile_building": { "$ref": "#/definitions/bool" }, "heating_energy": { "$ref": "#/definitions/Energy" }, "allow_copy_paste": { "$ref": "#/definitions/bool" }, "selectable_in_game": { "$ref": "#/definitions/bool" }, "placeable_by": { "anyOf": [ { "$ref": "#/definitions/ItemToPlace" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemToPlace" } }, { "type": "object", "additionalProperties": false } ] } ] }, "remains_when_mined": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "additional_pastable_entities": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] }, "tile_width": { "$ref": "#/definitions/int32" }, "tile_height": { "$ref": "#/definitions/int32" }, "diagonal_tile_grid_size": { "$ref": "#/definitions/TilePosition" }, "autoplace": { "$ref": "#/definitions/AutoplaceSpecification" }, "map_color": { "$ref": "#/definitions/Color" }, "friendly_map_color": { "$ref": "#/definitions/Color" }, "enemy_map_color": { "$ref": "#/definitions/Color" }, "water_reflection": { "$ref": "#/definitions/WaterReflectionDefinition" }, "ambient_sounds_group": { "$ref": "#/definitions/EntityID" }, "ambient_sounds": { "anyOf": [ { "$ref": "#/definitions/WorldAmbientSoundDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/WorldAmbientSoundDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "icon_draw_specification": { "$ref": "#/definitions/IconDrawSpecification" }, "icons_positioning": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconSequencePositioning" } }, { "type": "object", "additionalProperties": false } ] }, "max_health": { "$ref": "#/definitions/float" }, "healing_per_tick": { "$ref": "#/definitions/float" }, "repair_speed_modifier": { "$ref": "#/definitions/float" }, "dying_explosion": { "anyOf": [ { "$ref": "#/definitions/ExplosionDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ExplosionDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "dying_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "damaged_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "loot": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/LootItem" } }, { "type": "object", "additionalProperties": false } ] }, "resistances": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Resistance" } }, { "type": "object", "additionalProperties": false } ] }, "attack_reaction": { "anyOf": [ { "$ref": "#/definitions/AttackReactionItem" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/AttackReactionItem" } }, { "type": "object", "additionalProperties": false } ] } ] }, "repair_sound": { "$ref": "#/definitions/Sound" }, "alert_when_damaged": { "$ref": "#/definitions/bool" }, "hide_resistances": { "$ref": "#/definitions/bool" }, "create_ghost_on_death": { "$ref": "#/definitions/bool" }, "random_corpse_variation": { "$ref": "#/definitions/bool" }, "integration_patch_render_layer": { "$ref": "#/definitions/RenderLayer" }, "corpse": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "integration_patch": { "$ref": "#/definitions/Sprite4Way" }, "overkill_fraction": { "$ref": "#/definitions/float" }, "is_military_target": { "$ref": "#/definitions/bool" }, "allow_run_time_change_of_is_military_target": { "$ref": "#/definitions/bool" }, "quality_indicator_scale": { "$ref": "#/definitions/double" }, "ground_picture_set": { "$ref": "#/definitions/RailSignalPictureSet" }, "elevated_picture_set": { "$ref": "#/definitions/RailSignalPictureSet" }, "circuit_wire_max_distance": { "$ref": "#/definitions/double" }, "draw_copper_wires": { "$ref": "#/definitions/bool" }, "draw_circuit_wires": { "$ref": "#/definitions/bool" }, "default_red_output_signal": { "$ref": "#/definitions/SignalIDConnector" }, "default_orange_output_signal": { "$ref": "#/definitions/SignalIDConnector" }, "default_green_output_signal": { "$ref": "#/definitions/SignalIDConnector" }, "default_blue_output_signal": { "$ref": "#/definitions/SignalIDConnector" }, "elevated_collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "elevated_selection_priority": { "$ref": "#/definitions/uint8" } }, "required": [ "type", "name", "ground_picture_set", "elevated_picture_set" ] }, "RailSupportPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/RailSupportPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "rail-support" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "collision_box": { "$ref": "#/definitions/BoundingBox" }, "collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "map_generator_bounding_box": { "$ref": "#/definitions/BoundingBox" }, "selection_box": { "$ref": "#/definitions/BoundingBox" }, "drawing_box_vertical_extension": { "$ref": "#/definitions/double" }, "sticker_box": { "$ref": "#/definitions/BoundingBox" }, "hit_visualization_box": { "$ref": "#/definitions/BoundingBox" }, "trigger_target_mask": { "$ref": "#/definitions/TriggerTargetMask" }, "flags": { "$ref": "#/definitions/EntityPrototypeFlags" }, "tile_buildability_rules": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileBuildabilityRule" } }, { "type": "object", "additionalProperties": false } ] }, "minable": { "$ref": "#/definitions/MinableProperties" }, "surface_conditions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SurfaceCondition" } }, { "type": "object", "additionalProperties": false } ] }, "deconstruction_alternative": { "$ref": "#/definitions/EntityID" }, "selection_priority": { "$ref": "#/definitions/uint8" }, "build_grid_size": { "type": "integer", "const": 2 }, "remove_decoratives": { "anyOf": [ { "type": "string", "const": "automatic" }, { "type": "string", "const": "true" }, { "type": "string", "const": "false" } ] }, "emissions_per_second": { "type": "object", "additionalProperties": { "$ref": "#/definitions/double" }, "propertyNames": { "$ref": "#/definitions/AirbornePollutantID" } }, "shooting_cursor_size": { "$ref": "#/definitions/double" }, "created_smoke": { "$ref": "#/definitions/CreateTrivialSmokeEffectItem" }, "working_sound": { "$ref": "#/definitions/WorkingSound" }, "created_effect": { "$ref": "#/definitions/Trigger" }, "build_sound": { "$ref": "#/definitions/Sound" }, "mined_sound": { "$ref": "#/definitions/Sound" }, "mining_sound": { "$ref": "#/definitions/Sound" }, "rotated_sound": { "$ref": "#/definitions/Sound" }, "impact_category": { "$ref": "#/definitions/string" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "placeable_position_visualization": { "$ref": "#/definitions/Sprite" }, "radius_visualisation_specification": { "$ref": "#/definitions/RadiusVisualisationSpecification" }, "stateless_visualisation": { "$ref": "#/definitions/StatelessVisualisations" }, "build_base_evolution_requirement": { "$ref": "#/definitions/double" }, "alert_icon_shift": { "$ref": "#/definitions/Vector" }, "alert_icon_scale": { "$ref": "#/definitions/float" }, "fast_replaceable_group": { "$ref": "#/definitions/string" }, "next_upgrade": { "$ref": "#/definitions/EntityID" }, "protected_from_tile_building": { "$ref": "#/definitions/bool" }, "heating_energy": { "$ref": "#/definitions/Energy" }, "allow_copy_paste": { "$ref": "#/definitions/bool" }, "selectable_in_game": { "$ref": "#/definitions/bool" }, "placeable_by": { "anyOf": [ { "$ref": "#/definitions/ItemToPlace" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemToPlace" } }, { "type": "object", "additionalProperties": false } ] } ] }, "remains_when_mined": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "additional_pastable_entities": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] }, "tile_width": { "$ref": "#/definitions/int32" }, "tile_height": { "$ref": "#/definitions/int32" }, "diagonal_tile_grid_size": { "$ref": "#/definitions/TilePosition" }, "autoplace": { "$ref": "#/definitions/AutoplaceSpecification" }, "map_color": { "$ref": "#/definitions/Color" }, "friendly_map_color": { "$ref": "#/definitions/Color" }, "enemy_map_color": { "$ref": "#/definitions/Color" }, "water_reflection": { "$ref": "#/definitions/WaterReflectionDefinition" }, "ambient_sounds_group": { "$ref": "#/definitions/EntityID" }, "ambient_sounds": { "anyOf": [ { "$ref": "#/definitions/WorldAmbientSoundDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/WorldAmbientSoundDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "icon_draw_specification": { "$ref": "#/definitions/IconDrawSpecification" }, "icons_positioning": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconSequencePositioning" } }, { "type": "object", "additionalProperties": false } ] }, "max_health": { "$ref": "#/definitions/float" }, "healing_per_tick": { "$ref": "#/definitions/float" }, "repair_speed_modifier": { "$ref": "#/definitions/float" }, "dying_explosion": { "anyOf": [ { "$ref": "#/definitions/ExplosionDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ExplosionDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "dying_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "damaged_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "loot": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/LootItem" } }, { "type": "object", "additionalProperties": false } ] }, "resistances": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Resistance" } }, { "type": "object", "additionalProperties": false } ] }, "attack_reaction": { "anyOf": [ { "$ref": "#/definitions/AttackReactionItem" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/AttackReactionItem" } }, { "type": "object", "additionalProperties": false } ] } ] }, "repair_sound": { "$ref": "#/definitions/Sound" }, "alert_when_damaged": { "$ref": "#/definitions/bool" }, "hide_resistances": { "$ref": "#/definitions/bool" }, "create_ghost_on_death": { "$ref": "#/definitions/bool" }, "random_corpse_variation": { "$ref": "#/definitions/bool" }, "integration_patch_render_layer": { "$ref": "#/definitions/RenderLayer" }, "corpse": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "integration_patch": { "$ref": "#/definitions/Sprite4Way" }, "overkill_fraction": { "$ref": "#/definitions/float" }, "is_military_target": { "$ref": "#/definitions/bool" }, "allow_run_time_change_of_is_military_target": { "$ref": "#/definitions/bool" }, "quality_indicator_scale": { "$ref": "#/definitions/double" }, "graphics_set": { "type": "object", "properties": { "underwater_structure": { "$ref": "#/definitions/RotatedSprite" }, "structure": { "$ref": "#/definitions/RotatedSprite" }, "render_layer": { "$ref": "#/definitions/RenderLayer" }, "underwater_layer_offset": { "$ref": "#/definitions/int8" } }, "required": [ "structure" ] }, "support_range": { "$ref": "#/definitions/float" }, "not_buildable_if_no_rails": { "$ref": "#/definitions/bool" }, "snap_to_spots_distance": { "$ref": "#/definitions/float" }, "collision_mask_allow_on_deep_oil_ocean": { "$ref": "#/definitions/CollisionMaskConnector" }, "elevated_selection_boxes": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/BoundingBox" } }, { "type": "object", "additionalProperties": false } ] } }, "required": [ "type", "name", "graphics_set" ] }, "ReactorPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/ReactorPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "reactor" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "collision_box": { "$ref": "#/definitions/BoundingBox" }, "collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "map_generator_bounding_box": { "$ref": "#/definitions/BoundingBox" }, "selection_box": { "$ref": "#/definitions/BoundingBox" }, "drawing_box_vertical_extension": { "$ref": "#/definitions/double" }, "sticker_box": { "$ref": "#/definitions/BoundingBox" }, "hit_visualization_box": { "$ref": "#/definitions/BoundingBox" }, "trigger_target_mask": { "$ref": "#/definitions/TriggerTargetMask" }, "flags": { "$ref": "#/definitions/EntityPrototypeFlags" }, "tile_buildability_rules": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileBuildabilityRule" } }, { "type": "object", "additionalProperties": false } ] }, "minable": { "$ref": "#/definitions/MinableProperties" }, "surface_conditions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SurfaceCondition" } }, { "type": "object", "additionalProperties": false } ] }, "deconstruction_alternative": { "$ref": "#/definitions/EntityID" }, "selection_priority": { "$ref": "#/definitions/uint8" }, "build_grid_size": { "$ref": "#/definitions/uint8" }, "remove_decoratives": { "anyOf": [ { "type": "string", "const": "automatic" }, { "type": "string", "const": "true" }, { "type": "string", "const": "false" } ] }, "emissions_per_second": { "type": "object", "additionalProperties": { "$ref": "#/definitions/double" }, "propertyNames": { "$ref": "#/definitions/AirbornePollutantID" } }, "shooting_cursor_size": { "$ref": "#/definitions/double" }, "created_smoke": { "$ref": "#/definitions/CreateTrivialSmokeEffectItem" }, "working_sound": { "$ref": "#/definitions/WorkingSound" }, "created_effect": { "$ref": "#/definitions/Trigger" }, "build_sound": { "$ref": "#/definitions/Sound" }, "mined_sound": { "$ref": "#/definitions/Sound" }, "mining_sound": { "$ref": "#/definitions/Sound" }, "rotated_sound": { "$ref": "#/definitions/Sound" }, "impact_category": { "$ref": "#/definitions/string" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "placeable_position_visualization": { "$ref": "#/definitions/Sprite" }, "radius_visualisation_specification": { "$ref": "#/definitions/RadiusVisualisationSpecification" }, "stateless_visualisation": { "$ref": "#/definitions/StatelessVisualisations" }, "build_base_evolution_requirement": { "$ref": "#/definitions/double" }, "alert_icon_shift": { "$ref": "#/definitions/Vector" }, "alert_icon_scale": { "$ref": "#/definitions/float" }, "fast_replaceable_group": { "$ref": "#/definitions/string" }, "next_upgrade": { "$ref": "#/definitions/EntityID" }, "protected_from_tile_building": { "$ref": "#/definitions/bool" }, "heating_energy": { "$ref": "#/definitions/Energy" }, "allow_copy_paste": { "$ref": "#/definitions/bool" }, "selectable_in_game": { "$ref": "#/definitions/bool" }, "placeable_by": { "anyOf": [ { "$ref": "#/definitions/ItemToPlace" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemToPlace" } }, { "type": "object", "additionalProperties": false } ] } ] }, "remains_when_mined": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "additional_pastable_entities": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] }, "tile_width": { "$ref": "#/definitions/int32" }, "tile_height": { "$ref": "#/definitions/int32" }, "diagonal_tile_grid_size": { "$ref": "#/definitions/TilePosition" }, "autoplace": { "$ref": "#/definitions/AutoplaceSpecification" }, "map_color": { "$ref": "#/definitions/Color" }, "friendly_map_color": { "$ref": "#/definitions/Color" }, "enemy_map_color": { "$ref": "#/definitions/Color" }, "water_reflection": { "$ref": "#/definitions/WaterReflectionDefinition" }, "ambient_sounds_group": { "$ref": "#/definitions/EntityID" }, "ambient_sounds": { "anyOf": [ { "$ref": "#/definitions/WorldAmbientSoundDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/WorldAmbientSoundDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "icon_draw_specification": { "$ref": "#/definitions/IconDrawSpecification" }, "icons_positioning": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconSequencePositioning" } }, { "type": "object", "additionalProperties": false } ] }, "max_health": { "$ref": "#/definitions/float" }, "healing_per_tick": { "$ref": "#/definitions/float" }, "repair_speed_modifier": { "$ref": "#/definitions/float" }, "dying_explosion": { "anyOf": [ { "$ref": "#/definitions/ExplosionDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ExplosionDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "dying_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "damaged_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "loot": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/LootItem" } }, { "type": "object", "additionalProperties": false } ] }, "resistances": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Resistance" } }, { "type": "object", "additionalProperties": false } ] }, "attack_reaction": { "anyOf": [ { "$ref": "#/definitions/AttackReactionItem" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/AttackReactionItem" } }, { "type": "object", "additionalProperties": false } ] } ] }, "repair_sound": { "$ref": "#/definitions/Sound" }, "alert_when_damaged": { "$ref": "#/definitions/bool" }, "hide_resistances": { "$ref": "#/definitions/bool" }, "create_ghost_on_death": { "$ref": "#/definitions/bool" }, "random_corpse_variation": { "$ref": "#/definitions/bool" }, "integration_patch_render_layer": { "$ref": "#/definitions/RenderLayer" }, "corpse": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "integration_patch": { "$ref": "#/definitions/Sprite4Way" }, "overkill_fraction": { "$ref": "#/definitions/float" }, "is_military_target": { "$ref": "#/definitions/bool" }, "allow_run_time_change_of_is_military_target": { "$ref": "#/definitions/bool" }, "quality_indicator_scale": { "$ref": "#/definitions/double" }, "working_light_picture": { "$ref": "#/definitions/Animation" }, "heat_buffer": { "$ref": "#/definitions/HeatBuffer" }, "heating_radius": { "$ref": "#/definitions/double" }, "energy_source": { "$ref": "#/definitions/EnergySource" }, "consumption": { "$ref": "#/definitions/Energy" }, "connection_patches_connected": { "$ref": "#/definitions/SpriteVariations" }, "connection_patches_disconnected": { "$ref": "#/definitions/SpriteVariations" }, "heat_connection_patches_connected": { "$ref": "#/definitions/SpriteVariations" }, "heat_connection_patches_disconnected": { "$ref": "#/definitions/SpriteVariations" }, "lower_layer_picture": { "$ref": "#/definitions/Sprite" }, "heat_lower_layer_picture": { "$ref": "#/definitions/Sprite" }, "picture": { "$ref": "#/definitions/Sprite" }, "light": { "$ref": "#/definitions/LightDefinition" }, "meltdown_action": { "$ref": "#/definitions/Trigger" }, "neighbour_bonus": { "$ref": "#/definitions/double" }, "scale_energy_usage": { "$ref": "#/definitions/bool" }, "use_fuel_glow_color": { "$ref": "#/definitions/bool" }, "default_fuel_glow_color": { "$ref": "#/definitions/Color" }, "circuit_wire_max_distance": { "$ref": "#/definitions/double" }, "draw_copper_wires": { "$ref": "#/definitions/bool" }, "draw_circuit_wires": { "$ref": "#/definitions/bool" }, "circuit_connector": { "$ref": "#/definitions/CircuitConnectorDefinition" }, "default_temperature_signal": { "$ref": "#/definitions/SignalIDConnector" } }, "required": [ "type", "name", "heat_buffer", "energy_source", "consumption" ] }, "RecipeCategory": { "description": "https://lua-api.factorio.com/stable/prototypes/RecipeCategory.html", "type": "object", "properties": { "type": { "type": "string", "const": "recipe-category" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" } }, "required": [ "type", "name" ] }, "RecipePrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/RecipePrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "recipe" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "category": { "$ref": "#/definitions/RecipeCategoryID" }, "crafting_machine_tint": { "$ref": "#/definitions/RecipeTints" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "ingredients": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IngredientPrototype" } }, { "type": "object", "additionalProperties": false } ] }, "results": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ProductPrototype" } }, { "type": "object", "additionalProperties": false } ] }, "main_product": { "$ref": "#/definitions/string" }, "energy_required": { "$ref": "#/definitions/double" }, "emissions_multiplier": { "$ref": "#/definitions/double" }, "maximum_productivity": { "$ref": "#/definitions/double" }, "requester_paste_multiplier": { "$ref": "#/definitions/uint32" }, "overload_multiplier": { "$ref": "#/definitions/uint32" }, "allow_inserter_overload": { "$ref": "#/definitions/bool" }, "enabled": { "$ref": "#/definitions/bool" }, "hide_from_stats": { "$ref": "#/definitions/bool" }, "hide_from_player_crafting": { "$ref": "#/definitions/bool" }, "allow_decomposition": { "$ref": "#/definitions/bool" }, "allow_as_intermediate": { "$ref": "#/definitions/bool" }, "allow_intermediates": { "$ref": "#/definitions/bool" }, "always_show_made_in": { "$ref": "#/definitions/bool" }, "show_amount_in_title": { "$ref": "#/definitions/bool" }, "always_show_products": { "$ref": "#/definitions/bool" }, "unlock_results": { "$ref": "#/definitions/bool" }, "preserve_products_in_machine_output": { "$ref": "#/definitions/bool" }, "result_is_always_fresh": { "$ref": "#/definitions/bool" }, "allow_consumption_message": { "$ref": "#/definitions/LocalisedString" }, "allow_speed_message": { "$ref": "#/definitions/LocalisedString" }, "allow_productivity_message": { "$ref": "#/definitions/LocalisedString" }, "allow_pollution_message": { "$ref": "#/definitions/LocalisedString" }, "allow_quality_message": { "$ref": "#/definitions/LocalisedString" }, "surface_conditions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SurfaceCondition" } }, { "type": "object", "additionalProperties": false } ] }, "hide_from_signal_gui": { "$ref": "#/definitions/bool" }, "allow_consumption": { "$ref": "#/definitions/bool" }, "allow_speed": { "$ref": "#/definitions/bool" }, "allow_productivity": { "$ref": "#/definitions/bool" }, "allow_pollution": { "$ref": "#/definitions/bool" }, "allow_quality": { "$ref": "#/definitions/bool" }, "allowed_module_categories": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ModuleCategoryID" } }, { "type": "object", "additionalProperties": false } ] }, "alternative_unlock_methods": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TechnologyID" } }, { "type": "object", "additionalProperties": false } ] } }, "required": [ "type", "name" ] }, "RemoteControllerPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/RemoteControllerPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "remote-controller" }, "name": { "$ref": "#/definitions/string" }, "movement_speed": { "$ref": "#/definitions/double" } }, "required": [ "type", "name", "movement_speed" ] }, "RepairToolPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/RepairToolPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "repair-tool" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "stack_size": { "$ref": "#/definitions/ItemCountType" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "dark_background_icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "dark_background_icon": { "$ref": "#/definitions/FileName" }, "dark_background_icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "place_result": { "$ref": "#/definitions/EntityID" }, "place_as_equipment_result": { "$ref": "#/definitions/EquipmentID" }, "fuel_category": { "$ref": "#/definitions/FuelCategoryID" }, "burnt_result": { "$ref": "#/definitions/ItemID" }, "spoil_result": { "$ref": "#/definitions/ItemID" }, "plant_result": { "$ref": "#/definitions/EntityID" }, "place_as_tile": { "type": "object", "properties": { "result": { "$ref": "#/definitions/TileID" }, "condition": { "$ref": "#/definitions/CollisionMaskConnector" }, "invert": { "$ref": "#/definitions/bool" }, "condition_size": { "$ref": "#/definitions/uint32" }, "tile_condition": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileID" } }, { "type": "object", "additionalProperties": false } ] } }, "required": [ "result", "condition", "condition_size" ] }, "pictures": { "$ref": "#/definitions/SpriteVariations" }, "flags": { "$ref": "#/definitions/ItemPrototypeFlags" }, "spoil_ticks": { "$ref": "#/definitions/uint32" }, "fuel_value": { "$ref": "#/definitions/Energy" }, "fuel_acceleration_multiplier": { "$ref": "#/definitions/double" }, "fuel_top_speed_multiplier": { "$ref": "#/definitions/double" }, "fuel_emissions_multiplier": { "$ref": "#/definitions/double" }, "fuel_acceleration_multiplier_quality_bonus": { "$ref": "#/definitions/double" }, "fuel_top_speed_multiplier_quality_bonus": { "$ref": "#/definitions/double" }, "weight": { "$ref": "#/definitions/Weight" }, "ingredient_to_weight_coefficient": { "$ref": "#/definitions/double" }, "fuel_glow_color": { "$ref": "#/definitions/Color" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "pick_sound": { "$ref": "#/definitions/Sound" }, "drop_sound": { "$ref": "#/definitions/Sound" }, "inventory_move_sound": { "$ref": "#/definitions/Sound" }, "default_import_location": { "$ref": "#/definitions/SpaceLocationID" }, "color_hint": { "$ref": "#/definitions/ColorHintSpecification" }, "has_random_tint": { "$ref": "#/definitions/bool" }, "spoil_to_trigger_result": { "$ref": "#/definitions/SpoilToTriggerResult" }, "destroyed_by_dropping_trigger": { "$ref": "#/definitions/Trigger" }, "rocket_launch_products": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemProductPrototype" } }, { "type": "object", "additionalProperties": false } ] }, "send_to_orbit_mode": { "$ref": "#/definitions/SendToOrbitMode" }, "random_tint_color": { "$ref": "#/definitions/Color" }, "spoil_level": { "$ref": "#/definitions/uint8" }, "durability": { "$ref": "#/definitions/double" }, "durability_description_key": { "$ref": "#/definitions/string" }, "durability_description_value": { "$ref": "#/definitions/string" }, "infinite": { "$ref": "#/definitions/bool" }, "speed": { "$ref": "#/definitions/float" } }, "required": [ "type", "name", "stack_size", "speed" ] }, "ResearchAchievementPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/ResearchAchievementPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "research-achievement" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "steam_stats_name": { "$ref": "#/definitions/string" }, "allowed_without_fight": { "$ref": "#/definitions/bool" }, "technology": { "$ref": "#/definitions/TechnologyID" }, "research_all": { "$ref": "#/definitions/bool" } }, "required": [ "type", "name" ] }, "ResearchWithSciencePackAchievementPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/ResearchWithSciencePackAchievementPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "research-with-science-pack-achievement" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "steam_stats_name": { "$ref": "#/definitions/string" }, "allowed_without_fight": { "$ref": "#/definitions/bool" }, "science_pack": { "$ref": "#/definitions/ItemID" }, "amount": { "$ref": "#/definitions/uint32" } }, "required": [ "type", "name", "science_pack" ] }, "ResourceCategory": { "description": "https://lua-api.factorio.com/stable/prototypes/ResourceCategory.html", "type": "object", "properties": { "type": { "type": "string", "const": "resource-category" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" } }, "required": [ "type", "name" ] }, "ResourceEntityPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/ResourceEntityPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "resource" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "collision_box": { "$ref": "#/definitions/BoundingBox" }, "collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "map_generator_bounding_box": { "$ref": "#/definitions/BoundingBox" }, "selection_box": { "$ref": "#/definitions/BoundingBox" }, "drawing_box_vertical_extension": { "$ref": "#/definitions/double" }, "sticker_box": { "$ref": "#/definitions/BoundingBox" }, "hit_visualization_box": { "$ref": "#/definitions/BoundingBox" }, "trigger_target_mask": { "$ref": "#/definitions/TriggerTargetMask" }, "flags": { "$ref": "#/definitions/EntityPrototypeFlags" }, "tile_buildability_rules": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileBuildabilityRule" } }, { "type": "object", "additionalProperties": false } ] }, "minable": { "$ref": "#/definitions/MinableProperties" }, "surface_conditions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SurfaceCondition" } }, { "type": "object", "additionalProperties": false } ] }, "deconstruction_alternative": { "$ref": "#/definitions/EntityID" }, "selection_priority": { "$ref": "#/definitions/uint8" }, "build_grid_size": { "$ref": "#/definitions/uint8" }, "remove_decoratives": { "anyOf": [ { "type": "string", "const": "automatic" }, { "type": "string", "const": "true" }, { "type": "string", "const": "false" } ] }, "emissions_per_second": { "type": "object", "additionalProperties": { "$ref": "#/definitions/double" }, "propertyNames": { "$ref": "#/definitions/AirbornePollutantID" } }, "shooting_cursor_size": { "$ref": "#/definitions/double" }, "created_smoke": { "$ref": "#/definitions/CreateTrivialSmokeEffectItem" }, "working_sound": { "$ref": "#/definitions/WorkingSound" }, "created_effect": { "$ref": "#/definitions/Trigger" }, "build_sound": { "$ref": "#/definitions/Sound" }, "mined_sound": { "$ref": "#/definitions/Sound" }, "mining_sound": { "$ref": "#/definitions/Sound" }, "rotated_sound": { "$ref": "#/definitions/Sound" }, "impact_category": { "$ref": "#/definitions/string" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "placeable_position_visualization": { "$ref": "#/definitions/Sprite" }, "radius_visualisation_specification": { "$ref": "#/definitions/RadiusVisualisationSpecification" }, "stateless_visualisation": { "$ref": "#/definitions/StatelessVisualisations" }, "build_base_evolution_requirement": { "$ref": "#/definitions/double" }, "alert_icon_shift": { "$ref": "#/definitions/Vector" }, "alert_icon_scale": { "$ref": "#/definitions/float" }, "fast_replaceable_group": { "$ref": "#/definitions/string" }, "next_upgrade": { "$ref": "#/definitions/EntityID" }, "protected_from_tile_building": { "$ref": "#/definitions/bool" }, "heating_energy": { "$ref": "#/definitions/Energy" }, "allow_copy_paste": { "$ref": "#/definitions/bool" }, "selectable_in_game": { "$ref": "#/definitions/bool" }, "placeable_by": { "anyOf": [ { "$ref": "#/definitions/ItemToPlace" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemToPlace" } }, { "type": "object", "additionalProperties": false } ] } ] }, "remains_when_mined": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "additional_pastable_entities": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] }, "tile_width": { "$ref": "#/definitions/int32" }, "tile_height": { "$ref": "#/definitions/int32" }, "diagonal_tile_grid_size": { "$ref": "#/definitions/TilePosition" }, "autoplace": { "$ref": "#/definitions/AutoplaceSpecification" }, "map_color": { "$ref": "#/definitions/Color" }, "friendly_map_color": { "$ref": "#/definitions/Color" }, "enemy_map_color": { "$ref": "#/definitions/Color" }, "water_reflection": { "$ref": "#/definitions/WaterReflectionDefinition" }, "ambient_sounds_group": { "$ref": "#/definitions/EntityID" }, "ambient_sounds": { "anyOf": [ { "$ref": "#/definitions/WorldAmbientSoundDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/WorldAmbientSoundDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "icon_draw_specification": { "$ref": "#/definitions/IconDrawSpecification" }, "icons_positioning": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconSequencePositioning" } }, { "type": "object", "additionalProperties": false } ] }, "stages": { "$ref": "#/definitions/AnimationVariations" }, "stage_counts": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/uint32" } }, { "type": "object", "additionalProperties": false } ] }, "infinite": { "$ref": "#/definitions/bool" }, "highlight": { "$ref": "#/definitions/bool" }, "randomize_visual_position": { "$ref": "#/definitions/bool" }, "map_grid": { "$ref": "#/definitions/bool" }, "draw_stateless_visualisation_under_building": { "$ref": "#/definitions/bool" }, "minimum": { "$ref": "#/definitions/uint32" }, "normal": { "$ref": "#/definitions/uint32" }, "infinite_depletion_amount": { "$ref": "#/definitions/uint32" }, "resource_patch_search_radius": { "$ref": "#/definitions/uint32" }, "category": { "$ref": "#/definitions/ResourceCategoryID" }, "walking_sound": { "$ref": "#/definitions/Sound" }, "driving_sound": { "$ref": "#/definitions/InterruptibleSound" }, "stages_effect": { "$ref": "#/definitions/AnimationVariations" }, "effect_animation_period": { "$ref": "#/definitions/float" }, "effect_animation_period_deviation": { "$ref": "#/definitions/float" }, "effect_darkness_multiplier": { "$ref": "#/definitions/float" }, "min_effect_alpha": { "$ref": "#/definitions/float" }, "max_effect_alpha": { "$ref": "#/definitions/float" }, "tree_removal_probability": { "$ref": "#/definitions/double" }, "cliff_removal_probability": { "$ref": "#/definitions/double" }, "tree_removal_max_distance": { "$ref": "#/definitions/double" }, "mining_visualisation_tint": { "$ref": "#/definitions/Color" } }, "required": [ "type", "name", "stage_counts" ] }, "RoboportEquipmentPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/RoboportEquipmentPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "roboport-equipment" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "sprite": { "$ref": "#/definitions/Sprite" }, "shape": { "$ref": "#/definitions/EquipmentShape" }, "categories": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EquipmentCategoryID" } }, { "type": "object", "additionalProperties": false } ] }, "energy_source": { "$ref": "#/definitions/ElectricEnergySource" }, "take_result": { "$ref": "#/definitions/ItemID" }, "background_color": { "$ref": "#/definitions/Color" }, "background_border_color": { "$ref": "#/definitions/Color" }, "grabbed_background_color": { "$ref": "#/definitions/Color" }, "recharging_animation": { "$ref": "#/definitions/Animation" }, "spawn_and_station_height": { "$ref": "#/definitions/float" }, "charge_approach_distance": { "$ref": "#/definitions/float" }, "construction_radius": { "$ref": "#/definitions/float" }, "charging_energy": { "$ref": "#/definitions/Energy" }, "spawn_and_station_shadow_height_offset": { "$ref": "#/definitions/float" }, "stationing_render_layer_swap_height": { "$ref": "#/definitions/float" }, "draw_logistic_radius_visualization": { "$ref": "#/definitions/bool" }, "draw_construction_radius_visualization": { "$ref": "#/definitions/bool" }, "recharging_light": { "$ref": "#/definitions/LightDefinition" }, "charging_station_count": { "$ref": "#/definitions/uint32" }, "charging_station_count_affected_by_quality": { "$ref": "#/definitions/bool" }, "charging_distance": { "$ref": "#/definitions/float" }, "charging_station_shift": { "$ref": "#/definitions/Vector" }, "charging_threshold_distance": { "$ref": "#/definitions/float" }, "robot_vertical_acceleration": { "$ref": "#/definitions/float" }, "stationing_offset": { "$ref": "#/definitions/Vector" }, "robot_limit": { "$ref": "#/definitions/ItemCountType" }, "robots_shrink_when_entering_and_exiting": { "$ref": "#/definitions/bool" }, "charging_offsets": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Vector" } }, { "type": "object", "additionalProperties": false } ] }, "spawn_minimum": { "$ref": "#/definitions/Energy" }, "burner": { "$ref": "#/definitions/BurnerEnergySource" }, "power": { "$ref": "#/definitions/Energy" } }, "required": [ "type", "name", "sprite", "shape", "categories", "energy_source", "spawn_and_station_height", "charge_approach_distance", "construction_radius", "charging_energy" ] }, "RoboportPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/RoboportPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "roboport" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "collision_box": { "$ref": "#/definitions/BoundingBox" }, "collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "map_generator_bounding_box": { "$ref": "#/definitions/BoundingBox" }, "selection_box": { "$ref": "#/definitions/BoundingBox" }, "drawing_box_vertical_extension": { "$ref": "#/definitions/double" }, "sticker_box": { "$ref": "#/definitions/BoundingBox" }, "hit_visualization_box": { "$ref": "#/definitions/BoundingBox" }, "trigger_target_mask": { "$ref": "#/definitions/TriggerTargetMask" }, "flags": { "$ref": "#/definitions/EntityPrototypeFlags" }, "tile_buildability_rules": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileBuildabilityRule" } }, { "type": "object", "additionalProperties": false } ] }, "minable": { "$ref": "#/definitions/MinableProperties" }, "surface_conditions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SurfaceCondition" } }, { "type": "object", "additionalProperties": false } ] }, "deconstruction_alternative": { "$ref": "#/definitions/EntityID" }, "selection_priority": { "$ref": "#/definitions/uint8" }, "build_grid_size": { "$ref": "#/definitions/uint8" }, "remove_decoratives": { "anyOf": [ { "type": "string", "const": "automatic" }, { "type": "string", "const": "true" }, { "type": "string", "const": "false" } ] }, "emissions_per_second": { "type": "object", "additionalProperties": { "$ref": "#/definitions/double" }, "propertyNames": { "$ref": "#/definitions/AirbornePollutantID" } }, "shooting_cursor_size": { "$ref": "#/definitions/double" }, "created_smoke": { "$ref": "#/definitions/CreateTrivialSmokeEffectItem" }, "working_sound": { "$ref": "#/definitions/WorkingSound" }, "created_effect": { "$ref": "#/definitions/Trigger" }, "build_sound": { "$ref": "#/definitions/Sound" }, "mined_sound": { "$ref": "#/definitions/Sound" }, "mining_sound": { "$ref": "#/definitions/Sound" }, "rotated_sound": { "$ref": "#/definitions/Sound" }, "impact_category": { "$ref": "#/definitions/string" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "placeable_position_visualization": { "$ref": "#/definitions/Sprite" }, "radius_visualisation_specification": { "$ref": "#/definitions/RadiusVisualisationSpecification" }, "stateless_visualisation": { "$ref": "#/definitions/StatelessVisualisations" }, "build_base_evolution_requirement": { "$ref": "#/definitions/double" }, "alert_icon_shift": { "$ref": "#/definitions/Vector" }, "alert_icon_scale": { "$ref": "#/definitions/float" }, "fast_replaceable_group": { "$ref": "#/definitions/string" }, "next_upgrade": { "$ref": "#/definitions/EntityID" }, "protected_from_tile_building": { "$ref": "#/definitions/bool" }, "heating_energy": { "$ref": "#/definitions/Energy" }, "allow_copy_paste": { "$ref": "#/definitions/bool" }, "selectable_in_game": { "$ref": "#/definitions/bool" }, "placeable_by": { "anyOf": [ { "$ref": "#/definitions/ItemToPlace" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemToPlace" } }, { "type": "object", "additionalProperties": false } ] } ] }, "remains_when_mined": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "additional_pastable_entities": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] }, "tile_width": { "$ref": "#/definitions/int32" }, "tile_height": { "$ref": "#/definitions/int32" }, "diagonal_tile_grid_size": { "$ref": "#/definitions/TilePosition" }, "autoplace": { "$ref": "#/definitions/AutoplaceSpecification" }, "map_color": { "$ref": "#/definitions/Color" }, "friendly_map_color": { "$ref": "#/definitions/Color" }, "enemy_map_color": { "$ref": "#/definitions/Color" }, "water_reflection": { "$ref": "#/definitions/WaterReflectionDefinition" }, "ambient_sounds_group": { "$ref": "#/definitions/EntityID" }, "ambient_sounds": { "anyOf": [ { "$ref": "#/definitions/WorldAmbientSoundDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/WorldAmbientSoundDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "icon_draw_specification": { "$ref": "#/definitions/IconDrawSpecification" }, "icons_positioning": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconSequencePositioning" } }, { "type": "object", "additionalProperties": false } ] }, "max_health": { "$ref": "#/definitions/float" }, "healing_per_tick": { "$ref": "#/definitions/float" }, "repair_speed_modifier": { "$ref": "#/definitions/float" }, "dying_explosion": { "anyOf": [ { "$ref": "#/definitions/ExplosionDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ExplosionDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "dying_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "damaged_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "loot": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/LootItem" } }, { "type": "object", "additionalProperties": false } ] }, "resistances": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Resistance" } }, { "type": "object", "additionalProperties": false } ] }, "attack_reaction": { "anyOf": [ { "$ref": "#/definitions/AttackReactionItem" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/AttackReactionItem" } }, { "type": "object", "additionalProperties": false } ] } ] }, "repair_sound": { "$ref": "#/definitions/Sound" }, "alert_when_damaged": { "$ref": "#/definitions/bool" }, "hide_resistances": { "$ref": "#/definitions/bool" }, "create_ghost_on_death": { "$ref": "#/definitions/bool" }, "random_corpse_variation": { "$ref": "#/definitions/bool" }, "integration_patch_render_layer": { "$ref": "#/definitions/RenderLayer" }, "corpse": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "integration_patch": { "$ref": "#/definitions/Sprite4Way" }, "overkill_fraction": { "$ref": "#/definitions/float" }, "is_military_target": { "$ref": "#/definitions/bool" }, "allow_run_time_change_of_is_military_target": { "$ref": "#/definitions/bool" }, "quality_indicator_scale": { "$ref": "#/definitions/double" }, "energy_source": { "anyOf": [ { "$ref": "#/definitions/ElectricEnergySource" }, { "$ref": "#/definitions/VoidEnergySource" } ] }, "energy_usage": { "$ref": "#/definitions/Energy" }, "recharge_minimum": { "$ref": "#/definitions/Energy" }, "robot_slots_count": { "$ref": "#/definitions/ItemStackIndex" }, "material_slots_count": { "$ref": "#/definitions/ItemStackIndex" }, "base": { "$ref": "#/definitions/Sprite" }, "base_patch": { "$ref": "#/definitions/Sprite" }, "frozen_patch": { "$ref": "#/definitions/Sprite" }, "base_animation": { "$ref": "#/definitions/Animation" }, "door_animation_up": { "$ref": "#/definitions/Animation" }, "door_animation_down": { "$ref": "#/definitions/Animation" }, "request_to_open_door_timeout": { "$ref": "#/definitions/uint32" }, "radar_range": { "$ref": "#/definitions/uint32" }, "radar_visualisation_color": { "$ref": "#/definitions/Color" }, "recharging_animation": { "$ref": "#/definitions/Animation" }, "spawn_and_station_height": { "$ref": "#/definitions/float" }, "charge_approach_distance": { "$ref": "#/definitions/float" }, "logistics_radius": { "$ref": "#/definitions/float" }, "construction_radius": { "$ref": "#/definitions/float" }, "charging_energy": { "$ref": "#/definitions/Energy" }, "open_door_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "close_door_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "default_available_logistic_output_signal": { "$ref": "#/definitions/SignalIDConnector" }, "default_total_logistic_output_signal": { "$ref": "#/definitions/SignalIDConnector" }, "default_available_construction_output_signal": { "$ref": "#/definitions/SignalIDConnector" }, "default_total_construction_output_signal": { "$ref": "#/definitions/SignalIDConnector" }, "default_roboports_output_signal": { "$ref": "#/definitions/SignalIDConnector" }, "circuit_wire_max_distance": { "$ref": "#/definitions/double" }, "draw_copper_wires": { "$ref": "#/definitions/bool" }, "draw_circuit_wires": { "$ref": "#/definitions/bool" }, "circuit_connector": { "$ref": "#/definitions/CircuitConnectorDefinition" }, "max_logistic_slots": { "$ref": "#/definitions/LogisticFilterIndex" }, "spawn_and_station_shadow_height_offset": { "$ref": "#/definitions/float" }, "stationing_render_layer_swap_height": { "$ref": "#/definitions/float" }, "draw_logistic_radius_visualization": { "$ref": "#/definitions/bool" }, "draw_construction_radius_visualization": { "$ref": "#/definitions/bool" }, "recharging_light": { "$ref": "#/definitions/LightDefinition" }, "charging_station_count": { "$ref": "#/definitions/uint32" }, "charging_station_count_affected_by_quality": { "$ref": "#/definitions/bool" }, "charging_distance": { "$ref": "#/definitions/float" }, "charging_station_shift": { "$ref": "#/definitions/Vector" }, "charging_threshold_distance": { "$ref": "#/definitions/float" }, "robot_vertical_acceleration": { "$ref": "#/definitions/float" }, "stationing_offset": { "$ref": "#/definitions/Vector" }, "robot_limit": { "$ref": "#/definitions/ItemCountType" }, "robots_shrink_when_entering_and_exiting": { "$ref": "#/definitions/bool" }, "charging_offsets": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Vector" } }, { "type": "object", "additionalProperties": false } ] }, "logistics_connection_distance": { "$ref": "#/definitions/float" } }, "required": [ "type", "name", "energy_source", "energy_usage", "recharge_minimum", "robot_slots_count", "material_slots_count", "request_to_open_door_timeout", "spawn_and_station_height", "charge_approach_distance", "logistics_radius", "construction_radius", "charging_energy" ] }, "RocketSiloPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/RocketSiloPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "rocket-silo" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "collision_box": { "$ref": "#/definitions/BoundingBox" }, "collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "map_generator_bounding_box": { "$ref": "#/definitions/BoundingBox" }, "selection_box": { "$ref": "#/definitions/BoundingBox" }, "drawing_box_vertical_extension": { "$ref": "#/definitions/double" }, "sticker_box": { "$ref": "#/definitions/BoundingBox" }, "hit_visualization_box": { "$ref": "#/definitions/BoundingBox" }, "trigger_target_mask": { "$ref": "#/definitions/TriggerTargetMask" }, "flags": { "$ref": "#/definitions/EntityPrototypeFlags" }, "tile_buildability_rules": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileBuildabilityRule" } }, { "type": "object", "additionalProperties": false } ] }, "minable": { "$ref": "#/definitions/MinableProperties" }, "surface_conditions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SurfaceCondition" } }, { "type": "object", "additionalProperties": false } ] }, "deconstruction_alternative": { "$ref": "#/definitions/EntityID" }, "selection_priority": { "$ref": "#/definitions/uint8" }, "build_grid_size": { "$ref": "#/definitions/uint8" }, "remove_decoratives": { "anyOf": [ { "type": "string", "const": "automatic" }, { "type": "string", "const": "true" }, { "type": "string", "const": "false" } ] }, "emissions_per_second": { "type": "object", "additionalProperties": { "$ref": "#/definitions/double" }, "propertyNames": { "$ref": "#/definitions/AirbornePollutantID" } }, "shooting_cursor_size": { "$ref": "#/definitions/double" }, "created_smoke": { "$ref": "#/definitions/CreateTrivialSmokeEffectItem" }, "working_sound": { "$ref": "#/definitions/WorkingSound" }, "created_effect": { "$ref": "#/definitions/Trigger" }, "build_sound": { "$ref": "#/definitions/Sound" }, "mined_sound": { "$ref": "#/definitions/Sound" }, "mining_sound": { "$ref": "#/definitions/Sound" }, "rotated_sound": { "$ref": "#/definitions/Sound" }, "impact_category": { "$ref": "#/definitions/string" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "placeable_position_visualization": { "$ref": "#/definitions/Sprite" }, "radius_visualisation_specification": { "$ref": "#/definitions/RadiusVisualisationSpecification" }, "stateless_visualisation": { "$ref": "#/definitions/StatelessVisualisations" }, "build_base_evolution_requirement": { "$ref": "#/definitions/double" }, "alert_icon_shift": { "$ref": "#/definitions/Vector" }, "alert_icon_scale": { "$ref": "#/definitions/float" }, "fast_replaceable_group": { "$ref": "#/definitions/string" }, "next_upgrade": { "$ref": "#/definitions/EntityID" }, "protected_from_tile_building": { "$ref": "#/definitions/bool" }, "heating_energy": { "$ref": "#/definitions/Energy" }, "allow_copy_paste": { "$ref": "#/definitions/bool" }, "selectable_in_game": { "$ref": "#/definitions/bool" }, "placeable_by": { "anyOf": [ { "$ref": "#/definitions/ItemToPlace" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemToPlace" } }, { "type": "object", "additionalProperties": false } ] } ] }, "remains_when_mined": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "additional_pastable_entities": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] }, "tile_width": { "$ref": "#/definitions/int32" }, "tile_height": { "$ref": "#/definitions/int32" }, "diagonal_tile_grid_size": { "$ref": "#/definitions/TilePosition" }, "autoplace": { "$ref": "#/definitions/AutoplaceSpecification" }, "map_color": { "$ref": "#/definitions/Color" }, "friendly_map_color": { "$ref": "#/definitions/Color" }, "enemy_map_color": { "$ref": "#/definitions/Color" }, "water_reflection": { "$ref": "#/definitions/WaterReflectionDefinition" }, "ambient_sounds_group": { "$ref": "#/definitions/EntityID" }, "ambient_sounds": { "anyOf": [ { "$ref": "#/definitions/WorldAmbientSoundDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/WorldAmbientSoundDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "icon_draw_specification": { "$ref": "#/definitions/IconDrawSpecification" }, "icons_positioning": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconSequencePositioning" } }, { "type": "object", "additionalProperties": false } ] }, "max_health": { "$ref": "#/definitions/float" }, "healing_per_tick": { "$ref": "#/definitions/float" }, "repair_speed_modifier": { "$ref": "#/definitions/float" }, "dying_explosion": { "anyOf": [ { "$ref": "#/definitions/ExplosionDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ExplosionDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "dying_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "damaged_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "loot": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/LootItem" } }, { "type": "object", "additionalProperties": false } ] }, "resistances": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Resistance" } }, { "type": "object", "additionalProperties": false } ] }, "attack_reaction": { "anyOf": [ { "$ref": "#/definitions/AttackReactionItem" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/AttackReactionItem" } }, { "type": "object", "additionalProperties": false } ] } ] }, "repair_sound": { "$ref": "#/definitions/Sound" }, "alert_when_damaged": { "$ref": "#/definitions/bool" }, "hide_resistances": { "$ref": "#/definitions/bool" }, "create_ghost_on_death": { "$ref": "#/definitions/bool" }, "random_corpse_variation": { "$ref": "#/definitions/bool" }, "integration_patch_render_layer": { "$ref": "#/definitions/RenderLayer" }, "corpse": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "integration_patch": { "$ref": "#/definitions/Sprite4Way" }, "overkill_fraction": { "$ref": "#/definitions/float" }, "is_military_target": { "$ref": "#/definitions/bool" }, "allow_run_time_change_of_is_military_target": { "$ref": "#/definitions/bool" }, "quality_indicator_scale": { "$ref": "#/definitions/double" }, "energy_usage": { "$ref": "#/definitions/Energy" }, "crafting_speed": { "$ref": "#/definitions/double" }, "crafting_categories": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/RecipeCategoryID" } }, { "type": "object", "additionalProperties": false } ] }, "energy_source": { "$ref": "#/definitions/EnergySource" }, "fluid_boxes": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/FluidBox" } }, { "type": "object", "additionalProperties": false } ] }, "effect_receiver": { "$ref": "#/definitions/EffectReceiver" }, "module_slots": { "$ref": "#/definitions/ItemStackIndex" }, "allowed_effects": { "$ref": "#/definitions/EffectTypeLimitation" }, "allowed_module_categories": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ModuleCategoryID" } }, { "type": "object", "additionalProperties": false } ] }, "show_recipe_icon": { "$ref": "#/definitions/bool" }, "return_ingredients_on_change": { "$ref": "#/definitions/bool" }, "draw_entity_info_icon_background": { "$ref": "#/definitions/bool" }, "match_animation_speed_to_activity": { "$ref": "#/definitions/bool" }, "show_recipe_icon_on_map": { "$ref": "#/definitions/bool" }, "fast_transfer_modules_into_module_slots_only": { "$ref": "#/definitions/bool" }, "ignore_output_full": { "$ref": "#/definitions/bool" }, "graphics_set": { "$ref": "#/definitions/CraftingMachineGraphicsSet" }, "graphics_set_flipped": { "$ref": "#/definitions/CraftingMachineGraphicsSet" }, "perceived_performance": { "$ref": "#/definitions/PerceivedPerformance" }, "production_health_effect": { "$ref": "#/definitions/ProductionHealthEffect" }, "trash_inventory_size": { "$ref": "#/definitions/ItemStackIndex" }, "vector_to_place_result": { "$ref": "#/definitions/Vector" }, "forced_symmetry": { "$ref": "#/definitions/Mirroring" }, "fixed_recipe": { "$ref": "#/definitions/RecipeID" }, "fixed_quality": { "$ref": "#/definitions/QualityID" }, "gui_title_key": { "$ref": "#/definitions/string" }, "circuit_wire_max_distance": { "$ref": "#/definitions/double" }, "draw_copper_wires": { "$ref": "#/definitions/bool" }, "draw_circuit_wires": { "$ref": "#/definitions/bool" }, "default_recipe_finished_signal": { "$ref": "#/definitions/SignalIDConnector" }, "default_working_signal": { "$ref": "#/definitions/SignalIDConnector" }, "enable_logistic_control_behavior": { "$ref": "#/definitions/bool" }, "ingredient_count": { "$ref": "#/definitions/uint8" }, "circuit_connector": { "type": "array", "items": [ { "$ref": "#/definitions/CircuitConnectorDefinition" }, { "$ref": "#/definitions/CircuitConnectorDefinition" }, { "$ref": "#/definitions/CircuitConnectorDefinition" }, { "$ref": "#/definitions/CircuitConnectorDefinition" } ], "minItems": 4, "maxItems": 4 }, "fluid_boxes_off_when_no_fluid_recipe": { "$ref": "#/definitions/bool" }, "disabled_when_recipe_not_researched": { "$ref": "#/definitions/bool" }, "active_energy_usage": { "$ref": "#/definitions/Energy" }, "lamp_energy_usage": { "$ref": "#/definitions/Energy" }, "rocket_entity": { "$ref": "#/definitions/EntityID" }, "arm_02_right_animation": { "$ref": "#/definitions/Animation" }, "arm_01_back_animation": { "$ref": "#/definitions/Animation" }, "arm_03_front_animation": { "$ref": "#/definitions/Animation" }, "shadow_sprite": { "$ref": "#/definitions/Sprite" }, "hole_sprite": { "$ref": "#/definitions/Sprite" }, "hole_light_sprite": { "$ref": "#/definitions/Sprite" }, "rocket_shadow_overlay_sprite": { "$ref": "#/definitions/Sprite" }, "rocket_glow_overlay_sprite": { "$ref": "#/definitions/Sprite" }, "door_back_sprite": { "$ref": "#/definitions/Sprite" }, "door_front_sprite": { "$ref": "#/definitions/Sprite" }, "base_day_sprite": { "$ref": "#/definitions/Sprite" }, "base_front_sprite": { "$ref": "#/definitions/Sprite" }, "red_lights_back_sprites": { "$ref": "#/definitions/Sprite" }, "red_lights_front_sprites": { "$ref": "#/definitions/Sprite" }, "base_frozen": { "$ref": "#/definitions/Sprite" }, "base_front_frozen": { "$ref": "#/definitions/Sprite" }, "hole_frozen": { "$ref": "#/definitions/Sprite" }, "door_back_frozen": { "$ref": "#/definitions/Sprite" }, "door_front_frozen": { "$ref": "#/definitions/Sprite" }, "hole_clipping_box": { "$ref": "#/definitions/BoundingBox" }, "door_back_open_offset": { "$ref": "#/definitions/Vector" }, "door_front_open_offset": { "$ref": "#/definitions/Vector" }, "silo_fade_out_start_distance": { "$ref": "#/definitions/double" }, "silo_fade_out_end_distance": { "$ref": "#/definitions/double" }, "times_to_blink": { "$ref": "#/definitions/uint8" }, "light_blinking_speed": { "$ref": "#/definitions/double" }, "door_opening_speed": { "$ref": "#/definitions/double" }, "rocket_parts_required": { "$ref": "#/definitions/uint32" }, "rocket_quick_relaunch_start_offset": { "$ref": "#/definitions/double" }, "satellite_animation": { "$ref": "#/definitions/Animation" }, "satellite_shadow_animation": { "$ref": "#/definitions/Animation" }, "base_night_sprite": { "$ref": "#/definitions/Sprite" }, "base_light": { "$ref": "#/definitions/LightDefinition" }, "base_engine_light": { "$ref": "#/definitions/LightDefinition" }, "rocket_rising_delay": { "$ref": "#/definitions/uint8" }, "launch_wait_time": { "$ref": "#/definitions/uint8" }, "render_not_in_network_icon": { "$ref": "#/definitions/bool" }, "rocket_parts_storage_cap": { "$ref": "#/definitions/uint32" }, "alarm_trigger": { "$ref": "#/definitions/TriggerEffect" }, "clamps_on_trigger": { "$ref": "#/definitions/TriggerEffect" }, "clamps_off_trigger": { "$ref": "#/definitions/TriggerEffect" }, "doors_trigger": { "$ref": "#/definitions/TriggerEffect" }, "raise_rocket_trigger": { "$ref": "#/definitions/TriggerEffect" }, "alarm_sound": { "$ref": "#/definitions/Sound" }, "quick_alarm_sound": { "$ref": "#/definitions/Sound" }, "clamps_on_sound": { "$ref": "#/definitions/Sound" }, "clamps_off_sound": { "$ref": "#/definitions/Sound" }, "doors_sound": { "$ref": "#/definitions/Sound" }, "raise_rocket_sound": { "$ref": "#/definitions/Sound" }, "to_be_inserted_to_rocket_inventory_size": { "$ref": "#/definitions/ItemStackIndex" }, "rocket_supply_inventory_size": { "$ref": "#/definitions/ItemStackIndex" }, "logistic_trash_inventory_size": { "$ref": "#/definitions/ItemStackIndex" }, "cargo_station_parameters": { "$ref": "#/definitions/CargoStationParameters" }, "launch_to_space_platforms": { "$ref": "#/definitions/bool" } }, "required": [ "type", "name", "energy_usage", "crafting_speed", "crafting_categories", "energy_source", "active_energy_usage", "lamp_energy_usage", "rocket_entity", "hole_clipping_box", "door_back_open_offset", "door_front_open_offset", "silo_fade_out_start_distance", "silo_fade_out_end_distance", "times_to_blink", "light_blinking_speed", "door_opening_speed", "rocket_parts_required", "rocket_quick_relaunch_start_offset", "cargo_station_parameters" ] }, "RocketSiloRocketPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/RocketSiloRocketPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "rocket-silo-rocket" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "collision_box": { "$ref": "#/definitions/BoundingBox" }, "collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "map_generator_bounding_box": { "$ref": "#/definitions/BoundingBox" }, "selection_box": { "$ref": "#/definitions/BoundingBox" }, "drawing_box_vertical_extension": { "$ref": "#/definitions/double" }, "sticker_box": { "$ref": "#/definitions/BoundingBox" }, "hit_visualization_box": { "$ref": "#/definitions/BoundingBox" }, "trigger_target_mask": { "$ref": "#/definitions/TriggerTargetMask" }, "flags": { "$ref": "#/definitions/EntityPrototypeFlags" }, "tile_buildability_rules": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileBuildabilityRule" } }, { "type": "object", "additionalProperties": false } ] }, "minable": { "$ref": "#/definitions/MinableProperties" }, "surface_conditions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SurfaceCondition" } }, { "type": "object", "additionalProperties": false } ] }, "deconstruction_alternative": { "$ref": "#/definitions/EntityID" }, "selection_priority": { "$ref": "#/definitions/uint8" }, "build_grid_size": { "$ref": "#/definitions/uint8" }, "remove_decoratives": { "anyOf": [ { "type": "string", "const": "automatic" }, { "type": "string", "const": "true" }, { "type": "string", "const": "false" } ] }, "emissions_per_second": { "type": "object", "additionalProperties": { "$ref": "#/definitions/double" }, "propertyNames": { "$ref": "#/definitions/AirbornePollutantID" } }, "shooting_cursor_size": { "$ref": "#/definitions/double" }, "created_smoke": { "$ref": "#/definitions/CreateTrivialSmokeEffectItem" }, "working_sound": { "$ref": "#/definitions/WorkingSound" }, "created_effect": { "$ref": "#/definitions/Trigger" }, "build_sound": { "$ref": "#/definitions/Sound" }, "mined_sound": { "$ref": "#/definitions/Sound" }, "mining_sound": { "$ref": "#/definitions/Sound" }, "rotated_sound": { "$ref": "#/definitions/Sound" }, "impact_category": { "$ref": "#/definitions/string" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "placeable_position_visualization": { "$ref": "#/definitions/Sprite" }, "radius_visualisation_specification": { "$ref": "#/definitions/RadiusVisualisationSpecification" }, "stateless_visualisation": { "$ref": "#/definitions/StatelessVisualisations" }, "build_base_evolution_requirement": { "$ref": "#/definitions/double" }, "alert_icon_shift": { "$ref": "#/definitions/Vector" }, "alert_icon_scale": { "$ref": "#/definitions/float" }, "fast_replaceable_group": { "$ref": "#/definitions/string" }, "next_upgrade": { "$ref": "#/definitions/EntityID" }, "protected_from_tile_building": { "$ref": "#/definitions/bool" }, "heating_energy": { "$ref": "#/definitions/Energy" }, "allow_copy_paste": { "$ref": "#/definitions/bool" }, "selectable_in_game": { "$ref": "#/definitions/bool" }, "placeable_by": { "anyOf": [ { "$ref": "#/definitions/ItemToPlace" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemToPlace" } }, { "type": "object", "additionalProperties": false } ] } ] }, "remains_when_mined": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "additional_pastable_entities": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] }, "tile_width": { "$ref": "#/definitions/int32" }, "tile_height": { "$ref": "#/definitions/int32" }, "diagonal_tile_grid_size": { "$ref": "#/definitions/TilePosition" }, "autoplace": { "$ref": "#/definitions/AutoplaceSpecification" }, "map_color": { "$ref": "#/definitions/Color" }, "friendly_map_color": { "$ref": "#/definitions/Color" }, "enemy_map_color": { "$ref": "#/definitions/Color" }, "water_reflection": { "$ref": "#/definitions/WaterReflectionDefinition" }, "ambient_sounds_group": { "$ref": "#/definitions/EntityID" }, "ambient_sounds": { "anyOf": [ { "$ref": "#/definitions/WorldAmbientSoundDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/WorldAmbientSoundDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "icon_draw_specification": { "$ref": "#/definitions/IconDrawSpecification" }, "icons_positioning": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconSequencePositioning" } }, { "type": "object", "additionalProperties": false } ] }, "shadow_slave_entity": { "$ref": "#/definitions/EntityID" }, "cargo_pod_entity": { "$ref": "#/definitions/EntityID" }, "dying_explosion": { "$ref": "#/definitions/EntityID" }, "glow_light": { "$ref": "#/definitions/LightDefinition" }, "rocket_sprite": { "$ref": "#/definitions/Sprite" }, "rocket_shadow_sprite": { "$ref": "#/definitions/Sprite" }, "rocket_glare_overlay_sprite": { "$ref": "#/definitions/Sprite" }, "rocket_smoke_bottom1_animation": { "$ref": "#/definitions/Animation" }, "rocket_smoke_bottom2_animation": { "$ref": "#/definitions/Animation" }, "rocket_smoke_top1_animation": { "$ref": "#/definitions/Animation" }, "rocket_smoke_top2_animation": { "$ref": "#/definitions/Animation" }, "rocket_smoke_top3_animation": { "$ref": "#/definitions/Animation" }, "rocket_flame_animation": { "$ref": "#/definitions/Animation" }, "rocket_flame_left_animation": { "$ref": "#/definitions/Animation" }, "rocket_flame_right_animation": { "$ref": "#/definitions/Animation" }, "rocket_initial_offset": { "$ref": "#/definitions/Vector" }, "rocket_rise_offset": { "$ref": "#/definitions/Vector" }, "cargo_attachment_offset": { "$ref": "#/definitions/Vector" }, "rocket_flame_left_rotation": { "$ref": "#/definitions/float" }, "rocket_flame_right_rotation": { "$ref": "#/definitions/float" }, "rocket_render_layer_switch_distance": { "$ref": "#/definitions/double" }, "full_render_layer_switch_distance": { "$ref": "#/definitions/double" }, "rocket_launch_offset": { "$ref": "#/definitions/Vector" }, "effects_fade_in_start_distance": { "$ref": "#/definitions/double" }, "effects_fade_in_end_distance": { "$ref": "#/definitions/double" }, "shadow_fade_out_start_ratio": { "$ref": "#/definitions/double" }, "shadow_fade_out_end_ratio": { "$ref": "#/definitions/double" }, "rocket_visible_distance_from_center": { "$ref": "#/definitions/float" }, "rocket_above_wires_slice_offset_from_center": { "$ref": "#/definitions/float" }, "rocket_air_object_slice_offset_from_center": { "$ref": "#/definitions/float" }, "rocket_fog_mask": { "$ref": "#/definitions/FogMaskShapeDefinition" }, "rising_speed": { "$ref": "#/definitions/double" }, "engine_starting_speed": { "$ref": "#/definitions/double" }, "flying_speed": { "$ref": "#/definitions/double" }, "flying_acceleration": { "$ref": "#/definitions/double" }, "flying_trigger": { "$ref": "#/definitions/TriggerEffect" }, "flying_sound": { "$ref": "#/definitions/Sound" }, "inventory_size": { "$ref": "#/definitions/ItemStackIndex" } }, "required": [ "type", "name", "cargo_pod_entity", "rocket_rise_offset", "rocket_flame_left_rotation", "rocket_flame_right_rotation", "rocket_render_layer_switch_distance", "full_render_layer_switch_distance", "rocket_launch_offset", "effects_fade_in_start_distance", "effects_fade_in_end_distance", "shadow_fade_out_start_ratio", "shadow_fade_out_end_ratio", "rocket_visible_distance_from_center", "rising_speed", "engine_starting_speed", "flying_speed", "flying_acceleration", "inventory_size" ] }, "RocketSiloRocketShadowPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/RocketSiloRocketShadowPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "rocket-silo-rocket-shadow" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "collision_box": { "$ref": "#/definitions/BoundingBox" }, "collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "map_generator_bounding_box": { "$ref": "#/definitions/BoundingBox" }, "selection_box": { "$ref": "#/definitions/BoundingBox" }, "drawing_box_vertical_extension": { "$ref": "#/definitions/double" }, "sticker_box": { "$ref": "#/definitions/BoundingBox" }, "hit_visualization_box": { "$ref": "#/definitions/BoundingBox" }, "trigger_target_mask": { "$ref": "#/definitions/TriggerTargetMask" }, "flags": { "$ref": "#/definitions/EntityPrototypeFlags" }, "tile_buildability_rules": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileBuildabilityRule" } }, { "type": "object", "additionalProperties": false } ] }, "minable": { "$ref": "#/definitions/MinableProperties" }, "surface_conditions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SurfaceCondition" } }, { "type": "object", "additionalProperties": false } ] }, "deconstruction_alternative": { "$ref": "#/definitions/EntityID" }, "selection_priority": { "$ref": "#/definitions/uint8" }, "build_grid_size": { "$ref": "#/definitions/uint8" }, "remove_decoratives": { "anyOf": [ { "type": "string", "const": "automatic" }, { "type": "string", "const": "true" }, { "type": "string", "const": "false" } ] }, "emissions_per_second": { "type": "object", "additionalProperties": { "$ref": "#/definitions/double" }, "propertyNames": { "$ref": "#/definitions/AirbornePollutantID" } }, "shooting_cursor_size": { "$ref": "#/definitions/double" }, "created_smoke": { "$ref": "#/definitions/CreateTrivialSmokeEffectItem" }, "working_sound": { "$ref": "#/definitions/WorkingSound" }, "created_effect": { "$ref": "#/definitions/Trigger" }, "build_sound": { "$ref": "#/definitions/Sound" }, "mined_sound": { "$ref": "#/definitions/Sound" }, "mining_sound": { "$ref": "#/definitions/Sound" }, "rotated_sound": { "$ref": "#/definitions/Sound" }, "impact_category": { "$ref": "#/definitions/string" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "placeable_position_visualization": { "$ref": "#/definitions/Sprite" }, "radius_visualisation_specification": { "$ref": "#/definitions/RadiusVisualisationSpecification" }, "stateless_visualisation": { "$ref": "#/definitions/StatelessVisualisations" }, "build_base_evolution_requirement": { "$ref": "#/definitions/double" }, "alert_icon_shift": { "$ref": "#/definitions/Vector" }, "alert_icon_scale": { "$ref": "#/definitions/float" }, "fast_replaceable_group": { "$ref": "#/definitions/string" }, "next_upgrade": { "$ref": "#/definitions/EntityID" }, "protected_from_tile_building": { "$ref": "#/definitions/bool" }, "heating_energy": { "$ref": "#/definitions/Energy" }, "allow_copy_paste": { "$ref": "#/definitions/bool" }, "selectable_in_game": { "$ref": "#/definitions/bool" }, "placeable_by": { "anyOf": [ { "$ref": "#/definitions/ItemToPlace" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemToPlace" } }, { "type": "object", "additionalProperties": false } ] } ] }, "remains_when_mined": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "additional_pastable_entities": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] }, "tile_width": { "$ref": "#/definitions/int32" }, "tile_height": { "$ref": "#/definitions/int32" }, "diagonal_tile_grid_size": { "$ref": "#/definitions/TilePosition" }, "autoplace": { "$ref": "#/definitions/AutoplaceSpecification" }, "map_color": { "$ref": "#/definitions/Color" }, "friendly_map_color": { "$ref": "#/definitions/Color" }, "enemy_map_color": { "$ref": "#/definitions/Color" }, "water_reflection": { "$ref": "#/definitions/WaterReflectionDefinition" }, "ambient_sounds_group": { "$ref": "#/definitions/EntityID" }, "ambient_sounds": { "anyOf": [ { "$ref": "#/definitions/WorldAmbientSoundDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/WorldAmbientSoundDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "icon_draw_specification": { "$ref": "#/definitions/IconDrawSpecification" }, "icons_positioning": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconSequencePositioning" } }, { "type": "object", "additionalProperties": false } ] } }, "required": [ "type", "name" ] }, "SegmentPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/SegmentPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "segment" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "collision_box": { "$ref": "#/definitions/BoundingBox" }, "collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "map_generator_bounding_box": { "$ref": "#/definitions/BoundingBox" }, "selection_box": { "$ref": "#/definitions/BoundingBox" }, "drawing_box_vertical_extension": { "$ref": "#/definitions/double" }, "sticker_box": { "$ref": "#/definitions/BoundingBox" }, "hit_visualization_box": { "$ref": "#/definitions/BoundingBox" }, "trigger_target_mask": { "$ref": "#/definitions/TriggerTargetMask" }, "flags": { "$ref": "#/definitions/EntityPrototypeFlags" }, "tile_buildability_rules": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileBuildabilityRule" } }, { "type": "object", "additionalProperties": false } ] }, "minable": { "$ref": "#/definitions/MinableProperties" }, "surface_conditions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SurfaceCondition" } }, { "type": "object", "additionalProperties": false } ] }, "deconstruction_alternative": { "$ref": "#/definitions/EntityID" }, "selection_priority": { "$ref": "#/definitions/uint8" }, "build_grid_size": { "$ref": "#/definitions/uint8" }, "remove_decoratives": { "anyOf": [ { "type": "string", "const": "automatic" }, { "type": "string", "const": "true" }, { "type": "string", "const": "false" } ] }, "emissions_per_second": { "type": "object", "additionalProperties": { "$ref": "#/definitions/double" }, "propertyNames": { "$ref": "#/definitions/AirbornePollutantID" } }, "shooting_cursor_size": { "$ref": "#/definitions/double" }, "created_smoke": { "$ref": "#/definitions/CreateTrivialSmokeEffectItem" }, "working_sound": { "$ref": "#/definitions/WorkingSound" }, "created_effect": { "$ref": "#/definitions/Trigger" }, "build_sound": { "$ref": "#/definitions/Sound" }, "mined_sound": { "$ref": "#/definitions/Sound" }, "mining_sound": { "$ref": "#/definitions/Sound" }, "rotated_sound": { "$ref": "#/definitions/Sound" }, "impact_category": { "$ref": "#/definitions/string" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "placeable_position_visualization": { "$ref": "#/definitions/Sprite" }, "radius_visualisation_specification": { "$ref": "#/definitions/RadiusVisualisationSpecification" }, "stateless_visualisation": { "$ref": "#/definitions/StatelessVisualisations" }, "build_base_evolution_requirement": { "$ref": "#/definitions/double" }, "alert_icon_shift": { "$ref": "#/definitions/Vector" }, "alert_icon_scale": { "$ref": "#/definitions/float" }, "fast_replaceable_group": { "$ref": "#/definitions/string" }, "next_upgrade": { "$ref": "#/definitions/EntityID" }, "protected_from_tile_building": { "$ref": "#/definitions/bool" }, "heating_energy": { "$ref": "#/definitions/Energy" }, "allow_copy_paste": { "$ref": "#/definitions/bool" }, "selectable_in_game": { "$ref": "#/definitions/bool" }, "placeable_by": { "anyOf": [ { "$ref": "#/definitions/ItemToPlace" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemToPlace" } }, { "type": "object", "additionalProperties": false } ] } ] }, "remains_when_mined": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "additional_pastable_entities": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] }, "tile_width": { "$ref": "#/definitions/int32" }, "tile_height": { "$ref": "#/definitions/int32" }, "diagonal_tile_grid_size": { "$ref": "#/definitions/TilePosition" }, "autoplace": { "$ref": "#/definitions/AutoplaceSpecification" }, "map_color": { "$ref": "#/definitions/Color" }, "friendly_map_color": { "$ref": "#/definitions/Color" }, "enemy_map_color": { "$ref": "#/definitions/Color" }, "water_reflection": { "$ref": "#/definitions/WaterReflectionDefinition" }, "ambient_sounds_group": { "$ref": "#/definitions/EntityID" }, "ambient_sounds": { "anyOf": [ { "$ref": "#/definitions/WorldAmbientSoundDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/WorldAmbientSoundDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "icon_draw_specification": { "$ref": "#/definitions/IconDrawSpecification" }, "icons_positioning": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconSequencePositioning" } }, { "type": "object", "additionalProperties": false } ] }, "max_health": { "$ref": "#/definitions/float" }, "healing_per_tick": { "$ref": "#/definitions/float" }, "repair_speed_modifier": { "$ref": "#/definitions/float" }, "dying_explosion": { "anyOf": [ { "$ref": "#/definitions/ExplosionDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ExplosionDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "dying_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "damaged_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "loot": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/LootItem" } }, { "type": "object", "additionalProperties": false } ] }, "resistances": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Resistance" } }, { "type": "object", "additionalProperties": false } ] }, "attack_reaction": { "anyOf": [ { "$ref": "#/definitions/AttackReactionItem" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/AttackReactionItem" } }, { "type": "object", "additionalProperties": false } ] } ] }, "repair_sound": { "$ref": "#/definitions/Sound" }, "alert_when_damaged": { "$ref": "#/definitions/bool" }, "hide_resistances": { "$ref": "#/definitions/bool" }, "create_ghost_on_death": { "$ref": "#/definitions/bool" }, "random_corpse_variation": { "$ref": "#/definitions/bool" }, "integration_patch_render_layer": { "$ref": "#/definitions/RenderLayer" }, "corpse": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "integration_patch": { "$ref": "#/definitions/Sprite4Way" }, "overkill_fraction": { "$ref": "#/definitions/float" }, "is_military_target": { "$ref": "#/definitions/bool" }, "allow_run_time_change_of_is_military_target": { "$ref": "#/definitions/bool" }, "quality_indicator_scale": { "$ref": "#/definitions/double" }, "dying_sound": { "$ref": "#/definitions/Sound" }, "dying_sound_volume_modifier": { "$ref": "#/definitions/float" }, "animation": { "$ref": "#/definitions/RotatedAnimation" }, "render_layer": { "$ref": "#/definitions/RenderLayer" }, "forward_overlap": { "$ref": "#/definitions/uint8" }, "backward_overlap": { "$ref": "#/definitions/uint8" }, "forward_padding": { "$ref": "#/definitions/double" }, "backward_padding": { "$ref": "#/definitions/double" }, "update_effects": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TriggerEffectWithCooldown" } }, { "type": "object", "additionalProperties": false } ] }, "update_effects_while_enraged": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TriggerEffectWithCooldown" } }, { "type": "object", "additionalProperties": false } ] } }, "required": [ "type", "name", "animation" ] }, "SegmentedUnitPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/SegmentedUnitPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "segmented-unit" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "collision_box": { "$ref": "#/definitions/BoundingBox" }, "collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "map_generator_bounding_box": { "$ref": "#/definitions/BoundingBox" }, "selection_box": { "$ref": "#/definitions/BoundingBox" }, "drawing_box_vertical_extension": { "$ref": "#/definitions/double" }, "sticker_box": { "$ref": "#/definitions/BoundingBox" }, "hit_visualization_box": { "$ref": "#/definitions/BoundingBox" }, "trigger_target_mask": { "$ref": "#/definitions/TriggerTargetMask" }, "flags": { "$ref": "#/definitions/EntityPrototypeFlags" }, "tile_buildability_rules": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileBuildabilityRule" } }, { "type": "object", "additionalProperties": false } ] }, "minable": { "$ref": "#/definitions/MinableProperties" }, "surface_conditions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SurfaceCondition" } }, { "type": "object", "additionalProperties": false } ] }, "deconstruction_alternative": { "$ref": "#/definitions/EntityID" }, "selection_priority": { "$ref": "#/definitions/uint8" }, "build_grid_size": { "$ref": "#/definitions/uint8" }, "remove_decoratives": { "anyOf": [ { "type": "string", "const": "automatic" }, { "type": "string", "const": "true" }, { "type": "string", "const": "false" } ] }, "emissions_per_second": { "type": "object", "additionalProperties": { "$ref": "#/definitions/double" }, "propertyNames": { "$ref": "#/definitions/AirbornePollutantID" } }, "shooting_cursor_size": { "$ref": "#/definitions/double" }, "created_smoke": { "$ref": "#/definitions/CreateTrivialSmokeEffectItem" }, "working_sound": { "$ref": "#/definitions/WorkingSound" }, "created_effect": { "$ref": "#/definitions/Trigger" }, "build_sound": { "$ref": "#/definitions/Sound" }, "mined_sound": { "$ref": "#/definitions/Sound" }, "mining_sound": { "$ref": "#/definitions/Sound" }, "rotated_sound": { "$ref": "#/definitions/Sound" }, "impact_category": { "$ref": "#/definitions/string" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "placeable_position_visualization": { "$ref": "#/definitions/Sprite" }, "radius_visualisation_specification": { "$ref": "#/definitions/RadiusVisualisationSpecification" }, "stateless_visualisation": { "$ref": "#/definitions/StatelessVisualisations" }, "build_base_evolution_requirement": { "$ref": "#/definitions/double" }, "alert_icon_shift": { "$ref": "#/definitions/Vector" }, "alert_icon_scale": { "$ref": "#/definitions/float" }, "fast_replaceable_group": { "$ref": "#/definitions/string" }, "next_upgrade": { "$ref": "#/definitions/EntityID" }, "protected_from_tile_building": { "$ref": "#/definitions/bool" }, "heating_energy": { "$ref": "#/definitions/Energy" }, "allow_copy_paste": { "$ref": "#/definitions/bool" }, "selectable_in_game": { "$ref": "#/definitions/bool" }, "placeable_by": { "anyOf": [ { "$ref": "#/definitions/ItemToPlace" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemToPlace" } }, { "type": "object", "additionalProperties": false } ] } ] }, "remains_when_mined": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "additional_pastable_entities": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] }, "tile_width": { "$ref": "#/definitions/int32" }, "tile_height": { "$ref": "#/definitions/int32" }, "diagonal_tile_grid_size": { "$ref": "#/definitions/TilePosition" }, "autoplace": { "$ref": "#/definitions/AutoplaceSpecification" }, "map_color": { "$ref": "#/definitions/Color" }, "friendly_map_color": { "$ref": "#/definitions/Color" }, "enemy_map_color": { "$ref": "#/definitions/Color" }, "water_reflection": { "$ref": "#/definitions/WaterReflectionDefinition" }, "ambient_sounds_group": { "$ref": "#/definitions/EntityID" }, "ambient_sounds": { "anyOf": [ { "$ref": "#/definitions/WorldAmbientSoundDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/WorldAmbientSoundDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "icon_draw_specification": { "$ref": "#/definitions/IconDrawSpecification" }, "icons_positioning": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconSequencePositioning" } }, { "type": "object", "additionalProperties": false } ] }, "max_health": { "$ref": "#/definitions/float" }, "healing_per_tick": { "$ref": "#/definitions/float" }, "repair_speed_modifier": { "$ref": "#/definitions/float" }, "dying_explosion": { "anyOf": [ { "$ref": "#/definitions/ExplosionDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ExplosionDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "dying_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "damaged_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "loot": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/LootItem" } }, { "type": "object", "additionalProperties": false } ] }, "resistances": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Resistance" } }, { "type": "object", "additionalProperties": false } ] }, "attack_reaction": { "anyOf": [ { "$ref": "#/definitions/AttackReactionItem" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/AttackReactionItem" } }, { "type": "object", "additionalProperties": false } ] } ] }, "repair_sound": { "$ref": "#/definitions/Sound" }, "alert_when_damaged": { "$ref": "#/definitions/bool" }, "hide_resistances": { "$ref": "#/definitions/bool" }, "create_ghost_on_death": { "$ref": "#/definitions/bool" }, "random_corpse_variation": { "$ref": "#/definitions/bool" }, "integration_patch_render_layer": { "$ref": "#/definitions/RenderLayer" }, "corpse": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "integration_patch": { "$ref": "#/definitions/Sprite4Way" }, "overkill_fraction": { "$ref": "#/definitions/float" }, "is_military_target": { "$ref": "#/definitions/bool" }, "allow_run_time_change_of_is_military_target": { "$ref": "#/definitions/bool" }, "quality_indicator_scale": { "$ref": "#/definitions/double" }, "dying_sound": { "$ref": "#/definitions/Sound" }, "dying_sound_volume_modifier": { "$ref": "#/definitions/float" }, "animation": { "$ref": "#/definitions/RotatedAnimation" }, "render_layer": { "$ref": "#/definitions/RenderLayer" }, "forward_overlap": { "$ref": "#/definitions/uint8" }, "backward_overlap": { "$ref": "#/definitions/uint8" }, "forward_padding": { "$ref": "#/definitions/double" }, "backward_padding": { "$ref": "#/definitions/double" }, "update_effects": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TriggerEffectWithCooldown" } }, { "type": "object", "additionalProperties": false } ] }, "update_effects_while_enraged": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TriggerEffectWithCooldown" } }, { "type": "object", "additionalProperties": false } ] }, "vision_distance": { "$ref": "#/definitions/double" }, "attack_parameters": { "$ref": "#/definitions/AttackParameters" }, "revenge_attack_parameters": { "$ref": "#/definitions/AttackParameters" }, "territory_radius": { "$ref": "#/definitions/uint32" }, "enraged_duration": { "$ref": "#/definitions/uint32" }, "patrolling_speed": { "$ref": "#/definitions/double" }, "investigating_speed": { "$ref": "#/definitions/double" }, "attacking_speed": { "$ref": "#/definitions/double" }, "enraged_speed": { "$ref": "#/definitions/double" }, "acceleration_rate": { "$ref": "#/definitions/double" }, "turn_radius": { "$ref": "#/definitions/double" }, "patrolling_turn_radius": { "$ref": "#/definitions/double" }, "turn_smoothing": { "$ref": "#/definitions/double" }, "ticks_per_scan": { "$ref": "#/definitions/uint32" }, "segment_engine": { "$ref": "#/definitions/SegmentEngineSpecification" }, "roar": { "$ref": "#/definitions/Sound" }, "roar_probability": { "$ref": "#/definitions/float" }, "hurt_roar": { "$ref": "#/definitions/Sound" }, "hurt_thresholds": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/float" } }, { "type": "object", "additionalProperties": false } ] } }, "required": [ "type", "name", "animation", "vision_distance", "territory_radius", "enraged_duration", "patrolling_speed", "investigating_speed", "attacking_speed", "enraged_speed", "acceleration_rate", "turn_radius", "segment_engine" ] }, "SelectionToolPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/SelectionToolPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "selection-tool" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "stack_size": { "$ref": "#/definitions/ItemCountType" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "dark_background_icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "dark_background_icon": { "$ref": "#/definitions/FileName" }, "dark_background_icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "place_result": { "$ref": "#/definitions/EntityID" }, "place_as_equipment_result": { "$ref": "#/definitions/EquipmentID" }, "fuel_category": { "$ref": "#/definitions/FuelCategoryID" }, "burnt_result": { "$ref": "#/definitions/ItemID" }, "spoil_result": { "$ref": "#/definitions/ItemID" }, "plant_result": { "$ref": "#/definitions/EntityID" }, "place_as_tile": { "type": "object", "properties": { "result": { "$ref": "#/definitions/TileID" }, "condition": { "$ref": "#/definitions/CollisionMaskConnector" }, "invert": { "$ref": "#/definitions/bool" }, "condition_size": { "$ref": "#/definitions/uint32" }, "tile_condition": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileID" } }, { "type": "object", "additionalProperties": false } ] } }, "required": [ "result", "condition", "condition_size" ] }, "pictures": { "$ref": "#/definitions/SpriteVariations" }, "flags": { "$ref": "#/definitions/ItemPrototypeFlags" }, "spoil_ticks": { "$ref": "#/definitions/uint32" }, "fuel_value": { "$ref": "#/definitions/Energy" }, "fuel_acceleration_multiplier": { "$ref": "#/definitions/double" }, "fuel_top_speed_multiplier": { "$ref": "#/definitions/double" }, "fuel_emissions_multiplier": { "$ref": "#/definitions/double" }, "fuel_acceleration_multiplier_quality_bonus": { "$ref": "#/definitions/double" }, "fuel_top_speed_multiplier_quality_bonus": { "$ref": "#/definitions/double" }, "weight": { "$ref": "#/definitions/Weight" }, "ingredient_to_weight_coefficient": { "$ref": "#/definitions/double" }, "fuel_glow_color": { "$ref": "#/definitions/Color" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "pick_sound": { "$ref": "#/definitions/Sound" }, "drop_sound": { "$ref": "#/definitions/Sound" }, "inventory_move_sound": { "$ref": "#/definitions/Sound" }, "default_import_location": { "$ref": "#/definitions/SpaceLocationID" }, "color_hint": { "$ref": "#/definitions/ColorHintSpecification" }, "has_random_tint": { "$ref": "#/definitions/bool" }, "spoil_to_trigger_result": { "$ref": "#/definitions/SpoilToTriggerResult" }, "destroyed_by_dropping_trigger": { "$ref": "#/definitions/Trigger" }, "rocket_launch_products": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemProductPrototype" } }, { "type": "object", "additionalProperties": false } ] }, "send_to_orbit_mode": { "$ref": "#/definitions/SendToOrbitMode" }, "random_tint_color": { "$ref": "#/definitions/Color" }, "spoil_level": { "$ref": "#/definitions/uint8" }, "default_label_color": { "$ref": "#/definitions/Color" }, "draw_label_for_cursor_render": { "$ref": "#/definitions/bool" }, "select": { "$ref": "#/definitions/SelectionModeData" }, "alt_select": { "$ref": "#/definitions/SelectionModeData" }, "super_forced_select": { "$ref": "#/definitions/SelectionModeData" }, "reverse_select": { "$ref": "#/definitions/SelectionModeData" }, "alt_reverse_select": { "$ref": "#/definitions/SelectionModeData" }, "always_include_tiles": { "$ref": "#/definitions/bool" }, "mouse_cursor": { "$ref": "#/definitions/MouseCursorID" }, "skip_fog_of_war": { "$ref": "#/definitions/bool" } }, "required": [ "type", "name", "stack_size", "select", "alt_select" ] }, "SelectorCombinatorPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/SelectorCombinatorPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "selector-combinator" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "collision_box": { "$ref": "#/definitions/BoundingBox" }, "collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "map_generator_bounding_box": { "$ref": "#/definitions/BoundingBox" }, "selection_box": { "$ref": "#/definitions/BoundingBox" }, "drawing_box_vertical_extension": { "$ref": "#/definitions/double" }, "sticker_box": { "$ref": "#/definitions/BoundingBox" }, "hit_visualization_box": { "$ref": "#/definitions/BoundingBox" }, "trigger_target_mask": { "$ref": "#/definitions/TriggerTargetMask" }, "flags": { "$ref": "#/definitions/EntityPrototypeFlags" }, "tile_buildability_rules": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileBuildabilityRule" } }, { "type": "object", "additionalProperties": false } ] }, "minable": { "$ref": "#/definitions/MinableProperties" }, "surface_conditions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SurfaceCondition" } }, { "type": "object", "additionalProperties": false } ] }, "deconstruction_alternative": { "$ref": "#/definitions/EntityID" }, "selection_priority": { "$ref": "#/definitions/uint8" }, "build_grid_size": { "$ref": "#/definitions/uint8" }, "remove_decoratives": { "anyOf": [ { "type": "string", "const": "automatic" }, { "type": "string", "const": "true" }, { "type": "string", "const": "false" } ] }, "emissions_per_second": { "type": "object", "additionalProperties": { "$ref": "#/definitions/double" }, "propertyNames": { "$ref": "#/definitions/AirbornePollutantID" } }, "shooting_cursor_size": { "$ref": "#/definitions/double" }, "created_smoke": { "$ref": "#/definitions/CreateTrivialSmokeEffectItem" }, "working_sound": { "$ref": "#/definitions/WorkingSound" }, "created_effect": { "$ref": "#/definitions/Trigger" }, "build_sound": { "$ref": "#/definitions/Sound" }, "mined_sound": { "$ref": "#/definitions/Sound" }, "mining_sound": { "$ref": "#/definitions/Sound" }, "rotated_sound": { "$ref": "#/definitions/Sound" }, "impact_category": { "$ref": "#/definitions/string" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "placeable_position_visualization": { "$ref": "#/definitions/Sprite" }, "radius_visualisation_specification": { "$ref": "#/definitions/RadiusVisualisationSpecification" }, "stateless_visualisation": { "$ref": "#/definitions/StatelessVisualisations" }, "build_base_evolution_requirement": { "$ref": "#/definitions/double" }, "alert_icon_shift": { "$ref": "#/definitions/Vector" }, "alert_icon_scale": { "$ref": "#/definitions/float" }, "fast_replaceable_group": { "$ref": "#/definitions/string" }, "next_upgrade": { "$ref": "#/definitions/EntityID" }, "protected_from_tile_building": { "$ref": "#/definitions/bool" }, "heating_energy": { "$ref": "#/definitions/Energy" }, "allow_copy_paste": { "$ref": "#/definitions/bool" }, "selectable_in_game": { "$ref": "#/definitions/bool" }, "placeable_by": { "anyOf": [ { "$ref": "#/definitions/ItemToPlace" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemToPlace" } }, { "type": "object", "additionalProperties": false } ] } ] }, "remains_when_mined": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "additional_pastable_entities": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] }, "tile_width": { "$ref": "#/definitions/int32" }, "tile_height": { "$ref": "#/definitions/int32" }, "diagonal_tile_grid_size": { "$ref": "#/definitions/TilePosition" }, "autoplace": { "$ref": "#/definitions/AutoplaceSpecification" }, "map_color": { "$ref": "#/definitions/Color" }, "friendly_map_color": { "$ref": "#/definitions/Color" }, "enemy_map_color": { "$ref": "#/definitions/Color" }, "water_reflection": { "$ref": "#/definitions/WaterReflectionDefinition" }, "ambient_sounds_group": { "$ref": "#/definitions/EntityID" }, "ambient_sounds": { "anyOf": [ { "$ref": "#/definitions/WorldAmbientSoundDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/WorldAmbientSoundDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "icon_draw_specification": { "$ref": "#/definitions/IconDrawSpecification" }, "icons_positioning": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconSequencePositioning" } }, { "type": "object", "additionalProperties": false } ] }, "max_health": { "$ref": "#/definitions/float" }, "healing_per_tick": { "$ref": "#/definitions/float" }, "repair_speed_modifier": { "$ref": "#/definitions/float" }, "dying_explosion": { "anyOf": [ { "$ref": "#/definitions/ExplosionDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ExplosionDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "dying_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "damaged_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "loot": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/LootItem" } }, { "type": "object", "additionalProperties": false } ] }, "resistances": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Resistance" } }, { "type": "object", "additionalProperties": false } ] }, "attack_reaction": { "anyOf": [ { "$ref": "#/definitions/AttackReactionItem" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/AttackReactionItem" } }, { "type": "object", "additionalProperties": false } ] } ] }, "repair_sound": { "$ref": "#/definitions/Sound" }, "alert_when_damaged": { "$ref": "#/definitions/bool" }, "hide_resistances": { "$ref": "#/definitions/bool" }, "create_ghost_on_death": { "$ref": "#/definitions/bool" }, "random_corpse_variation": { "$ref": "#/definitions/bool" }, "integration_patch_render_layer": { "$ref": "#/definitions/RenderLayer" }, "corpse": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "integration_patch": { "$ref": "#/definitions/Sprite4Way" }, "overkill_fraction": { "$ref": "#/definitions/float" }, "is_military_target": { "$ref": "#/definitions/bool" }, "allow_run_time_change_of_is_military_target": { "$ref": "#/definitions/bool" }, "quality_indicator_scale": { "$ref": "#/definitions/double" }, "energy_source": { "anyOf": [ { "$ref": "#/definitions/ElectricEnergySource" }, { "$ref": "#/definitions/VoidEnergySource" } ] }, "active_energy_usage": { "$ref": "#/definitions/Energy" }, "sprites": { "$ref": "#/definitions/Sprite4Way" }, "frozen_patch": { "$ref": "#/definitions/Sprite4Way" }, "activity_led_sprites": { "$ref": "#/definitions/Sprite4Way" }, "input_connection_bounding_box": { "$ref": "#/definitions/BoundingBox" }, "output_connection_bounding_box": { "$ref": "#/definitions/BoundingBox" }, "activity_led_light_offsets": { "type": "array", "items": [ { "$ref": "#/definitions/Vector" }, { "$ref": "#/definitions/Vector" }, { "$ref": "#/definitions/Vector" }, { "$ref": "#/definitions/Vector" } ], "minItems": 4, "maxItems": 4 }, "screen_light_offsets": { "type": "array", "items": [ { "$ref": "#/definitions/Vector" }, { "$ref": "#/definitions/Vector" }, { "$ref": "#/definitions/Vector" }, { "$ref": "#/definitions/Vector" } ], "minItems": 4, "maxItems": 4 }, "input_connection_points": { "type": "array", "items": [ { "$ref": "#/definitions/WireConnectionPoint" }, { "$ref": "#/definitions/WireConnectionPoint" }, { "$ref": "#/definitions/WireConnectionPoint" }, { "$ref": "#/definitions/WireConnectionPoint" } ], "minItems": 4, "maxItems": 4 }, "output_connection_points": { "type": "array", "items": [ { "$ref": "#/definitions/WireConnectionPoint" }, { "$ref": "#/definitions/WireConnectionPoint" }, { "$ref": "#/definitions/WireConnectionPoint" }, { "$ref": "#/definitions/WireConnectionPoint" } ], "minItems": 4, "maxItems": 4 }, "activity_led_light": { "$ref": "#/definitions/LightDefinition" }, "screen_light": { "$ref": "#/definitions/LightDefinition" }, "activity_led_hold_time": { "$ref": "#/definitions/uint8" }, "circuit_wire_max_distance": { "$ref": "#/definitions/double" }, "draw_copper_wires": { "$ref": "#/definitions/bool" }, "draw_circuit_wires": { "$ref": "#/definitions/bool" }, "max_symbol_sprites": { "$ref": "#/definitions/Sprite4Way" }, "min_symbol_sprites": { "$ref": "#/definitions/Sprite4Way" }, "count_symbol_sprites": { "$ref": "#/definitions/Sprite4Way" }, "random_symbol_sprites": { "$ref": "#/definitions/Sprite4Way" }, "stack_size_sprites": { "$ref": "#/definitions/Sprite4Way" }, "rocket_capacity_sprites": { "$ref": "#/definitions/Sprite4Way" }, "quality_symbol_sprites": { "$ref": "#/definitions/Sprite4Way" } }, "required": [ "type", "name", "energy_source", "active_energy_usage", "input_connection_bounding_box", "output_connection_bounding_box", "activity_led_light_offsets", "screen_light_offsets", "input_connection_points", "output_connection_points" ] }, "ShootAchievementPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/ShootAchievementPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "shoot-achievement" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "steam_stats_name": { "$ref": "#/definitions/string" }, "allowed_without_fight": { "$ref": "#/definitions/bool" }, "ammo_type": { "$ref": "#/definitions/ItemID" }, "amount": { "$ref": "#/definitions/uint32" } }, "required": [ "type", "name" ] }, "ShortcutPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/ShortcutPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "shortcut" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "action": { "anyOf": [ { "type": "string", "const": "toggle-alt-mode" }, { "type": "string", "const": "undo" }, { "type": "string", "const": "copy" }, { "type": "string", "const": "cut" }, { "type": "string", "const": "paste" }, { "type": "string", "const": "import-string" }, { "type": "string", "const": "toggle-personal-roboport" }, { "type": "string", "const": "toggle-equipment-movement-bonus" }, { "type": "string", "const": "spawn-item" }, { "type": "string", "const": "lua" }, { "type": "string", "const": "redo" } ] }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "small_icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "small_icon": { "$ref": "#/definitions/FileName" }, "small_icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "item_to_spawn": { "$ref": "#/definitions/ItemID" }, "technology_to_unlock": { "$ref": "#/definitions/TechnologyID" }, "unavailable_until_unlocked": { "$ref": "#/definitions/bool" }, "toggleable": { "$ref": "#/definitions/bool" }, "associated_control_input": { "$ref": "#/definitions/string" }, "style": { "anyOf": [ { "type": "string", "const": "default" }, { "type": "string", "const": "blue" }, { "type": "string", "const": "red" }, { "type": "string", "const": "green" } ] } }, "required": [ "type", "name", "action" ] }, "SimpleEntityPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/SimpleEntityPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "simple-entity" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "collision_box": { "$ref": "#/definitions/BoundingBox" }, "collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "map_generator_bounding_box": { "$ref": "#/definitions/BoundingBox" }, "selection_box": { "$ref": "#/definitions/BoundingBox" }, "drawing_box_vertical_extension": { "$ref": "#/definitions/double" }, "sticker_box": { "$ref": "#/definitions/BoundingBox" }, "hit_visualization_box": { "$ref": "#/definitions/BoundingBox" }, "trigger_target_mask": { "$ref": "#/definitions/TriggerTargetMask" }, "flags": { "$ref": "#/definitions/EntityPrototypeFlags" }, "tile_buildability_rules": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileBuildabilityRule" } }, { "type": "object", "additionalProperties": false } ] }, "minable": { "$ref": "#/definitions/MinableProperties" }, "surface_conditions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SurfaceCondition" } }, { "type": "object", "additionalProperties": false } ] }, "deconstruction_alternative": { "$ref": "#/definitions/EntityID" }, "selection_priority": { "$ref": "#/definitions/uint8" }, "build_grid_size": { "$ref": "#/definitions/uint8" }, "remove_decoratives": { "anyOf": [ { "type": "string", "const": "automatic" }, { "type": "string", "const": "true" }, { "type": "string", "const": "false" } ] }, "emissions_per_second": { "type": "object", "additionalProperties": { "$ref": "#/definitions/double" }, "propertyNames": { "$ref": "#/definitions/AirbornePollutantID" } }, "shooting_cursor_size": { "$ref": "#/definitions/double" }, "created_smoke": { "$ref": "#/definitions/CreateTrivialSmokeEffectItem" }, "working_sound": { "$ref": "#/definitions/WorkingSound" }, "created_effect": { "$ref": "#/definitions/Trigger" }, "build_sound": { "$ref": "#/definitions/Sound" }, "mined_sound": { "$ref": "#/definitions/Sound" }, "mining_sound": { "$ref": "#/definitions/Sound" }, "rotated_sound": { "$ref": "#/definitions/Sound" }, "impact_category": { "$ref": "#/definitions/string" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "placeable_position_visualization": { "$ref": "#/definitions/Sprite" }, "radius_visualisation_specification": { "$ref": "#/definitions/RadiusVisualisationSpecification" }, "stateless_visualisation": { "$ref": "#/definitions/StatelessVisualisations" }, "build_base_evolution_requirement": { "$ref": "#/definitions/double" }, "alert_icon_shift": { "$ref": "#/definitions/Vector" }, "alert_icon_scale": { "$ref": "#/definitions/float" }, "fast_replaceable_group": { "$ref": "#/definitions/string" }, "next_upgrade": { "$ref": "#/definitions/EntityID" }, "protected_from_tile_building": { "$ref": "#/definitions/bool" }, "heating_energy": { "$ref": "#/definitions/Energy" }, "allow_copy_paste": { "$ref": "#/definitions/bool" }, "selectable_in_game": { "$ref": "#/definitions/bool" }, "placeable_by": { "anyOf": [ { "$ref": "#/definitions/ItemToPlace" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemToPlace" } }, { "type": "object", "additionalProperties": false } ] } ] }, "remains_when_mined": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "additional_pastable_entities": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] }, "tile_width": { "$ref": "#/definitions/int32" }, "tile_height": { "$ref": "#/definitions/int32" }, "diagonal_tile_grid_size": { "$ref": "#/definitions/TilePosition" }, "autoplace": { "$ref": "#/definitions/AutoplaceSpecification" }, "map_color": { "$ref": "#/definitions/Color" }, "friendly_map_color": { "$ref": "#/definitions/Color" }, "enemy_map_color": { "$ref": "#/definitions/Color" }, "water_reflection": { "$ref": "#/definitions/WaterReflectionDefinition" }, "ambient_sounds_group": { "$ref": "#/definitions/EntityID" }, "ambient_sounds": { "anyOf": [ { "$ref": "#/definitions/WorldAmbientSoundDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/WorldAmbientSoundDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "icon_draw_specification": { "$ref": "#/definitions/IconDrawSpecification" }, "icons_positioning": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconSequencePositioning" } }, { "type": "object", "additionalProperties": false } ] }, "max_health": { "$ref": "#/definitions/float" }, "healing_per_tick": { "$ref": "#/definitions/float" }, "repair_speed_modifier": { "$ref": "#/definitions/float" }, "dying_explosion": { "anyOf": [ { "$ref": "#/definitions/ExplosionDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ExplosionDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "dying_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "damaged_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "loot": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/LootItem" } }, { "type": "object", "additionalProperties": false } ] }, "resistances": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Resistance" } }, { "type": "object", "additionalProperties": false } ] }, "attack_reaction": { "anyOf": [ { "$ref": "#/definitions/AttackReactionItem" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/AttackReactionItem" } }, { "type": "object", "additionalProperties": false } ] } ] }, "repair_sound": { "$ref": "#/definitions/Sound" }, "alert_when_damaged": { "$ref": "#/definitions/bool" }, "hide_resistances": { "$ref": "#/definitions/bool" }, "create_ghost_on_death": { "$ref": "#/definitions/bool" }, "random_corpse_variation": { "$ref": "#/definitions/bool" }, "integration_patch_render_layer": { "$ref": "#/definitions/RenderLayer" }, "corpse": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "integration_patch": { "$ref": "#/definitions/Sprite4Way" }, "overkill_fraction": { "$ref": "#/definitions/float" }, "count_as_rock_for_filtered_deconstruction": { "$ref": "#/definitions/bool" }, "render_layer": { "$ref": "#/definitions/RenderLayer" }, "secondary_draw_order": { "$ref": "#/definitions/int8" }, "random_animation_offset": { "$ref": "#/definitions/bool" }, "random_variation_on_create": { "$ref": "#/definitions/bool" }, "pictures": { "$ref": "#/definitions/SpriteVariations" }, "picture": { "$ref": "#/definitions/Sprite4Way" }, "animations": { "$ref": "#/definitions/AnimationVariations" }, "lower_render_layer": { "$ref": "#/definitions/RenderLayer" }, "lower_pictures": { "$ref": "#/definitions/SpriteVariations" }, "stateless_visualisation_variations": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/StatelessVisualisations" } }, { "type": "object", "additionalProperties": false } ] } }, "required": [ "type", "name" ] }, "SimpleEntityWithForcePrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/SimpleEntityWithForcePrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "simple-entity-with-force" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "collision_box": { "$ref": "#/definitions/BoundingBox" }, "collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "map_generator_bounding_box": { "$ref": "#/definitions/BoundingBox" }, "selection_box": { "$ref": "#/definitions/BoundingBox" }, "drawing_box_vertical_extension": { "$ref": "#/definitions/double" }, "sticker_box": { "$ref": "#/definitions/BoundingBox" }, "hit_visualization_box": { "$ref": "#/definitions/BoundingBox" }, "trigger_target_mask": { "$ref": "#/definitions/TriggerTargetMask" }, "flags": { "$ref": "#/definitions/EntityPrototypeFlags" }, "tile_buildability_rules": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileBuildabilityRule" } }, { "type": "object", "additionalProperties": false } ] }, "minable": { "$ref": "#/definitions/MinableProperties" }, "surface_conditions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SurfaceCondition" } }, { "type": "object", "additionalProperties": false } ] }, "deconstruction_alternative": { "$ref": "#/definitions/EntityID" }, "selection_priority": { "$ref": "#/definitions/uint8" }, "build_grid_size": { "$ref": "#/definitions/uint8" }, "remove_decoratives": { "anyOf": [ { "type": "string", "const": "automatic" }, { "type": "string", "const": "true" }, { "type": "string", "const": "false" } ] }, "emissions_per_second": { "type": "object", "additionalProperties": { "$ref": "#/definitions/double" }, "propertyNames": { "$ref": "#/definitions/AirbornePollutantID" } }, "shooting_cursor_size": { "$ref": "#/definitions/double" }, "created_smoke": { "$ref": "#/definitions/CreateTrivialSmokeEffectItem" }, "working_sound": { "$ref": "#/definitions/WorkingSound" }, "created_effect": { "$ref": "#/definitions/Trigger" }, "build_sound": { "$ref": "#/definitions/Sound" }, "mined_sound": { "$ref": "#/definitions/Sound" }, "mining_sound": { "$ref": "#/definitions/Sound" }, "rotated_sound": { "$ref": "#/definitions/Sound" }, "impact_category": { "$ref": "#/definitions/string" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "placeable_position_visualization": { "$ref": "#/definitions/Sprite" }, "radius_visualisation_specification": { "$ref": "#/definitions/RadiusVisualisationSpecification" }, "stateless_visualisation": { "$ref": "#/definitions/StatelessVisualisations" }, "build_base_evolution_requirement": { "$ref": "#/definitions/double" }, "alert_icon_shift": { "$ref": "#/definitions/Vector" }, "alert_icon_scale": { "$ref": "#/definitions/float" }, "fast_replaceable_group": { "$ref": "#/definitions/string" }, "next_upgrade": { "$ref": "#/definitions/EntityID" }, "protected_from_tile_building": { "$ref": "#/definitions/bool" }, "heating_energy": { "$ref": "#/definitions/Energy" }, "allow_copy_paste": { "$ref": "#/definitions/bool" }, "selectable_in_game": { "$ref": "#/definitions/bool" }, "placeable_by": { "anyOf": [ { "$ref": "#/definitions/ItemToPlace" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemToPlace" } }, { "type": "object", "additionalProperties": false } ] } ] }, "remains_when_mined": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "additional_pastable_entities": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] }, "tile_width": { "$ref": "#/definitions/int32" }, "tile_height": { "$ref": "#/definitions/int32" }, "diagonal_tile_grid_size": { "$ref": "#/definitions/TilePosition" }, "autoplace": { "$ref": "#/definitions/AutoplaceSpecification" }, "map_color": { "$ref": "#/definitions/Color" }, "friendly_map_color": { "$ref": "#/definitions/Color" }, "enemy_map_color": { "$ref": "#/definitions/Color" }, "water_reflection": { "$ref": "#/definitions/WaterReflectionDefinition" }, "ambient_sounds_group": { "$ref": "#/definitions/EntityID" }, "ambient_sounds": { "anyOf": [ { "$ref": "#/definitions/WorldAmbientSoundDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/WorldAmbientSoundDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "icon_draw_specification": { "$ref": "#/definitions/IconDrawSpecification" }, "icons_positioning": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconSequencePositioning" } }, { "type": "object", "additionalProperties": false } ] }, "max_health": { "$ref": "#/definitions/float" }, "healing_per_tick": { "$ref": "#/definitions/float" }, "repair_speed_modifier": { "$ref": "#/definitions/float" }, "dying_explosion": { "anyOf": [ { "$ref": "#/definitions/ExplosionDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ExplosionDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "dying_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "damaged_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "loot": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/LootItem" } }, { "type": "object", "additionalProperties": false } ] }, "resistances": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Resistance" } }, { "type": "object", "additionalProperties": false } ] }, "attack_reaction": { "anyOf": [ { "$ref": "#/definitions/AttackReactionItem" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/AttackReactionItem" } }, { "type": "object", "additionalProperties": false } ] } ] }, "repair_sound": { "$ref": "#/definitions/Sound" }, "alert_when_damaged": { "$ref": "#/definitions/bool" }, "hide_resistances": { "$ref": "#/definitions/bool" }, "create_ghost_on_death": { "$ref": "#/definitions/bool" }, "random_corpse_variation": { "$ref": "#/definitions/bool" }, "integration_patch_render_layer": { "$ref": "#/definitions/RenderLayer" }, "corpse": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "integration_patch": { "$ref": "#/definitions/Sprite4Way" }, "overkill_fraction": { "$ref": "#/definitions/float" }, "is_military_target": { "$ref": "#/definitions/bool" }, "allow_run_time_change_of_is_military_target": { "$ref": "#/definitions/bool" }, "quality_indicator_scale": { "$ref": "#/definitions/double" }, "render_layer": { "$ref": "#/definitions/RenderLayer" }, "secondary_draw_order": { "$ref": "#/definitions/int8" }, "random_animation_offset": { "$ref": "#/definitions/bool" }, "random_variation_on_create": { "$ref": "#/definitions/bool" }, "pictures": { "$ref": "#/definitions/SpriteVariations" }, "picture": { "$ref": "#/definitions/Sprite4Way" }, "animations": { "$ref": "#/definitions/AnimationVariations" }, "lower_render_layer": { "$ref": "#/definitions/RenderLayer" }, "lower_pictures": { "$ref": "#/definitions/SpriteVariations" }, "stateless_visualisation_variations": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/StatelessVisualisations" } }, { "type": "object", "additionalProperties": false } ] }, "force_visibility": { "$ref": "#/definitions/ForceCondition" } }, "required": [ "type", "name" ] }, "SimpleEntityWithOwnerPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/SimpleEntityWithOwnerPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "simple-entity-with-owner" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "collision_box": { "$ref": "#/definitions/BoundingBox" }, "collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "map_generator_bounding_box": { "$ref": "#/definitions/BoundingBox" }, "selection_box": { "$ref": "#/definitions/BoundingBox" }, "drawing_box_vertical_extension": { "$ref": "#/definitions/double" }, "sticker_box": { "$ref": "#/definitions/BoundingBox" }, "hit_visualization_box": { "$ref": "#/definitions/BoundingBox" }, "trigger_target_mask": { "$ref": "#/definitions/TriggerTargetMask" }, "flags": { "$ref": "#/definitions/EntityPrototypeFlags" }, "tile_buildability_rules": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileBuildabilityRule" } }, { "type": "object", "additionalProperties": false } ] }, "minable": { "$ref": "#/definitions/MinableProperties" }, "surface_conditions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SurfaceCondition" } }, { "type": "object", "additionalProperties": false } ] }, "deconstruction_alternative": { "$ref": "#/definitions/EntityID" }, "selection_priority": { "$ref": "#/definitions/uint8" }, "build_grid_size": { "$ref": "#/definitions/uint8" }, "remove_decoratives": { "anyOf": [ { "type": "string", "const": "automatic" }, { "type": "string", "const": "true" }, { "type": "string", "const": "false" } ] }, "emissions_per_second": { "type": "object", "additionalProperties": { "$ref": "#/definitions/double" }, "propertyNames": { "$ref": "#/definitions/AirbornePollutantID" } }, "shooting_cursor_size": { "$ref": "#/definitions/double" }, "created_smoke": { "$ref": "#/definitions/CreateTrivialSmokeEffectItem" }, "working_sound": { "$ref": "#/definitions/WorkingSound" }, "created_effect": { "$ref": "#/definitions/Trigger" }, "build_sound": { "$ref": "#/definitions/Sound" }, "mined_sound": { "$ref": "#/definitions/Sound" }, "mining_sound": { "$ref": "#/definitions/Sound" }, "rotated_sound": { "$ref": "#/definitions/Sound" }, "impact_category": { "$ref": "#/definitions/string" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "placeable_position_visualization": { "$ref": "#/definitions/Sprite" }, "radius_visualisation_specification": { "$ref": "#/definitions/RadiusVisualisationSpecification" }, "stateless_visualisation": { "$ref": "#/definitions/StatelessVisualisations" }, "build_base_evolution_requirement": { "$ref": "#/definitions/double" }, "alert_icon_shift": { "$ref": "#/definitions/Vector" }, "alert_icon_scale": { "$ref": "#/definitions/float" }, "fast_replaceable_group": { "$ref": "#/definitions/string" }, "next_upgrade": { "$ref": "#/definitions/EntityID" }, "protected_from_tile_building": { "$ref": "#/definitions/bool" }, "heating_energy": { "$ref": "#/definitions/Energy" }, "allow_copy_paste": { "$ref": "#/definitions/bool" }, "selectable_in_game": { "$ref": "#/definitions/bool" }, "placeable_by": { "anyOf": [ { "$ref": "#/definitions/ItemToPlace" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemToPlace" } }, { "type": "object", "additionalProperties": false } ] } ] }, "remains_when_mined": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "additional_pastable_entities": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] }, "tile_width": { "$ref": "#/definitions/int32" }, "tile_height": { "$ref": "#/definitions/int32" }, "diagonal_tile_grid_size": { "$ref": "#/definitions/TilePosition" }, "autoplace": { "$ref": "#/definitions/AutoplaceSpecification" }, "map_color": { "$ref": "#/definitions/Color" }, "friendly_map_color": { "$ref": "#/definitions/Color" }, "enemy_map_color": { "$ref": "#/definitions/Color" }, "water_reflection": { "$ref": "#/definitions/WaterReflectionDefinition" }, "ambient_sounds_group": { "$ref": "#/definitions/EntityID" }, "ambient_sounds": { "anyOf": [ { "$ref": "#/definitions/WorldAmbientSoundDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/WorldAmbientSoundDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "icon_draw_specification": { "$ref": "#/definitions/IconDrawSpecification" }, "icons_positioning": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconSequencePositioning" } }, { "type": "object", "additionalProperties": false } ] }, "max_health": { "$ref": "#/definitions/float" }, "healing_per_tick": { "$ref": "#/definitions/float" }, "repair_speed_modifier": { "$ref": "#/definitions/float" }, "dying_explosion": { "anyOf": [ { "$ref": "#/definitions/ExplosionDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ExplosionDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "dying_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "damaged_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "loot": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/LootItem" } }, { "type": "object", "additionalProperties": false } ] }, "resistances": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Resistance" } }, { "type": "object", "additionalProperties": false } ] }, "attack_reaction": { "anyOf": [ { "$ref": "#/definitions/AttackReactionItem" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/AttackReactionItem" } }, { "type": "object", "additionalProperties": false } ] } ] }, "repair_sound": { "$ref": "#/definitions/Sound" }, "alert_when_damaged": { "$ref": "#/definitions/bool" }, "hide_resistances": { "$ref": "#/definitions/bool" }, "create_ghost_on_death": { "$ref": "#/definitions/bool" }, "random_corpse_variation": { "$ref": "#/definitions/bool" }, "integration_patch_render_layer": { "$ref": "#/definitions/RenderLayer" }, "corpse": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "integration_patch": { "$ref": "#/definitions/Sprite4Way" }, "overkill_fraction": { "$ref": "#/definitions/float" }, "is_military_target": { "$ref": "#/definitions/bool" }, "allow_run_time_change_of_is_military_target": { "$ref": "#/definitions/bool" }, "quality_indicator_scale": { "$ref": "#/definitions/double" }, "render_layer": { "$ref": "#/definitions/RenderLayer" }, "secondary_draw_order": { "$ref": "#/definitions/int8" }, "random_animation_offset": { "$ref": "#/definitions/bool" }, "random_variation_on_create": { "$ref": "#/definitions/bool" }, "pictures": { "$ref": "#/definitions/SpriteVariations" }, "picture": { "$ref": "#/definitions/Sprite4Way" }, "animations": { "$ref": "#/definitions/AnimationVariations" }, "lower_render_layer": { "$ref": "#/definitions/RenderLayer" }, "lower_pictures": { "$ref": "#/definitions/SpriteVariations" }, "stateless_visualisation_variations": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/StatelessVisualisations" } }, { "type": "object", "additionalProperties": false } ] }, "force_visibility": { "$ref": "#/definitions/ForceCondition" } }, "required": [ "type", "name" ] }, "SmokeWithTriggerPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/SmokeWithTriggerPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "smoke-with-trigger" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "collision_box": { "$ref": "#/definitions/BoundingBox" }, "collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "map_generator_bounding_box": { "$ref": "#/definitions/BoundingBox" }, "selection_box": { "$ref": "#/definitions/BoundingBox" }, "drawing_box_vertical_extension": { "$ref": "#/definitions/double" }, "sticker_box": { "$ref": "#/definitions/BoundingBox" }, "hit_visualization_box": { "$ref": "#/definitions/BoundingBox" }, "trigger_target_mask": { "$ref": "#/definitions/TriggerTargetMask" }, "flags": { "$ref": "#/definitions/EntityPrototypeFlags" }, "tile_buildability_rules": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileBuildabilityRule" } }, { "type": "object", "additionalProperties": false } ] }, "minable": { "$ref": "#/definitions/MinableProperties" }, "surface_conditions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SurfaceCondition" } }, { "type": "object", "additionalProperties": false } ] }, "deconstruction_alternative": { "$ref": "#/definitions/EntityID" }, "selection_priority": { "$ref": "#/definitions/uint8" }, "build_grid_size": { "$ref": "#/definitions/uint8" }, "remove_decoratives": { "anyOf": [ { "type": "string", "const": "automatic" }, { "type": "string", "const": "true" }, { "type": "string", "const": "false" } ] }, "emissions_per_second": { "type": "object", "additionalProperties": { "$ref": "#/definitions/double" }, "propertyNames": { "$ref": "#/definitions/AirbornePollutantID" } }, "shooting_cursor_size": { "$ref": "#/definitions/double" }, "created_smoke": { "$ref": "#/definitions/CreateTrivialSmokeEffectItem" }, "working_sound": { "$ref": "#/definitions/WorkingSound" }, "created_effect": { "$ref": "#/definitions/Trigger" }, "build_sound": { "$ref": "#/definitions/Sound" }, "mined_sound": { "$ref": "#/definitions/Sound" }, "mining_sound": { "$ref": "#/definitions/Sound" }, "rotated_sound": { "$ref": "#/definitions/Sound" }, "impact_category": { "$ref": "#/definitions/string" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "placeable_position_visualization": { "$ref": "#/definitions/Sprite" }, "radius_visualisation_specification": { "$ref": "#/definitions/RadiusVisualisationSpecification" }, "stateless_visualisation": { "$ref": "#/definitions/StatelessVisualisations" }, "build_base_evolution_requirement": { "$ref": "#/definitions/double" }, "alert_icon_shift": { "$ref": "#/definitions/Vector" }, "alert_icon_scale": { "$ref": "#/definitions/float" }, "fast_replaceable_group": { "$ref": "#/definitions/string" }, "next_upgrade": { "$ref": "#/definitions/EntityID" }, "protected_from_tile_building": { "$ref": "#/definitions/bool" }, "heating_energy": { "$ref": "#/definitions/Energy" }, "allow_copy_paste": { "$ref": "#/definitions/bool" }, "selectable_in_game": { "$ref": "#/definitions/bool" }, "placeable_by": { "anyOf": [ { "$ref": "#/definitions/ItemToPlace" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemToPlace" } }, { "type": "object", "additionalProperties": false } ] } ] }, "remains_when_mined": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "additional_pastable_entities": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] }, "tile_width": { "$ref": "#/definitions/int32" }, "tile_height": { "$ref": "#/definitions/int32" }, "diagonal_tile_grid_size": { "$ref": "#/definitions/TilePosition" }, "autoplace": { "$ref": "#/definitions/AutoplaceSpecification" }, "map_color": { "$ref": "#/definitions/Color" }, "friendly_map_color": { "$ref": "#/definitions/Color" }, "enemy_map_color": { "$ref": "#/definitions/Color" }, "water_reflection": { "$ref": "#/definitions/WaterReflectionDefinition" }, "ambient_sounds_group": { "$ref": "#/definitions/EntityID" }, "ambient_sounds": { "anyOf": [ { "$ref": "#/definitions/WorldAmbientSoundDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/WorldAmbientSoundDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "icon_draw_specification": { "$ref": "#/definitions/IconDrawSpecification" }, "icons_positioning": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconSequencePositioning" } }, { "type": "object", "additionalProperties": false } ] }, "animation": { "$ref": "#/definitions/Animation" }, "cyclic": { "$ref": "#/definitions/bool" }, "duration": { "$ref": "#/definitions/uint32" }, "spread_duration": { "$ref": "#/definitions/uint32" }, "fade_away_duration": { "$ref": "#/definitions/uint32" }, "fade_in_duration": { "$ref": "#/definitions/uint32" }, "start_scale": { "$ref": "#/definitions/double" }, "end_scale": { "$ref": "#/definitions/double" }, "color": { "$ref": "#/definitions/Color" }, "affected_by_wind": { "$ref": "#/definitions/bool" }, "show_when_smoke_off": { "$ref": "#/definitions/bool" }, "render_layer": { "$ref": "#/definitions/RenderLayer" }, "movement_slow_down_factor": { "$ref": "#/definitions/double" }, "glow_fade_away_duration": { "$ref": "#/definitions/uint32" }, "glow_animation": { "$ref": "#/definitions/Animation" }, "action": { "$ref": "#/definitions/Trigger" }, "action_cooldown": { "$ref": "#/definitions/uint32" }, "particle_count": { "$ref": "#/definitions/uint8" }, "particle_distance_scale_factor": { "$ref": "#/definitions/float" }, "spread_duration_variation": { "$ref": "#/definitions/uint32" }, "particle_duration_variation": { "$ref": "#/definitions/uint32" }, "particle_spread": { "$ref": "#/definitions/Vector" }, "particle_scale_factor": { "$ref": "#/definitions/Vector" }, "wave_distance": { "$ref": "#/definitions/Vector" }, "wave_speed": { "$ref": "#/definitions/Vector" }, "attach_to_target": { "$ref": "#/definitions/bool" }, "fade_when_attachment_is_destroyed": { "$ref": "#/definitions/bool" } }, "required": [ "type", "name" ] }, "SolarPanelEquipmentPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/SolarPanelEquipmentPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "solar-panel-equipment" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "sprite": { "$ref": "#/definitions/Sprite" }, "shape": { "$ref": "#/definitions/EquipmentShape" }, "categories": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EquipmentCategoryID" } }, { "type": "object", "additionalProperties": false } ] }, "energy_source": { "$ref": "#/definitions/ElectricEnergySource" }, "take_result": { "$ref": "#/definitions/ItemID" }, "background_color": { "$ref": "#/definitions/Color" }, "background_border_color": { "$ref": "#/definitions/Color" }, "grabbed_background_color": { "$ref": "#/definitions/Color" }, "power": { "$ref": "#/definitions/Energy" } }, "required": [ "type", "name", "sprite", "shape", "categories", "energy_source", "power" ] }, "SolarPanelPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/SolarPanelPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "solar-panel" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "collision_box": { "$ref": "#/definitions/BoundingBox" }, "collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "map_generator_bounding_box": { "$ref": "#/definitions/BoundingBox" }, "selection_box": { "$ref": "#/definitions/BoundingBox" }, "drawing_box_vertical_extension": { "$ref": "#/definitions/double" }, "sticker_box": { "$ref": "#/definitions/BoundingBox" }, "hit_visualization_box": { "$ref": "#/definitions/BoundingBox" }, "trigger_target_mask": { "$ref": "#/definitions/TriggerTargetMask" }, "flags": { "$ref": "#/definitions/EntityPrototypeFlags" }, "tile_buildability_rules": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileBuildabilityRule" } }, { "type": "object", "additionalProperties": false } ] }, "minable": { "$ref": "#/definitions/MinableProperties" }, "surface_conditions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SurfaceCondition" } }, { "type": "object", "additionalProperties": false } ] }, "deconstruction_alternative": { "$ref": "#/definitions/EntityID" }, "selection_priority": { "$ref": "#/definitions/uint8" }, "build_grid_size": { "$ref": "#/definitions/uint8" }, "remove_decoratives": { "anyOf": [ { "type": "string", "const": "automatic" }, { "type": "string", "const": "true" }, { "type": "string", "const": "false" } ] }, "emissions_per_second": { "type": "object", "additionalProperties": { "$ref": "#/definitions/double" }, "propertyNames": { "$ref": "#/definitions/AirbornePollutantID" } }, "shooting_cursor_size": { "$ref": "#/definitions/double" }, "created_smoke": { "$ref": "#/definitions/CreateTrivialSmokeEffectItem" }, "working_sound": { "$ref": "#/definitions/WorkingSound" }, "created_effect": { "$ref": "#/definitions/Trigger" }, "build_sound": { "$ref": "#/definitions/Sound" }, "mined_sound": { "$ref": "#/definitions/Sound" }, "mining_sound": { "$ref": "#/definitions/Sound" }, "rotated_sound": { "$ref": "#/definitions/Sound" }, "impact_category": { "$ref": "#/definitions/string" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "placeable_position_visualization": { "$ref": "#/definitions/Sprite" }, "radius_visualisation_specification": { "$ref": "#/definitions/RadiusVisualisationSpecification" }, "stateless_visualisation": { "$ref": "#/definitions/StatelessVisualisations" }, "build_base_evolution_requirement": { "$ref": "#/definitions/double" }, "alert_icon_shift": { "$ref": "#/definitions/Vector" }, "alert_icon_scale": { "$ref": "#/definitions/float" }, "fast_replaceable_group": { "$ref": "#/definitions/string" }, "next_upgrade": { "$ref": "#/definitions/EntityID" }, "protected_from_tile_building": { "$ref": "#/definitions/bool" }, "heating_energy": { "$ref": "#/definitions/Energy" }, "allow_copy_paste": { "$ref": "#/definitions/bool" }, "selectable_in_game": { "$ref": "#/definitions/bool" }, "placeable_by": { "anyOf": [ { "$ref": "#/definitions/ItemToPlace" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemToPlace" } }, { "type": "object", "additionalProperties": false } ] } ] }, "remains_when_mined": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "additional_pastable_entities": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] }, "tile_width": { "$ref": "#/definitions/int32" }, "tile_height": { "$ref": "#/definitions/int32" }, "diagonal_tile_grid_size": { "$ref": "#/definitions/TilePosition" }, "autoplace": { "$ref": "#/definitions/AutoplaceSpecification" }, "map_color": { "$ref": "#/definitions/Color" }, "friendly_map_color": { "$ref": "#/definitions/Color" }, "enemy_map_color": { "$ref": "#/definitions/Color" }, "water_reflection": { "$ref": "#/definitions/WaterReflectionDefinition" }, "ambient_sounds_group": { "$ref": "#/definitions/EntityID" }, "ambient_sounds": { "anyOf": [ { "$ref": "#/definitions/WorldAmbientSoundDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/WorldAmbientSoundDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "icon_draw_specification": { "$ref": "#/definitions/IconDrawSpecification" }, "icons_positioning": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconSequencePositioning" } }, { "type": "object", "additionalProperties": false } ] }, "max_health": { "$ref": "#/definitions/float" }, "healing_per_tick": { "$ref": "#/definitions/float" }, "repair_speed_modifier": { "$ref": "#/definitions/float" }, "dying_explosion": { "anyOf": [ { "$ref": "#/definitions/ExplosionDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ExplosionDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "dying_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "damaged_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "loot": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/LootItem" } }, { "type": "object", "additionalProperties": false } ] }, "resistances": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Resistance" } }, { "type": "object", "additionalProperties": false } ] }, "attack_reaction": { "anyOf": [ { "$ref": "#/definitions/AttackReactionItem" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/AttackReactionItem" } }, { "type": "object", "additionalProperties": false } ] } ] }, "repair_sound": { "$ref": "#/definitions/Sound" }, "alert_when_damaged": { "$ref": "#/definitions/bool" }, "hide_resistances": { "$ref": "#/definitions/bool" }, "create_ghost_on_death": { "$ref": "#/definitions/bool" }, "random_corpse_variation": { "$ref": "#/definitions/bool" }, "integration_patch_render_layer": { "$ref": "#/definitions/RenderLayer" }, "corpse": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "integration_patch": { "$ref": "#/definitions/Sprite4Way" }, "overkill_fraction": { "$ref": "#/definitions/float" }, "is_military_target": { "$ref": "#/definitions/bool" }, "allow_run_time_change_of_is_military_target": { "$ref": "#/definitions/bool" }, "quality_indicator_scale": { "$ref": "#/definitions/double" }, "energy_source": { "$ref": "#/definitions/ElectricEnergySource" }, "picture": { "$ref": "#/definitions/SpriteVariations" }, "production": { "$ref": "#/definitions/Energy" }, "overlay": { "$ref": "#/definitions/SpriteVariations" } }, "required": [ "type", "name", "energy_source", "production" ] }, "SoundPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/SoundPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "sound" }, "name": { "$ref": "#/definitions/string" }, "category": { "$ref": "#/definitions/SoundType" }, "priority": { "$ref": "#/definitions/uint8" }, "aggregation": { "$ref": "#/definitions/AggregationSpecification" }, "allow_random_repeat": { "$ref": "#/definitions/bool" }, "audible_distance_modifier": { "$ref": "#/definitions/double" }, "game_controller_vibration_data": { "$ref": "#/definitions/GameControllerVibrationData" }, "advanced_volume_control": { "$ref": "#/definitions/AdvancedVolumeControl" }, "speed_smoothing_window_size": { "$ref": "#/definitions/uint32" }, "variations": { "anyOf": [ { "$ref": "#/definitions/SoundDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SoundDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "filename": { "$ref": "#/definitions/FileName" }, "volume": { "$ref": "#/definitions/float" }, "min_volume": { "$ref": "#/definitions/float" }, "max_volume": { "$ref": "#/definitions/float" }, "preload": { "$ref": "#/definitions/bool" }, "speed": { "$ref": "#/definitions/float" }, "min_speed": { "$ref": "#/definitions/float" }, "max_speed": { "$ref": "#/definitions/float" }, "modifiers": { "anyOf": [ { "$ref": "#/definitions/SoundModifier" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SoundModifier" } }, { "type": "object", "additionalProperties": false } ] } ] } }, "required": [ "type", "name" ] }, "SpaceConnectionDistanceTraveledAchievementPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/SpaceConnectionDistanceTraveledAchievementPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "space-connection-distance-traveled-achievement" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "steam_stats_name": { "$ref": "#/definitions/string" }, "allowed_without_fight": { "$ref": "#/definitions/bool" }, "tracked_connection": { "$ref": "#/definitions/SpaceConnectionID" }, "distance": { "$ref": "#/definitions/uint32" }, "reversed": { "$ref": "#/definitions/bool" } }, "required": [ "type", "name", "tracked_connection", "distance", "reversed" ] }, "SpaceConnectionPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/SpaceConnectionPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "space-connection" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "from": { "$ref": "#/definitions/SpaceLocationID" }, "to": { "$ref": "#/definitions/SpaceLocationID" }, "length": { "$ref": "#/definitions/uint32" }, "asteroid_spawn_definitions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SpaceConnectionAsteroidSpawnDefinition" } }, { "type": "object", "additionalProperties": false } ] }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" } }, "required": [ "type", "name", "from", "to" ] }, "SpaceLocationPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/SpaceLocationPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "space-location" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "gravity_pull": { "$ref": "#/definitions/double" }, "distance": { "$ref": "#/definitions/double" }, "orientation": { "$ref": "#/definitions/RealOrientation" }, "magnitude": { "$ref": "#/definitions/double" }, "parked_platforms_orientation": { "$ref": "#/definitions/RealOrientation" }, "label_orientation": { "$ref": "#/definitions/RealOrientation" }, "draw_orbit": { "$ref": "#/definitions/bool" }, "solar_power_in_space": { "$ref": "#/definitions/double" }, "asteroid_spawn_influence": { "$ref": "#/definitions/double" }, "fly_condition": { "$ref": "#/definitions/bool" }, "auto_save_on_first_trip": { "$ref": "#/definitions/bool" }, "procession_graphic_catalogue": { "$ref": "#/definitions/ProcessionGraphicCatalogue" }, "procession_audio_catalogue": { "$ref": "#/definitions/ProcessionAudioCatalogue" }, "platform_procession_set": { "$ref": "#/definitions/ProcessionSet" }, "planet_procession_set": { "$ref": "#/definitions/ProcessionSet" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "starmap_icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "starmap_icon": { "$ref": "#/definitions/FileName" }, "starmap_icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "asteroid_spawn_definitions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SpaceLocationAsteroidSpawnDefinition" } }, { "type": "object", "additionalProperties": false } ] } }, "required": [ "type", "name", "distance", "orientation" ] }, "SpacePlatformHubPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/SpacePlatformHubPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "space-platform-hub" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "collision_box": { "$ref": "#/definitions/BoundingBox" }, "collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "map_generator_bounding_box": { "$ref": "#/definitions/BoundingBox" }, "selection_box": { "$ref": "#/definitions/BoundingBox" }, "drawing_box_vertical_extension": { "$ref": "#/definitions/double" }, "sticker_box": { "$ref": "#/definitions/BoundingBox" }, "hit_visualization_box": { "$ref": "#/definitions/BoundingBox" }, "trigger_target_mask": { "$ref": "#/definitions/TriggerTargetMask" }, "flags": { "$ref": "#/definitions/EntityPrototypeFlags" }, "tile_buildability_rules": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileBuildabilityRule" } }, { "type": "object", "additionalProperties": false } ] }, "minable": { "$ref": "#/definitions/MinableProperties" }, "surface_conditions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SurfaceCondition" } }, { "type": "object", "additionalProperties": false } ] }, "deconstruction_alternative": { "$ref": "#/definitions/EntityID" }, "selection_priority": { "$ref": "#/definitions/uint8" }, "build_grid_size": { "type": "integer", "const": 256 }, "remove_decoratives": { "anyOf": [ { "type": "string", "const": "automatic" }, { "type": "string", "const": "true" }, { "type": "string", "const": "false" } ] }, "emissions_per_second": { "type": "object", "additionalProperties": { "$ref": "#/definitions/double" }, "propertyNames": { "$ref": "#/definitions/AirbornePollutantID" } }, "shooting_cursor_size": { "$ref": "#/definitions/double" }, "created_smoke": { "$ref": "#/definitions/CreateTrivialSmokeEffectItem" }, "working_sound": { "$ref": "#/definitions/WorkingSound" }, "created_effect": { "$ref": "#/definitions/Trigger" }, "build_sound": { "$ref": "#/definitions/Sound" }, "mined_sound": { "$ref": "#/definitions/Sound" }, "mining_sound": { "$ref": "#/definitions/Sound" }, "rotated_sound": { "$ref": "#/definitions/Sound" }, "impact_category": { "$ref": "#/definitions/string" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "placeable_position_visualization": { "$ref": "#/definitions/Sprite" }, "radius_visualisation_specification": { "$ref": "#/definitions/RadiusVisualisationSpecification" }, "stateless_visualisation": { "$ref": "#/definitions/StatelessVisualisations" }, "build_base_evolution_requirement": { "$ref": "#/definitions/double" }, "alert_icon_shift": { "$ref": "#/definitions/Vector" }, "alert_icon_scale": { "$ref": "#/definitions/float" }, "fast_replaceable_group": { "$ref": "#/definitions/string" }, "next_upgrade": { "$ref": "#/definitions/EntityID" }, "protected_from_tile_building": { "$ref": "#/definitions/bool" }, "heating_energy": { "$ref": "#/definitions/Energy" }, "allow_copy_paste": { "$ref": "#/definitions/bool" }, "selectable_in_game": { "$ref": "#/definitions/bool" }, "placeable_by": { "anyOf": [ { "$ref": "#/definitions/ItemToPlace" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemToPlace" } }, { "type": "object", "additionalProperties": false } ] } ] }, "remains_when_mined": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "additional_pastable_entities": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] }, "tile_width": { "$ref": "#/definitions/int32" }, "tile_height": { "$ref": "#/definitions/int32" }, "diagonal_tile_grid_size": { "$ref": "#/definitions/TilePosition" }, "autoplace": { "$ref": "#/definitions/AutoplaceSpecification" }, "map_color": { "$ref": "#/definitions/Color" }, "friendly_map_color": { "$ref": "#/definitions/Color" }, "enemy_map_color": { "$ref": "#/definitions/Color" }, "water_reflection": { "$ref": "#/definitions/WaterReflectionDefinition" }, "ambient_sounds_group": { "$ref": "#/definitions/EntityID" }, "ambient_sounds": { "anyOf": [ { "$ref": "#/definitions/WorldAmbientSoundDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/WorldAmbientSoundDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "icon_draw_specification": { "$ref": "#/definitions/IconDrawSpecification" }, "icons_positioning": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconSequencePositioning" } }, { "type": "object", "additionalProperties": false } ] }, "max_health": { "$ref": "#/definitions/float" }, "healing_per_tick": { "$ref": "#/definitions/float" }, "repair_speed_modifier": { "$ref": "#/definitions/float" }, "dying_explosion": { "anyOf": [ { "$ref": "#/definitions/ExplosionDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ExplosionDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "dying_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "damaged_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "loot": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/LootItem" } }, { "type": "object", "additionalProperties": false } ] }, "resistances": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Resistance" } }, { "type": "object", "additionalProperties": false } ] }, "attack_reaction": { "anyOf": [ { "$ref": "#/definitions/AttackReactionItem" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/AttackReactionItem" } }, { "type": "object", "additionalProperties": false } ] } ] }, "repair_sound": { "$ref": "#/definitions/Sound" }, "alert_when_damaged": { "$ref": "#/definitions/bool" }, "hide_resistances": { "$ref": "#/definitions/bool" }, "create_ghost_on_death": { "$ref": "#/definitions/bool" }, "random_corpse_variation": { "$ref": "#/definitions/bool" }, "integration_patch_render_layer": { "$ref": "#/definitions/RenderLayer" }, "corpse": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "integration_patch": { "$ref": "#/definitions/Sprite4Way" }, "overkill_fraction": { "$ref": "#/definitions/float" }, "is_military_target": { "$ref": "#/definitions/bool" }, "allow_run_time_change_of_is_military_target": { "$ref": "#/definitions/bool" }, "quality_indicator_scale": { "$ref": "#/definitions/double" }, "graphics_set": { "$ref": "#/definitions/CargoBayConnectableGraphicsSet" }, "inventory_size": { "$ref": "#/definitions/ItemStackIndex" }, "dump_container": { "$ref": "#/definitions/EntityID" }, "persistent_ambient_sounds": { "$ref": "#/definitions/PersistentWorldAmbientSoundsDefinition" }, "surface_render_parameters": { "$ref": "#/definitions/SurfaceRenderParameters" }, "circuit_wire_max_distance": { "$ref": "#/definitions/double" }, "draw_copper_wires": { "$ref": "#/definitions/bool" }, "draw_circuit_wires": { "$ref": "#/definitions/bool" }, "circuit_connector": { "$ref": "#/definitions/CircuitConnectorDefinition" }, "default_speed_signal": { "$ref": "#/definitions/SignalIDConnector" }, "default_damage_taken_signal": { "$ref": "#/definitions/SignalIDConnector" }, "platform_repair_speed_modifier": { "$ref": "#/definitions/float" }, "weight": { "$ref": "#/definitions/Weight" }, "cargo_station_parameters": { "$ref": "#/definitions/CargoStationParameters" } }, "required": [ "type", "name", "inventory_size", "dump_container", "cargo_station_parameters" ] }, "SpacePlatformStarterPackPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/SpacePlatformStarterPackPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "space-platform-starter-pack" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "stack_size": { "$ref": "#/definitions/ItemCountType" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "dark_background_icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "dark_background_icon": { "$ref": "#/definitions/FileName" }, "dark_background_icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "place_result": { "$ref": "#/definitions/EntityID" }, "place_as_equipment_result": { "$ref": "#/definitions/EquipmentID" }, "fuel_category": { "$ref": "#/definitions/FuelCategoryID" }, "burnt_result": { "$ref": "#/definitions/ItemID" }, "spoil_result": { "$ref": "#/definitions/ItemID" }, "plant_result": { "$ref": "#/definitions/EntityID" }, "place_as_tile": { "type": "object", "properties": { "result": { "$ref": "#/definitions/TileID" }, "condition": { "$ref": "#/definitions/CollisionMaskConnector" }, "invert": { "$ref": "#/definitions/bool" }, "condition_size": { "$ref": "#/definitions/uint32" }, "tile_condition": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileID" } }, { "type": "object", "additionalProperties": false } ] } }, "required": [ "result", "condition", "condition_size" ] }, "pictures": { "$ref": "#/definitions/SpriteVariations" }, "flags": { "$ref": "#/definitions/ItemPrototypeFlags" }, "spoil_ticks": { "$ref": "#/definitions/uint32" }, "fuel_value": { "$ref": "#/definitions/Energy" }, "fuel_acceleration_multiplier": { "$ref": "#/definitions/double" }, "fuel_top_speed_multiplier": { "$ref": "#/definitions/double" }, "fuel_emissions_multiplier": { "$ref": "#/definitions/double" }, "fuel_acceleration_multiplier_quality_bonus": { "$ref": "#/definitions/double" }, "fuel_top_speed_multiplier_quality_bonus": { "$ref": "#/definitions/double" }, "weight": { "$ref": "#/definitions/Weight" }, "ingredient_to_weight_coefficient": { "$ref": "#/definitions/double" }, "fuel_glow_color": { "$ref": "#/definitions/Color" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "pick_sound": { "$ref": "#/definitions/Sound" }, "drop_sound": { "$ref": "#/definitions/Sound" }, "inventory_move_sound": { "$ref": "#/definitions/Sound" }, "default_import_location": { "$ref": "#/definitions/SpaceLocationID" }, "color_hint": { "$ref": "#/definitions/ColorHintSpecification" }, "has_random_tint": { "$ref": "#/definitions/bool" }, "spoil_to_trigger_result": { "$ref": "#/definitions/SpoilToTriggerResult" }, "destroyed_by_dropping_trigger": { "$ref": "#/definitions/Trigger" }, "rocket_launch_products": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemProductPrototype" } }, { "type": "object", "additionalProperties": false } ] }, "send_to_orbit_mode": { "$ref": "#/definitions/SendToOrbitMode" }, "random_tint_color": { "$ref": "#/definitions/Color" }, "spoil_level": { "$ref": "#/definitions/uint8" }, "trigger": { "$ref": "#/definitions/Trigger" }, "surface": { "$ref": "#/definitions/SurfaceID" }, "create_electric_network": { "$ref": "#/definitions/bool" }, "tiles": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SpacePlatformTileDefinition" } }, { "type": "object", "additionalProperties": false } ] }, "initial_items": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemProductPrototype" } }, { "type": "object", "additionalProperties": false } ] } }, "required": [ "type", "name", "stack_size" ] }, "SpectatorControllerPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/SpectatorControllerPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "spectator-controller" }, "name": { "$ref": "#/definitions/string" }, "movement_speed": { "$ref": "#/definitions/double" } }, "required": [ "type", "name", "movement_speed" ] }, "SpeechBubblePrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/SpeechBubblePrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "speech-bubble" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "collision_box": { "$ref": "#/definitions/BoundingBox" }, "collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "map_generator_bounding_box": { "$ref": "#/definitions/BoundingBox" }, "selection_box": { "$ref": "#/definitions/BoundingBox" }, "drawing_box_vertical_extension": { "$ref": "#/definitions/double" }, "sticker_box": { "$ref": "#/definitions/BoundingBox" }, "hit_visualization_box": { "$ref": "#/definitions/BoundingBox" }, "trigger_target_mask": { "$ref": "#/definitions/TriggerTargetMask" }, "flags": { "$ref": "#/definitions/EntityPrototypeFlags" }, "tile_buildability_rules": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileBuildabilityRule" } }, { "type": "object", "additionalProperties": false } ] }, "minable": { "$ref": "#/definitions/MinableProperties" }, "surface_conditions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SurfaceCondition" } }, { "type": "object", "additionalProperties": false } ] }, "deconstruction_alternative": { "$ref": "#/definitions/EntityID" }, "selection_priority": { "$ref": "#/definitions/uint8" }, "build_grid_size": { "$ref": "#/definitions/uint8" }, "remove_decoratives": { "anyOf": [ { "type": "string", "const": "automatic" }, { "type": "string", "const": "true" }, { "type": "string", "const": "false" } ] }, "emissions_per_second": { "type": "object", "additionalProperties": { "$ref": "#/definitions/double" }, "propertyNames": { "$ref": "#/definitions/AirbornePollutantID" } }, "shooting_cursor_size": { "$ref": "#/definitions/double" }, "created_smoke": { "$ref": "#/definitions/CreateTrivialSmokeEffectItem" }, "working_sound": { "$ref": "#/definitions/WorkingSound" }, "created_effect": { "$ref": "#/definitions/Trigger" }, "build_sound": { "$ref": "#/definitions/Sound" }, "mined_sound": { "$ref": "#/definitions/Sound" }, "mining_sound": { "$ref": "#/definitions/Sound" }, "rotated_sound": { "$ref": "#/definitions/Sound" }, "impact_category": { "$ref": "#/definitions/string" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "placeable_position_visualization": { "$ref": "#/definitions/Sprite" }, "radius_visualisation_specification": { "$ref": "#/definitions/RadiusVisualisationSpecification" }, "stateless_visualisation": { "$ref": "#/definitions/StatelessVisualisations" }, "build_base_evolution_requirement": { "$ref": "#/definitions/double" }, "alert_icon_shift": { "$ref": "#/definitions/Vector" }, "alert_icon_scale": { "$ref": "#/definitions/float" }, "fast_replaceable_group": { "$ref": "#/definitions/string" }, "next_upgrade": { "$ref": "#/definitions/EntityID" }, "protected_from_tile_building": { "$ref": "#/definitions/bool" }, "heating_energy": { "$ref": "#/definitions/Energy" }, "allow_copy_paste": { "$ref": "#/definitions/bool" }, "selectable_in_game": { "$ref": "#/definitions/bool" }, "placeable_by": { "anyOf": [ { "$ref": "#/definitions/ItemToPlace" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemToPlace" } }, { "type": "object", "additionalProperties": false } ] } ] }, "remains_when_mined": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "additional_pastable_entities": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] }, "tile_width": { "$ref": "#/definitions/int32" }, "tile_height": { "$ref": "#/definitions/int32" }, "diagonal_tile_grid_size": { "$ref": "#/definitions/TilePosition" }, "autoplace": { "$ref": "#/definitions/AutoplaceSpecification" }, "map_color": { "$ref": "#/definitions/Color" }, "friendly_map_color": { "$ref": "#/definitions/Color" }, "enemy_map_color": { "$ref": "#/definitions/Color" }, "water_reflection": { "$ref": "#/definitions/WaterReflectionDefinition" }, "ambient_sounds_group": { "$ref": "#/definitions/EntityID" }, "ambient_sounds": { "anyOf": [ { "$ref": "#/definitions/WorldAmbientSoundDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/WorldAmbientSoundDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "icon_draw_specification": { "$ref": "#/definitions/IconDrawSpecification" }, "icons_positioning": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconSequencePositioning" } }, { "type": "object", "additionalProperties": false } ] }, "style": { "$ref": "#/definitions/string" }, "wrapper_flow_style": { "$ref": "#/definitions/string" }, "y_offset": { "$ref": "#/definitions/double" }, "fade_in_out_ticks": { "$ref": "#/definitions/uint32" } }, "required": [ "type", "name", "style" ] }, "SpiderLegPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/SpiderLegPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "spider-leg" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "collision_box": { "$ref": "#/definitions/BoundingBox" }, "collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "map_generator_bounding_box": { "$ref": "#/definitions/BoundingBox" }, "selection_box": { "$ref": "#/definitions/BoundingBox" }, "drawing_box_vertical_extension": { "$ref": "#/definitions/double" }, "sticker_box": { "$ref": "#/definitions/BoundingBox" }, "hit_visualization_box": { "$ref": "#/definitions/BoundingBox" }, "trigger_target_mask": { "$ref": "#/definitions/TriggerTargetMask" }, "flags": { "$ref": "#/definitions/EntityPrototypeFlags" }, "tile_buildability_rules": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileBuildabilityRule" } }, { "type": "object", "additionalProperties": false } ] }, "minable": { "$ref": "#/definitions/MinableProperties" }, "surface_conditions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SurfaceCondition" } }, { "type": "object", "additionalProperties": false } ] }, "deconstruction_alternative": { "$ref": "#/definitions/EntityID" }, "selection_priority": { "$ref": "#/definitions/uint8" }, "build_grid_size": { "$ref": "#/definitions/uint8" }, "remove_decoratives": { "anyOf": [ { "type": "string", "const": "automatic" }, { "type": "string", "const": "true" }, { "type": "string", "const": "false" } ] }, "emissions_per_second": { "type": "object", "additionalProperties": { "$ref": "#/definitions/double" }, "propertyNames": { "$ref": "#/definitions/AirbornePollutantID" } }, "shooting_cursor_size": { "$ref": "#/definitions/double" }, "created_smoke": { "$ref": "#/definitions/CreateTrivialSmokeEffectItem" }, "working_sound": { "$ref": "#/definitions/WorkingSound" }, "created_effect": { "$ref": "#/definitions/Trigger" }, "build_sound": { "$ref": "#/definitions/Sound" }, "mined_sound": { "$ref": "#/definitions/Sound" }, "mining_sound": { "$ref": "#/definitions/Sound" }, "rotated_sound": { "$ref": "#/definitions/Sound" }, "impact_category": { "$ref": "#/definitions/string" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "placeable_position_visualization": { "$ref": "#/definitions/Sprite" }, "radius_visualisation_specification": { "$ref": "#/definitions/RadiusVisualisationSpecification" }, "stateless_visualisation": { "$ref": "#/definitions/StatelessVisualisations" }, "build_base_evolution_requirement": { "$ref": "#/definitions/double" }, "alert_icon_shift": { "$ref": "#/definitions/Vector" }, "alert_icon_scale": { "$ref": "#/definitions/float" }, "fast_replaceable_group": { "$ref": "#/definitions/string" }, "next_upgrade": { "$ref": "#/definitions/EntityID" }, "protected_from_tile_building": { "$ref": "#/definitions/bool" }, "heating_energy": { "$ref": "#/definitions/Energy" }, "allow_copy_paste": { "$ref": "#/definitions/bool" }, "selectable_in_game": { "$ref": "#/definitions/bool" }, "placeable_by": { "anyOf": [ { "$ref": "#/definitions/ItemToPlace" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemToPlace" } }, { "type": "object", "additionalProperties": false } ] } ] }, "remains_when_mined": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "additional_pastable_entities": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] }, "tile_width": { "$ref": "#/definitions/int32" }, "tile_height": { "$ref": "#/definitions/int32" }, "diagonal_tile_grid_size": { "$ref": "#/definitions/TilePosition" }, "autoplace": { "$ref": "#/definitions/AutoplaceSpecification" }, "map_color": { "$ref": "#/definitions/Color" }, "friendly_map_color": { "$ref": "#/definitions/Color" }, "enemy_map_color": { "$ref": "#/definitions/Color" }, "water_reflection": { "$ref": "#/definitions/WaterReflectionDefinition" }, "ambient_sounds_group": { "$ref": "#/definitions/EntityID" }, "ambient_sounds": { "anyOf": [ { "$ref": "#/definitions/WorldAmbientSoundDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/WorldAmbientSoundDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "icon_draw_specification": { "$ref": "#/definitions/IconDrawSpecification" }, "icons_positioning": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconSequencePositioning" } }, { "type": "object", "additionalProperties": false } ] }, "max_health": { "$ref": "#/definitions/float" }, "healing_per_tick": { "$ref": "#/definitions/float" }, "repair_speed_modifier": { "$ref": "#/definitions/float" }, "dying_explosion": { "anyOf": [ { "$ref": "#/definitions/ExplosionDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ExplosionDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "dying_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "damaged_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "loot": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/LootItem" } }, { "type": "object", "additionalProperties": false } ] }, "resistances": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Resistance" } }, { "type": "object", "additionalProperties": false } ] }, "attack_reaction": { "anyOf": [ { "$ref": "#/definitions/AttackReactionItem" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/AttackReactionItem" } }, { "type": "object", "additionalProperties": false } ] } ] }, "repair_sound": { "$ref": "#/definitions/Sound" }, "alert_when_damaged": { "$ref": "#/definitions/bool" }, "hide_resistances": { "$ref": "#/definitions/bool" }, "create_ghost_on_death": { "$ref": "#/definitions/bool" }, "random_corpse_variation": { "$ref": "#/definitions/bool" }, "integration_patch_render_layer": { "$ref": "#/definitions/RenderLayer" }, "corpse": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "integration_patch": { "$ref": "#/definitions/Sprite4Way" }, "overkill_fraction": { "$ref": "#/definitions/float" }, "is_military_target": { "$ref": "#/definitions/bool" }, "allow_run_time_change_of_is_military_target": { "$ref": "#/definitions/bool" }, "quality_indicator_scale": { "$ref": "#/definitions/double" }, "stretch_force_scalar": { "$ref": "#/definitions/double" }, "hip_flexibility": { "$ref": "#/definitions/double" }, "knee_height": { "$ref": "#/definitions/double" }, "knee_distance_factor": { "$ref": "#/definitions/double" }, "ankle_height": { "$ref": "#/definitions/double" }, "initial_movement_speed": { "$ref": "#/definitions/double" }, "movement_acceleration": { "$ref": "#/definitions/double" }, "target_position_randomisation_distance": { "$ref": "#/definitions/double" }, "minimal_step_size": { "$ref": "#/definitions/double" }, "base_position_selection_distance": { "$ref": "#/definitions/double" }, "movement_based_position_selection_distance": { "$ref": "#/definitions/double" }, "graphics_set": { "type": "object", "properties": { "joint_turn_offset": { "$ref": "#/definitions/float" }, "joint_render_layer": { "$ref": "#/definitions/RenderLayer" }, "joint": { "$ref": "#/definitions/RotatedSprite" }, "joint_shadow": { "$ref": "#/definitions/RotatedSprite" }, "upper_part": { "$ref": "#/definitions/SpiderLegPart" }, "lower_part": { "$ref": "#/definitions/SpiderLegPart" }, "upper_part_shadow": { "$ref": "#/definitions/SpiderLegPart" }, "lower_part_shadow": { "$ref": "#/definitions/SpiderLegPart" }, "upper_part_water_reflection": { "$ref": "#/definitions/SpiderLegPart" }, "lower_part_water_reflection": { "$ref": "#/definitions/SpiderLegPart" }, "foot": { "$ref": "#/definitions/RotatedSprite" }, "foot_shadow": { "$ref": "#/definitions/RotatedSprite" } } }, "walking_sound_volume_modifier": { "$ref": "#/definitions/float" }, "walking_sound_speed_modifier": { "$ref": "#/definitions/float" }, "upper_leg_dying_trigger_effects": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SpiderLegTriggerEffect" } }, { "type": "object", "additionalProperties": false } ] }, "lower_leg_dying_trigger_effects": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SpiderLegTriggerEffect" } }, { "type": "object", "additionalProperties": false } ] } }, "required": [ "type", "name", "knee_height", "knee_distance_factor", "initial_movement_speed", "movement_acceleration", "target_position_randomisation_distance", "minimal_step_size", "base_position_selection_distance", "movement_based_position_selection_distance" ] }, "SpiderUnitPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/SpiderUnitPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "spider-unit" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "collision_box": { "$ref": "#/definitions/BoundingBox" }, "collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "map_generator_bounding_box": { "$ref": "#/definitions/BoundingBox" }, "selection_box": { "$ref": "#/definitions/BoundingBox" }, "drawing_box_vertical_extension": { "$ref": "#/definitions/double" }, "sticker_box": { "$ref": "#/definitions/BoundingBox" }, "hit_visualization_box": { "$ref": "#/definitions/BoundingBox" }, "trigger_target_mask": { "$ref": "#/definitions/TriggerTargetMask" }, "flags": { "$ref": "#/definitions/EntityPrototypeFlags" }, "tile_buildability_rules": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileBuildabilityRule" } }, { "type": "object", "additionalProperties": false } ] }, "minable": { "$ref": "#/definitions/MinableProperties" }, "surface_conditions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SurfaceCondition" } }, { "type": "object", "additionalProperties": false } ] }, "deconstruction_alternative": { "$ref": "#/definitions/EntityID" }, "selection_priority": { "$ref": "#/definitions/uint8" }, "build_grid_size": { "$ref": "#/definitions/uint8" }, "remove_decoratives": { "anyOf": [ { "type": "string", "const": "automatic" }, { "type": "string", "const": "true" }, { "type": "string", "const": "false" } ] }, "emissions_per_second": { "type": "object", "additionalProperties": { "$ref": "#/definitions/double" }, "propertyNames": { "$ref": "#/definitions/AirbornePollutantID" } }, "shooting_cursor_size": { "$ref": "#/definitions/double" }, "created_smoke": { "$ref": "#/definitions/CreateTrivialSmokeEffectItem" }, "working_sound": { "$ref": "#/definitions/WorkingSound" }, "created_effect": { "$ref": "#/definitions/Trigger" }, "build_sound": { "$ref": "#/definitions/Sound" }, "mined_sound": { "$ref": "#/definitions/Sound" }, "mining_sound": { "$ref": "#/definitions/Sound" }, "rotated_sound": { "$ref": "#/definitions/Sound" }, "impact_category": { "$ref": "#/definitions/string" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "placeable_position_visualization": { "$ref": "#/definitions/Sprite" }, "radius_visualisation_specification": { "$ref": "#/definitions/RadiusVisualisationSpecification" }, "stateless_visualisation": { "$ref": "#/definitions/StatelessVisualisations" }, "build_base_evolution_requirement": { "$ref": "#/definitions/double" }, "alert_icon_shift": { "$ref": "#/definitions/Vector" }, "alert_icon_scale": { "$ref": "#/definitions/float" }, "fast_replaceable_group": { "$ref": "#/definitions/string" }, "next_upgrade": { "$ref": "#/definitions/EntityID" }, "protected_from_tile_building": { "$ref": "#/definitions/bool" }, "heating_energy": { "$ref": "#/definitions/Energy" }, "allow_copy_paste": { "$ref": "#/definitions/bool" }, "selectable_in_game": { "$ref": "#/definitions/bool" }, "placeable_by": { "anyOf": [ { "$ref": "#/definitions/ItemToPlace" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemToPlace" } }, { "type": "object", "additionalProperties": false } ] } ] }, "remains_when_mined": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "additional_pastable_entities": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] }, "tile_width": { "$ref": "#/definitions/int32" }, "tile_height": { "$ref": "#/definitions/int32" }, "diagonal_tile_grid_size": { "$ref": "#/definitions/TilePosition" }, "autoplace": { "$ref": "#/definitions/AutoplaceSpecification" }, "map_color": { "$ref": "#/definitions/Color" }, "friendly_map_color": { "$ref": "#/definitions/Color" }, "enemy_map_color": { "$ref": "#/definitions/Color" }, "water_reflection": { "$ref": "#/definitions/WaterReflectionDefinition" }, "ambient_sounds_group": { "$ref": "#/definitions/EntityID" }, "ambient_sounds": { "anyOf": [ { "$ref": "#/definitions/WorldAmbientSoundDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/WorldAmbientSoundDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "icon_draw_specification": { "$ref": "#/definitions/IconDrawSpecification" }, "icons_positioning": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconSequencePositioning" } }, { "type": "object", "additionalProperties": false } ] }, "max_health": { "$ref": "#/definitions/float" }, "healing_per_tick": { "$ref": "#/definitions/float" }, "repair_speed_modifier": { "$ref": "#/definitions/float" }, "dying_explosion": { "anyOf": [ { "$ref": "#/definitions/ExplosionDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ExplosionDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "dying_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "damaged_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "loot": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/LootItem" } }, { "type": "object", "additionalProperties": false } ] }, "resistances": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Resistance" } }, { "type": "object", "additionalProperties": false } ] }, "attack_reaction": { "anyOf": [ { "$ref": "#/definitions/AttackReactionItem" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/AttackReactionItem" } }, { "type": "object", "additionalProperties": false } ] } ] }, "repair_sound": { "$ref": "#/definitions/Sound" }, "alert_when_damaged": { "$ref": "#/definitions/bool" }, "hide_resistances": { "$ref": "#/definitions/bool" }, "create_ghost_on_death": { "$ref": "#/definitions/bool" }, "random_corpse_variation": { "$ref": "#/definitions/bool" }, "integration_patch_render_layer": { "$ref": "#/definitions/RenderLayer" }, "corpse": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "integration_patch": { "$ref": "#/definitions/Sprite4Way" }, "overkill_fraction": { "$ref": "#/definitions/float" }, "is_military_target": { "$ref": "#/definitions/bool" }, "allow_run_time_change_of_is_military_target": { "$ref": "#/definitions/bool" }, "quality_indicator_scale": { "$ref": "#/definitions/double" }, "spider_engine": { "$ref": "#/definitions/SpiderEngineSpecification" }, "height": { "$ref": "#/definitions/float" }, "torso_bob_speed": { "$ref": "#/definitions/float" }, "torso_rotation_speed": { "$ref": "#/definitions/float" }, "graphics_set": { "$ref": "#/definitions/SpiderTorsoGraphicsSet" }, "absorptions_to_join_attack": { "type": "object", "additionalProperties": { "$ref": "#/definitions/float" }, "propertyNames": { "$ref": "#/definitions/AirbornePollutantID" } }, "spawning_time_modifier": { "$ref": "#/definitions/double" }, "radar_range": { "$ref": "#/definitions/uint32" }, "attack_parameters": { "$ref": "#/definitions/AttackParameters" }, "dying_sound": { "$ref": "#/definitions/Sound" }, "warcry": { "$ref": "#/definitions/Sound" }, "vision_distance": { "$ref": "#/definitions/double" }, "distraction_cooldown": { "$ref": "#/definitions/uint32" }, "min_pursue_time": { "$ref": "#/definitions/uint32" }, "max_pursue_distance": { "$ref": "#/definitions/double" }, "ai_settings": { "$ref": "#/definitions/UnitAISettings" } }, "required": [ "type", "name", "spider_engine", "height", "attack_parameters", "vision_distance", "distraction_cooldown" ] }, "SpiderVehiclePrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/SpiderVehiclePrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "spider-vehicle" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "collision_box": { "$ref": "#/definitions/BoundingBox" }, "collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "map_generator_bounding_box": { "$ref": "#/definitions/BoundingBox" }, "selection_box": { "$ref": "#/definitions/BoundingBox" }, "drawing_box_vertical_extension": { "$ref": "#/definitions/double" }, "sticker_box": { "$ref": "#/definitions/BoundingBox" }, "hit_visualization_box": { "$ref": "#/definitions/BoundingBox" }, "trigger_target_mask": { "$ref": "#/definitions/TriggerTargetMask" }, "flags": { "$ref": "#/definitions/EntityPrototypeFlags" }, "tile_buildability_rules": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileBuildabilityRule" } }, { "type": "object", "additionalProperties": false } ] }, "minable": { "$ref": "#/definitions/MinableProperties" }, "surface_conditions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SurfaceCondition" } }, { "type": "object", "additionalProperties": false } ] }, "deconstruction_alternative": { "$ref": "#/definitions/EntityID" }, "selection_priority": { "$ref": "#/definitions/uint8" }, "build_grid_size": { "$ref": "#/definitions/uint8" }, "remove_decoratives": { "anyOf": [ { "type": "string", "const": "automatic" }, { "type": "string", "const": "true" }, { "type": "string", "const": "false" } ] }, "emissions_per_second": { "type": "object", "additionalProperties": { "$ref": "#/definitions/double" }, "propertyNames": { "$ref": "#/definitions/AirbornePollutantID" } }, "shooting_cursor_size": { "$ref": "#/definitions/double" }, "created_smoke": { "$ref": "#/definitions/CreateTrivialSmokeEffectItem" }, "working_sound": { "$ref": "#/definitions/WorkingSound" }, "created_effect": { "$ref": "#/definitions/Trigger" }, "build_sound": { "$ref": "#/definitions/Sound" }, "mined_sound": { "$ref": "#/definitions/Sound" }, "mining_sound": { "$ref": "#/definitions/Sound" }, "rotated_sound": { "$ref": "#/definitions/Sound" }, "impact_category": { "$ref": "#/definitions/string" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "placeable_position_visualization": { "$ref": "#/definitions/Sprite" }, "radius_visualisation_specification": { "$ref": "#/definitions/RadiusVisualisationSpecification" }, "stateless_visualisation": { "$ref": "#/definitions/StatelessVisualisations" }, "build_base_evolution_requirement": { "$ref": "#/definitions/double" }, "alert_icon_shift": { "$ref": "#/definitions/Vector" }, "alert_icon_scale": { "$ref": "#/definitions/float" }, "fast_replaceable_group": { "$ref": "#/definitions/string" }, "next_upgrade": { "$ref": "#/definitions/EntityID" }, "protected_from_tile_building": { "$ref": "#/definitions/bool" }, "heating_energy": { "$ref": "#/definitions/Energy" }, "allow_copy_paste": { "$ref": "#/definitions/bool" }, "selectable_in_game": { "$ref": "#/definitions/bool" }, "placeable_by": { "anyOf": [ { "$ref": "#/definitions/ItemToPlace" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemToPlace" } }, { "type": "object", "additionalProperties": false } ] } ] }, "remains_when_mined": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "additional_pastable_entities": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] }, "tile_width": { "$ref": "#/definitions/int32" }, "tile_height": { "$ref": "#/definitions/int32" }, "diagonal_tile_grid_size": { "$ref": "#/definitions/TilePosition" }, "autoplace": { "$ref": "#/definitions/AutoplaceSpecification" }, "map_color": { "$ref": "#/definitions/Color" }, "friendly_map_color": { "$ref": "#/definitions/Color" }, "enemy_map_color": { "$ref": "#/definitions/Color" }, "water_reflection": { "$ref": "#/definitions/WaterReflectionDefinition" }, "ambient_sounds_group": { "$ref": "#/definitions/EntityID" }, "ambient_sounds": { "anyOf": [ { "$ref": "#/definitions/WorldAmbientSoundDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/WorldAmbientSoundDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "icon_draw_specification": { "$ref": "#/definitions/IconDrawSpecification" }, "icons_positioning": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconSequencePositioning" } }, { "type": "object", "additionalProperties": false } ] }, "max_health": { "$ref": "#/definitions/float" }, "healing_per_tick": { "$ref": "#/definitions/float" }, "repair_speed_modifier": { "$ref": "#/definitions/float" }, "dying_explosion": { "anyOf": [ { "$ref": "#/definitions/ExplosionDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ExplosionDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "dying_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "damaged_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "loot": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/LootItem" } }, { "type": "object", "additionalProperties": false } ] }, "resistances": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Resistance" } }, { "type": "object", "additionalProperties": false } ] }, "attack_reaction": { "anyOf": [ { "$ref": "#/definitions/AttackReactionItem" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/AttackReactionItem" } }, { "type": "object", "additionalProperties": false } ] } ] }, "repair_sound": { "$ref": "#/definitions/Sound" }, "alert_when_damaged": { "$ref": "#/definitions/bool" }, "hide_resistances": { "$ref": "#/definitions/bool" }, "create_ghost_on_death": { "$ref": "#/definitions/bool" }, "random_corpse_variation": { "$ref": "#/definitions/bool" }, "integration_patch_render_layer": { "$ref": "#/definitions/RenderLayer" }, "corpse": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "integration_patch": { "$ref": "#/definitions/Sprite4Way" }, "overkill_fraction": { "$ref": "#/definitions/float" }, "is_military_target": { "$ref": "#/definitions/bool" }, "allow_run_time_change_of_is_military_target": { "$ref": "#/definitions/bool" }, "quality_indicator_scale": { "$ref": "#/definitions/double" }, "weight": { "$ref": "#/definitions/double" }, "braking_power": { "anyOf": [ { "$ref": "#/definitions/Energy" }, { "$ref": "#/definitions/double" } ] }, "braking_force": { "anyOf": [ { "$ref": "#/definitions/Energy" }, { "$ref": "#/definitions/double" } ] }, "friction": { "$ref": "#/definitions/double" }, "friction_force": { "$ref": "#/definitions/double" }, "energy_per_hit_point": { "$ref": "#/definitions/double" }, "terrain_friction_modifier": { "$ref": "#/definitions/float" }, "impact_speed_to_volume_ratio": { "$ref": "#/definitions/double" }, "stop_trigger_speed": { "$ref": "#/definitions/double" }, "crash_trigger": { "$ref": "#/definitions/TriggerEffect" }, "stop_trigger": { "$ref": "#/definitions/TriggerEffect" }, "equipment_grid": { "$ref": "#/definitions/EquipmentGridID" }, "minimap_representation": { "$ref": "#/definitions/Sprite" }, "selected_minimap_representation": { "$ref": "#/definitions/Sprite" }, "allow_passengers": { "$ref": "#/definitions/bool" }, "deliver_category": { "$ref": "#/definitions/string" }, "chunk_exploration_radius": { "$ref": "#/definitions/uint32" }, "allow_remote_driving": { "$ref": "#/definitions/bool" }, "energy_source": { "anyOf": [ { "$ref": "#/definitions/BurnerEnergySource" }, { "$ref": "#/definitions/VoidEnergySource" } ] }, "inventory_size": { "$ref": "#/definitions/ItemStackIndex" }, "graphics_set": { "$ref": "#/definitions/SpiderVehicleGraphicsSet" }, "spider_engine": { "$ref": "#/definitions/SpiderEngineSpecification" }, "height": { "$ref": "#/definitions/float" }, "movement_energy_consumption": { "$ref": "#/definitions/Energy" }, "automatic_weapon_cycling": { "$ref": "#/definitions/bool" }, "chain_shooting_cooldown_modifier": { "$ref": "#/definitions/float" }, "torso_rotation_speed": { "$ref": "#/definitions/float" }, "torso_bob_speed": { "$ref": "#/definitions/float" }, "trash_inventory_size": { "$ref": "#/definitions/ItemStackIndex" }, "guns": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemID" } }, { "type": "object", "additionalProperties": false } ] } }, "required": [ "type", "name", "weight", "energy_per_hit_point", "energy_source", "inventory_size", "spider_engine", "height", "movement_energy_consumption", "automatic_weapon_cycling", "chain_shooting_cooldown_modifier" ], "allOf": [ { "anyOf": [ { "required": [ "braking_power" ] }, { "required": [ "braking_force" ] } ] }, { "anyOf": [ { "required": [ "friction" ] }, { "required": [ "friction_force" ] } ] } ] }, "SpidertronRemotePrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/SpidertronRemotePrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "spidertron-remote" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "stack_size": { "type": "integer", "const": 1 }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "dark_background_icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "dark_background_icon": { "$ref": "#/definitions/FileName" }, "dark_background_icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "place_result": { "$ref": "#/definitions/EntityID" }, "place_as_equipment_result": { "$ref": "#/definitions/EquipmentID" }, "fuel_category": { "$ref": "#/definitions/FuelCategoryID" }, "burnt_result": { "$ref": "#/definitions/ItemID" }, "spoil_result": { "$ref": "#/definitions/ItemID" }, "plant_result": { "$ref": "#/definitions/EntityID" }, "place_as_tile": { "type": "object", "properties": { "result": { "$ref": "#/definitions/TileID" }, "condition": { "$ref": "#/definitions/CollisionMaskConnector" }, "invert": { "$ref": "#/definitions/bool" }, "condition_size": { "$ref": "#/definitions/uint32" }, "tile_condition": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileID" } }, { "type": "object", "additionalProperties": false } ] } }, "required": [ "result", "condition", "condition_size" ] }, "pictures": { "$ref": "#/definitions/SpriteVariations" }, "flags": { "$ref": "#/definitions/ItemPrototypeFlags" }, "spoil_ticks": { "$ref": "#/definitions/uint32" }, "fuel_value": { "$ref": "#/definitions/Energy" }, "fuel_acceleration_multiplier": { "$ref": "#/definitions/double" }, "fuel_top_speed_multiplier": { "$ref": "#/definitions/double" }, "fuel_emissions_multiplier": { "$ref": "#/definitions/double" }, "fuel_acceleration_multiplier_quality_bonus": { "$ref": "#/definitions/double" }, "fuel_top_speed_multiplier_quality_bonus": { "$ref": "#/definitions/double" }, "weight": { "$ref": "#/definitions/Weight" }, "ingredient_to_weight_coefficient": { "$ref": "#/definitions/double" }, "fuel_glow_color": { "$ref": "#/definitions/Color" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "pick_sound": { "$ref": "#/definitions/Sound" }, "drop_sound": { "$ref": "#/definitions/Sound" }, "inventory_move_sound": { "$ref": "#/definitions/Sound" }, "default_import_location": { "$ref": "#/definitions/SpaceLocationID" }, "color_hint": { "$ref": "#/definitions/ColorHintSpecification" }, "has_random_tint": { "$ref": "#/definitions/bool" }, "spoil_to_trigger_result": { "$ref": "#/definitions/SpoilToTriggerResult" }, "destroyed_by_dropping_trigger": { "$ref": "#/definitions/Trigger" }, "rocket_launch_products": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemProductPrototype" } }, { "type": "object", "additionalProperties": false } ] }, "send_to_orbit_mode": { "$ref": "#/definitions/SendToOrbitMode" }, "random_tint_color": { "$ref": "#/definitions/Color" }, "spoil_level": { "$ref": "#/definitions/uint8" }, "default_label_color": { "$ref": "#/definitions/Color" }, "draw_label_for_cursor_render": { "$ref": "#/definitions/bool" }, "select": { "$ref": "#/definitions/SelectionModeData" }, "alt_select": { "$ref": "#/definitions/SelectionModeData" }, "super_forced_select": { "$ref": "#/definitions/SelectionModeData" }, "reverse_select": { "$ref": "#/definitions/SelectionModeData" }, "alt_reverse_select": { "$ref": "#/definitions/SelectionModeData" }, "always_include_tiles": { "$ref": "#/definitions/bool" }, "mouse_cursor": { "$ref": "#/definitions/MouseCursorID" }, "skip_fog_of_war": { "$ref": "#/definitions/bool" } }, "required": [ "type", "name", "stack_size", "select", "alt_select" ] }, "SplitterPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/SplitterPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "splitter" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "collision_box": { "$ref": "#/definitions/BoundingBox" }, "collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "map_generator_bounding_box": { "$ref": "#/definitions/BoundingBox" }, "selection_box": { "$ref": "#/definitions/BoundingBox" }, "drawing_box_vertical_extension": { "$ref": "#/definitions/double" }, "sticker_box": { "$ref": "#/definitions/BoundingBox" }, "hit_visualization_box": { "$ref": "#/definitions/BoundingBox" }, "trigger_target_mask": { "$ref": "#/definitions/TriggerTargetMask" }, "flags": { "$ref": "#/definitions/EntityPrototypeFlags" }, "tile_buildability_rules": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileBuildabilityRule" } }, { "type": "object", "additionalProperties": false } ] }, "minable": { "$ref": "#/definitions/MinableProperties" }, "surface_conditions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SurfaceCondition" } }, { "type": "object", "additionalProperties": false } ] }, "deconstruction_alternative": { "$ref": "#/definitions/EntityID" }, "selection_priority": { "$ref": "#/definitions/uint8" }, "build_grid_size": { "$ref": "#/definitions/uint8" }, "remove_decoratives": { "anyOf": [ { "type": "string", "const": "automatic" }, { "type": "string", "const": "true" }, { "type": "string", "const": "false" } ] }, "emissions_per_second": { "type": "object", "additionalProperties": { "$ref": "#/definitions/double" }, "propertyNames": { "$ref": "#/definitions/AirbornePollutantID" } }, "shooting_cursor_size": { "$ref": "#/definitions/double" }, "created_smoke": { "$ref": "#/definitions/CreateTrivialSmokeEffectItem" }, "working_sound": { "$ref": "#/definitions/WorkingSound" }, "created_effect": { "$ref": "#/definitions/Trigger" }, "build_sound": { "$ref": "#/definitions/Sound" }, "mined_sound": { "$ref": "#/definitions/Sound" }, "mining_sound": { "$ref": "#/definitions/Sound" }, "rotated_sound": { "$ref": "#/definitions/Sound" }, "impact_category": { "$ref": "#/definitions/string" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "placeable_position_visualization": { "$ref": "#/definitions/Sprite" }, "radius_visualisation_specification": { "$ref": "#/definitions/RadiusVisualisationSpecification" }, "stateless_visualisation": { "$ref": "#/definitions/StatelessVisualisations" }, "build_base_evolution_requirement": { "$ref": "#/definitions/double" }, "alert_icon_shift": { "$ref": "#/definitions/Vector" }, "alert_icon_scale": { "$ref": "#/definitions/float" }, "fast_replaceable_group": { "$ref": "#/definitions/string" }, "next_upgrade": { "$ref": "#/definitions/EntityID" }, "protected_from_tile_building": { "$ref": "#/definitions/bool" }, "heating_energy": { "$ref": "#/definitions/Energy" }, "allow_copy_paste": { "$ref": "#/definitions/bool" }, "selectable_in_game": { "$ref": "#/definitions/bool" }, "placeable_by": { "anyOf": [ { "$ref": "#/definitions/ItemToPlace" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemToPlace" } }, { "type": "object", "additionalProperties": false } ] } ] }, "remains_when_mined": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "additional_pastable_entities": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] }, "tile_width": { "$ref": "#/definitions/int32" }, "tile_height": { "$ref": "#/definitions/int32" }, "diagonal_tile_grid_size": { "$ref": "#/definitions/TilePosition" }, "autoplace": { "$ref": "#/definitions/AutoplaceSpecification" }, "map_color": { "$ref": "#/definitions/Color" }, "friendly_map_color": { "$ref": "#/definitions/Color" }, "enemy_map_color": { "$ref": "#/definitions/Color" }, "water_reflection": { "$ref": "#/definitions/WaterReflectionDefinition" }, "ambient_sounds_group": { "$ref": "#/definitions/EntityID" }, "ambient_sounds": { "anyOf": [ { "$ref": "#/definitions/WorldAmbientSoundDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/WorldAmbientSoundDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "icon_draw_specification": { "$ref": "#/definitions/IconDrawSpecification" }, "icons_positioning": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconSequencePositioning" } }, { "type": "object", "additionalProperties": false } ] }, "max_health": { "$ref": "#/definitions/float" }, "healing_per_tick": { "$ref": "#/definitions/float" }, "repair_speed_modifier": { "$ref": "#/definitions/float" }, "dying_explosion": { "anyOf": [ { "$ref": "#/definitions/ExplosionDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ExplosionDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "dying_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "damaged_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "loot": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/LootItem" } }, { "type": "object", "additionalProperties": false } ] }, "resistances": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Resistance" } }, { "type": "object", "additionalProperties": false } ] }, "attack_reaction": { "anyOf": [ { "$ref": "#/definitions/AttackReactionItem" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/AttackReactionItem" } }, { "type": "object", "additionalProperties": false } ] } ] }, "repair_sound": { "$ref": "#/definitions/Sound" }, "alert_when_damaged": { "$ref": "#/definitions/bool" }, "hide_resistances": { "$ref": "#/definitions/bool" }, "create_ghost_on_death": { "$ref": "#/definitions/bool" }, "random_corpse_variation": { "$ref": "#/definitions/bool" }, "integration_patch_render_layer": { "$ref": "#/definitions/RenderLayer" }, "corpse": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "integration_patch": { "$ref": "#/definitions/Sprite4Way" }, "overkill_fraction": { "$ref": "#/definitions/float" }, "is_military_target": { "$ref": "#/definitions/bool" }, "allow_run_time_change_of_is_military_target": { "$ref": "#/definitions/bool" }, "quality_indicator_scale": { "$ref": "#/definitions/double" }, "belt_animation_set": { "$ref": "#/definitions/TransportBeltAnimationSet" }, "speed": { "$ref": "#/definitions/double" }, "animation_speed_coefficient": { "$ref": "#/definitions/double" }, "structure": { "$ref": "#/definitions/Animation4Way" }, "structure_patch": { "$ref": "#/definitions/Animation4Way" }, "frozen_patch": { "$ref": "#/definitions/Sprite4Way" }, "structure_animation_speed_coefficient": { "$ref": "#/definitions/double" }, "structure_animation_movement_cooldown": { "$ref": "#/definitions/uint32" }, "related_transport_belt": { "$ref": "#/definitions/EntityID" } }, "required": [ "type", "name", "speed" ] }, "SpritePrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/SpritePrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "sprite" }, "name": { "$ref": "#/definitions/string" }, "layers": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Sprite" } }, { "type": "object", "additionalProperties": false } ] }, "filename": { "$ref": "#/definitions/FileName" }, "dice": { "$ref": "#/definitions/SpriteSizeType" }, "dice_x": { "$ref": "#/definitions/SpriteSizeType" }, "dice_y": { "$ref": "#/definitions/SpriteSizeType" }, "priority": { "$ref": "#/definitions/SpritePriority" }, "flags": { "$ref": "#/definitions/SpriteFlags" }, "size": { "anyOf": [ { "$ref": "#/definitions/SpriteSizeType" }, { "type": "array", "items": [ { "$ref": "#/definitions/SpriteSizeType" }, { "$ref": "#/definitions/SpriteSizeType" } ], "minItems": 2, "maxItems": 2 } ] }, "width": { "$ref": "#/definitions/SpriteSizeType" }, "height": { "$ref": "#/definitions/SpriteSizeType" }, "x": { "$ref": "#/definitions/SpriteSizeType" }, "y": { "$ref": "#/definitions/SpriteSizeType" }, "position": { "type": "array", "items": [ { "$ref": "#/definitions/SpriteSizeType" }, { "$ref": "#/definitions/SpriteSizeType" } ], "minItems": 2, "maxItems": 2 }, "shift": { "$ref": "#/definitions/Vector" }, "rotate_shift": { "$ref": "#/definitions/bool" }, "apply_special_effect": { "$ref": "#/definitions/bool" }, "scale": { "$ref": "#/definitions/double" }, "draw_as_shadow": { "$ref": "#/definitions/bool" }, "draw_as_glow": { "$ref": "#/definitions/bool" }, "draw_as_light": { "$ref": "#/definitions/bool" }, "mipmap_count": { "$ref": "#/definitions/uint8" }, "apply_runtime_tint": { "$ref": "#/definitions/bool" }, "tint_as_overlay": { "$ref": "#/definitions/bool" }, "invert_colors": { "$ref": "#/definitions/bool" }, "tint": { "$ref": "#/definitions/Color" }, "blend_mode": { "$ref": "#/definitions/BlendMode" }, "load_in_minimal_mode": { "$ref": "#/definitions/bool" }, "premul_alpha": { "$ref": "#/definitions/bool" }, "allow_forced_downscale": { "$ref": "#/definitions/bool" }, "generate_sdf": { "$ref": "#/definitions/bool" }, "surface": { "$ref": "#/definitions/SpriteUsageSurfaceHint" }, "usage": { "$ref": "#/definitions/SpriteUsageHint" } }, "required": [ "type", "name" ] }, "StickerPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/StickerPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "sticker" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "collision_box": { "$ref": "#/definitions/BoundingBox" }, "collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "map_generator_bounding_box": { "$ref": "#/definitions/BoundingBox" }, "selection_box": { "$ref": "#/definitions/BoundingBox" }, "drawing_box_vertical_extension": { "$ref": "#/definitions/double" }, "sticker_box": { "$ref": "#/definitions/BoundingBox" }, "hit_visualization_box": { "$ref": "#/definitions/BoundingBox" }, "trigger_target_mask": { "$ref": "#/definitions/TriggerTargetMask" }, "flags": { "$ref": "#/definitions/EntityPrototypeFlags" }, "tile_buildability_rules": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileBuildabilityRule" } }, { "type": "object", "additionalProperties": false } ] }, "minable": { "$ref": "#/definitions/MinableProperties" }, "surface_conditions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SurfaceCondition" } }, { "type": "object", "additionalProperties": false } ] }, "deconstruction_alternative": { "$ref": "#/definitions/EntityID" }, "selection_priority": { "$ref": "#/definitions/uint8" }, "build_grid_size": { "$ref": "#/definitions/uint8" }, "remove_decoratives": { "anyOf": [ { "type": "string", "const": "automatic" }, { "type": "string", "const": "true" }, { "type": "string", "const": "false" } ] }, "emissions_per_second": { "type": "object", "additionalProperties": { "$ref": "#/definitions/double" }, "propertyNames": { "$ref": "#/definitions/AirbornePollutantID" } }, "shooting_cursor_size": { "$ref": "#/definitions/double" }, "created_smoke": { "$ref": "#/definitions/CreateTrivialSmokeEffectItem" }, "working_sound": { "$ref": "#/definitions/WorkingSound" }, "created_effect": { "$ref": "#/definitions/Trigger" }, "build_sound": { "$ref": "#/definitions/Sound" }, "mined_sound": { "$ref": "#/definitions/Sound" }, "mining_sound": { "$ref": "#/definitions/Sound" }, "rotated_sound": { "$ref": "#/definitions/Sound" }, "impact_category": { "$ref": "#/definitions/string" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "placeable_position_visualization": { "$ref": "#/definitions/Sprite" }, "radius_visualisation_specification": { "$ref": "#/definitions/RadiusVisualisationSpecification" }, "stateless_visualisation": { "$ref": "#/definitions/StatelessVisualisations" }, "build_base_evolution_requirement": { "$ref": "#/definitions/double" }, "alert_icon_shift": { "$ref": "#/definitions/Vector" }, "alert_icon_scale": { "$ref": "#/definitions/float" }, "fast_replaceable_group": { "$ref": "#/definitions/string" }, "next_upgrade": { "$ref": "#/definitions/EntityID" }, "protected_from_tile_building": { "$ref": "#/definitions/bool" }, "heating_energy": { "$ref": "#/definitions/Energy" }, "allow_copy_paste": { "$ref": "#/definitions/bool" }, "selectable_in_game": { "$ref": "#/definitions/bool" }, "placeable_by": { "anyOf": [ { "$ref": "#/definitions/ItemToPlace" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemToPlace" } }, { "type": "object", "additionalProperties": false } ] } ] }, "remains_when_mined": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "additional_pastable_entities": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] }, "tile_width": { "$ref": "#/definitions/int32" }, "tile_height": { "$ref": "#/definitions/int32" }, "diagonal_tile_grid_size": { "$ref": "#/definitions/TilePosition" }, "autoplace": { "$ref": "#/definitions/AutoplaceSpecification" }, "map_color": { "$ref": "#/definitions/Color" }, "friendly_map_color": { "$ref": "#/definitions/Color" }, "enemy_map_color": { "$ref": "#/definitions/Color" }, "water_reflection": { "$ref": "#/definitions/WaterReflectionDefinition" }, "ambient_sounds_group": { "$ref": "#/definitions/EntityID" }, "ambient_sounds": { "anyOf": [ { "$ref": "#/definitions/WorldAmbientSoundDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/WorldAmbientSoundDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "icon_draw_specification": { "$ref": "#/definitions/IconDrawSpecification" }, "icons_positioning": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconSequencePositioning" } }, { "type": "object", "additionalProperties": false } ] }, "duration_in_ticks": { "$ref": "#/definitions/uint32" }, "animation": { "$ref": "#/definitions/Animation" }, "render_layer": { "$ref": "#/definitions/RenderLayer" }, "damage_interval": { "$ref": "#/definitions/uint32" }, "spread_fire_entity": { "$ref": "#/definitions/EntityID" }, "fire_spread_cooldown": { "$ref": "#/definitions/uint8" }, "fire_spread_radius": { "$ref": "#/definitions/float" }, "stickers_per_square_meter": { "$ref": "#/definitions/float" }, "force_visibility": { "$ref": "#/definitions/ForceCondition" }, "single_particle": { "$ref": "#/definitions/bool" }, "damage_per_tick": { "$ref": "#/definitions/DamageParameters" }, "target_movement_modifier": { "$ref": "#/definitions/float" }, "target_movement_modifier_from": { "$ref": "#/definitions/float" }, "target_movement_modifier_to": { "$ref": "#/definitions/float" }, "target_movement_max": { "$ref": "#/definitions/float" }, "target_movement_max_from": { "$ref": "#/definitions/float" }, "target_movement_max_to": { "$ref": "#/definitions/float" }, "ground_target": { "$ref": "#/definitions/bool" }, "vehicle_speed_modifier": { "$ref": "#/definitions/float" }, "vehicle_speed_modifier_from": { "$ref": "#/definitions/float" }, "vehicle_speed_modifier_to": { "$ref": "#/definitions/float" }, "vehicle_speed_max": { "$ref": "#/definitions/float" }, "vehicle_speed_max_from": { "$ref": "#/definitions/float" }, "vehicle_speed_max_to": { "$ref": "#/definitions/float" }, "vehicle_friction_modifier": { "$ref": "#/definitions/float" }, "vehicle_friction_modifier_from": { "$ref": "#/definitions/float" }, "vehicle_friction_modifier_to": { "$ref": "#/definitions/float" }, "selection_box_type": { "$ref": "#/definitions/CursorBoxType" }, "update_effects": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TriggerEffectWithCooldown" } }, { "type": "object", "additionalProperties": false } ] } }, "required": [ "type", "name", "duration_in_ticks" ] }, "StorageTankPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/StorageTankPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "storage-tank" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "collision_box": { "$ref": "#/definitions/BoundingBox" }, "collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "map_generator_bounding_box": { "$ref": "#/definitions/BoundingBox" }, "selection_box": { "$ref": "#/definitions/BoundingBox" }, "drawing_box_vertical_extension": { "$ref": "#/definitions/double" }, "sticker_box": { "$ref": "#/definitions/BoundingBox" }, "hit_visualization_box": { "$ref": "#/definitions/BoundingBox" }, "trigger_target_mask": { "$ref": "#/definitions/TriggerTargetMask" }, "flags": { "$ref": "#/definitions/EntityPrototypeFlags" }, "tile_buildability_rules": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileBuildabilityRule" } }, { "type": "object", "additionalProperties": false } ] }, "minable": { "$ref": "#/definitions/MinableProperties" }, "surface_conditions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SurfaceCondition" } }, { "type": "object", "additionalProperties": false } ] }, "deconstruction_alternative": { "$ref": "#/definitions/EntityID" }, "selection_priority": { "$ref": "#/definitions/uint8" }, "build_grid_size": { "$ref": "#/definitions/uint8" }, "remove_decoratives": { "anyOf": [ { "type": "string", "const": "automatic" }, { "type": "string", "const": "true" }, { "type": "string", "const": "false" } ] }, "emissions_per_second": { "type": "object", "additionalProperties": { "$ref": "#/definitions/double" }, "propertyNames": { "$ref": "#/definitions/AirbornePollutantID" } }, "shooting_cursor_size": { "$ref": "#/definitions/double" }, "created_smoke": { "$ref": "#/definitions/CreateTrivialSmokeEffectItem" }, "working_sound": { "$ref": "#/definitions/WorkingSound" }, "created_effect": { "$ref": "#/definitions/Trigger" }, "build_sound": { "$ref": "#/definitions/Sound" }, "mined_sound": { "$ref": "#/definitions/Sound" }, "mining_sound": { "$ref": "#/definitions/Sound" }, "rotated_sound": { "$ref": "#/definitions/Sound" }, "impact_category": { "$ref": "#/definitions/string" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "placeable_position_visualization": { "$ref": "#/definitions/Sprite" }, "radius_visualisation_specification": { "$ref": "#/definitions/RadiusVisualisationSpecification" }, "stateless_visualisation": { "$ref": "#/definitions/StatelessVisualisations" }, "build_base_evolution_requirement": { "$ref": "#/definitions/double" }, "alert_icon_shift": { "$ref": "#/definitions/Vector" }, "alert_icon_scale": { "$ref": "#/definitions/float" }, "fast_replaceable_group": { "$ref": "#/definitions/string" }, "next_upgrade": { "$ref": "#/definitions/EntityID" }, "protected_from_tile_building": { "$ref": "#/definitions/bool" }, "heating_energy": { "$ref": "#/definitions/Energy" }, "allow_copy_paste": { "$ref": "#/definitions/bool" }, "selectable_in_game": { "$ref": "#/definitions/bool" }, "placeable_by": { "anyOf": [ { "$ref": "#/definitions/ItemToPlace" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemToPlace" } }, { "type": "object", "additionalProperties": false } ] } ] }, "remains_when_mined": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "additional_pastable_entities": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] }, "tile_width": { "$ref": "#/definitions/int32" }, "tile_height": { "$ref": "#/definitions/int32" }, "diagonal_tile_grid_size": { "$ref": "#/definitions/TilePosition" }, "autoplace": { "$ref": "#/definitions/AutoplaceSpecification" }, "map_color": { "$ref": "#/definitions/Color" }, "friendly_map_color": { "$ref": "#/definitions/Color" }, "enemy_map_color": { "$ref": "#/definitions/Color" }, "water_reflection": { "$ref": "#/definitions/WaterReflectionDefinition" }, "ambient_sounds_group": { "$ref": "#/definitions/EntityID" }, "ambient_sounds": { "anyOf": [ { "$ref": "#/definitions/WorldAmbientSoundDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/WorldAmbientSoundDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "icon_draw_specification": { "$ref": "#/definitions/IconDrawSpecification" }, "icons_positioning": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconSequencePositioning" } }, { "type": "object", "additionalProperties": false } ] }, "max_health": { "$ref": "#/definitions/float" }, "healing_per_tick": { "$ref": "#/definitions/float" }, "repair_speed_modifier": { "$ref": "#/definitions/float" }, "dying_explosion": { "anyOf": [ { "$ref": "#/definitions/ExplosionDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ExplosionDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "dying_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "damaged_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "loot": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/LootItem" } }, { "type": "object", "additionalProperties": false } ] }, "resistances": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Resistance" } }, { "type": "object", "additionalProperties": false } ] }, "attack_reaction": { "anyOf": [ { "$ref": "#/definitions/AttackReactionItem" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/AttackReactionItem" } }, { "type": "object", "additionalProperties": false } ] } ] }, "repair_sound": { "$ref": "#/definitions/Sound" }, "alert_when_damaged": { "$ref": "#/definitions/bool" }, "hide_resistances": { "$ref": "#/definitions/bool" }, "create_ghost_on_death": { "$ref": "#/definitions/bool" }, "random_corpse_variation": { "$ref": "#/definitions/bool" }, "integration_patch_render_layer": { "$ref": "#/definitions/RenderLayer" }, "corpse": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "integration_patch": { "$ref": "#/definitions/Sprite4Way" }, "overkill_fraction": { "$ref": "#/definitions/float" }, "is_military_target": { "$ref": "#/definitions/bool" }, "allow_run_time_change_of_is_military_target": { "$ref": "#/definitions/bool" }, "quality_indicator_scale": { "$ref": "#/definitions/double" }, "fluid_box": { "$ref": "#/definitions/FluidBox" }, "window_bounding_box": { "$ref": "#/definitions/BoundingBox" }, "pictures": { "type": "object", "properties": { "picture": { "$ref": "#/definitions/Sprite4Way" }, "frozen_patch": { "$ref": "#/definitions/Sprite4Way" }, "window_background": { "$ref": "#/definitions/Sprite" }, "fluid_background": { "$ref": "#/definitions/Sprite" }, "flow_sprite": { "$ref": "#/definitions/Sprite" }, "gas_flow": { "$ref": "#/definitions/Animation" } } }, "flow_length_in_ticks": { "$ref": "#/definitions/uint32" }, "two_direction_only": { "$ref": "#/definitions/bool" }, "show_fluid_icon": { "$ref": "#/definitions/bool" }, "circuit_wire_max_distance": { "$ref": "#/definitions/double" }, "draw_copper_wires": { "$ref": "#/definitions/bool" }, "draw_circuit_wires": { "$ref": "#/definitions/bool" }, "circuit_connector": { "type": "array", "items": [ { "$ref": "#/definitions/CircuitConnectorDefinition" }, { "$ref": "#/definitions/CircuitConnectorDefinition" }, { "$ref": "#/definitions/CircuitConnectorDefinition" }, { "$ref": "#/definitions/CircuitConnectorDefinition" } ], "minItems": 4, "maxItems": 4 } }, "required": [ "type", "name", "fluid_box", "window_bounding_box", "flow_length_in_ticks" ] }, "StraightRailPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/StraightRailPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "straight-rail" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "collision_box": { "$ref": "#/definitions/BoundingBox" }, "collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "map_generator_bounding_box": { "$ref": "#/definitions/BoundingBox" }, "selection_box": { "$ref": "#/definitions/BoundingBox" }, "drawing_box_vertical_extension": { "$ref": "#/definitions/double" }, "sticker_box": { "$ref": "#/definitions/BoundingBox" }, "hit_visualization_box": { "$ref": "#/definitions/BoundingBox" }, "trigger_target_mask": { "$ref": "#/definitions/TriggerTargetMask" }, "flags": { "$ref": "#/definitions/EntityPrototypeFlags" }, "tile_buildability_rules": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileBuildabilityRule" } }, { "type": "object", "additionalProperties": false } ] }, "minable": { "$ref": "#/definitions/MinableProperties" }, "surface_conditions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SurfaceCondition" } }, { "type": "object", "additionalProperties": false } ] }, "deconstruction_alternative": { "$ref": "#/definitions/EntityID" }, "selection_priority": { "$ref": "#/definitions/uint8" }, "build_grid_size": { "type": "integer", "const": 2 }, "remove_decoratives": { "anyOf": [ { "type": "string", "const": "automatic" }, { "type": "string", "const": "true" }, { "type": "string", "const": "false" } ] }, "emissions_per_second": { "type": "object", "additionalProperties": { "$ref": "#/definitions/double" }, "propertyNames": { "$ref": "#/definitions/AirbornePollutantID" } }, "shooting_cursor_size": { "$ref": "#/definitions/double" }, "created_smoke": { "$ref": "#/definitions/CreateTrivialSmokeEffectItem" }, "working_sound": { "$ref": "#/definitions/WorkingSound" }, "created_effect": { "$ref": "#/definitions/Trigger" }, "build_sound": { "$ref": "#/definitions/Sound" }, "mined_sound": { "$ref": "#/definitions/Sound" }, "mining_sound": { "$ref": "#/definitions/Sound" }, "rotated_sound": { "$ref": "#/definitions/Sound" }, "impact_category": { "$ref": "#/definitions/string" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "placeable_position_visualization": { "$ref": "#/definitions/Sprite" }, "radius_visualisation_specification": { "$ref": "#/definitions/RadiusVisualisationSpecification" }, "stateless_visualisation": { "$ref": "#/definitions/StatelessVisualisations" }, "build_base_evolution_requirement": { "$ref": "#/definitions/double" }, "alert_icon_shift": { "$ref": "#/definitions/Vector" }, "alert_icon_scale": { "$ref": "#/definitions/float" }, "fast_replaceable_group": { "$ref": "#/definitions/string" }, "next_upgrade": { "$ref": "#/definitions/EntityID" }, "protected_from_tile_building": { "$ref": "#/definitions/bool" }, "heating_energy": { "$ref": "#/definitions/Energy" }, "allow_copy_paste": { "$ref": "#/definitions/bool" }, "selectable_in_game": { "$ref": "#/definitions/bool" }, "placeable_by": { "anyOf": [ { "$ref": "#/definitions/ItemToPlace" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemToPlace" } }, { "type": "object", "additionalProperties": false } ] } ] }, "remains_when_mined": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "additional_pastable_entities": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] }, "tile_width": { "$ref": "#/definitions/int32" }, "tile_height": { "$ref": "#/definitions/int32" }, "diagonal_tile_grid_size": { "$ref": "#/definitions/TilePosition" }, "autoplace": { "$ref": "#/definitions/AutoplaceSpecification" }, "map_color": { "$ref": "#/definitions/Color" }, "friendly_map_color": { "$ref": "#/definitions/Color" }, "enemy_map_color": { "$ref": "#/definitions/Color" }, "water_reflection": { "$ref": "#/definitions/WaterReflectionDefinition" }, "ambient_sounds_group": { "$ref": "#/definitions/EntityID" }, "ambient_sounds": { "anyOf": [ { "$ref": "#/definitions/WorldAmbientSoundDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/WorldAmbientSoundDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "icon_draw_specification": { "$ref": "#/definitions/IconDrawSpecification" }, "icons_positioning": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconSequencePositioning" } }, { "type": "object", "additionalProperties": false } ] }, "max_health": { "$ref": "#/definitions/float" }, "healing_per_tick": { "$ref": "#/definitions/float" }, "repair_speed_modifier": { "$ref": "#/definitions/float" }, "dying_explosion": { "anyOf": [ { "$ref": "#/definitions/ExplosionDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ExplosionDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "dying_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "damaged_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "loot": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/LootItem" } }, { "type": "object", "additionalProperties": false } ] }, "resistances": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Resistance" } }, { "type": "object", "additionalProperties": false } ] }, "attack_reaction": { "anyOf": [ { "$ref": "#/definitions/AttackReactionItem" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/AttackReactionItem" } }, { "type": "object", "additionalProperties": false } ] } ] }, "repair_sound": { "$ref": "#/definitions/Sound" }, "alert_when_damaged": { "$ref": "#/definitions/bool" }, "hide_resistances": { "$ref": "#/definitions/bool" }, "create_ghost_on_death": { "$ref": "#/definitions/bool" }, "random_corpse_variation": { "$ref": "#/definitions/bool" }, "integration_patch_render_layer": { "$ref": "#/definitions/RenderLayer" }, "corpse": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "integration_patch": { "$ref": "#/definitions/Sprite4Way" }, "overkill_fraction": { "$ref": "#/definitions/float" }, "is_military_target": { "$ref": "#/definitions/bool" }, "allow_run_time_change_of_is_military_target": { "$ref": "#/definitions/bool" }, "quality_indicator_scale": { "$ref": "#/definitions/double" }, "walking_sound": { "$ref": "#/definitions/Sound" }, "pictures": { "$ref": "#/definitions/RailPictureSet" }, "fence_pictures": { "$ref": "#/definitions/RailFenceGraphicsSet" }, "extra_planner_penalty": { "$ref": "#/definitions/double" }, "extra_planner_goal_penalty": { "$ref": "#/definitions/double" }, "forced_fence_segment_count": { "$ref": "#/definitions/uint8" }, "ending_shifts": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Vector" } }, { "type": "object", "additionalProperties": false } ] }, "deconstruction_marker_positions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Vector" } }, { "type": "object", "additionalProperties": false } ] }, "removes_soft_decoratives": { "$ref": "#/definitions/bool" } }, "required": [ "type", "name", "pictures" ] }, "SurfacePropertyPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/SurfacePropertyPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "surface-property" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "localised_unit_key": { "$ref": "#/definitions/string" }, "default_value": { "$ref": "#/definitions/double" }, "is_time": { "$ref": "#/definitions/bool" } }, "required": [ "type", "name", "default_value" ] }, "SurfacePrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/SurfacePrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "surface" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "surface_properties": { "type": "object", "additionalProperties": { "$ref": "#/definitions/double" }, "propertyNames": { "$ref": "#/definitions/SurfacePropertyID" } }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" } }, "required": [ "type", "name" ] }, "TechnologyPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/TechnologyPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "technology" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "upgrade": { "$ref": "#/definitions/bool" }, "enabled": { "$ref": "#/definitions/bool" }, "essential": { "$ref": "#/definitions/bool" }, "visible_when_disabled": { "$ref": "#/definitions/bool" }, "ignore_tech_cost_multiplier": { "$ref": "#/definitions/bool" }, "allows_productivity": { "$ref": "#/definitions/bool" }, "research_trigger": { "$ref": "#/definitions/TechnologyTrigger" }, "unit": { "$ref": "#/definitions/TechnologyUnit" }, "max_level": { "anyOf": [ { "$ref": "#/definitions/uint32" }, { "type": "string", "const": "infinite" } ] }, "prerequisites": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TechnologyID" } }, { "type": "object", "additionalProperties": false } ] }, "effects": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Modifier" } }, { "type": "object", "additionalProperties": false } ] } }, "required": [ "type", "name" ] }, "TemporaryContainerPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/TemporaryContainerPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "temporary-container" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "collision_box": { "$ref": "#/definitions/BoundingBox" }, "collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "map_generator_bounding_box": { "$ref": "#/definitions/BoundingBox" }, "selection_box": { "$ref": "#/definitions/BoundingBox" }, "drawing_box_vertical_extension": { "$ref": "#/definitions/double" }, "sticker_box": { "$ref": "#/definitions/BoundingBox" }, "hit_visualization_box": { "$ref": "#/definitions/BoundingBox" }, "trigger_target_mask": { "$ref": "#/definitions/TriggerTargetMask" }, "flags": { "$ref": "#/definitions/EntityPrototypeFlags" }, "tile_buildability_rules": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileBuildabilityRule" } }, { "type": "object", "additionalProperties": false } ] }, "minable": { "$ref": "#/definitions/MinableProperties" }, "surface_conditions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SurfaceCondition" } }, { "type": "object", "additionalProperties": false } ] }, "deconstruction_alternative": { "$ref": "#/definitions/EntityID" }, "selection_priority": { "$ref": "#/definitions/uint8" }, "build_grid_size": { "$ref": "#/definitions/uint8" }, "remove_decoratives": { "anyOf": [ { "type": "string", "const": "automatic" }, { "type": "string", "const": "true" }, { "type": "string", "const": "false" } ] }, "emissions_per_second": { "type": "object", "additionalProperties": { "$ref": "#/definitions/double" }, "propertyNames": { "$ref": "#/definitions/AirbornePollutantID" } }, "shooting_cursor_size": { "$ref": "#/definitions/double" }, "created_smoke": { "$ref": "#/definitions/CreateTrivialSmokeEffectItem" }, "working_sound": { "$ref": "#/definitions/WorkingSound" }, "created_effect": { "$ref": "#/definitions/Trigger" }, "build_sound": { "$ref": "#/definitions/Sound" }, "mined_sound": { "$ref": "#/definitions/Sound" }, "mining_sound": { "$ref": "#/definitions/Sound" }, "rotated_sound": { "$ref": "#/definitions/Sound" }, "impact_category": { "$ref": "#/definitions/string" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "placeable_position_visualization": { "$ref": "#/definitions/Sprite" }, "radius_visualisation_specification": { "$ref": "#/definitions/RadiusVisualisationSpecification" }, "stateless_visualisation": { "$ref": "#/definitions/StatelessVisualisations" }, "build_base_evolution_requirement": { "$ref": "#/definitions/double" }, "alert_icon_shift": { "$ref": "#/definitions/Vector" }, "alert_icon_scale": { "$ref": "#/definitions/float" }, "fast_replaceable_group": { "$ref": "#/definitions/string" }, "next_upgrade": { "$ref": "#/definitions/EntityID" }, "protected_from_tile_building": { "$ref": "#/definitions/bool" }, "heating_energy": { "$ref": "#/definitions/Energy" }, "allow_copy_paste": { "$ref": "#/definitions/bool" }, "selectable_in_game": { "$ref": "#/definitions/bool" }, "placeable_by": { "anyOf": [ { "$ref": "#/definitions/ItemToPlace" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemToPlace" } }, { "type": "object", "additionalProperties": false } ] } ] }, "remains_when_mined": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "additional_pastable_entities": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] }, "tile_width": { "$ref": "#/definitions/int32" }, "tile_height": { "$ref": "#/definitions/int32" }, "diagonal_tile_grid_size": { "$ref": "#/definitions/TilePosition" }, "autoplace": { "$ref": "#/definitions/AutoplaceSpecification" }, "map_color": { "$ref": "#/definitions/Color" }, "friendly_map_color": { "$ref": "#/definitions/Color" }, "enemy_map_color": { "$ref": "#/definitions/Color" }, "water_reflection": { "$ref": "#/definitions/WaterReflectionDefinition" }, "ambient_sounds_group": { "$ref": "#/definitions/EntityID" }, "ambient_sounds": { "anyOf": [ { "$ref": "#/definitions/WorldAmbientSoundDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/WorldAmbientSoundDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "icon_draw_specification": { "$ref": "#/definitions/IconDrawSpecification" }, "icons_positioning": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconSequencePositioning" } }, { "type": "object", "additionalProperties": false } ] }, "max_health": { "$ref": "#/definitions/float" }, "healing_per_tick": { "$ref": "#/definitions/float" }, "repair_speed_modifier": { "$ref": "#/definitions/float" }, "dying_explosion": { "anyOf": [ { "$ref": "#/definitions/ExplosionDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ExplosionDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "dying_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "damaged_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "loot": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/LootItem" } }, { "type": "object", "additionalProperties": false } ] }, "resistances": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Resistance" } }, { "type": "object", "additionalProperties": false } ] }, "attack_reaction": { "anyOf": [ { "$ref": "#/definitions/AttackReactionItem" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/AttackReactionItem" } }, { "type": "object", "additionalProperties": false } ] } ] }, "repair_sound": { "$ref": "#/definitions/Sound" }, "alert_when_damaged": { "$ref": "#/definitions/bool" }, "hide_resistances": { "$ref": "#/definitions/bool" }, "create_ghost_on_death": { "$ref": "#/definitions/bool" }, "random_corpse_variation": { "$ref": "#/definitions/bool" }, "integration_patch_render_layer": { "$ref": "#/definitions/RenderLayer" }, "corpse": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "integration_patch": { "$ref": "#/definitions/Sprite4Way" }, "overkill_fraction": { "$ref": "#/definitions/float" }, "is_military_target": { "$ref": "#/definitions/bool" }, "allow_run_time_change_of_is_military_target": { "$ref": "#/definitions/bool" }, "quality_indicator_scale": { "$ref": "#/definitions/double" }, "inventory_size": { "$ref": "#/definitions/ItemStackIndex" }, "quality_affects_inventory_size": { "$ref": "#/definitions/bool" }, "picture": { "$ref": "#/definitions/Sprite" }, "inventory_type": { "anyOf": [ { "type": "string", "const": "normal" }, { "type": "string", "const": "with_bar" }, { "type": "string", "const": "with_filters_and_bar" } ] }, "circuit_wire_max_distance": { "$ref": "#/definitions/double" }, "draw_copper_wires": { "$ref": "#/definitions/bool" }, "draw_circuit_wires": { "$ref": "#/definitions/bool" }, "circuit_connector": { "$ref": "#/definitions/CircuitConnectorDefinition" }, "default_status": { "$ref": "#/definitions/EntityStatus" }, "destroy_on_empty": { "$ref": "#/definitions/bool" }, "time_to_live": { "$ref": "#/definitions/uint32" }, "alert_after_time": { "$ref": "#/definitions/uint32" } }, "required": [ "type", "name", "inventory_size" ] }, "ThrusterPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/ThrusterPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "thruster" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "collision_box": { "$ref": "#/definitions/BoundingBox" }, "collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "map_generator_bounding_box": { "$ref": "#/definitions/BoundingBox" }, "selection_box": { "$ref": "#/definitions/BoundingBox" }, "drawing_box_vertical_extension": { "$ref": "#/definitions/double" }, "sticker_box": { "$ref": "#/definitions/BoundingBox" }, "hit_visualization_box": { "$ref": "#/definitions/BoundingBox" }, "trigger_target_mask": { "$ref": "#/definitions/TriggerTargetMask" }, "flags": { "$ref": "#/definitions/EntityPrototypeFlags" }, "tile_buildability_rules": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileBuildabilityRule" } }, { "type": "object", "additionalProperties": false } ] }, "minable": { "$ref": "#/definitions/MinableProperties" }, "surface_conditions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SurfaceCondition" } }, { "type": "object", "additionalProperties": false } ] }, "deconstruction_alternative": { "$ref": "#/definitions/EntityID" }, "selection_priority": { "$ref": "#/definitions/uint8" }, "build_grid_size": { "$ref": "#/definitions/uint8" }, "remove_decoratives": { "anyOf": [ { "type": "string", "const": "automatic" }, { "type": "string", "const": "true" }, { "type": "string", "const": "false" } ] }, "emissions_per_second": { "type": "object", "additionalProperties": { "$ref": "#/definitions/double" }, "propertyNames": { "$ref": "#/definitions/AirbornePollutantID" } }, "shooting_cursor_size": { "$ref": "#/definitions/double" }, "created_smoke": { "$ref": "#/definitions/CreateTrivialSmokeEffectItem" }, "working_sound": { "$ref": "#/definitions/WorkingSound" }, "created_effect": { "$ref": "#/definitions/Trigger" }, "build_sound": { "$ref": "#/definitions/Sound" }, "mined_sound": { "$ref": "#/definitions/Sound" }, "mining_sound": { "$ref": "#/definitions/Sound" }, "rotated_sound": { "$ref": "#/definitions/Sound" }, "impact_category": { "$ref": "#/definitions/string" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "placeable_position_visualization": { "$ref": "#/definitions/Sprite" }, "radius_visualisation_specification": { "$ref": "#/definitions/RadiusVisualisationSpecification" }, "stateless_visualisation": { "$ref": "#/definitions/StatelessVisualisations" }, "build_base_evolution_requirement": { "$ref": "#/definitions/double" }, "alert_icon_shift": { "$ref": "#/definitions/Vector" }, "alert_icon_scale": { "$ref": "#/definitions/float" }, "fast_replaceable_group": { "$ref": "#/definitions/string" }, "next_upgrade": { "$ref": "#/definitions/EntityID" }, "protected_from_tile_building": { "$ref": "#/definitions/bool" }, "heating_energy": { "$ref": "#/definitions/Energy" }, "allow_copy_paste": { "$ref": "#/definitions/bool" }, "selectable_in_game": { "$ref": "#/definitions/bool" }, "placeable_by": { "anyOf": [ { "$ref": "#/definitions/ItemToPlace" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemToPlace" } }, { "type": "object", "additionalProperties": false } ] } ] }, "remains_when_mined": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "additional_pastable_entities": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] }, "tile_width": { "$ref": "#/definitions/int32" }, "tile_height": { "$ref": "#/definitions/int32" }, "diagonal_tile_grid_size": { "$ref": "#/definitions/TilePosition" }, "autoplace": { "$ref": "#/definitions/AutoplaceSpecification" }, "map_color": { "$ref": "#/definitions/Color" }, "friendly_map_color": { "$ref": "#/definitions/Color" }, "enemy_map_color": { "$ref": "#/definitions/Color" }, "water_reflection": { "$ref": "#/definitions/WaterReflectionDefinition" }, "ambient_sounds_group": { "$ref": "#/definitions/EntityID" }, "ambient_sounds": { "anyOf": [ { "$ref": "#/definitions/WorldAmbientSoundDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/WorldAmbientSoundDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "icon_draw_specification": { "$ref": "#/definitions/IconDrawSpecification" }, "icons_positioning": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconSequencePositioning" } }, { "type": "object", "additionalProperties": false } ] }, "max_health": { "$ref": "#/definitions/float" }, "healing_per_tick": { "$ref": "#/definitions/float" }, "repair_speed_modifier": { "$ref": "#/definitions/float" }, "dying_explosion": { "anyOf": [ { "$ref": "#/definitions/ExplosionDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ExplosionDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "dying_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "damaged_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "loot": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/LootItem" } }, { "type": "object", "additionalProperties": false } ] }, "resistances": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Resistance" } }, { "type": "object", "additionalProperties": false } ] }, "attack_reaction": { "anyOf": [ { "$ref": "#/definitions/AttackReactionItem" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/AttackReactionItem" } }, { "type": "object", "additionalProperties": false } ] } ] }, "repair_sound": { "$ref": "#/definitions/Sound" }, "alert_when_damaged": { "$ref": "#/definitions/bool" }, "hide_resistances": { "$ref": "#/definitions/bool" }, "create_ghost_on_death": { "$ref": "#/definitions/bool" }, "random_corpse_variation": { "$ref": "#/definitions/bool" }, "integration_patch_render_layer": { "$ref": "#/definitions/RenderLayer" }, "corpse": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "integration_patch": { "$ref": "#/definitions/Sprite4Way" }, "overkill_fraction": { "$ref": "#/definitions/float" }, "is_military_target": { "$ref": "#/definitions/bool" }, "allow_run_time_change_of_is_military_target": { "$ref": "#/definitions/bool" }, "quality_indicator_scale": { "$ref": "#/definitions/double" }, "min_performance": { "$ref": "#/definitions/ThrusterPerformancePoint" }, "max_performance": { "$ref": "#/definitions/ThrusterPerformancePoint" }, "fuel_fluid_box": { "$ref": "#/definitions/FluidBox" }, "oxidizer_fluid_box": { "$ref": "#/definitions/FluidBox" }, "graphics_set": { "$ref": "#/definitions/ThrusterGraphicsSet" }, "plumes": { "$ref": "#/definitions/PlumesSpecification" } }, "required": [ "type", "name", "min_performance", "max_performance", "fuel_fluid_box", "oxidizer_fluid_box" ] }, "TileEffectDefinition": { "description": "https://lua-api.factorio.com/stable/prototypes/TileEffectDefinition.html", "type": "object", "properties": { "type": { "type": "string", "const": "tile-effect" }, "name": { "$ref": "#/definitions/string" }, "shader": { "anyOf": [ { "type": "string", "const": "water" }, { "type": "string", "const": "space" }, { "type": "string", "const": "puddle" } ] }, "water": { "$ref": "#/definitions/WaterTileEffectParameters" }, "space": { "$ref": "#/definitions/SpaceTileEffectParameters" }, "puddle": { "$ref": "#/definitions/PuddleTileEffectParameters" } }, "required": [ "type", "name", "shader" ] }, "TileGhostPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/TileGhostPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "tile-ghost" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "collision_box": { "$ref": "#/definitions/BoundingBox" }, "collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "map_generator_bounding_box": { "$ref": "#/definitions/BoundingBox" }, "selection_box": { "$ref": "#/definitions/BoundingBox" }, "drawing_box_vertical_extension": { "$ref": "#/definitions/double" }, "sticker_box": { "$ref": "#/definitions/BoundingBox" }, "hit_visualization_box": { "$ref": "#/definitions/BoundingBox" }, "trigger_target_mask": { "$ref": "#/definitions/TriggerTargetMask" }, "flags": { "$ref": "#/definitions/EntityPrototypeFlags" }, "tile_buildability_rules": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileBuildabilityRule" } }, { "type": "object", "additionalProperties": false } ] }, "minable": { "$ref": "#/definitions/MinableProperties" }, "surface_conditions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SurfaceCondition" } }, { "type": "object", "additionalProperties": false } ] }, "deconstruction_alternative": { "$ref": "#/definitions/EntityID" }, "selection_priority": { "$ref": "#/definitions/uint8" }, "build_grid_size": { "$ref": "#/definitions/uint8" }, "remove_decoratives": { "anyOf": [ { "type": "string", "const": "automatic" }, { "type": "string", "const": "true" }, { "type": "string", "const": "false" } ] }, "emissions_per_second": { "type": "object", "additionalProperties": { "$ref": "#/definitions/double" }, "propertyNames": { "$ref": "#/definitions/AirbornePollutantID" } }, "shooting_cursor_size": { "$ref": "#/definitions/double" }, "created_smoke": { "$ref": "#/definitions/CreateTrivialSmokeEffectItem" }, "working_sound": { "$ref": "#/definitions/WorkingSound" }, "created_effect": { "$ref": "#/definitions/Trigger" }, "build_sound": { "$ref": "#/definitions/Sound" }, "mined_sound": { "$ref": "#/definitions/Sound" }, "mining_sound": { "$ref": "#/definitions/Sound" }, "rotated_sound": { "$ref": "#/definitions/Sound" }, "impact_category": { "$ref": "#/definitions/string" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "placeable_position_visualization": { "$ref": "#/definitions/Sprite" }, "radius_visualisation_specification": { "$ref": "#/definitions/RadiusVisualisationSpecification" }, "stateless_visualisation": { "$ref": "#/definitions/StatelessVisualisations" }, "build_base_evolution_requirement": { "$ref": "#/definitions/double" }, "alert_icon_shift": { "$ref": "#/definitions/Vector" }, "alert_icon_scale": { "$ref": "#/definitions/float" }, "fast_replaceable_group": { "$ref": "#/definitions/string" }, "next_upgrade": { "$ref": "#/definitions/EntityID" }, "protected_from_tile_building": { "$ref": "#/definitions/bool" }, "heating_energy": { "$ref": "#/definitions/Energy" }, "allow_copy_paste": { "$ref": "#/definitions/bool" }, "selectable_in_game": { "$ref": "#/definitions/bool" }, "placeable_by": { "anyOf": [ { "$ref": "#/definitions/ItemToPlace" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemToPlace" } }, { "type": "object", "additionalProperties": false } ] } ] }, "remains_when_mined": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "additional_pastable_entities": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] }, "tile_width": { "$ref": "#/definitions/int32" }, "tile_height": { "$ref": "#/definitions/int32" }, "diagonal_tile_grid_size": { "$ref": "#/definitions/TilePosition" }, "autoplace": { "$ref": "#/definitions/AutoplaceSpecification" }, "map_color": { "$ref": "#/definitions/Color" }, "friendly_map_color": { "$ref": "#/definitions/Color" }, "enemy_map_color": { "$ref": "#/definitions/Color" }, "water_reflection": { "$ref": "#/definitions/WaterReflectionDefinition" }, "ambient_sounds_group": { "$ref": "#/definitions/EntityID" }, "ambient_sounds": { "anyOf": [ { "$ref": "#/definitions/WorldAmbientSoundDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/WorldAmbientSoundDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "icon_draw_specification": { "$ref": "#/definitions/IconDrawSpecification" }, "icons_positioning": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconSequencePositioning" } }, { "type": "object", "additionalProperties": false } ] } }, "required": [ "type", "name" ] }, "TilePrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/TilePrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "tile" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "layer": { "$ref": "#/definitions/uint8" }, "build_animations": { "$ref": "#/definitions/Animation4Way" }, "build_animations_background": { "$ref": "#/definitions/Animation4Way" }, "built_animation_frame": { "$ref": "#/definitions/uint32" }, "variants": { "$ref": "#/definitions/TileTransitionsVariants" }, "map_color": { "$ref": "#/definitions/Color" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "lowland_fog": { "$ref": "#/definitions/bool" }, "transition_overlay_layer_offset": { "$ref": "#/definitions/int8" }, "sprite_usage_surface": { "$ref": "#/definitions/SpriteUsageSurfaceHint" }, "layer_group": { "$ref": "#/definitions/TileRenderLayer" }, "transition_merges_with_tile": { "$ref": "#/definitions/TileID" }, "effect_color": { "$ref": "#/definitions/Color" }, "tint": { "$ref": "#/definitions/Color" }, "particle_tints": { "$ref": "#/definitions/TileBasedParticleTints" }, "walking_sound": { "$ref": "#/definitions/Sound" }, "landing_steps_sound": { "$ref": "#/definitions/Sound" }, "driving_sound": { "$ref": "#/definitions/Sound" }, "build_sound": { "anyOf": [ { "$ref": "#/definitions/Sound" }, { "type": "object", "properties": { "small": { "$ref": "#/definitions/Sound" }, "medium": { "$ref": "#/definitions/Sound" }, "large": { "$ref": "#/definitions/Sound" }, "animated": { "$ref": "#/definitions/Sound" } } } ] }, "mined_sound": { "$ref": "#/definitions/Sound" }, "walking_speed_modifier": { "$ref": "#/definitions/double" }, "vehicle_friction_modifier": { "$ref": "#/definitions/double" }, "decorative_removal_probability": { "$ref": "#/definitions/float" }, "allowed_neighbors": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileID" } }, { "type": "object", "additionalProperties": false } ] }, "needs_correction": { "$ref": "#/definitions/bool" }, "minable": { "$ref": "#/definitions/MinableProperties" }, "fluid": { "$ref": "#/definitions/FluidID" }, "next_direction": { "$ref": "#/definitions/TileID" }, "can_be_part_of_blueprint": { "$ref": "#/definitions/bool" }, "is_foundation": { "$ref": "#/definitions/bool" }, "destroys_dropped_items": { "$ref": "#/definitions/bool" }, "allows_being_covered": { "$ref": "#/definitions/bool" }, "searchable": { "$ref": "#/definitions/bool" }, "max_health": { "$ref": "#/definitions/float" }, "weight": { "$ref": "#/definitions/Weight" }, "dying_explosion": { "anyOf": [ { "$ref": "#/definitions/ExplosionDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ExplosionDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "absorptions_per_second": { "type": "object", "additionalProperties": { "$ref": "#/definitions/double" }, "propertyNames": { "$ref": "#/definitions/AirbornePollutantID" } }, "default_cover_tile": { "$ref": "#/definitions/TileID" }, "frozen_variant": { "$ref": "#/definitions/TileID" }, "thawed_variant": { "$ref": "#/definitions/TileID" }, "effect": { "$ref": "#/definitions/TileEffectDefinitionID" }, "trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "default_destroyed_dropped_item_trigger": { "$ref": "#/definitions/Trigger" }, "scorch_mark_color": { "$ref": "#/definitions/Color" }, "check_collision_with_entities": { "$ref": "#/definitions/bool" }, "effect_color_secondary": { "$ref": "#/definitions/Color" }, "effect_is_opaque": { "$ref": "#/definitions/bool" }, "transitions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileTransitionsToTiles" } }, { "type": "object", "additionalProperties": false } ] }, "transitions_between_transitions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileTransitionsBetweenTransitions" } }, { "type": "object", "additionalProperties": false } ] }, "autoplace": { "$ref": "#/definitions/AutoplaceSpecification" }, "placeable_by": { "anyOf": [ { "$ref": "#/definitions/ItemToPlace" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemToPlace" } }, { "type": "object", "additionalProperties": false } ] } ] }, "bound_decoratives": { "anyOf": [ { "$ref": "#/definitions/DecorativeID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/DecorativeID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "ambient_sounds_group": { "$ref": "#/definitions/TileID" }, "ambient_sounds": { "anyOf": [ { "$ref": "#/definitions/WorldAmbientSoundDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/WorldAmbientSoundDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] } }, "required": [ "type", "name", "collision_mask", "layer", "variants", "map_color" ] }, "TipsAndTricksItem": { "description": "https://lua-api.factorio.com/stable/prototypes/TipsAndTricksItem.html", "type": "object", "properties": { "type": { "type": "string", "const": "tips-and-tricks-item" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "image": { "$ref": "#/definitions/FileName" }, "simulation": { "$ref": "#/definitions/SimulationDefinition" }, "tag": { "$ref": "#/definitions/string" }, "category": { "$ref": "#/definitions/string" }, "indent": { "$ref": "#/definitions/uint8" }, "is_title": { "$ref": "#/definitions/bool" }, "trigger": { "$ref": "#/definitions/TipTrigger" }, "skip_trigger": { "$ref": "#/definitions/TipTrigger" }, "tutorial": { "$ref": "#/definitions/string" }, "starting_status": { "$ref": "#/definitions/TipStatus" }, "dependencies": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/string" } }, { "type": "object", "additionalProperties": false } ] }, "player_input_method_filter": { "$ref": "#/definitions/PlayerInputMethodFilter" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" } }, "required": [ "type", "name" ] }, "TipsAndTricksItemCategory": { "description": "https://lua-api.factorio.com/stable/prototypes/TipsAndTricksItemCategory.html", "type": "object", "properties": { "type": { "type": "string", "const": "tips-and-tricks-item-category" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" } }, "required": [ "type", "name", "order" ] }, "ToolPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/ToolPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "tool" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "stack_size": { "$ref": "#/definitions/ItemCountType" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "dark_background_icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "dark_background_icon": { "$ref": "#/definitions/FileName" }, "dark_background_icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "place_result": { "$ref": "#/definitions/EntityID" }, "place_as_equipment_result": { "$ref": "#/definitions/EquipmentID" }, "fuel_category": { "$ref": "#/definitions/FuelCategoryID" }, "burnt_result": { "$ref": "#/definitions/ItemID" }, "spoil_result": { "$ref": "#/definitions/ItemID" }, "plant_result": { "$ref": "#/definitions/EntityID" }, "place_as_tile": { "type": "object", "properties": { "result": { "$ref": "#/definitions/TileID" }, "condition": { "$ref": "#/definitions/CollisionMaskConnector" }, "invert": { "$ref": "#/definitions/bool" }, "condition_size": { "$ref": "#/definitions/uint32" }, "tile_condition": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileID" } }, { "type": "object", "additionalProperties": false } ] } }, "required": [ "result", "condition", "condition_size" ] }, "pictures": { "$ref": "#/definitions/SpriteVariations" }, "flags": { "$ref": "#/definitions/ItemPrototypeFlags" }, "spoil_ticks": { "$ref": "#/definitions/uint32" }, "fuel_value": { "$ref": "#/definitions/Energy" }, "fuel_acceleration_multiplier": { "$ref": "#/definitions/double" }, "fuel_top_speed_multiplier": { "$ref": "#/definitions/double" }, "fuel_emissions_multiplier": { "$ref": "#/definitions/double" }, "fuel_acceleration_multiplier_quality_bonus": { "$ref": "#/definitions/double" }, "fuel_top_speed_multiplier_quality_bonus": { "$ref": "#/definitions/double" }, "weight": { "$ref": "#/definitions/Weight" }, "ingredient_to_weight_coefficient": { "$ref": "#/definitions/double" }, "fuel_glow_color": { "$ref": "#/definitions/Color" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "pick_sound": { "$ref": "#/definitions/Sound" }, "drop_sound": { "$ref": "#/definitions/Sound" }, "inventory_move_sound": { "$ref": "#/definitions/Sound" }, "default_import_location": { "$ref": "#/definitions/SpaceLocationID" }, "color_hint": { "$ref": "#/definitions/ColorHintSpecification" }, "has_random_tint": { "$ref": "#/definitions/bool" }, "spoil_to_trigger_result": { "$ref": "#/definitions/SpoilToTriggerResult" }, "destroyed_by_dropping_trigger": { "$ref": "#/definitions/Trigger" }, "rocket_launch_products": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemProductPrototype" } }, { "type": "object", "additionalProperties": false } ] }, "send_to_orbit_mode": { "$ref": "#/definitions/SendToOrbitMode" }, "random_tint_color": { "$ref": "#/definitions/Color" }, "spoil_level": { "$ref": "#/definitions/uint8" }, "durability": { "$ref": "#/definitions/double" }, "durability_description_key": { "$ref": "#/definitions/string" }, "durability_description_value": { "$ref": "#/definitions/string" }, "infinite": { "$ref": "#/definitions/bool" } }, "required": [ "type", "name", "stack_size" ] }, "TrainPathAchievementPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/TrainPathAchievementPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "train-path-achievement" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "steam_stats_name": { "$ref": "#/definitions/string" }, "allowed_without_fight": { "$ref": "#/definitions/bool" }, "minimum_distance": { "$ref": "#/definitions/double" } }, "required": [ "type", "name", "minimum_distance" ] }, "TrainStopPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/TrainStopPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "train-stop" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "collision_box": { "$ref": "#/definitions/BoundingBox" }, "collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "map_generator_bounding_box": { "$ref": "#/definitions/BoundingBox" }, "selection_box": { "$ref": "#/definitions/BoundingBox" }, "drawing_box_vertical_extension": { "$ref": "#/definitions/double" }, "sticker_box": { "$ref": "#/definitions/BoundingBox" }, "hit_visualization_box": { "$ref": "#/definitions/BoundingBox" }, "trigger_target_mask": { "$ref": "#/definitions/TriggerTargetMask" }, "flags": { "$ref": "#/definitions/EntityPrototypeFlags" }, "tile_buildability_rules": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileBuildabilityRule" } }, { "type": "object", "additionalProperties": false } ] }, "minable": { "$ref": "#/definitions/MinableProperties" }, "surface_conditions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SurfaceCondition" } }, { "type": "object", "additionalProperties": false } ] }, "deconstruction_alternative": { "$ref": "#/definitions/EntityID" }, "selection_priority": { "$ref": "#/definitions/uint8" }, "build_grid_size": { "type": "integer", "const": 2 }, "remove_decoratives": { "anyOf": [ { "type": "string", "const": "automatic" }, { "type": "string", "const": "true" }, { "type": "string", "const": "false" } ] }, "emissions_per_second": { "type": "object", "additionalProperties": { "$ref": "#/definitions/double" }, "propertyNames": { "$ref": "#/definitions/AirbornePollutantID" } }, "shooting_cursor_size": { "$ref": "#/definitions/double" }, "created_smoke": { "$ref": "#/definitions/CreateTrivialSmokeEffectItem" }, "working_sound": { "$ref": "#/definitions/WorkingSound" }, "created_effect": { "$ref": "#/definitions/Trigger" }, "build_sound": { "$ref": "#/definitions/Sound" }, "mined_sound": { "$ref": "#/definitions/Sound" }, "mining_sound": { "$ref": "#/definitions/Sound" }, "rotated_sound": { "$ref": "#/definitions/Sound" }, "impact_category": { "$ref": "#/definitions/string" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "placeable_position_visualization": { "$ref": "#/definitions/Sprite" }, "radius_visualisation_specification": { "$ref": "#/definitions/RadiusVisualisationSpecification" }, "stateless_visualisation": { "$ref": "#/definitions/StatelessVisualisations" }, "build_base_evolution_requirement": { "$ref": "#/definitions/double" }, "alert_icon_shift": { "$ref": "#/definitions/Vector" }, "alert_icon_scale": { "$ref": "#/definitions/float" }, "fast_replaceable_group": { "$ref": "#/definitions/string" }, "next_upgrade": { "$ref": "#/definitions/EntityID" }, "protected_from_tile_building": { "$ref": "#/definitions/bool" }, "heating_energy": { "$ref": "#/definitions/Energy" }, "allow_copy_paste": { "$ref": "#/definitions/bool" }, "selectable_in_game": { "$ref": "#/definitions/bool" }, "placeable_by": { "anyOf": [ { "$ref": "#/definitions/ItemToPlace" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemToPlace" } }, { "type": "object", "additionalProperties": false } ] } ] }, "remains_when_mined": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "additional_pastable_entities": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] }, "tile_width": { "$ref": "#/definitions/int32" }, "tile_height": { "$ref": "#/definitions/int32" }, "diagonal_tile_grid_size": { "$ref": "#/definitions/TilePosition" }, "autoplace": { "$ref": "#/definitions/AutoplaceSpecification" }, "map_color": { "$ref": "#/definitions/Color" }, "friendly_map_color": { "$ref": "#/definitions/Color" }, "enemy_map_color": { "$ref": "#/definitions/Color" }, "water_reflection": { "$ref": "#/definitions/WaterReflectionDefinition" }, "ambient_sounds_group": { "$ref": "#/definitions/EntityID" }, "ambient_sounds": { "anyOf": [ { "$ref": "#/definitions/WorldAmbientSoundDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/WorldAmbientSoundDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "icon_draw_specification": { "$ref": "#/definitions/IconDrawSpecification" }, "icons_positioning": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconSequencePositioning" } }, { "type": "object", "additionalProperties": false } ] }, "max_health": { "$ref": "#/definitions/float" }, "healing_per_tick": { "$ref": "#/definitions/float" }, "repair_speed_modifier": { "$ref": "#/definitions/float" }, "dying_explosion": { "anyOf": [ { "$ref": "#/definitions/ExplosionDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ExplosionDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "dying_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "damaged_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "loot": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/LootItem" } }, { "type": "object", "additionalProperties": false } ] }, "resistances": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Resistance" } }, { "type": "object", "additionalProperties": false } ] }, "attack_reaction": { "anyOf": [ { "$ref": "#/definitions/AttackReactionItem" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/AttackReactionItem" } }, { "type": "object", "additionalProperties": false } ] } ] }, "repair_sound": { "$ref": "#/definitions/Sound" }, "alert_when_damaged": { "$ref": "#/definitions/bool" }, "hide_resistances": { "$ref": "#/definitions/bool" }, "create_ghost_on_death": { "$ref": "#/definitions/bool" }, "random_corpse_variation": { "$ref": "#/definitions/bool" }, "integration_patch_render_layer": { "$ref": "#/definitions/RenderLayer" }, "corpse": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "integration_patch": { "$ref": "#/definitions/Sprite4Way" }, "overkill_fraction": { "$ref": "#/definitions/float" }, "is_military_target": { "$ref": "#/definitions/bool" }, "allow_run_time_change_of_is_military_target": { "$ref": "#/definitions/bool" }, "quality_indicator_scale": { "$ref": "#/definitions/double" }, "animation_ticks_per_frame": { "$ref": "#/definitions/uint32" }, "rail_overlay_animations": { "$ref": "#/definitions/Animation4Way" }, "animations": { "$ref": "#/definitions/Animation4Way" }, "top_animations": { "$ref": "#/definitions/Animation4Way" }, "default_train_stopped_signal": { "$ref": "#/definitions/SignalIDConnector" }, "default_trains_count_signal": { "$ref": "#/definitions/SignalIDConnector" }, "default_trains_limit_signal": { "$ref": "#/definitions/SignalIDConnector" }, "default_priority_signal": { "$ref": "#/definitions/SignalIDConnector" }, "circuit_wire_max_distance": { "$ref": "#/definitions/double" }, "draw_copper_wires": { "$ref": "#/definitions/bool" }, "draw_circuit_wires": { "$ref": "#/definitions/bool" }, "color": { "$ref": "#/definitions/Color" }, "chart_name": { "$ref": "#/definitions/bool" }, "light1": { "$ref": "#/definitions/TrainStopLight" }, "light2": { "$ref": "#/definitions/TrainStopLight" }, "drawing_boxes": { "type": "object", "properties": { "north": { "$ref": "#/definitions/BoundingBox" }, "east": { "$ref": "#/definitions/BoundingBox" }, "south": { "$ref": "#/definitions/BoundingBox" }, "west": { "$ref": "#/definitions/BoundingBox" } }, "required": [ "north", "east", "south", "west" ] }, "circuit_connector": { "type": "array", "items": [ { "$ref": "#/definitions/CircuitConnectorDefinition" }, { "$ref": "#/definitions/CircuitConnectorDefinition" }, { "$ref": "#/definitions/CircuitConnectorDefinition" }, { "$ref": "#/definitions/CircuitConnectorDefinition" } ], "minItems": 4, "maxItems": 4 } }, "required": [ "type", "name", "animation_ticks_per_frame" ] }, "TransportBeltPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/TransportBeltPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "transport-belt" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "collision_box": { "$ref": "#/definitions/BoundingBox" }, "collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "map_generator_bounding_box": { "$ref": "#/definitions/BoundingBox" }, "selection_box": { "$ref": "#/definitions/BoundingBox" }, "drawing_box_vertical_extension": { "$ref": "#/definitions/double" }, "sticker_box": { "$ref": "#/definitions/BoundingBox" }, "hit_visualization_box": { "$ref": "#/definitions/BoundingBox" }, "trigger_target_mask": { "$ref": "#/definitions/TriggerTargetMask" }, "flags": { "$ref": "#/definitions/EntityPrototypeFlags" }, "tile_buildability_rules": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileBuildabilityRule" } }, { "type": "object", "additionalProperties": false } ] }, "minable": { "$ref": "#/definitions/MinableProperties" }, "surface_conditions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SurfaceCondition" } }, { "type": "object", "additionalProperties": false } ] }, "deconstruction_alternative": { "$ref": "#/definitions/EntityID" }, "selection_priority": { "$ref": "#/definitions/uint8" }, "build_grid_size": { "$ref": "#/definitions/uint8" }, "remove_decoratives": { "anyOf": [ { "type": "string", "const": "automatic" }, { "type": "string", "const": "true" }, { "type": "string", "const": "false" } ] }, "emissions_per_second": { "type": "object", "additionalProperties": { "$ref": "#/definitions/double" }, "propertyNames": { "$ref": "#/definitions/AirbornePollutantID" } }, "shooting_cursor_size": { "$ref": "#/definitions/double" }, "created_smoke": { "$ref": "#/definitions/CreateTrivialSmokeEffectItem" }, "working_sound": { "$ref": "#/definitions/WorkingSound" }, "created_effect": { "$ref": "#/definitions/Trigger" }, "build_sound": { "$ref": "#/definitions/Sound" }, "mined_sound": { "$ref": "#/definitions/Sound" }, "mining_sound": { "$ref": "#/definitions/Sound" }, "rotated_sound": { "$ref": "#/definitions/Sound" }, "impact_category": { "$ref": "#/definitions/string" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "placeable_position_visualization": { "$ref": "#/definitions/Sprite" }, "radius_visualisation_specification": { "$ref": "#/definitions/RadiusVisualisationSpecification" }, "stateless_visualisation": { "$ref": "#/definitions/StatelessVisualisations" }, "build_base_evolution_requirement": { "$ref": "#/definitions/double" }, "alert_icon_shift": { "$ref": "#/definitions/Vector" }, "alert_icon_scale": { "$ref": "#/definitions/float" }, "fast_replaceable_group": { "$ref": "#/definitions/string" }, "next_upgrade": { "$ref": "#/definitions/EntityID" }, "protected_from_tile_building": { "$ref": "#/definitions/bool" }, "heating_energy": { "$ref": "#/definitions/Energy" }, "allow_copy_paste": { "$ref": "#/definitions/bool" }, "selectable_in_game": { "$ref": "#/definitions/bool" }, "placeable_by": { "anyOf": [ { "$ref": "#/definitions/ItemToPlace" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemToPlace" } }, { "type": "object", "additionalProperties": false } ] } ] }, "remains_when_mined": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "additional_pastable_entities": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] }, "tile_width": { "$ref": "#/definitions/int32" }, "tile_height": { "$ref": "#/definitions/int32" }, "diagonal_tile_grid_size": { "$ref": "#/definitions/TilePosition" }, "autoplace": { "$ref": "#/definitions/AutoplaceSpecification" }, "map_color": { "$ref": "#/definitions/Color" }, "friendly_map_color": { "$ref": "#/definitions/Color" }, "enemy_map_color": { "$ref": "#/definitions/Color" }, "water_reflection": { "$ref": "#/definitions/WaterReflectionDefinition" }, "ambient_sounds_group": { "$ref": "#/definitions/EntityID" }, "ambient_sounds": { "anyOf": [ { "$ref": "#/definitions/WorldAmbientSoundDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/WorldAmbientSoundDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "icon_draw_specification": { "$ref": "#/definitions/IconDrawSpecification" }, "icons_positioning": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconSequencePositioning" } }, { "type": "object", "additionalProperties": false } ] }, "max_health": { "$ref": "#/definitions/float" }, "healing_per_tick": { "$ref": "#/definitions/float" }, "repair_speed_modifier": { "$ref": "#/definitions/float" }, "dying_explosion": { "anyOf": [ { "$ref": "#/definitions/ExplosionDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ExplosionDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "dying_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "damaged_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "loot": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/LootItem" } }, { "type": "object", "additionalProperties": false } ] }, "resistances": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Resistance" } }, { "type": "object", "additionalProperties": false } ] }, "attack_reaction": { "anyOf": [ { "$ref": "#/definitions/AttackReactionItem" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/AttackReactionItem" } }, { "type": "object", "additionalProperties": false } ] } ] }, "repair_sound": { "$ref": "#/definitions/Sound" }, "alert_when_damaged": { "$ref": "#/definitions/bool" }, "hide_resistances": { "$ref": "#/definitions/bool" }, "create_ghost_on_death": { "$ref": "#/definitions/bool" }, "random_corpse_variation": { "$ref": "#/definitions/bool" }, "integration_patch_render_layer": { "$ref": "#/definitions/RenderLayer" }, "corpse": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "integration_patch": { "$ref": "#/definitions/Sprite4Way" }, "overkill_fraction": { "$ref": "#/definitions/float" }, "is_military_target": { "$ref": "#/definitions/bool" }, "allow_run_time_change_of_is_military_target": { "$ref": "#/definitions/bool" }, "quality_indicator_scale": { "$ref": "#/definitions/double" }, "belt_animation_set": { "$ref": "#/definitions/TransportBeltAnimationSetWithCorners" }, "speed": { "$ref": "#/definitions/double" }, "animation_speed_coefficient": { "$ref": "#/definitions/double" }, "connector_frame_sprites": { "$ref": "#/definitions/TransportBeltConnectorFrame" }, "circuit_wire_max_distance": { "$ref": "#/definitions/double" }, "draw_copper_wires": { "$ref": "#/definitions/bool" }, "draw_circuit_wires": { "$ref": "#/definitions/bool" }, "circuit_connector": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/CircuitConnectorDefinition" } }, { "type": "object", "additionalProperties": false } ] }, "related_underground_belt": { "$ref": "#/definitions/EntityID" } }, "required": [ "type", "name", "speed" ] }, "TreePrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/TreePrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "tree" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "collision_box": { "$ref": "#/definitions/BoundingBox" }, "collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "map_generator_bounding_box": { "$ref": "#/definitions/BoundingBox" }, "selection_box": { "$ref": "#/definitions/BoundingBox" }, "drawing_box_vertical_extension": { "$ref": "#/definitions/double" }, "sticker_box": { "$ref": "#/definitions/BoundingBox" }, "hit_visualization_box": { "$ref": "#/definitions/BoundingBox" }, "trigger_target_mask": { "$ref": "#/definitions/TriggerTargetMask" }, "flags": { "$ref": "#/definitions/EntityPrototypeFlags" }, "tile_buildability_rules": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileBuildabilityRule" } }, { "type": "object", "additionalProperties": false } ] }, "minable": { "$ref": "#/definitions/MinableProperties" }, "surface_conditions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SurfaceCondition" } }, { "type": "object", "additionalProperties": false } ] }, "deconstruction_alternative": { "$ref": "#/definitions/EntityID" }, "selection_priority": { "$ref": "#/definitions/uint8" }, "build_grid_size": { "$ref": "#/definitions/uint8" }, "remove_decoratives": { "anyOf": [ { "type": "string", "const": "automatic" }, { "type": "string", "const": "true" }, { "type": "string", "const": "false" } ] }, "emissions_per_second": { "type": "object", "additionalProperties": { "$ref": "#/definitions/double" }, "propertyNames": { "$ref": "#/definitions/AirbornePollutantID" } }, "shooting_cursor_size": { "$ref": "#/definitions/double" }, "created_smoke": { "$ref": "#/definitions/CreateTrivialSmokeEffectItem" }, "working_sound": { "$ref": "#/definitions/WorkingSound" }, "created_effect": { "$ref": "#/definitions/Trigger" }, "build_sound": { "$ref": "#/definitions/Sound" }, "mined_sound": { "$ref": "#/definitions/Sound" }, "mining_sound": { "$ref": "#/definitions/Sound" }, "rotated_sound": { "$ref": "#/definitions/Sound" }, "impact_category": { "$ref": "#/definitions/string" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "placeable_position_visualization": { "$ref": "#/definitions/Sprite" }, "radius_visualisation_specification": { "$ref": "#/definitions/RadiusVisualisationSpecification" }, "stateless_visualisation": { "$ref": "#/definitions/StatelessVisualisations" }, "build_base_evolution_requirement": { "$ref": "#/definitions/double" }, "alert_icon_shift": { "$ref": "#/definitions/Vector" }, "alert_icon_scale": { "$ref": "#/definitions/float" }, "fast_replaceable_group": { "$ref": "#/definitions/string" }, "next_upgrade": { "$ref": "#/definitions/EntityID" }, "protected_from_tile_building": { "$ref": "#/definitions/bool" }, "heating_energy": { "$ref": "#/definitions/Energy" }, "allow_copy_paste": { "$ref": "#/definitions/bool" }, "selectable_in_game": { "$ref": "#/definitions/bool" }, "placeable_by": { "anyOf": [ { "$ref": "#/definitions/ItemToPlace" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemToPlace" } }, { "type": "object", "additionalProperties": false } ] } ] }, "remains_when_mined": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "additional_pastable_entities": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] }, "tile_width": { "$ref": "#/definitions/int32" }, "tile_height": { "$ref": "#/definitions/int32" }, "diagonal_tile_grid_size": { "$ref": "#/definitions/TilePosition" }, "autoplace": { "$ref": "#/definitions/AutoplaceSpecification" }, "map_color": { "$ref": "#/definitions/Color" }, "friendly_map_color": { "$ref": "#/definitions/Color" }, "enemy_map_color": { "$ref": "#/definitions/Color" }, "water_reflection": { "$ref": "#/definitions/WaterReflectionDefinition" }, "ambient_sounds_group": { "$ref": "#/definitions/EntityID" }, "ambient_sounds": { "anyOf": [ { "$ref": "#/definitions/WorldAmbientSoundDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/WorldAmbientSoundDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "icon_draw_specification": { "$ref": "#/definitions/IconDrawSpecification" }, "icons_positioning": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconSequencePositioning" } }, { "type": "object", "additionalProperties": false } ] }, "max_health": { "$ref": "#/definitions/float" }, "healing_per_tick": { "$ref": "#/definitions/float" }, "repair_speed_modifier": { "$ref": "#/definitions/float" }, "dying_explosion": { "anyOf": [ { "$ref": "#/definitions/ExplosionDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ExplosionDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "dying_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "damaged_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "loot": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/LootItem" } }, { "type": "object", "additionalProperties": false } ] }, "resistances": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Resistance" } }, { "type": "object", "additionalProperties": false } ] }, "attack_reaction": { "anyOf": [ { "$ref": "#/definitions/AttackReactionItem" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/AttackReactionItem" } }, { "type": "object", "additionalProperties": false } ] } ] }, "repair_sound": { "$ref": "#/definitions/Sound" }, "alert_when_damaged": { "$ref": "#/definitions/bool" }, "hide_resistances": { "$ref": "#/definitions/bool" }, "create_ghost_on_death": { "$ref": "#/definitions/bool" }, "random_corpse_variation": { "$ref": "#/definitions/bool" }, "integration_patch_render_layer": { "$ref": "#/definitions/RenderLayer" }, "corpse": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "integration_patch": { "$ref": "#/definitions/Sprite4Way" }, "overkill_fraction": { "$ref": "#/definitions/float" }, "variation_weights": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/float" } }, { "type": "object", "additionalProperties": false } ] }, "darkness_of_burnt_tree": { "$ref": "#/definitions/float" }, "pictures": { "$ref": "#/definitions/SpriteVariations" }, "variations": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TreeVariation" } }, { "type": "object", "additionalProperties": false } ] }, "colors": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Color" } }, { "type": "object", "additionalProperties": false } ] }, "stateless_visualisation_variations": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/StatelessVisualisations" } }, { "type": "object", "additionalProperties": false } ] } }, "required": [ "type", "name" ] }, "TriggerTargetType": { "description": "https://lua-api.factorio.com/stable/prototypes/TriggerTargetType.html", "type": "object", "properties": { "type": { "type": "string", "const": "trigger-target-type" }, "name": { "$ref": "#/definitions/string" } }, "required": [ "type", "name" ] }, "TrivialSmokePrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/TrivialSmokePrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "trivial-smoke" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "animation": { "$ref": "#/definitions/Animation" }, "duration": { "$ref": "#/definitions/uint32" }, "glow_animation": { "$ref": "#/definitions/Animation" }, "color": { "$ref": "#/definitions/Color" }, "start_scale": { "$ref": "#/definitions/float" }, "end_scale": { "$ref": "#/definitions/float" }, "movement_slow_down_factor": { "$ref": "#/definitions/double" }, "spread_duration": { "$ref": "#/definitions/uint32" }, "fade_away_duration": { "$ref": "#/definitions/uint32" }, "fade_in_duration": { "$ref": "#/definitions/uint32" }, "glow_fade_away_duration": { "$ref": "#/definitions/uint32" }, "cyclic": { "$ref": "#/definitions/bool" }, "affected_by_wind": { "$ref": "#/definitions/bool" }, "show_when_smoke_off": { "$ref": "#/definitions/bool" }, "render_layer": { "$ref": "#/definitions/RenderLayer" } }, "required": [ "type", "name", "animation", "duration" ] }, "TurretPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/TurretPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "turret" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "collision_box": { "$ref": "#/definitions/BoundingBox" }, "collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "map_generator_bounding_box": { "$ref": "#/definitions/BoundingBox" }, "selection_box": { "$ref": "#/definitions/BoundingBox" }, "drawing_box_vertical_extension": { "$ref": "#/definitions/double" }, "sticker_box": { "$ref": "#/definitions/BoundingBox" }, "hit_visualization_box": { "$ref": "#/definitions/BoundingBox" }, "trigger_target_mask": { "$ref": "#/definitions/TriggerTargetMask" }, "flags": { "$ref": "#/definitions/EntityPrototypeFlags" }, "tile_buildability_rules": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileBuildabilityRule" } }, { "type": "object", "additionalProperties": false } ] }, "minable": { "$ref": "#/definitions/MinableProperties" }, "surface_conditions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SurfaceCondition" } }, { "type": "object", "additionalProperties": false } ] }, "deconstruction_alternative": { "$ref": "#/definitions/EntityID" }, "selection_priority": { "$ref": "#/definitions/uint8" }, "build_grid_size": { "$ref": "#/definitions/uint8" }, "remove_decoratives": { "anyOf": [ { "type": "string", "const": "automatic" }, { "type": "string", "const": "true" }, { "type": "string", "const": "false" } ] }, "emissions_per_second": { "type": "object", "additionalProperties": { "$ref": "#/definitions/double" }, "propertyNames": { "$ref": "#/definitions/AirbornePollutantID" } }, "shooting_cursor_size": { "$ref": "#/definitions/double" }, "created_smoke": { "$ref": "#/definitions/CreateTrivialSmokeEffectItem" }, "working_sound": { "$ref": "#/definitions/WorkingSound" }, "created_effect": { "$ref": "#/definitions/Trigger" }, "build_sound": { "$ref": "#/definitions/Sound" }, "mined_sound": { "$ref": "#/definitions/Sound" }, "mining_sound": { "$ref": "#/definitions/Sound" }, "rotated_sound": { "$ref": "#/definitions/Sound" }, "impact_category": { "$ref": "#/definitions/string" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "placeable_position_visualization": { "$ref": "#/definitions/Sprite" }, "radius_visualisation_specification": { "$ref": "#/definitions/RadiusVisualisationSpecification" }, "stateless_visualisation": { "$ref": "#/definitions/StatelessVisualisations" }, "build_base_evolution_requirement": { "$ref": "#/definitions/double" }, "alert_icon_shift": { "$ref": "#/definitions/Vector" }, "alert_icon_scale": { "$ref": "#/definitions/float" }, "fast_replaceable_group": { "$ref": "#/definitions/string" }, "next_upgrade": { "$ref": "#/definitions/EntityID" }, "protected_from_tile_building": { "$ref": "#/definitions/bool" }, "heating_energy": { "$ref": "#/definitions/Energy" }, "allow_copy_paste": { "$ref": "#/definitions/bool" }, "selectable_in_game": { "$ref": "#/definitions/bool" }, "placeable_by": { "anyOf": [ { "$ref": "#/definitions/ItemToPlace" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemToPlace" } }, { "type": "object", "additionalProperties": false } ] } ] }, "remains_when_mined": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "additional_pastable_entities": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] }, "tile_width": { "$ref": "#/definitions/int32" }, "tile_height": { "$ref": "#/definitions/int32" }, "diagonal_tile_grid_size": { "$ref": "#/definitions/TilePosition" }, "autoplace": { "$ref": "#/definitions/AutoplaceSpecification" }, "map_color": { "$ref": "#/definitions/Color" }, "friendly_map_color": { "$ref": "#/definitions/Color" }, "enemy_map_color": { "$ref": "#/definitions/Color" }, "water_reflection": { "$ref": "#/definitions/WaterReflectionDefinition" }, "ambient_sounds_group": { "$ref": "#/definitions/EntityID" }, "ambient_sounds": { "anyOf": [ { "$ref": "#/definitions/WorldAmbientSoundDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/WorldAmbientSoundDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "icon_draw_specification": { "$ref": "#/definitions/IconDrawSpecification" }, "icons_positioning": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconSequencePositioning" } }, { "type": "object", "additionalProperties": false } ] }, "max_health": { "$ref": "#/definitions/float" }, "healing_per_tick": { "$ref": "#/definitions/float" }, "repair_speed_modifier": { "$ref": "#/definitions/float" }, "dying_explosion": { "anyOf": [ { "$ref": "#/definitions/ExplosionDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ExplosionDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "dying_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "damaged_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "loot": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/LootItem" } }, { "type": "object", "additionalProperties": false } ] }, "resistances": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Resistance" } }, { "type": "object", "additionalProperties": false } ] }, "attack_reaction": { "anyOf": [ { "$ref": "#/definitions/AttackReactionItem" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/AttackReactionItem" } }, { "type": "object", "additionalProperties": false } ] } ] }, "repair_sound": { "$ref": "#/definitions/Sound" }, "alert_when_damaged": { "$ref": "#/definitions/bool" }, "hide_resistances": { "$ref": "#/definitions/bool" }, "create_ghost_on_death": { "$ref": "#/definitions/bool" }, "random_corpse_variation": { "$ref": "#/definitions/bool" }, "integration_patch_render_layer": { "$ref": "#/definitions/RenderLayer" }, "corpse": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "integration_patch": { "$ref": "#/definitions/Sprite4Way" }, "overkill_fraction": { "$ref": "#/definitions/float" }, "is_military_target": { "$ref": "#/definitions/bool" }, "allow_run_time_change_of_is_military_target": { "$ref": "#/definitions/bool" }, "quality_indicator_scale": { "$ref": "#/definitions/double" }, "attack_parameters": { "$ref": "#/definitions/AttackParameters" }, "folded_animation": { "$ref": "#/definitions/RotatedAnimation8Way" }, "call_for_help_radius": { "$ref": "#/definitions/double" }, "attack_target_mask": { "$ref": "#/definitions/TriggerTargetMask" }, "ignore_target_mask": { "$ref": "#/definitions/TriggerTargetMask" }, "shoot_in_prepare_state": { "$ref": "#/definitions/bool" }, "start_attacking_only_when_can_shoot": { "$ref": "#/definitions/bool" }, "turret_base_has_direction": { "$ref": "#/definitions/bool" }, "random_animation_offset": { "$ref": "#/definitions/bool" }, "attack_from_start_frame": { "$ref": "#/definitions/bool" }, "allow_turning_when_starting_attack": { "$ref": "#/definitions/bool" }, "gun_animation_secondary_draw_order": { "$ref": "#/definitions/uint8" }, "gun_animation_render_layer": { "$ref": "#/definitions/RenderLayer" }, "graphics_set": { "$ref": "#/definitions/TurretGraphicsSet" }, "preparing_animation": { "$ref": "#/definitions/RotatedAnimation8Way" }, "prepared_animation": { "$ref": "#/definitions/RotatedAnimation8Way" }, "prepared_alternative_animation": { "$ref": "#/definitions/RotatedAnimation8Way" }, "starting_attack_animation": { "$ref": "#/definitions/RotatedAnimation8Way" }, "attacking_animation": { "$ref": "#/definitions/RotatedAnimation8Way" }, "energy_glow_animation": { "$ref": "#/definitions/RotatedAnimation8Way" }, "resource_indicator_animation": { "$ref": "#/definitions/RotatedAnimation8Way" }, "ending_attack_animation": { "$ref": "#/definitions/RotatedAnimation8Way" }, "folding_animation": { "$ref": "#/definitions/RotatedAnimation8Way" }, "integration": { "$ref": "#/definitions/Sprite" }, "special_effect": { "$ref": "#/definitions/TurretSpecialEffect" }, "glow_light_intensity": { "$ref": "#/definitions/float" }, "energy_glow_animation_flicker_strength": { "$ref": "#/definitions/float" }, "starting_attack_sound": { "$ref": "#/definitions/Sound" }, "dying_sound": { "$ref": "#/definitions/Sound" }, "preparing_sound": { "$ref": "#/definitions/Sound" }, "folding_sound": { "$ref": "#/definitions/Sound" }, "prepared_sound": { "$ref": "#/definitions/Sound" }, "prepared_alternative_sound": { "$ref": "#/definitions/Sound" }, "rotating_sound": { "$ref": "#/definitions/InterruptibleSound" }, "default_speed": { "$ref": "#/definitions/float" }, "default_speed_secondary": { "$ref": "#/definitions/float" }, "default_speed_when_killed": { "$ref": "#/definitions/float" }, "default_starting_progress_when_killed": { "$ref": "#/definitions/float" }, "rotation_speed": { "$ref": "#/definitions/float" }, "rotation_speed_secondary": { "$ref": "#/definitions/float" }, "rotation_speed_when_killed": { "$ref": "#/definitions/float" }, "rotation_starting_progress_when_killed": { "$ref": "#/definitions/float" }, "preparing_speed": { "$ref": "#/definitions/float" }, "preparing_speed_secondary": { "$ref": "#/definitions/float" }, "preparing_speed_when_killed": { "$ref": "#/definitions/float" }, "preparing_starting_progress_when_killed": { "$ref": "#/definitions/float" }, "folded_speed": { "$ref": "#/definitions/float" }, "folded_speed_secondary": { "$ref": "#/definitions/float" }, "folded_speed_when_killed": { "$ref": "#/definitions/float" }, "folded_starting_progress_when_killed": { "$ref": "#/definitions/float" }, "prepared_speed": { "$ref": "#/definitions/float" }, "prepared_speed_secondary": { "$ref": "#/definitions/float" }, "prepared_speed_when_killed": { "$ref": "#/definitions/float" }, "prepared_starting_progress_when_killed": { "$ref": "#/definitions/float" }, "prepared_alternative_speed": { "$ref": "#/definitions/float" }, "prepared_alternative_speed_secondary": { "$ref": "#/definitions/float" }, "prepared_alternative_speed_when_killed": { "$ref": "#/definitions/float" }, "prepared_alternative_starting_progress_when_killed": { "$ref": "#/definitions/float" }, "prepared_alternative_chance": { "$ref": "#/definitions/float" }, "starting_attack_speed": { "$ref": "#/definitions/float" }, "starting_attack_speed_secondary": { "$ref": "#/definitions/float" }, "starting_attack_speed_when_killed": { "$ref": "#/definitions/float" }, "starting_attack_starting_progress_when_killed": { "$ref": "#/definitions/float" }, "attacking_speed": { "$ref": "#/definitions/float" }, "ending_attack_speed": { "$ref": "#/definitions/float" }, "ending_attack_speed_secondary": { "$ref": "#/definitions/float" }, "ending_attack_speed_when_killed": { "$ref": "#/definitions/float" }, "ending_attack_starting_progress_when_killed": { "$ref": "#/definitions/float" }, "folding_speed": { "$ref": "#/definitions/float" }, "folding_speed_secondary": { "$ref": "#/definitions/float" }, "folding_speed_when_killed": { "$ref": "#/definitions/float" }, "folding_starting_progress_when_killed": { "$ref": "#/definitions/float" }, "prepare_range": { "$ref": "#/definitions/double" }, "alert_when_attacking": { "$ref": "#/definitions/bool" }, "spawn_decorations_on_expansion": { "$ref": "#/definitions/bool" }, "folded_animation_is_stateless": { "$ref": "#/definitions/bool" }, "unfolds_before_dying": { "$ref": "#/definitions/bool" }, "spawn_decoration": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/CreateDecorativesTriggerEffectItem" } }, { "type": "object", "additionalProperties": false } ] }, "folded_state_corpse": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "can_retarget_while_starting_attack": { "$ref": "#/definitions/bool" }, "circuit_wire_max_distance": { "$ref": "#/definitions/double" }, "draw_copper_wires": { "$ref": "#/definitions/bool" }, "draw_circuit_wires": { "$ref": "#/definitions/bool" }, "circuit_connector": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/CircuitConnectorDefinition" } }, { "type": "object", "additionalProperties": false } ] } }, "required": [ "type", "name", "attack_parameters", "folded_animation", "call_for_help_radius", "graphics_set" ] }, "TutorialDefinition": { "description": "https://lua-api.factorio.com/stable/prototypes/TutorialDefinition.html", "type": "object", "properties": { "type": { "type": "string", "const": "tutorial" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "scenario": { "$ref": "#/definitions/string" } }, "required": [ "type", "name", "scenario" ] }, "UndergroundBeltPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/UndergroundBeltPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "underground-belt" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "collision_box": { "$ref": "#/definitions/BoundingBox" }, "collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "map_generator_bounding_box": { "$ref": "#/definitions/BoundingBox" }, "selection_box": { "$ref": "#/definitions/BoundingBox" }, "drawing_box_vertical_extension": { "$ref": "#/definitions/double" }, "sticker_box": { "$ref": "#/definitions/BoundingBox" }, "hit_visualization_box": { "$ref": "#/definitions/BoundingBox" }, "trigger_target_mask": { "$ref": "#/definitions/TriggerTargetMask" }, "flags": { "$ref": "#/definitions/EntityPrototypeFlags" }, "tile_buildability_rules": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileBuildabilityRule" } }, { "type": "object", "additionalProperties": false } ] }, "minable": { "$ref": "#/definitions/MinableProperties" }, "surface_conditions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SurfaceCondition" } }, { "type": "object", "additionalProperties": false } ] }, "deconstruction_alternative": { "$ref": "#/definitions/EntityID" }, "selection_priority": { "$ref": "#/definitions/uint8" }, "build_grid_size": { "$ref": "#/definitions/uint8" }, "remove_decoratives": { "anyOf": [ { "type": "string", "const": "automatic" }, { "type": "string", "const": "true" }, { "type": "string", "const": "false" } ] }, "emissions_per_second": { "type": "object", "additionalProperties": { "$ref": "#/definitions/double" }, "propertyNames": { "$ref": "#/definitions/AirbornePollutantID" } }, "shooting_cursor_size": { "$ref": "#/definitions/double" }, "created_smoke": { "$ref": "#/definitions/CreateTrivialSmokeEffectItem" }, "working_sound": { "$ref": "#/definitions/WorkingSound" }, "created_effect": { "$ref": "#/definitions/Trigger" }, "build_sound": { "$ref": "#/definitions/Sound" }, "mined_sound": { "$ref": "#/definitions/Sound" }, "mining_sound": { "$ref": "#/definitions/Sound" }, "rotated_sound": { "$ref": "#/definitions/Sound" }, "impact_category": { "$ref": "#/definitions/string" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "placeable_position_visualization": { "$ref": "#/definitions/Sprite" }, "radius_visualisation_specification": { "$ref": "#/definitions/RadiusVisualisationSpecification" }, "stateless_visualisation": { "$ref": "#/definitions/StatelessVisualisations" }, "build_base_evolution_requirement": { "$ref": "#/definitions/double" }, "alert_icon_shift": { "$ref": "#/definitions/Vector" }, "alert_icon_scale": { "$ref": "#/definitions/float" }, "fast_replaceable_group": { "$ref": "#/definitions/string" }, "next_upgrade": { "$ref": "#/definitions/EntityID" }, "protected_from_tile_building": { "$ref": "#/definitions/bool" }, "heating_energy": { "$ref": "#/definitions/Energy" }, "allow_copy_paste": { "$ref": "#/definitions/bool" }, "selectable_in_game": { "$ref": "#/definitions/bool" }, "placeable_by": { "anyOf": [ { "$ref": "#/definitions/ItemToPlace" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemToPlace" } }, { "type": "object", "additionalProperties": false } ] } ] }, "remains_when_mined": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "additional_pastable_entities": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] }, "tile_width": { "$ref": "#/definitions/int32" }, "tile_height": { "$ref": "#/definitions/int32" }, "diagonal_tile_grid_size": { "$ref": "#/definitions/TilePosition" }, "autoplace": { "$ref": "#/definitions/AutoplaceSpecification" }, "map_color": { "$ref": "#/definitions/Color" }, "friendly_map_color": { "$ref": "#/definitions/Color" }, "enemy_map_color": { "$ref": "#/definitions/Color" }, "water_reflection": { "$ref": "#/definitions/WaterReflectionDefinition" }, "ambient_sounds_group": { "$ref": "#/definitions/EntityID" }, "ambient_sounds": { "anyOf": [ { "$ref": "#/definitions/WorldAmbientSoundDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/WorldAmbientSoundDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "icon_draw_specification": { "$ref": "#/definitions/IconDrawSpecification" }, "icons_positioning": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconSequencePositioning" } }, { "type": "object", "additionalProperties": false } ] }, "max_health": { "$ref": "#/definitions/float" }, "healing_per_tick": { "$ref": "#/definitions/float" }, "repair_speed_modifier": { "$ref": "#/definitions/float" }, "dying_explosion": { "anyOf": [ { "$ref": "#/definitions/ExplosionDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ExplosionDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "dying_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "damaged_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "loot": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/LootItem" } }, { "type": "object", "additionalProperties": false } ] }, "resistances": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Resistance" } }, { "type": "object", "additionalProperties": false } ] }, "attack_reaction": { "anyOf": [ { "$ref": "#/definitions/AttackReactionItem" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/AttackReactionItem" } }, { "type": "object", "additionalProperties": false } ] } ] }, "repair_sound": { "$ref": "#/definitions/Sound" }, "alert_when_damaged": { "$ref": "#/definitions/bool" }, "hide_resistances": { "$ref": "#/definitions/bool" }, "create_ghost_on_death": { "$ref": "#/definitions/bool" }, "random_corpse_variation": { "$ref": "#/definitions/bool" }, "integration_patch_render_layer": { "$ref": "#/definitions/RenderLayer" }, "corpse": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "integration_patch": { "$ref": "#/definitions/Sprite4Way" }, "overkill_fraction": { "$ref": "#/definitions/float" }, "is_military_target": { "$ref": "#/definitions/bool" }, "allow_run_time_change_of_is_military_target": { "$ref": "#/definitions/bool" }, "quality_indicator_scale": { "$ref": "#/definitions/double" }, "belt_animation_set": { "$ref": "#/definitions/TransportBeltAnimationSet" }, "speed": { "$ref": "#/definitions/double" }, "animation_speed_coefficient": { "$ref": "#/definitions/double" }, "max_distance": { "$ref": "#/definitions/uint8" }, "structure": { "type": "object", "properties": { "direction_in": { "$ref": "#/definitions/Sprite4Way" }, "direction_out": { "$ref": "#/definitions/Sprite4Way" }, "back_patch": { "$ref": "#/definitions/Sprite4Way" }, "front_patch": { "$ref": "#/definitions/Sprite4Way" }, "direction_in_side_loading": { "$ref": "#/definitions/Sprite4Way" }, "direction_out_side_loading": { "$ref": "#/definitions/Sprite4Way" }, "frozen_patch_in": { "$ref": "#/definitions/Sprite4Way" }, "frozen_patch_out": { "$ref": "#/definitions/Sprite4Way" } } }, "underground_sprite": { "$ref": "#/definitions/Sprite" }, "underground_remove_belts_sprite": { "$ref": "#/definitions/Sprite" }, "max_distance_underground_remove_belts_sprite": { "$ref": "#/definitions/Sprite" }, "underground_collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "max_distance_tint": { "$ref": "#/definitions/Color" } }, "required": [ "type", "name", "speed", "max_distance" ] }, "UnitPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/UnitPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "unit" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "collision_box": { "$ref": "#/definitions/BoundingBox" }, "collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "map_generator_bounding_box": { "$ref": "#/definitions/BoundingBox" }, "selection_box": { "$ref": "#/definitions/BoundingBox" }, "drawing_box_vertical_extension": { "$ref": "#/definitions/double" }, "sticker_box": { "$ref": "#/definitions/BoundingBox" }, "hit_visualization_box": { "$ref": "#/definitions/BoundingBox" }, "trigger_target_mask": { "$ref": "#/definitions/TriggerTargetMask" }, "flags": { "$ref": "#/definitions/EntityPrototypeFlags" }, "tile_buildability_rules": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileBuildabilityRule" } }, { "type": "object", "additionalProperties": false } ] }, "minable": { "$ref": "#/definitions/MinableProperties" }, "surface_conditions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SurfaceCondition" } }, { "type": "object", "additionalProperties": false } ] }, "deconstruction_alternative": { "$ref": "#/definitions/EntityID" }, "selection_priority": { "$ref": "#/definitions/uint8" }, "build_grid_size": { "$ref": "#/definitions/uint8" }, "remove_decoratives": { "anyOf": [ { "type": "string", "const": "automatic" }, { "type": "string", "const": "true" }, { "type": "string", "const": "false" } ] }, "emissions_per_second": { "type": "object", "additionalProperties": { "$ref": "#/definitions/double" }, "propertyNames": { "$ref": "#/definitions/AirbornePollutantID" } }, "shooting_cursor_size": { "$ref": "#/definitions/double" }, "created_smoke": { "$ref": "#/definitions/CreateTrivialSmokeEffectItem" }, "working_sound": { "$ref": "#/definitions/WorkingSound" }, "created_effect": { "$ref": "#/definitions/Trigger" }, "build_sound": { "$ref": "#/definitions/Sound" }, "mined_sound": { "$ref": "#/definitions/Sound" }, "mining_sound": { "$ref": "#/definitions/Sound" }, "rotated_sound": { "$ref": "#/definitions/Sound" }, "impact_category": { "$ref": "#/definitions/string" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "placeable_position_visualization": { "$ref": "#/definitions/Sprite" }, "radius_visualisation_specification": { "$ref": "#/definitions/RadiusVisualisationSpecification" }, "stateless_visualisation": { "$ref": "#/definitions/StatelessVisualisations" }, "build_base_evolution_requirement": { "$ref": "#/definitions/double" }, "alert_icon_shift": { "$ref": "#/definitions/Vector" }, "alert_icon_scale": { "$ref": "#/definitions/float" }, "fast_replaceable_group": { "$ref": "#/definitions/string" }, "next_upgrade": { "$ref": "#/definitions/EntityID" }, "protected_from_tile_building": { "$ref": "#/definitions/bool" }, "heating_energy": { "$ref": "#/definitions/Energy" }, "allow_copy_paste": { "$ref": "#/definitions/bool" }, "selectable_in_game": { "$ref": "#/definitions/bool" }, "placeable_by": { "anyOf": [ { "$ref": "#/definitions/ItemToPlace" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemToPlace" } }, { "type": "object", "additionalProperties": false } ] } ] }, "remains_when_mined": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "additional_pastable_entities": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] }, "tile_width": { "$ref": "#/definitions/int32" }, "tile_height": { "$ref": "#/definitions/int32" }, "diagonal_tile_grid_size": { "$ref": "#/definitions/TilePosition" }, "autoplace": { "$ref": "#/definitions/AutoplaceSpecification" }, "map_color": { "$ref": "#/definitions/Color" }, "friendly_map_color": { "$ref": "#/definitions/Color" }, "enemy_map_color": { "$ref": "#/definitions/Color" }, "water_reflection": { "$ref": "#/definitions/WaterReflectionDefinition" }, "ambient_sounds_group": { "$ref": "#/definitions/EntityID" }, "ambient_sounds": { "anyOf": [ { "$ref": "#/definitions/WorldAmbientSoundDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/WorldAmbientSoundDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "icon_draw_specification": { "$ref": "#/definitions/IconDrawSpecification" }, "icons_positioning": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconSequencePositioning" } }, { "type": "object", "additionalProperties": false } ] }, "max_health": { "$ref": "#/definitions/float" }, "healing_per_tick": { "$ref": "#/definitions/float" }, "repair_speed_modifier": { "$ref": "#/definitions/float" }, "dying_explosion": { "anyOf": [ { "$ref": "#/definitions/ExplosionDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ExplosionDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "dying_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "damaged_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "loot": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/LootItem" } }, { "type": "object", "additionalProperties": false } ] }, "resistances": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Resistance" } }, { "type": "object", "additionalProperties": false } ] }, "attack_reaction": { "anyOf": [ { "$ref": "#/definitions/AttackReactionItem" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/AttackReactionItem" } }, { "type": "object", "additionalProperties": false } ] } ] }, "repair_sound": { "$ref": "#/definitions/Sound" }, "alert_when_damaged": { "$ref": "#/definitions/bool" }, "hide_resistances": { "$ref": "#/definitions/bool" }, "create_ghost_on_death": { "$ref": "#/definitions/bool" }, "random_corpse_variation": { "$ref": "#/definitions/bool" }, "integration_patch_render_layer": { "$ref": "#/definitions/RenderLayer" }, "corpse": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "integration_patch": { "$ref": "#/definitions/Sprite4Way" }, "overkill_fraction": { "$ref": "#/definitions/float" }, "is_military_target": { "type": "boolean", "const": true }, "allow_run_time_change_of_is_military_target": { "type": "boolean", "const": false }, "quality_indicator_scale": { "$ref": "#/definitions/double" }, "run_animation": { "$ref": "#/definitions/RotatedAnimation" }, "attack_parameters": { "$ref": "#/definitions/AttackParameters" }, "warcry": { "$ref": "#/definitions/Sound" }, "movement_speed": { "$ref": "#/definitions/float" }, "distance_per_frame": { "$ref": "#/definitions/float" }, "distraction_cooldown": { "$ref": "#/definitions/uint32" }, "vision_distance": { "$ref": "#/definitions/double" }, "rotation_speed": { "$ref": "#/definitions/float" }, "dying_sound": { "$ref": "#/definitions/Sound" }, "min_pursue_time": { "$ref": "#/definitions/uint32" }, "has_belt_immunity": { "$ref": "#/definitions/bool" }, "max_pursue_distance": { "$ref": "#/definitions/double" }, "radar_range": { "$ref": "#/definitions/uint32" }, "ai_settings": { "$ref": "#/definitions/UnitAISettings" }, "move_while_shooting": { "$ref": "#/definitions/bool" }, "can_open_gates": { "$ref": "#/definitions/bool" }, "affected_by_tiles": { "$ref": "#/definitions/bool" }, "render_layer": { "$ref": "#/definitions/RenderLayer" }, "light": { "$ref": "#/definitions/LightDefinition" }, "absorptions_to_join_attack": { "type": "object", "additionalProperties": { "$ref": "#/definitions/float" }, "propertyNames": { "$ref": "#/definitions/AirbornePollutantID" } }, "spawning_time_modifier": { "$ref": "#/definitions/double" }, "walking_sound": { "$ref": "#/definitions/Sound" }, "alternative_attacking_frame_sequence": { "$ref": "#/definitions/UnitAlternativeFrameSequence" }, "running_sound_animation_positions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/float" } }, { "type": "object", "additionalProperties": false } ] } }, "required": [ "type", "name", "run_animation", "attack_parameters", "movement_speed", "distance_per_frame", "distraction_cooldown", "vision_distance" ] }, "UpgradeItemPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/UpgradeItemPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "upgrade-item" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "stack_size": { "type": "integer", "const": 1 }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "dark_background_icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "dark_background_icon": { "$ref": "#/definitions/FileName" }, "dark_background_icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "place_result": { "$ref": "#/definitions/EntityID" }, "place_as_equipment_result": { "$ref": "#/definitions/EquipmentID" }, "fuel_category": { "$ref": "#/definitions/FuelCategoryID" }, "burnt_result": { "$ref": "#/definitions/ItemID" }, "spoil_result": { "$ref": "#/definitions/ItemID" }, "plant_result": { "$ref": "#/definitions/EntityID" }, "place_as_tile": { "type": "object", "properties": { "result": { "$ref": "#/definitions/TileID" }, "condition": { "$ref": "#/definitions/CollisionMaskConnector" }, "invert": { "$ref": "#/definitions/bool" }, "condition_size": { "$ref": "#/definitions/uint32" }, "tile_condition": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileID" } }, { "type": "object", "additionalProperties": false } ] } }, "required": [ "result", "condition", "condition_size" ] }, "pictures": { "$ref": "#/definitions/SpriteVariations" }, "flags": { "$ref": "#/definitions/ItemPrototypeFlags" }, "spoil_ticks": { "$ref": "#/definitions/uint32" }, "fuel_value": { "$ref": "#/definitions/Energy" }, "fuel_acceleration_multiplier": { "$ref": "#/definitions/double" }, "fuel_top_speed_multiplier": { "$ref": "#/definitions/double" }, "fuel_emissions_multiplier": { "$ref": "#/definitions/double" }, "fuel_acceleration_multiplier_quality_bonus": { "$ref": "#/definitions/double" }, "fuel_top_speed_multiplier_quality_bonus": { "$ref": "#/definitions/double" }, "weight": { "$ref": "#/definitions/Weight" }, "ingredient_to_weight_coefficient": { "$ref": "#/definitions/double" }, "fuel_glow_color": { "$ref": "#/definitions/Color" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "pick_sound": { "$ref": "#/definitions/Sound" }, "drop_sound": { "$ref": "#/definitions/Sound" }, "inventory_move_sound": { "$ref": "#/definitions/Sound" }, "default_import_location": { "$ref": "#/definitions/SpaceLocationID" }, "color_hint": { "$ref": "#/definitions/ColorHintSpecification" }, "has_random_tint": { "$ref": "#/definitions/bool" }, "spoil_to_trigger_result": { "$ref": "#/definitions/SpoilToTriggerResult" }, "destroyed_by_dropping_trigger": { "$ref": "#/definitions/Trigger" }, "rocket_launch_products": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemProductPrototype" } }, { "type": "object", "additionalProperties": false } ] }, "send_to_orbit_mode": { "$ref": "#/definitions/SendToOrbitMode" }, "random_tint_color": { "$ref": "#/definitions/Color" }, "spoil_level": { "$ref": "#/definitions/uint8" }, "default_label_color": { "$ref": "#/definitions/Color" }, "draw_label_for_cursor_render": { "$ref": "#/definitions/bool" }, "select": { "$ref": "#/definitions/SelectionModeData" }, "alt_select": { "$ref": "#/definitions/SelectionModeData" }, "super_forced_select": { "$ref": "#/definitions/SelectionModeData" }, "reverse_select": { "$ref": "#/definitions/SelectionModeData" }, "alt_reverse_select": { "$ref": "#/definitions/SelectionModeData" }, "always_include_tiles": { "$ref": "#/definitions/bool" }, "mouse_cursor": { "$ref": "#/definitions/MouseCursorID" }, "skip_fog_of_war": { "$ref": "#/definitions/bool" } }, "required": [ "type", "name", "stack_size", "select", "alt_select" ] }, "UseEntityInEnergyProductionAchievementPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/UseEntityInEnergyProductionAchievementPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "use-entity-in-energy-production-achievement" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "steam_stats_name": { "$ref": "#/definitions/string" }, "allowed_without_fight": { "$ref": "#/definitions/bool" }, "entity": { "$ref": "#/definitions/EntityID" }, "consumed_condition": { "$ref": "#/definitions/ItemIDFilter" }, "produced_condition": { "$ref": "#/definitions/ItemIDFilter" }, "required_to_build": { "$ref": "#/definitions/EntityID" } }, "required": [ "type", "name", "entity" ] }, "UseItemAchievementPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/UseItemAchievementPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "use-item-achievement" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "steam_stats_name": { "$ref": "#/definitions/string" }, "allowed_without_fight": { "$ref": "#/definitions/bool" }, "to_use": { "$ref": "#/definitions/ItemID" }, "limit_quality": { "$ref": "#/definitions/QualityID" }, "amount": { "$ref": "#/definitions/uint32" }, "limited_to_one_game": { "$ref": "#/definitions/bool" } }, "required": [ "type", "name", "to_use", "limit_quality" ] }, "UtilityConstants": { "description": "https://lua-api.factorio.com/stable/prototypes/UtilityConstants.html", "type": "object", "properties": { "type": { "type": "string", "const": "utility-constants" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "entity_button_background_color": { "$ref": "#/definitions/Color" }, "building_buildable_too_far_tint": { "$ref": "#/definitions/Color" }, "building_buildable_tint": { "$ref": "#/definitions/Color" }, "building_not_buildable_tint": { "$ref": "#/definitions/Color" }, "building_ignorable_tint": { "$ref": "#/definitions/Color" }, "building_no_tint": { "$ref": "#/definitions/Color" }, "underground_belt_max_distance_tint": { "$ref": "#/definitions/Color" }, "underground_pipe_max_distance_tint": { "$ref": "#/definitions/Color" }, "ghost_shader_tint": { "$ref": "#/definitions/GhostTintSet" }, "ghost_shaderless_tint": { "$ref": "#/definitions/GhostTintSet" }, "ghost_shimmer_settings": { "$ref": "#/definitions/GhostShimmerConfig" }, "probability_product_count_tint": { "$ref": "#/definitions/Color" }, "zero_count_value_tint": { "$ref": "#/definitions/Color" }, "equipment_default_background_color": { "$ref": "#/definitions/Color" }, "equipment_default_background_border_color": { "$ref": "#/definitions/Color" }, "equipment_default_grabbed_background_color": { "$ref": "#/definitions/Color" }, "turret_range_visualization_color": { "$ref": "#/definitions/Color" }, "capsule_range_visualization_color": { "$ref": "#/definitions/Color" }, "agricultural_range_visualization_color": { "$ref": "#/definitions/Color" }, "artillery_range_visualization_color": { "$ref": "#/definitions/Color" }, "chart": { "$ref": "#/definitions/ChartUtilityConstants" }, "gui_remark_color": { "$ref": "#/definitions/Color" }, "gui_search_match_foreground_color": { "$ref": "#/definitions/Color" }, "gui_search_match_background_color": { "$ref": "#/definitions/Color" }, "default_player_force_color": { "$ref": "#/definitions/Color" }, "default_enemy_force_color": { "$ref": "#/definitions/Color" }, "default_other_force_color": { "$ref": "#/definitions/Color" }, "deconstruct_mark_tint": { "$ref": "#/definitions/Color" }, "rail_planner_count_button_color": { "$ref": "#/definitions/Color" }, "count_button_size": { "$ref": "#/definitions/int32" }, "logistic_gui_unselected_network_highlight_tint": { "$ref": "#/definitions/Color" }, "logistic_gui_selected_network_highlight_tint": { "$ref": "#/definitions/Color" }, "chart_search_highlight": { "$ref": "#/definitions/Color" }, "selected_chart_search_highlight": { "$ref": "#/definitions/Color" }, "zoom_to_world_can_use_nightvision": { "$ref": "#/definitions/bool" }, "zoom_to_world_effect_strength": { "$ref": "#/definitions/float" }, "max_logistic_filter_count": { "$ref": "#/definitions/LogisticFilterIndex" }, "max_terrain_building_size": { "$ref": "#/definitions/uint8" }, "small_area_size": { "$ref": "#/definitions/float" }, "medium_area_size": { "$ref": "#/definitions/float" }, "large_area_size": { "$ref": "#/definitions/float" }, "small_blueprint_area_size": { "$ref": "#/definitions/float" }, "medium_blueprint_area_size": { "$ref": "#/definitions/float" }, "large_blueprint_area_size": { "$ref": "#/definitions/float" }, "enabled_recipe_slot_tint": { "$ref": "#/definitions/Color" }, "disabled_recipe_slot_tint": { "$ref": "#/definitions/Color" }, "disabled_recipe_slot_background_tint": { "$ref": "#/definitions/Color" }, "forced_enabled_recipe_slot_background_tint": { "$ref": "#/definitions/Color" }, "rail_segment_colors": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Color" } }, { "type": "object", "additionalProperties": false } ] }, "player_colors": { "oneOf": [ { "type": "array", "items": { "type": "object", "properties": { "name": { "$ref": "#/definitions/string" }, "player_color": { "$ref": "#/definitions/Color" }, "chat_color": { "$ref": "#/definitions/Color" } }, "required": [ "name", "player_color", "chat_color" ] } }, { "type": "object", "additionalProperties": false } ] }, "server_command_console_chat_color": { "$ref": "#/definitions/Color" }, "script_command_console_chat_color": { "$ref": "#/definitions/Color" }, "default_alert_icon_scale": { "$ref": "#/definitions/float" }, "default_alert_icon_shift_by_type": { "type": "object", "additionalProperties": { "$ref": "#/definitions/Vector" }, "propertyNames": { "$ref": "#/definitions/string" } }, "default_alert_icon_scale_by_type": { "type": "object", "additionalProperties": { "$ref": "#/definitions/float" }, "propertyNames": { "$ref": "#/definitions/string" } }, "bonus_gui_ordering": { "type": "object", "properties": { "artillery_range": { "$ref": "#/definitions/Order" }, "worker_robots": { "$ref": "#/definitions/Order" }, "character": { "$ref": "#/definitions/Order" }, "follower_robots": { "$ref": "#/definitions/Order" }, "research_speed": { "$ref": "#/definitions/Order" }, "beacon_distribution": { "$ref": "#/definitions/Order" }, "inserter": { "$ref": "#/definitions/Order" }, "stack_inserter": { "$ref": "#/definitions/Order" }, "bulk_inserter": { "$ref": "#/definitions/Order" }, "turret_attack": { "$ref": "#/definitions/Order" }, "mining_productivity": { "$ref": "#/definitions/Order" }, "train_braking_force": { "$ref": "#/definitions/Order" } }, "required": [ "artillery_range", "worker_robots", "character", "follower_robots", "research_speed", "beacon_distribution", "inserter", "stack_inserter", "bulk_inserter", "turret_attack", "mining_productivity", "train_braking_force" ] }, "daytime_color_lookup": { "$ref": "#/definitions/DaytimeColorLookupTable" }, "zoom_to_world_daytime_color_lookup": { "$ref": "#/definitions/DaytimeColorLookupTable" }, "frozen_color_lookup": { "$ref": "#/definitions/ColorLookupTable" }, "map_editor": { "type": "object", "properties": { "clone_editor_copy_source_color": { "$ref": "#/definitions/Color" }, "clone_editor_copy_destination_allowed_color": { "$ref": "#/definitions/Color" }, "clone_editor_copy_destination_not_allowed_color": { "$ref": "#/definitions/Color" }, "clone_editor_brush_source_color": { "$ref": "#/definitions/Color" }, "clone_editor_brush_destination_color": { "$ref": "#/definitions/Color" }, "clone_editor_brush_cursor_preview_tint": { "$ref": "#/definitions/Color" }, "clone_editor_brush_world_preview_tint": { "$ref": "#/definitions/Color" }, "script_editor_select_area_color": { "$ref": "#/definitions/Color" }, "script_editor_drag_area_color": { "$ref": "#/definitions/Color" }, "force_editor_select_area_color": { "$ref": "#/definitions/Color" }, "cliff_editor_remove_cliffs_color": { "$ref": "#/definitions/Color" }, "tile_editor_selection_preview_tint": { "$ref": "#/definitions/Color" }, "tile_editor_area_selection_color": { "$ref": "#/definitions/Color" }, "decorative_editor_selection_preview_tint": { "$ref": "#/definitions/Color" }, "tile_editor_selection_preview_radius": { "$ref": "#/definitions/uint8" }, "decorative_editor_selection_preview_radius": { "$ref": "#/definitions/uint8" } }, "required": [ "clone_editor_copy_source_color", "clone_editor_copy_destination_allowed_color", "clone_editor_copy_destination_not_allowed_color", "clone_editor_brush_source_color", "clone_editor_brush_destination_color", "clone_editor_brush_cursor_preview_tint", "clone_editor_brush_world_preview_tint", "script_editor_select_area_color", "script_editor_drag_area_color", "force_editor_select_area_color", "cliff_editor_remove_cliffs_color", "tile_editor_selection_preview_tint", "tile_editor_area_selection_color", "decorative_editor_selection_preview_tint", "tile_editor_selection_preview_radius", "decorative_editor_selection_preview_radius" ] }, "drop_item_radius": { "$ref": "#/definitions/float" }, "checkerboard_white": { "$ref": "#/definitions/Color" }, "checkerboard_black": { "$ref": "#/definitions/Color" }, "item_outline_color": { "$ref": "#/definitions/Color" }, "item_outline_radius": { "$ref": "#/definitions/float" }, "item_outline_inset": { "$ref": "#/definitions/float" }, "item_outline_sharpness": { "$ref": "#/definitions/float" }, "item_default_random_tint_strength": { "$ref": "#/definitions/Color" }, "spawner_evolution_factor_health_modifier": { "$ref": "#/definitions/float" }, "item_health_bar_colors": { "oneOf": [ { "type": "array", "items": { "type": "object", "properties": { "threshold": { "$ref": "#/definitions/float" }, "color": { "$ref": "#/definitions/Color" } }, "required": [ "threshold", "color" ] } }, { "type": "object", "additionalProperties": false } ] }, "item_ammo_magazine_left_bar_color": { "$ref": "#/definitions/Color" }, "item_tool_durability_bar_color": { "$ref": "#/definitions/Color" }, "filter_outline_color": { "$ref": "#/definitions/Color" }, "icon_shadow_radius": { "$ref": "#/definitions/float" }, "icon_shadow_inset": { "$ref": "#/definitions/float" }, "icon_shadow_sharpness": { "$ref": "#/definitions/float" }, "icon_shadow_color": { "$ref": "#/definitions/Color" }, "clipboard_history_size": { "$ref": "#/definitions/uint32" }, "recipe_step_limit": { "$ref": "#/definitions/uint32" }, "manual_rail_building_reach_modifier": { "$ref": "#/definitions/double" }, "train_temporary_stop_wait_time": { "$ref": "#/definitions/uint32" }, "train_time_wait_condition_default": { "$ref": "#/definitions/uint32" }, "train_inactivity_wait_condition_default": { "$ref": "#/definitions/uint32" }, "default_trigger_target_mask_by_type": { "type": "object", "additionalProperties": { "$ref": "#/definitions/TriggerTargetMask" }, "propertyNames": { "$ref": "#/definitions/string" } }, "unit_group_pathfind_resolution": { "$ref": "#/definitions/int8" }, "unit_group_max_pursue_distance": { "$ref": "#/definitions/double" }, "dynamic_recipe_overload_factor": { "$ref": "#/definitions/double" }, "minimum_recipe_overload_multiplier": { "$ref": "#/definitions/uint32" }, "maximum_recipe_overload_multiplier": { "$ref": "#/definitions/uint32" }, "entity_renderer_search_box_limits": { "type": "object", "properties": { "left": { "$ref": "#/definitions/uint8" }, "top": { "$ref": "#/definitions/uint8" }, "right": { "$ref": "#/definitions/uint8" }, "bottom": { "$ref": "#/definitions/uint8" } }, "required": [ "left", "top", "right", "bottom" ] }, "light_renderer_search_distance_limit": { "$ref": "#/definitions/uint8" }, "tree_leaf_distortion_strength_far": { "$ref": "#/definitions/Vector" }, "tree_leaf_distortion_distortion_far": { "$ref": "#/definitions/Vector" }, "tree_leaf_distortion_speed_far": { "$ref": "#/definitions/Vector" }, "tree_leaf_distortion_strength_near": { "$ref": "#/definitions/Vector" }, "tree_leaf_distortion_distortion_near": { "$ref": "#/definitions/Vector" }, "tree_leaf_distortion_speed_near": { "$ref": "#/definitions/Vector" }, "tree_shadow_roughness": { "$ref": "#/definitions/float" }, "tree_shadow_speed": { "$ref": "#/definitions/float" }, "missing_preview_sprite_location": { "$ref": "#/definitions/FileName" }, "main_menu_background_image_location": { "$ref": "#/definitions/FileName" }, "main_menu_simulations": { "type": "object", "additionalProperties": { "$ref": "#/definitions/SimulationDefinition" }, "propertyNames": { "$ref": "#/definitions/string" } }, "main_menu_background_vignette_intensity": { "$ref": "#/definitions/float" }, "main_menu_background_vignette_sharpness": { "$ref": "#/definitions/float" }, "default_scorch_mark_color": { "$ref": "#/definitions/Color" }, "color_filters": { "oneOf": [ { "type": "array", "items": { "type": "object", "properties": { "name": { "$ref": "#/definitions/string" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "matrix": { "oneOf": [ { "type": "array", "items": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/float" } }, { "type": "object", "additionalProperties": false } ] } }, { "type": "object", "additionalProperties": false } ] } }, "required": [ "name", "localised_name", "matrix" ] } }, { "type": "object", "additionalProperties": false } ] }, "minimap_slot_hovered_tint": { "$ref": "#/definitions/Color" }, "minimap_slot_clicked_tint": { "$ref": "#/definitions/Color" }, "clear_cursor_volume_modifier": { "$ref": "#/definitions/float" }, "weapons_in_simulation_volume_modifier": { "$ref": "#/definitions/float" }, "explosions_in_simulation_volume_modifier": { "$ref": "#/definitions/float" }, "enemies_in_simulation_volume_modifier": { "$ref": "#/definitions/float" }, "low_energy_robot_estimate_multiplier": { "$ref": "#/definitions/double" }, "asteroid_spawning_offset": { "$ref": "#/definitions/SimpleBoundingBox" }, "asteroid_fading_range": { "$ref": "#/definitions/float" }, "asteroid_spawning_with_random_orientation_max_speed": { "$ref": "#/definitions/double" }, "asteroid_position_offset_to_speed_coefficient": { "$ref": "#/definitions/double" }, "asteroid_collector_navmesh_refresh_tick_interval": { "$ref": "#/definitions/uint32" }, "asteroid_collector_blockage_update_tile_distance": { "$ref": "#/definitions/uint32" }, "asteroid_collector_max_nurbs_control_point_separation": { "$ref": "#/definitions/double" }, "asteroid_collector_static_head_swing_strength_scale": { "$ref": "#/definitions/double" }, "asteroid_collector_static_head_swing_segment_count": { "$ref": "#/definitions/uint32" }, "space_platform_default_speed_formula": { "$ref": "#/definitions/MathExpression" }, "space_platform_relative_speed_factor": { "$ref": "#/definitions/double" }, "space_platform_starfield_movement_vector": { "$ref": "#/definitions/Vector" }, "space_platform_max_size": { "$ref": "#/definitions/SimpleBoundingBox" }, "space_platform_dump_cooldown": { "$ref": "#/definitions/uint32" }, "default_item_weight": { "$ref": "#/definitions/Weight" }, "rocket_lift_weight": { "$ref": "#/definitions/Weight" }, "max_fluid_flow": { "$ref": "#/definitions/FluidAmount" }, "default_pipeline_extent": { "$ref": "#/definitions/double" }, "default_planet_procession_set": { "$ref": "#/definitions/ProcessionSet" }, "default_platform_procession_set": { "$ref": "#/definitions/ProcessionSet" }, "landing_area_clear_zone_radius": { "$ref": "#/definitions/float" }, "landing_area_max_radius": { "$ref": "#/definitions/float" }, "lightning_attractor_collection_range_color": { "$ref": "#/definitions/Color" }, "lightning_attractor_protection_range_color": { "$ref": "#/definitions/Color" }, "ejected_item_lifetime": { "$ref": "#/definitions/MapTick" }, "ejected_item_speed": { "$ref": "#/definitions/double" }, "ejected_item_direction_variation": { "$ref": "#/definitions/double" }, "ejected_item_friction": { "$ref": "#/definitions/double" }, "train_visualization": { "$ref": "#/definitions/TrainVisualizationConstants" }, "default_collision_masks": { "type": "object", "additionalProperties": { "$ref": "#/definitions/CollisionMaskConnector" }, "propertyNames": { "$ref": "#/definitions/string" } }, "show_chunk_components_collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "building_collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "water_collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "ghost_layer": { "$ref": "#/definitions/CollisionLayerID" }, "train_pushed_by_player_max_speed": { "$ref": "#/definitions/double" }, "train_pushed_by_player_max_acceleration": { "$ref": "#/definitions/double" }, "train_pushed_by_player_ignores_friction": { "$ref": "#/definitions/bool" }, "freezing_temperature": { "$ref": "#/definitions/double" }, "train_on_elevated_rail_shadow_shift_multiplier": { "$ref": "#/definitions/Vector" }, "select_group_row_count": { "$ref": "#/definitions/uint8" }, "select_slot_row_count": { "$ref": "#/definitions/uint8" }, "inventory_width": { "$ref": "#/definitions/uint32" }, "module_inventory_width": { "$ref": "#/definitions/uint32" }, "tooltip_monitor_edge_border": { "$ref": "#/definitions/int32" }, "flying_text_ttl": { "$ref": "#/definitions/uint32" }, "train_path_finding": { "type": "object", "properties": { "train_stop_penalty": { "$ref": "#/definitions/uint32" }, "stopped_manually_controlled_train_penalty": { "$ref": "#/definitions/uint32" }, "stopped_manually_controlled_train_without_passenger_penalty": { "$ref": "#/definitions/uint32" }, "signal_reserved_by_circuit_network_penalty": { "$ref": "#/definitions/uint32" }, "train_in_station_penalty": { "$ref": "#/definitions/uint32" }, "train_in_station_with_no_other_valid_stops_in_schedule": { "$ref": "#/definitions/uint32" }, "train_arriving_to_station_penalty": { "$ref": "#/definitions/uint32" }, "train_arriving_to_signal_penalty": { "$ref": "#/definitions/uint32" }, "train_waiting_at_signal_penalty": { "$ref": "#/definitions/uint32" }, "train_waiting_at_signal_tick_multiplier_penalty": { "$ref": "#/definitions/float" }, "train_with_no_path_penalty": { "$ref": "#/definitions/uint32" }, "train_auto_without_schedule_penalty": { "$ref": "#/definitions/uint32" } }, "required": [ "train_stop_penalty", "stopped_manually_controlled_train_penalty", "stopped_manually_controlled_train_without_passenger_penalty", "signal_reserved_by_circuit_network_penalty", "train_in_station_penalty", "train_in_station_with_no_other_valid_stops_in_schedule", "train_arriving_to_station_penalty", "train_arriving_to_signal_penalty", "train_waiting_at_signal_penalty", "train_waiting_at_signal_tick_multiplier_penalty", "train_with_no_path_penalty", "train_auto_without_schedule_penalty" ] }, "max_belt_stack_size": { "$ref": "#/definitions/uint8" }, "inserter_hand_stack_items_per_sprite": { "$ref": "#/definitions/ItemCountType" }, "inserter_hand_stack_max_sprites": { "$ref": "#/definitions/ItemCountType" }, "remote_view_LPF_min_cutoff_frequency": { "$ref": "#/definitions/float" }, "remote_view_LPF_max_cutoff_frequency": { "$ref": "#/definitions/float" }, "space_LPF_min_cutoff_frequency": { "$ref": "#/definitions/float" }, "space_LPF_max_cutoff_frequency": { "$ref": "#/definitions/float" }, "walking_sound_count_reduction_rate": { "$ref": "#/definitions/float" }, "moving_sound_count_reduction_rate": { "$ref": "#/definitions/float" }, "environment_sounds_transition_fade_in_ticks": { "$ref": "#/definitions/uint32" }, "time_to_show_full_health_bar": { "$ref": "#/definitions/MapTick" } }, "required": [ "type", "name", "entity_button_background_color", "building_buildable_too_far_tint", "building_buildable_tint", "building_not_buildable_tint", "building_ignorable_tint", "building_no_tint", "underground_belt_max_distance_tint", "underground_pipe_max_distance_tint", "ghost_shader_tint", "ghost_shaderless_tint", "ghost_shimmer_settings", "probability_product_count_tint", "zero_count_value_tint", "equipment_default_background_color", "equipment_default_background_border_color", "equipment_default_grabbed_background_color", "turret_range_visualization_color", "capsule_range_visualization_color", "agricultural_range_visualization_color", "artillery_range_visualization_color", "chart", "gui_remark_color", "gui_search_match_foreground_color", "gui_search_match_background_color", "default_player_force_color", "default_enemy_force_color", "default_other_force_color", "deconstruct_mark_tint", "rail_planner_count_button_color", "count_button_size", "logistic_gui_unselected_network_highlight_tint", "logistic_gui_selected_network_highlight_tint", "chart_search_highlight", "selected_chart_search_highlight", "zoom_to_world_can_use_nightvision", "zoom_to_world_effect_strength", "max_logistic_filter_count", "max_terrain_building_size", "small_area_size", "medium_area_size", "large_area_size", "small_blueprint_area_size", "medium_blueprint_area_size", "large_blueprint_area_size", "enabled_recipe_slot_tint", "disabled_recipe_slot_tint", "disabled_recipe_slot_background_tint", "forced_enabled_recipe_slot_background_tint", "rail_segment_colors", "player_colors", "server_command_console_chat_color", "script_command_console_chat_color", "default_alert_icon_scale", "bonus_gui_ordering", "daytime_color_lookup", "zoom_to_world_daytime_color_lookup", "frozen_color_lookup", "map_editor", "drop_item_radius", "checkerboard_white", "checkerboard_black", "item_outline_color", "item_outline_radius", "item_outline_inset", "item_outline_sharpness", "item_default_random_tint_strength", "spawner_evolution_factor_health_modifier", "item_health_bar_colors", "item_ammo_magazine_left_bar_color", "item_tool_durability_bar_color", "filter_outline_color", "icon_shadow_radius", "icon_shadow_inset", "icon_shadow_sharpness", "icon_shadow_color", "clipboard_history_size", "recipe_step_limit", "manual_rail_building_reach_modifier", "train_temporary_stop_wait_time", "train_time_wait_condition_default", "train_inactivity_wait_condition_default", "unit_group_pathfind_resolution", "unit_group_max_pursue_distance", "dynamic_recipe_overload_factor", "minimum_recipe_overload_multiplier", "maximum_recipe_overload_multiplier", "entity_renderer_search_box_limits", "light_renderer_search_distance_limit", "tree_leaf_distortion_strength_far", "tree_leaf_distortion_distortion_far", "tree_leaf_distortion_speed_far", "tree_leaf_distortion_strength_near", "tree_leaf_distortion_distortion_near", "tree_leaf_distortion_speed_near", "tree_shadow_roughness", "tree_shadow_speed", "missing_preview_sprite_location", "main_menu_background_image_location", "main_menu_background_vignette_intensity", "main_menu_background_vignette_sharpness", "default_scorch_mark_color", "minimap_slot_hovered_tint", "minimap_slot_clicked_tint", "clear_cursor_volume_modifier", "weapons_in_simulation_volume_modifier", "explosions_in_simulation_volume_modifier", "enemies_in_simulation_volume_modifier", "low_energy_robot_estimate_multiplier", "asteroid_spawning_offset", "asteroid_fading_range", "asteroid_spawning_with_random_orientation_max_speed", "asteroid_position_offset_to_speed_coefficient", "asteroid_collector_navmesh_refresh_tick_interval", "asteroid_collector_blockage_update_tile_distance", "asteroid_collector_max_nurbs_control_point_separation", "asteroid_collector_static_head_swing_strength_scale", "asteroid_collector_static_head_swing_segment_count", "space_platform_relative_speed_factor", "space_platform_starfield_movement_vector", "space_platform_max_size", "space_platform_dump_cooldown", "default_item_weight", "rocket_lift_weight", "max_fluid_flow", "default_pipeline_extent", "default_planet_procession_set", "default_platform_procession_set", "landing_area_clear_zone_radius", "landing_area_max_radius", "lightning_attractor_collection_range_color", "lightning_attractor_protection_range_color", "ejected_item_lifetime", "ejected_item_speed", "ejected_item_direction_variation", "ejected_item_friction", "train_visualization", "default_collision_masks", "show_chunk_components_collision_mask", "building_collision_mask", "water_collision_mask", "ghost_layer", "train_pushed_by_player_max_speed", "train_pushed_by_player_max_acceleration", "train_pushed_by_player_ignores_friction", "freezing_temperature", "train_on_elevated_rail_shadow_shift_multiplier", "select_group_row_count", "select_slot_row_count", "inventory_width", "module_inventory_width", "tooltip_monitor_edge_border", "flying_text_ttl", "train_path_finding", "max_belt_stack_size", "inserter_hand_stack_items_per_sprite", "inserter_hand_stack_max_sprites", "remote_view_LPF_min_cutoff_frequency", "remote_view_LPF_max_cutoff_frequency", "space_LPF_min_cutoff_frequency", "space_LPF_max_cutoff_frequency", "walking_sound_count_reduction_rate", "moving_sound_count_reduction_rate", "environment_sounds_transition_fade_in_ticks", "time_to_show_full_health_bar" ] }, "UtilitySounds": { "description": "https://lua-api.factorio.com/stable/prototypes/UtilitySounds.html", "type": "object", "properties": { "type": { "type": "string", "const": "utility-sounds" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "gui_click": { "$ref": "#/definitions/Sound" }, "list_box_click": { "$ref": "#/definitions/Sound" }, "build_small": { "$ref": "#/definitions/Sound" }, "build_medium": { "$ref": "#/definitions/Sound" }, "build_large": { "$ref": "#/definitions/Sound" }, "build_huge": { "$ref": "#/definitions/Sound" }, "cannot_build": { "$ref": "#/definitions/Sound" }, "build_blueprint_small": { "$ref": "#/definitions/Sound" }, "build_blueprint_medium": { "$ref": "#/definitions/Sound" }, "build_blueprint_large": { "$ref": "#/definitions/Sound" }, "build_blueprint_huge": { "$ref": "#/definitions/Sound" }, "build_ghost_upgrade": { "$ref": "#/definitions/Sound" }, "build_ghost_upgrade_cancel": { "$ref": "#/definitions/Sound" }, "build_animated_small": { "$ref": "#/definitions/Sound" }, "build_animated_medium": { "$ref": "#/definitions/Sound" }, "build_animated_large": { "$ref": "#/definitions/Sound" }, "build_animated_huge": { "$ref": "#/definitions/Sound" }, "deconstruct_small": { "$ref": "#/definitions/Sound" }, "deconstruct_medium": { "$ref": "#/definitions/Sound" }, "deconstruct_large": { "$ref": "#/definitions/Sound" }, "deconstruct_huge": { "$ref": "#/definitions/Sound" }, "deconstruct_robot": { "$ref": "#/definitions/Sound" }, "rotated_small": { "$ref": "#/definitions/Sound" }, "rotated_medium": { "$ref": "#/definitions/Sound" }, "rotated_large": { "$ref": "#/definitions/Sound" }, "rotated_huge": { "$ref": "#/definitions/Sound" }, "axe_mining_ore": { "$ref": "#/definitions/Sound" }, "axe_mining_stone": { "$ref": "#/definitions/Sound" }, "mining_wood": { "$ref": "#/definitions/Sound" }, "axe_fighting": { "$ref": "#/definitions/Sound" }, "alert_destroyed": { "$ref": "#/definitions/Sound" }, "console_message": { "$ref": "#/definitions/Sound" }, "scenario_message": { "$ref": "#/definitions/Sound" }, "new_objective": { "$ref": "#/definitions/Sound" }, "game_lost": { "$ref": "#/definitions/Sound" }, "game_won": { "$ref": "#/definitions/Sound" }, "metal_walking_sound": { "$ref": "#/definitions/Sound" }, "research_completed": { "$ref": "#/definitions/Sound" }, "default_manual_repair": { "$ref": "#/definitions/Sound" }, "crafting_finished": { "$ref": "#/definitions/Sound" }, "inventory_click": { "$ref": "#/definitions/Sound" }, "inventory_move": { "$ref": "#/definitions/Sound" }, "clear_cursor": { "$ref": "#/definitions/Sound" }, "armor_insert": { "$ref": "#/definitions/Sound" }, "armor_remove": { "$ref": "#/definitions/Sound" }, "achievement_unlocked": { "$ref": "#/definitions/Sound" }, "wire_connect_pole": { "$ref": "#/definitions/Sound" }, "wire_disconnect": { "$ref": "#/definitions/Sound" }, "wire_pickup": { "$ref": "#/definitions/Sound" }, "tutorial_notice": { "$ref": "#/definitions/Sound" }, "smart_pipette": { "$ref": "#/definitions/Sound" }, "switch_gun": { "$ref": "#/definitions/Sound" }, "picked_up_item": { "$ref": "#/definitions/Sound" }, "paste_activated": { "$ref": "#/definitions/Sound" }, "item_deleted": { "$ref": "#/definitions/Sound" }, "entity_settings_pasted": { "$ref": "#/definitions/Sound" }, "entity_settings_copied": { "$ref": "#/definitions/Sound" }, "item_spawned": { "$ref": "#/definitions/Sound" }, "confirm": { "$ref": "#/definitions/Sound" }, "undo": { "$ref": "#/definitions/Sound" }, "drop_item": { "$ref": "#/definitions/Sound" }, "rail_plan_start": { "$ref": "#/definitions/Sound" }, "default_driving_sound": { "$ref": "#/definitions/InterruptibleSound" }, "default_landing_steps": { "$ref": "#/definitions/Sound" }, "segment_dying_sound": { "$ref": "#/definitions/Sound" } }, "required": [ "type", "name", "gui_click", "list_box_click", "build_small", "build_medium", "build_large", "build_huge", "cannot_build", "build_blueprint_small", "build_blueprint_medium", "build_blueprint_large", "build_blueprint_huge", "build_ghost_upgrade", "build_ghost_upgrade_cancel", "build_animated_small", "build_animated_medium", "build_animated_large", "build_animated_huge", "deconstruct_small", "deconstruct_medium", "deconstruct_large", "deconstruct_huge", "deconstruct_robot", "rotated_small", "rotated_medium", "rotated_large", "rotated_huge", "axe_mining_ore", "axe_mining_stone", "mining_wood", "axe_fighting", "alert_destroyed", "console_message", "scenario_message", "new_objective", "game_lost", "game_won", "metal_walking_sound", "research_completed", "default_manual_repair", "crafting_finished", "inventory_click", "inventory_move", "clear_cursor", "armor_insert", "armor_remove", "achievement_unlocked", "wire_connect_pole", "wire_disconnect", "wire_pickup", "tutorial_notice", "smart_pipette", "switch_gun", "picked_up_item", "paste_activated", "item_deleted", "entity_settings_pasted", "entity_settings_copied", "item_spawned", "confirm", "undo", "drop_item", "rail_plan_start", "default_driving_sound", "default_landing_steps" ] }, "UtilitySprites": { "description": "https://lua-api.factorio.com/stable/prototypes/UtilitySprites.html", "type": "object", "properties": { "type": { "type": "string", "const": "utility-sprites" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "cursor_box": { "type": "object", "properties": { "regular": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/BoxSpecification" } }, { "type": "object", "additionalProperties": false } ] }, "multiplayer_selection": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/BoxSpecification" } }, { "type": "object", "additionalProperties": false } ] }, "not_allowed": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/BoxSpecification" } }, { "type": "object", "additionalProperties": false } ] }, "copy": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/BoxSpecification" } }, { "type": "object", "additionalProperties": false } ] }, "electricity": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/BoxSpecification" } }, { "type": "object", "additionalProperties": false } ] }, "logistics": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/BoxSpecification" } }, { "type": "object", "additionalProperties": false } ] }, "pair": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/BoxSpecification" } }, { "type": "object", "additionalProperties": false } ] }, "train_visualization": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/BoxSpecification" } }, { "type": "object", "additionalProperties": false } ] }, "blueprint_snap_rectangle": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/BoxSpecification" } }, { "type": "object", "additionalProperties": false } ] }, "rts_selected": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/BoxSpecification" } }, { "type": "object", "additionalProperties": false } ] }, "rts_to_be_selected": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/BoxSpecification" } }, { "type": "object", "additionalProperties": false } ] } }, "required": [ "regular", "multiplayer_selection", "not_allowed", "copy", "electricity", "logistics", "pair", "train_visualization", "blueprint_snap_rectangle" ] }, "platform_entity_build_animations": { "type": "object", "properties": { "back_left": { "$ref": "#/definitions/EntityBuildAnimationPiece" }, "back_right": { "$ref": "#/definitions/EntityBuildAnimationPiece" }, "front_left": { "$ref": "#/definitions/EntityBuildAnimationPiece" }, "front_right": { "$ref": "#/definitions/EntityBuildAnimationPiece" } }, "required": [ "back_left", "back_right", "front_left", "front_right" ] }, "bookmark": { "$ref": "#/definitions/Sprite" }, "center": { "$ref": "#/definitions/Sprite" }, "check_mark": { "$ref": "#/definitions/Sprite" }, "check_mark_white": { "$ref": "#/definitions/Sprite" }, "check_mark_green": { "$ref": "#/definitions/Sprite" }, "check_mark_dark_green": { "$ref": "#/definitions/Sprite" }, "not_played_yet_green": { "$ref": "#/definitions/Sprite" }, "not_played_yet_dark_green": { "$ref": "#/definitions/Sprite" }, "played_green": { "$ref": "#/definitions/Sprite" }, "played_dark_green": { "$ref": "#/definitions/Sprite" }, "close_fat": { "$ref": "#/definitions/Sprite" }, "close": { "$ref": "#/definitions/Sprite" }, "close_black": { "$ref": "#/definitions/Sprite" }, "backward_arrow": { "$ref": "#/definitions/Sprite" }, "backward_arrow_black": { "$ref": "#/definitions/Sprite" }, "forward_arrow": { "$ref": "#/definitions/Sprite" }, "forward_arrow_black": { "$ref": "#/definitions/Sprite" }, "recipe_arrow": { "$ref": "#/definitions/Sprite" }, "close_map_preview": { "$ref": "#/definitions/Sprite" }, "color_picker": { "$ref": "#/definitions/Sprite" }, "change_recipe": { "$ref": "#/definitions/Sprite" }, "dropdown": { "$ref": "#/definitions/Sprite" }, "downloading": { "$ref": "#/definitions/Sprite" }, "downloaded": { "$ref": "#/definitions/Sprite" }, "equipment_grid": { "$ref": "#/definitions/Sprite" }, "expand_dots": { "$ref": "#/definitions/Sprite" }, "export": { "$ref": "#/definitions/Sprite" }, "import": { "$ref": "#/definitions/Sprite" }, "map": { "$ref": "#/definitions/Sprite" }, "map_exchange_string": { "$ref": "#/definitions/Sprite" }, "missing_mod_icon": { "$ref": "#/definitions/Sprite" }, "not_available": { "$ref": "#/definitions/Sprite" }, "not_available_black": { "$ref": "#/definitions/Sprite" }, "play": { "$ref": "#/definitions/Sprite" }, "stop": { "$ref": "#/definitions/Sprite" }, "preset": { "$ref": "#/definitions/Sprite" }, "refresh": { "$ref": "#/definitions/Sprite" }, "reset": { "$ref": "#/definitions/Sprite" }, "reset_white": { "$ref": "#/definitions/Sprite" }, "shuffle": { "$ref": "#/definitions/Sprite" }, "station_name": { "$ref": "#/definitions/Sprite" }, "search": { "$ref": "#/definitions/Sprite" }, "sync_mods": { "$ref": "#/definitions/Sprite" }, "trash": { "$ref": "#/definitions/Sprite" }, "trash_white": { "$ref": "#/definitions/Sprite" }, "copy": { "$ref": "#/definitions/Sprite" }, "reassign": { "$ref": "#/definitions/Sprite" }, "warning": { "$ref": "#/definitions/Sprite" }, "warning_white": { "$ref": "#/definitions/Sprite" }, "list_view": { "$ref": "#/definitions/Sprite" }, "grid_view": { "$ref": "#/definitions/Sprite" }, "slots_view": { "$ref": "#/definitions/Sprite" }, "reference_point": { "$ref": "#/definitions/Sprite" }, "mouse_cursor": { "$ref": "#/definitions/Sprite" }, "mouse_cursor_macos": { "$ref": "#/definitions/Sprite" }, "mod_category": { "$ref": "#/definitions/Sprite" }, "mod_last_updated": { "$ref": "#/definitions/Sprite" }, "mod_downloads_count": { "$ref": "#/definitions/Sprite" }, "item_to_be_delivered_symbol": { "$ref": "#/definitions/Sprite" }, "rebuild_mark": { "$ref": "#/definitions/Sprite" }, "any_quality": { "$ref": "#/definitions/Sprite" }, "mod_dependency_arrow": { "$ref": "#/definitions/Sprite" }, "add": { "$ref": "#/definitions/Sprite" }, "add_white": { "$ref": "#/definitions/Sprite" }, "clone": { "$ref": "#/definitions/Sprite" }, "go_to_arrow": { "$ref": "#/definitions/Sprite" }, "pause": { "$ref": "#/definitions/Sprite" }, "speed_down": { "$ref": "#/definitions/Sprite" }, "speed_up": { "$ref": "#/definitions/Sprite" }, "editor_speed_down": { "$ref": "#/definitions/Sprite" }, "editor_pause": { "$ref": "#/definitions/Sprite" }, "editor_play": { "$ref": "#/definitions/Sprite" }, "editor_speed_up": { "$ref": "#/definitions/Sprite" }, "tick_once": { "$ref": "#/definitions/Sprite" }, "tick_sixty": { "$ref": "#/definitions/Sprite" }, "tick_custom": { "$ref": "#/definitions/Sprite" }, "search_icon": { "$ref": "#/definitions/Sprite" }, "too_far": { "$ref": "#/definitions/Sprite" }, "shoot_cursor_green": { "$ref": "#/definitions/Sprite" }, "shoot_cursor_red": { "$ref": "#/definitions/Sprite" }, "electricity_icon": { "$ref": "#/definitions/Sprite" }, "lightning_warning_icon": { "$ref": "#/definitions/Sprite" }, "fuel_icon": { "$ref": "#/definitions/Sprite" }, "ammo_icon": { "$ref": "#/definitions/Sprite" }, "fluid_icon": { "$ref": "#/definitions/Sprite" }, "warning_icon": { "$ref": "#/definitions/Sprite" }, "danger_icon": { "$ref": "#/definitions/Sprite" }, "destroyed_icon": { "$ref": "#/definitions/Sprite" }, "recharge_icon": { "$ref": "#/definitions/Sprite" }, "no_path_icon": { "$ref": "#/definitions/Sprite" }, "destination_full_icon": { "$ref": "#/definitions/Sprite" }, "too_far_from_roboport_icon": { "$ref": "#/definitions/Sprite" }, "pump_cannot_connect_icon": { "$ref": "#/definitions/Sprite" }, "not_enough_repair_packs_icon": { "$ref": "#/definitions/Sprite" }, "not_enough_construction_robots_icon": { "$ref": "#/definitions/Sprite" }, "no_building_material_icon": { "$ref": "#/definitions/Sprite" }, "no_storage_space_icon": { "$ref": "#/definitions/Sprite" }, "no_platform_storage_space_icon": { "$ref": "#/definitions/Sprite" }, "asteroid_collector_path_blocked_icon": { "$ref": "#/definitions/Sprite" }, "unclaimed_cargo_icon": { "$ref": "#/definitions/Sprite" }, "no_roboport_storage_space_icon": { "$ref": "#/definitions/Sprite" }, "cargo_bay_not_connected_icon": { "$ref": "#/definitions/Sprite" }, "frozen_icon": { "$ref": "#/definitions/Sprite" }, "pipeline_disabled_icon": { "$ref": "#/definitions/Sprite" }, "electricity_icon_unplugged": { "$ref": "#/definitions/Sprite" }, "tooltip_category_spoilable": { "$ref": "#/definitions/Sprite" }, "resources_depleted_icon": { "$ref": "#/definitions/Sprite" }, "game_stopped_visualization": { "$ref": "#/definitions/Sprite" }, "health_bar_green_pip": { "$ref": "#/definitions/Sprite" }, "health_bar_yellow_pip": { "$ref": "#/definitions/Sprite" }, "health_bar_red_pip": { "$ref": "#/definitions/Sprite" }, "ghost_bar_pip": { "$ref": "#/definitions/Sprite" }, "bar_gray_pip": { "$ref": "#/definitions/Sprite" }, "shield_bar_pip": { "$ref": "#/definitions/Sprite" }, "hand": { "$ref": "#/definitions/Sprite" }, "hand_black": { "$ref": "#/definitions/Sprite" }, "entity_info_dark_background": { "$ref": "#/definitions/Sprite" }, "medium_gui_arrow": { "$ref": "#/definitions/Sprite" }, "small_gui_arrow": { "$ref": "#/definitions/Sprite" }, "light_medium": { "$ref": "#/definitions/Sprite" }, "light_small": { "$ref": "#/definitions/Sprite" }, "light_cone": { "$ref": "#/definitions/Sprite" }, "color_effect": { "$ref": "#/definitions/Sprite" }, "clock": { "$ref": "#/definitions/Sprite" }, "default_ammo_damage_modifier_icon": { "$ref": "#/definitions/Sprite" }, "default_gun_speed_modifier_icon": { "$ref": "#/definitions/Sprite" }, "default_turret_attack_modifier_icon": { "$ref": "#/definitions/Sprite" }, "hint_arrow_up": { "$ref": "#/definitions/Sprite" }, "hint_arrow_down": { "$ref": "#/definitions/Sprite" }, "hint_arrow_right": { "$ref": "#/definitions/Sprite" }, "hint_arrow_left": { "$ref": "#/definitions/Sprite" }, "fluid_indication_arrow": { "$ref": "#/definitions/Sprite" }, "fluid_indication_arrow_both_ways": { "$ref": "#/definitions/Sprite" }, "heat_exchange_indication": { "$ref": "#/definitions/Sprite" }, "indication_arrow": { "$ref": "#/definitions/Sprite" }, "rail_planner_indication_arrow": { "$ref": "#/definitions/Sprite" }, "rail_planner_indication_arrow_anchored": { "$ref": "#/definitions/Sprite" }, "rail_planner_indication_arrow_too_far": { "$ref": "#/definitions/Sprite" }, "rail_path_not_possible": { "$ref": "#/definitions/Sprite" }, "indication_line": { "$ref": "#/definitions/Sprite" }, "short_indication_line": { "$ref": "#/definitions/Sprite" }, "short_indication_line_green": { "$ref": "#/definitions/Sprite" }, "empty_module_slot": { "$ref": "#/definitions/Sprite" }, "empty_armor_slot": { "$ref": "#/definitions/Sprite" }, "empty_gun_slot": { "$ref": "#/definitions/Sprite" }, "empty_ammo_slot": { "$ref": "#/definitions/Sprite" }, "empty_robot_slot": { "$ref": "#/definitions/Sprite" }, "empty_robot_material_slot": { "$ref": "#/definitions/Sprite" }, "empty_inserter_hand_slot": { "$ref": "#/definitions/Sprite" }, "empty_trash_slot": { "$ref": "#/definitions/Sprite" }, "empty_drop_cargo_slot": { "$ref": "#/definitions/Sprite" }, "upgrade_blueprint": { "$ref": "#/definitions/Sprite" }, "slot": { "$ref": "#/definitions/Sprite" }, "equipment_slot": { "$ref": "#/definitions/Sprite" }, "equipment_collision": { "$ref": "#/definitions/Sprite" }, "battery": { "$ref": "#/definitions/Sprite" }, "green_circle": { "$ref": "#/definitions/Sprite" }, "green_dot": { "$ref": "#/definitions/Sprite" }, "robot_slot": { "$ref": "#/definitions/Sprite" }, "set_bar_slot": { "$ref": "#/definitions/Sprite" }, "missing_icon": { "$ref": "#/definitions/Sprite" }, "deconstruction_mark": { "$ref": "#/definitions/Sprite" }, "buildability_collision": { "$ref": "#/definitions/Sprite" }, "buildability_elevated_collision_line": { "$ref": "#/definitions/Sprite" }, "buildability_elevated_collision_top": { "$ref": "#/definitions/Sprite" }, "buildability_elevated_collision_bottom": { "$ref": "#/definitions/Sprite" }, "buildability_collision_elevated": { "$ref": "#/definitions/Sprite" }, "upgrade_mark": { "$ref": "#/definitions/Sprite" }, "confirm_slot": { "$ref": "#/definitions/Sprite" }, "export_slot": { "$ref": "#/definitions/Sprite" }, "import_slot": { "$ref": "#/definitions/Sprite" }, "none_editor_icon": { "$ref": "#/definitions/Sprite" }, "cable_editor_icon": { "$ref": "#/definitions/Sprite" }, "tile_editor_icon": { "$ref": "#/definitions/Sprite" }, "decorative_editor_icon": { "$ref": "#/definitions/Sprite" }, "asteroid_chunk_editor_icon": { "$ref": "#/definitions/Sprite" }, "resource_editor_icon": { "$ref": "#/definitions/Sprite" }, "entity_editor_icon": { "$ref": "#/definitions/Sprite" }, "item_editor_icon": { "$ref": "#/definitions/Sprite" }, "force_editor_icon": { "$ref": "#/definitions/Sprite" }, "clone_editor_icon": { "$ref": "#/definitions/Sprite" }, "scripting_editor_icon": { "$ref": "#/definitions/Sprite" }, "paint_bucket_icon": { "$ref": "#/definitions/Sprite" }, "surface_editor_icon": { "$ref": "#/definitions/Sprite" }, "time_editor_icon": { "$ref": "#/definitions/Sprite" }, "cliff_editor_icon": { "$ref": "#/definitions/Sprite" }, "brush_icon": { "$ref": "#/definitions/Sprite" }, "spray_icon": { "$ref": "#/definitions/Sprite" }, "cursor_icon": { "$ref": "#/definitions/Sprite" }, "area_icon": { "$ref": "#/definitions/Sprite" }, "line_icon": { "$ref": "#/definitions/Sprite" }, "variations_tool_icon": { "$ref": "#/definitions/Sprite" }, "lua_snippet_tool_icon": { "$ref": "#/definitions/Sprite" }, "editor_selection": { "$ref": "#/definitions/Sprite" }, "brush_square_shape": { "$ref": "#/definitions/Sprite" }, "brush_circle_shape": { "$ref": "#/definitions/Sprite" }, "player_force_icon": { "$ref": "#/definitions/Sprite" }, "neutral_force_icon": { "$ref": "#/definitions/Sprite" }, "enemy_force_icon": { "$ref": "#/definitions/Sprite" }, "nature_icon": { "$ref": "#/definitions/Sprite" }, "no_nature_icon": { "$ref": "#/definitions/Sprite" }, "multiplayer_waiting_icon": { "$ref": "#/definitions/Sprite" }, "spawn_flag": { "$ref": "#/definitions/Sprite" }, "questionmark": { "$ref": "#/definitions/Sprite" }, "copper_wire": { "$ref": "#/definitions/Sprite" }, "green_wire": { "$ref": "#/definitions/Sprite" }, "red_wire": { "$ref": "#/definitions/Sprite" }, "copper_wire_highlight": { "$ref": "#/definitions/Sprite" }, "green_wire_highlight": { "$ref": "#/definitions/Sprite" }, "red_wire_highlight": { "$ref": "#/definitions/Sprite" }, "wire_shadow": { "$ref": "#/definitions/Sprite" }, "and_or": { "$ref": "#/definitions/Sprite" }, "left_arrow": { "$ref": "#/definitions/Sprite" }, "right_arrow": { "$ref": "#/definitions/Sprite" }, "down_arrow": { "$ref": "#/definitions/Sprite" }, "enter": { "$ref": "#/definitions/Sprite" }, "move_tag": { "$ref": "#/definitions/Sprite" }, "side_menu_blueprint_library_icon": { "$ref": "#/definitions/Sprite" }, "side_menu_production_icon": { "$ref": "#/definitions/Sprite" }, "side_menu_bonus_icon": { "$ref": "#/definitions/Sprite" }, "side_menu_tutorials_icon": { "$ref": "#/definitions/Sprite" }, "side_menu_factoriopedia_icon": { "$ref": "#/definitions/Sprite" }, "side_menu_train_icon": { "$ref": "#/definitions/Sprite" }, "side_menu_achievements_icon": { "$ref": "#/definitions/Sprite" }, "side_menu_menu_icon": { "$ref": "#/definitions/Sprite" }, "side_menu_map_icon": { "$ref": "#/definitions/Sprite" }, "side_menu_space_platforms_icon": { "$ref": "#/definitions/Sprite" }, "side_menu_technology_icon": { "$ref": "#/definitions/Sprite" }, "side_menu_logistic_networks_icon": { "$ref": "#/definitions/Sprite" }, "side_menu_players_icon": { "$ref": "#/definitions/Sprite" }, "circuit_network_panel": { "$ref": "#/definitions/Sprite" }, "logistic_network_panel_white": { "$ref": "#/definitions/Sprite" }, "logistic_network_panel_black": { "$ref": "#/definitions/Sprite" }, "rename_icon": { "$ref": "#/definitions/Sprite" }, "achievement_warning": { "$ref": "#/definitions/Sprite" }, "achievement_label": { "$ref": "#/definitions/Sprite" }, "achievement_label_completed": { "$ref": "#/definitions/Sprite" }, "achievement_label_failed": { "$ref": "#/definitions/Sprite" }, "rail_signal_placement_indicator": { "$ref": "#/definitions/Sprite" }, "train_stop_placement_indicator": { "$ref": "#/definitions/Sprite" }, "rail_support_placement_indicator": { "$ref": "#/definitions/Sprite" }, "placement_indicator_leg": { "$ref": "#/definitions/Sprite" }, "grey_rail_signal_placement_indicator": { "$ref": "#/definitions/Sprite" }, "grey_placement_indicator_leg": { "$ref": "#/definitions/Sprite" }, "logistic_radius_visualization": { "$ref": "#/definitions/Sprite" }, "construction_radius_visualization": { "$ref": "#/definitions/Sprite" }, "track_button": { "$ref": "#/definitions/Sprite" }, "track_button_white": { "$ref": "#/definitions/Sprite" }, "show_logistics_network_in_map_view": { "$ref": "#/definitions/Sprite" }, "show_electric_network_in_map_view": { "$ref": "#/definitions/Sprite" }, "show_turret_range_in_map_view": { "$ref": "#/definitions/Sprite" }, "show_train_station_names_in_map_view": { "$ref": "#/definitions/Sprite" }, "show_player_names_in_map_view": { "$ref": "#/definitions/Sprite" }, "show_tags_in_map_view": { "$ref": "#/definitions/Sprite" }, "show_worker_robots_in_map_view": { "$ref": "#/definitions/Sprite" }, "show_rail_signal_states_in_map_view": { "$ref": "#/definitions/Sprite" }, "show_recipe_icons_in_map_view": { "$ref": "#/definitions/Sprite" }, "show_pipelines_in_map_view": { "$ref": "#/definitions/Sprite" }, "train_stop_in_map_view": { "$ref": "#/definitions/Sprite" }, "train_stop_disabled_in_map_view": { "$ref": "#/definitions/Sprite" }, "train_stop_full_in_map_view": { "$ref": "#/definitions/Sprite" }, "custom_tag_in_map_view": { "$ref": "#/definitions/Sprite" }, "covered_chunk": { "$ref": "#/definitions/Sprite" }, "white_square": { "$ref": "#/definitions/Sprite" }, "white_square_icon": { "$ref": "#/definitions/Sprite" }, "white_mask": { "$ref": "#/definitions/Sprite" }, "crafting_machine_recipe_not_unlocked": { "$ref": "#/definitions/Sprite" }, "filter_blacklist": { "$ref": "#/definitions/Sprite" }, "gps_map_icon": { "$ref": "#/definitions/Sprite" }, "custom_tag_icon": { "$ref": "#/definitions/Sprite" }, "space_age_icon": { "$ref": "#/definitions/Sprite" }, "tip_icon": { "$ref": "#/definitions/Sprite" }, "underground_remove_belts": { "$ref": "#/definitions/Sprite" }, "max_distance_underground_remove_belts": { "$ref": "#/definitions/Sprite" }, "underground_remove_pipes": { "$ref": "#/definitions/Sprite" }, "underground_pipe_connection": { "$ref": "#/definitions/Sprite" }, "ghost_cursor": { "$ref": "#/definitions/Sprite" }, "tile_ghost_cursor": { "$ref": "#/definitions/Sprite" }, "force_ghost_cursor": { "$ref": "#/definitions/Sprite" }, "force_tile_ghost_cursor": { "$ref": "#/definitions/Sprite" }, "cross_select": { "$ref": "#/definitions/Sprite" }, "crosshair": { "$ref": "#/definitions/Sprite" }, "expand": { "$ref": "#/definitions/Sprite" }, "collapse": { "$ref": "#/definitions/Sprite" }, "status_working": { "$ref": "#/definitions/Sprite" }, "status_not_working": { "$ref": "#/definitions/Sprite" }, "status_yellow": { "$ref": "#/definitions/Sprite" }, "status_blue": { "$ref": "#/definitions/Sprite" }, "status_inactive": { "$ref": "#/definitions/Sprite" }, "gradient": { "$ref": "#/definitions/Sprite" }, "output_console_gradient": { "$ref": "#/definitions/Sprite" }, "select_icon_white": { "$ref": "#/definitions/Sprite" }, "select_icon_black": { "$ref": "#/definitions/Sprite" }, "notification": { "$ref": "#/definitions/Sprite" }, "alert_arrow": { "$ref": "#/definitions/Sprite" }, "pin_arrow": { "$ref": "#/definitions/Sprite" }, "pin_center": { "$ref": "#/definitions/Sprite" }, "technology_white": { "$ref": "#/definitions/Sprite" }, "feedback": { "$ref": "#/definitions/Sprite" }, "sort_by_name": { "$ref": "#/definitions/Sprite" }, "sort_by_time": { "$ref": "#/definitions/Sprite" }, "parametrise": { "$ref": "#/definitions/Sprite" }, "fluid_visualization_connection": { "$ref": "#/definitions/Sprite" }, "fluid_visualization_connection_both_ways": { "$ref": "#/definitions/Sprite" }, "fluid_visualization_connection_underground": { "$ref": "#/definitions/Sprite" }, "fluid_visualization_extent_arrow": { "$ref": "#/definitions/Sprite" }, "starmap_platform_moving": { "$ref": "#/definitions/Sprite" }, "starmap_platform_moving_hovered": { "$ref": "#/definitions/Sprite" }, "starmap_platform_moving_clicked": { "$ref": "#/definitions/Sprite" }, "starmap_platform_stopped": { "$ref": "#/definitions/Sprite" }, "starmap_platform_stopped_hovered": { "$ref": "#/definitions/Sprite" }, "starmap_platform_stopped_clicked": { "$ref": "#/definitions/Sprite" }, "starmap_platform_stacked": { "$ref": "#/definitions/Sprite" }, "starmap_platform_stacked_hovered": { "$ref": "#/definitions/Sprite" }, "starmap_platform_stacked_clicked": { "$ref": "#/definitions/Sprite" }, "starmap_star": { "$ref": "#/definitions/Sprite" }, "controller_joycon_a": { "$ref": "#/definitions/Sprite" }, "controller_joycon_b": { "$ref": "#/definitions/Sprite" }, "controller_joycon_x": { "$ref": "#/definitions/Sprite" }, "controller_joycon_y": { "$ref": "#/definitions/Sprite" }, "controller_joycon_back": { "$ref": "#/definitions/Sprite" }, "controller_joycon_start": { "$ref": "#/definitions/Sprite" }, "controller_joycon_leftstick": { "$ref": "#/definitions/Sprite" }, "controller_joycon_rightstick": { "$ref": "#/definitions/Sprite" }, "controller_joycon_leftshoulder": { "$ref": "#/definitions/Sprite" }, "controller_joycon_rightshoulder": { "$ref": "#/definitions/Sprite" }, "controller_joycon_dpup": { "$ref": "#/definitions/Sprite" }, "controller_joycon_dpdown": { "$ref": "#/definitions/Sprite" }, "controller_joycon_dpleft": { "$ref": "#/definitions/Sprite" }, "controller_joycon_dpright": { "$ref": "#/definitions/Sprite" }, "controller_joycon_paddle1": { "$ref": "#/definitions/Sprite" }, "controller_joycon_paddle2": { "$ref": "#/definitions/Sprite" }, "controller_joycon_paddle3": { "$ref": "#/definitions/Sprite" }, "controller_joycon_paddle4": { "$ref": "#/definitions/Sprite" }, "controller_joycon_righttrigger": { "$ref": "#/definitions/Sprite" }, "controller_joycon_lefttrigger": { "$ref": "#/definitions/Sprite" }, "controller_joycon_left_stick": { "$ref": "#/definitions/Sprite" }, "controller_joycon_right_stick": { "$ref": "#/definitions/Sprite" }, "controller_joycon_black_a": { "$ref": "#/definitions/Sprite" }, "controller_joycon_black_b": { "$ref": "#/definitions/Sprite" }, "controller_joycon_black_x": { "$ref": "#/definitions/Sprite" }, "controller_joycon_black_y": { "$ref": "#/definitions/Sprite" }, "controller_joycon_black_back": { "$ref": "#/definitions/Sprite" }, "controller_joycon_black_start": { "$ref": "#/definitions/Sprite" }, "controller_joycon_black_leftstick": { "$ref": "#/definitions/Sprite" }, "controller_joycon_black_rightstick": { "$ref": "#/definitions/Sprite" }, "controller_joycon_black_leftshoulder": { "$ref": "#/definitions/Sprite" }, "controller_joycon_black_rightshoulder": { "$ref": "#/definitions/Sprite" }, "controller_joycon_black_dpup": { "$ref": "#/definitions/Sprite" }, "controller_joycon_black_dpdown": { "$ref": "#/definitions/Sprite" }, "controller_joycon_black_dpleft": { "$ref": "#/definitions/Sprite" }, "controller_joycon_black_dpright": { "$ref": "#/definitions/Sprite" }, "controller_joycon_black_paddle1": { "$ref": "#/definitions/Sprite" }, "controller_joycon_black_paddle2": { "$ref": "#/definitions/Sprite" }, "controller_joycon_black_paddle3": { "$ref": "#/definitions/Sprite" }, "controller_joycon_black_paddle4": { "$ref": "#/definitions/Sprite" }, "controller_joycon_black_righttrigger": { "$ref": "#/definitions/Sprite" }, "controller_joycon_black_lefttrigger": { "$ref": "#/definitions/Sprite" }, "controller_joycon_black_left_stick": { "$ref": "#/definitions/Sprite" }, "controller_joycon_black_right_stick": { "$ref": "#/definitions/Sprite" }, "controller_xbox_a": { "$ref": "#/definitions/Sprite" }, "controller_xbox_b": { "$ref": "#/definitions/Sprite" }, "controller_xbox_x": { "$ref": "#/definitions/Sprite" }, "controller_xbox_y": { "$ref": "#/definitions/Sprite" }, "controller_xbox_back": { "$ref": "#/definitions/Sprite" }, "controller_xbox_start": { "$ref": "#/definitions/Sprite" }, "controller_xbox_leftstick": { "$ref": "#/definitions/Sprite" }, "controller_xbox_rightstick": { "$ref": "#/definitions/Sprite" }, "controller_xbox_leftshoulder": { "$ref": "#/definitions/Sprite" }, "controller_xbox_rightshoulder": { "$ref": "#/definitions/Sprite" }, "controller_xbox_dpup": { "$ref": "#/definitions/Sprite" }, "controller_xbox_dpdown": { "$ref": "#/definitions/Sprite" }, "controller_xbox_dpleft": { "$ref": "#/definitions/Sprite" }, "controller_xbox_dpright": { "$ref": "#/definitions/Sprite" }, "controller_xbox_righttrigger": { "$ref": "#/definitions/Sprite" }, "controller_xbox_lefttrigger": { "$ref": "#/definitions/Sprite" }, "controller_xbox_left_stick": { "$ref": "#/definitions/Sprite" }, "controller_xbox_right_stick": { "$ref": "#/definitions/Sprite" }, "controller_xbox_black_a": { "$ref": "#/definitions/Sprite" }, "controller_xbox_black_b": { "$ref": "#/definitions/Sprite" }, "controller_xbox_black_x": { "$ref": "#/definitions/Sprite" }, "controller_xbox_black_y": { "$ref": "#/definitions/Sprite" }, "controller_xbox_black_back": { "$ref": "#/definitions/Sprite" }, "controller_xbox_black_start": { "$ref": "#/definitions/Sprite" }, "controller_xbox_black_leftstick": { "$ref": "#/definitions/Sprite" }, "controller_xbox_black_rightstick": { "$ref": "#/definitions/Sprite" }, "controller_xbox_black_leftshoulder": { "$ref": "#/definitions/Sprite" }, "controller_xbox_black_rightshoulder": { "$ref": "#/definitions/Sprite" }, "controller_xbox_black_dpup": { "$ref": "#/definitions/Sprite" }, "controller_xbox_black_dpdown": { "$ref": "#/definitions/Sprite" }, "controller_xbox_black_dpleft": { "$ref": "#/definitions/Sprite" }, "controller_xbox_black_dpright": { "$ref": "#/definitions/Sprite" }, "controller_xbox_black_righttrigger": { "$ref": "#/definitions/Sprite" }, "controller_xbox_black_lefttrigger": { "$ref": "#/definitions/Sprite" }, "controller_xbox_black_left_stick": { "$ref": "#/definitions/Sprite" }, "controller_xbox_black_right_stick": { "$ref": "#/definitions/Sprite" }, "controller_ps_a": { "$ref": "#/definitions/Sprite" }, "controller_ps_b": { "$ref": "#/definitions/Sprite" }, "controller_ps_x": { "$ref": "#/definitions/Sprite" }, "controller_ps_y": { "$ref": "#/definitions/Sprite" }, "controller_ps_back": { "$ref": "#/definitions/Sprite" }, "controller_ps_start": { "$ref": "#/definitions/Sprite" }, "controller_ps_leftstick": { "$ref": "#/definitions/Sprite" }, "controller_ps_rightstick": { "$ref": "#/definitions/Sprite" }, "controller_ps_leftshoulder": { "$ref": "#/definitions/Sprite" }, "controller_ps_rightshoulder": { "$ref": "#/definitions/Sprite" }, "controller_ps_dpup": { "$ref": "#/definitions/Sprite" }, "controller_ps_dpdown": { "$ref": "#/definitions/Sprite" }, "controller_ps_dpleft": { "$ref": "#/definitions/Sprite" }, "controller_ps_dpright": { "$ref": "#/definitions/Sprite" }, "controller_ps_righttrigger": { "$ref": "#/definitions/Sprite" }, "controller_ps_lefttrigger": { "$ref": "#/definitions/Sprite" }, "controller_ps_left_stick": { "$ref": "#/definitions/Sprite" }, "controller_ps_right_stick": { "$ref": "#/definitions/Sprite" }, "controller_ps_black_a": { "$ref": "#/definitions/Sprite" }, "controller_ps_black_b": { "$ref": "#/definitions/Sprite" }, "controller_ps_black_x": { "$ref": "#/definitions/Sprite" }, "controller_ps_black_y": { "$ref": "#/definitions/Sprite" }, "controller_ps_black_back": { "$ref": "#/definitions/Sprite" }, "controller_ps_black_start": { "$ref": "#/definitions/Sprite" }, "controller_ps_black_leftstick": { "$ref": "#/definitions/Sprite" }, "controller_ps_black_rightstick": { "$ref": "#/definitions/Sprite" }, "controller_ps_black_leftshoulder": { "$ref": "#/definitions/Sprite" }, "controller_ps_black_rightshoulder": { "$ref": "#/definitions/Sprite" }, "controller_ps_black_dpup": { "$ref": "#/definitions/Sprite" }, "controller_ps_black_dpdown": { "$ref": "#/definitions/Sprite" }, "controller_ps_black_dpleft": { "$ref": "#/definitions/Sprite" }, "controller_ps_black_dpright": { "$ref": "#/definitions/Sprite" }, "controller_ps_black_righttrigger": { "$ref": "#/definitions/Sprite" }, "controller_ps_black_lefttrigger": { "$ref": "#/definitions/Sprite" }, "controller_ps_black_left_stick": { "$ref": "#/definitions/Sprite" }, "controller_ps_black_right_stick": { "$ref": "#/definitions/Sprite" }, "controller_steamdeck_a": { "$ref": "#/definitions/Sprite" }, "controller_steamdeck_b": { "$ref": "#/definitions/Sprite" }, "controller_steamdeck_x": { "$ref": "#/definitions/Sprite" }, "controller_steamdeck_y": { "$ref": "#/definitions/Sprite" }, "controller_steamdeck_back": { "$ref": "#/definitions/Sprite" }, "controller_steamdeck_start": { "$ref": "#/definitions/Sprite" }, "controller_steamdeck_leftstick": { "$ref": "#/definitions/Sprite" }, "controller_steamdeck_rightstick": { "$ref": "#/definitions/Sprite" }, "controller_steamdeck_leftshoulder": { "$ref": "#/definitions/Sprite" }, "controller_steamdeck_rightshoulder": { "$ref": "#/definitions/Sprite" }, "controller_steamdeck_dpup": { "$ref": "#/definitions/Sprite" }, "controller_steamdeck_dpdown": { "$ref": "#/definitions/Sprite" }, "controller_steamdeck_dpleft": { "$ref": "#/definitions/Sprite" }, "controller_steamdeck_dpright": { "$ref": "#/definitions/Sprite" }, "controller_steamdeck_paddle1": { "$ref": "#/definitions/Sprite" }, "controller_steamdeck_paddle2": { "$ref": "#/definitions/Sprite" }, "controller_steamdeck_paddle3": { "$ref": "#/definitions/Sprite" }, "controller_steamdeck_paddle4": { "$ref": "#/definitions/Sprite" }, "controller_steamdeck_righttrigger": { "$ref": "#/definitions/Sprite" }, "controller_steamdeck_lefttrigger": { "$ref": "#/definitions/Sprite" }, "controller_steamdeck_left_stick": { "$ref": "#/definitions/Sprite" }, "controller_steamdeck_right_stick": { "$ref": "#/definitions/Sprite" }, "controller_steamdeck_black_a": { "$ref": "#/definitions/Sprite" }, "controller_steamdeck_black_b": { "$ref": "#/definitions/Sprite" }, "controller_steamdeck_black_x": { "$ref": "#/definitions/Sprite" }, "controller_steamdeck_black_y": { "$ref": "#/definitions/Sprite" }, "controller_steamdeck_black_back": { "$ref": "#/definitions/Sprite" }, "controller_steamdeck_black_start": { "$ref": "#/definitions/Sprite" }, "controller_steamdeck_black_leftstick": { "$ref": "#/definitions/Sprite" }, "controller_steamdeck_black_rightstick": { "$ref": "#/definitions/Sprite" }, "controller_steamdeck_black_leftshoulder": { "$ref": "#/definitions/Sprite" }, "controller_steamdeck_black_rightshoulder": { "$ref": "#/definitions/Sprite" }, "controller_steamdeck_black_dpup": { "$ref": "#/definitions/Sprite" }, "controller_steamdeck_black_dpdown": { "$ref": "#/definitions/Sprite" }, "controller_steamdeck_black_dpleft": { "$ref": "#/definitions/Sprite" }, "controller_steamdeck_black_dpright": { "$ref": "#/definitions/Sprite" }, "controller_steamdeck_black_paddle1": { "$ref": "#/definitions/Sprite" }, "controller_steamdeck_black_paddle2": { "$ref": "#/definitions/Sprite" }, "controller_steamdeck_black_paddle3": { "$ref": "#/definitions/Sprite" }, "controller_steamdeck_black_paddle4": { "$ref": "#/definitions/Sprite" }, "controller_steamdeck_black_righttrigger": { "$ref": "#/definitions/Sprite" }, "controller_steamdeck_black_lefttrigger": { "$ref": "#/definitions/Sprite" }, "controller_steamdeck_black_left_stick": { "$ref": "#/definitions/Sprite" }, "controller_steamdeck_black_right_stick": { "$ref": "#/definitions/Sprite" }, "clouds": { "$ref": "#/definitions/Animation" }, "arrow_button": { "$ref": "#/definitions/Animation" }, "explosion_chart_visualization": { "$ref": "#/definitions/Animation" }, "refresh_white": { "$ref": "#/definitions/Animation" }, "navmesh_pending_icon": { "$ref": "#/definitions/Animation" }, "inserter_stack_size_bonus_modifier_icon": { "$ref": "#/definitions/Sprite" }, "inserter_stack_size_bonus_modifier_constant": { "$ref": "#/definitions/Sprite" }, "bulk_inserter_capacity_bonus_modifier_icon": { "$ref": "#/definitions/Sprite" }, "bulk_inserter_capacity_bonus_modifier_constant": { "$ref": "#/definitions/Sprite" }, "laboratory_speed_modifier_icon": { "$ref": "#/definitions/Sprite" }, "laboratory_speed_modifier_constant": { "$ref": "#/definitions/Sprite" }, "character_logistic_trash_slots_modifier_icon": { "$ref": "#/definitions/Sprite" }, "character_logistic_trash_slots_modifier_constant": { "$ref": "#/definitions/Sprite" }, "maximum_following_robots_count_modifier_icon": { "$ref": "#/definitions/Sprite" }, "maximum_following_robots_count_modifier_constant": { "$ref": "#/definitions/Sprite" }, "worker_robot_speed_modifier_icon": { "$ref": "#/definitions/Sprite" }, "worker_robot_speed_modifier_constant": { "$ref": "#/definitions/Sprite" }, "worker_robot_storage_modifier_icon": { "$ref": "#/definitions/Sprite" }, "worker_robot_storage_modifier_constant": { "$ref": "#/definitions/Sprite" }, "create_ghost_on_entity_death_modifier_icon": { "$ref": "#/definitions/Sprite" }, "create_ghost_on_entity_death_modifier_constant": { "$ref": "#/definitions/Sprite" }, "turret_attack_modifier_icon": { "$ref": "#/definitions/Sprite" }, "turret_attack_modifier_constant": { "$ref": "#/definitions/Sprite" }, "ammo_damage_modifier_icon": { "$ref": "#/definitions/Sprite" }, "ammo_damage_modifier_constant": { "$ref": "#/definitions/Sprite" }, "give_item_modifier_icon": { "$ref": "#/definitions/Sprite" }, "give_item_modifier_constant": { "$ref": "#/definitions/Sprite" }, "gun_speed_modifier_icon": { "$ref": "#/definitions/Sprite" }, "gun_speed_modifier_constant": { "$ref": "#/definitions/Sprite" }, "unlock_recipe_modifier_icon": { "$ref": "#/definitions/Sprite" }, "unlock_recipe_modifier_constant": { "$ref": "#/definitions/Sprite" }, "character_crafting_speed_modifier_icon": { "$ref": "#/definitions/Sprite" }, "character_crafting_speed_modifier_constant": { "$ref": "#/definitions/Sprite" }, "character_mining_speed_modifier_icon": { "$ref": "#/definitions/Sprite" }, "character_mining_speed_modifier_constant": { "$ref": "#/definitions/Sprite" }, "character_running_speed_modifier_icon": { "$ref": "#/definitions/Sprite" }, "character_running_speed_modifier_constant": { "$ref": "#/definitions/Sprite" }, "character_build_distance_modifier_icon": { "$ref": "#/definitions/Sprite" }, "character_build_distance_modifier_constant": { "$ref": "#/definitions/Sprite" }, "character_item_drop_distance_modifier_icon": { "$ref": "#/definitions/Sprite" }, "character_item_drop_distance_modifier_constant": { "$ref": "#/definitions/Sprite" }, "character_reach_distance_modifier_icon": { "$ref": "#/definitions/Sprite" }, "character_reach_distance_modifier_constant": { "$ref": "#/definitions/Sprite" }, "character_resource_reach_distance_modifier_icon": { "$ref": "#/definitions/Sprite" }, "character_resource_reach_distance_modifier_constant": { "$ref": "#/definitions/Sprite" }, "character_item_pickup_distance_modifier_icon": { "$ref": "#/definitions/Sprite" }, "character_item_pickup_distance_modifier_constant": { "$ref": "#/definitions/Sprite" }, "character_loot_pickup_distance_modifier_icon": { "$ref": "#/definitions/Sprite" }, "character_loot_pickup_distance_modifier_constant": { "$ref": "#/definitions/Sprite" }, "character_inventory_slots_bonus_modifier_icon": { "$ref": "#/definitions/Sprite" }, "character_inventory_slots_bonus_modifier_constant": { "$ref": "#/definitions/Sprite" }, "deconstruction_time_to_live_modifier_icon": { "$ref": "#/definitions/Sprite" }, "deconstruction_time_to_live_modifier_constant": { "$ref": "#/definitions/Sprite" }, "max_failed_attempts_per_tick_per_construction_queue_modifier_icon": { "$ref": "#/definitions/Sprite" }, "max_failed_attempts_per_tick_per_construction_queue_modifier_constant": { "$ref": "#/definitions/Sprite" }, "max_successful_attempts_per_tick_per_construction_queue_modifier_icon": { "$ref": "#/definitions/Sprite" }, "max_successful_attempts_per_tick_per_construction_queue_modifier_constant": { "$ref": "#/definitions/Sprite" }, "character_health_bonus_modifier_icon": { "$ref": "#/definitions/Sprite" }, "character_health_bonus_modifier_constant": { "$ref": "#/definitions/Sprite" }, "mining_drill_productivity_bonus_modifier_icon": { "$ref": "#/definitions/Sprite" }, "mining_drill_productivity_bonus_modifier_constant": { "$ref": "#/definitions/Sprite" }, "train_braking_force_bonus_modifier_icon": { "$ref": "#/definitions/Sprite" }, "train_braking_force_bonus_modifier_constant": { "$ref": "#/definitions/Sprite" }, "worker_robot_battery_modifier_icon": { "$ref": "#/definitions/Sprite" }, "worker_robot_battery_modifier_constant": { "$ref": "#/definitions/Sprite" }, "laboratory_productivity_modifier_icon": { "$ref": "#/definitions/Sprite" }, "laboratory_productivity_modifier_constant": { "$ref": "#/definitions/Sprite" }, "follower_robot_lifetime_modifier_icon": { "$ref": "#/definitions/Sprite" }, "follower_robot_lifetime_modifier_constant": { "$ref": "#/definitions/Sprite" }, "artillery_range_modifier_icon": { "$ref": "#/definitions/Sprite" }, "artillery_range_modifier_constant": { "$ref": "#/definitions/Sprite" }, "nothing_modifier_icon": { "$ref": "#/definitions/Sprite" }, "nothing_modifier_constant": { "$ref": "#/definitions/Sprite" }, "character_additional_mining_categories_modifier_icon": { "$ref": "#/definitions/Sprite" }, "character_additional_mining_categories_modifier_constant": { "$ref": "#/definitions/Sprite" }, "character_logistic_requests_modifier_icon": { "$ref": "#/definitions/Sprite" }, "character_logistic_requests_modifier_constant": { "$ref": "#/definitions/Sprite" }, "unlock_space_location_modifier_icon": { "$ref": "#/definitions/Sprite" }, "unlock_space_location_modifier_constant": { "$ref": "#/definitions/Sprite" }, "unlock_quality_modifier_icon": { "$ref": "#/definitions/Sprite" }, "unlock_quality_modifier_constant": { "$ref": "#/definitions/Sprite" }, "unlock_space_platforms_modifier_icon": { "$ref": "#/definitions/Sprite" }, "unlock_space_platforms_modifier_constant": { "$ref": "#/definitions/Sprite" }, "unlock_circuit_network_modifier_icon": { "$ref": "#/definitions/Sprite" }, "unlock_circuit_network_modifier_constant": { "$ref": "#/definitions/Sprite" }, "cargo_landing_pad_count_modifier_icon": { "$ref": "#/definitions/Sprite" }, "cargo_landing_pad_count_modifier_constant": { "$ref": "#/definitions/Sprite" }, "change_recipe_productivity_modifier_icon": { "$ref": "#/definitions/Sprite" }, "change_recipe_productivity_modifier_constant": { "$ref": "#/definitions/Sprite" }, "cliff_deconstruction_enabled_modifier_icon": { "$ref": "#/definitions/Sprite" }, "cliff_deconstruction_enabled_modifier_constant": { "$ref": "#/definitions/Sprite" }, "mining_with_fluid_modifier_icon": { "$ref": "#/definitions/Sprite" }, "mining_with_fluid_modifier_constant": { "$ref": "#/definitions/Sprite" }, "rail_support_on_deep_oil_ocean_modifier_icon": { "$ref": "#/definitions/Sprite" }, "rail_support_on_deep_oil_ocean_modifier_constant": { "$ref": "#/definitions/Sprite" }, "rail_planner_allow_elevated_rails_modifier_icon": { "$ref": "#/definitions/Sprite" }, "rail_planner_allow_elevated_rails_modifier_constant": { "$ref": "#/definitions/Sprite" }, "beacon_distribution_modifier_icon": { "$ref": "#/definitions/Sprite" }, "beacon_distribution_modifier_constant": { "$ref": "#/definitions/Sprite" }, "belt_stack_size_bonus_modifier_icon": { "$ref": "#/definitions/Sprite" }, "belt_stack_size_bonus_modifier_constant": { "$ref": "#/definitions/Sprite" }, "vehicle_logistics_modifier_icon": { "$ref": "#/definitions/Sprite" }, "vehicle_logistics_modifier_constant": { "$ref": "#/definitions/Sprite" } }, "required": [ "type", "name", "cursor_box", "bookmark", "center", "check_mark", "check_mark_white", "check_mark_green", "check_mark_dark_green", "not_played_yet_green", "not_played_yet_dark_green", "played_green", "played_dark_green", "close_fat", "close", "close_black", "backward_arrow", "backward_arrow_black", "forward_arrow", "forward_arrow_black", "recipe_arrow", "close_map_preview", "color_picker", "change_recipe", "dropdown", "downloading", "downloaded", "equipment_grid", "expand_dots", "export", "import", "map", "map_exchange_string", "missing_mod_icon", "not_available", "not_available_black", "play", "stop", "preset", "refresh", "reset", "reset_white", "shuffle", "station_name", "search", "sync_mods", "trash", "trash_white", "copy", "reassign", "warning", "warning_white", "list_view", "grid_view", "slots_view", "reference_point", "mouse_cursor", "mouse_cursor_macos", "mod_category", "mod_last_updated", "mod_downloads_count", "item_to_be_delivered_symbol", "rebuild_mark", "any_quality", "mod_dependency_arrow", "add", "add_white", "clone", "go_to_arrow", "pause", "speed_down", "speed_up", "editor_speed_down", "editor_pause", "editor_play", "editor_speed_up", "tick_once", "tick_sixty", "tick_custom", "search_icon", "too_far", "shoot_cursor_green", "shoot_cursor_red", "electricity_icon", "lightning_warning_icon", "fuel_icon", "ammo_icon", "fluid_icon", "warning_icon", "danger_icon", "destroyed_icon", "recharge_icon", "no_path_icon", "destination_full_icon", "too_far_from_roboport_icon", "pump_cannot_connect_icon", "not_enough_repair_packs_icon", "not_enough_construction_robots_icon", "no_building_material_icon", "no_storage_space_icon", "no_platform_storage_space_icon", "asteroid_collector_path_blocked_icon", "unclaimed_cargo_icon", "no_roboport_storage_space_icon", "cargo_bay_not_connected_icon", "frozen_icon", "pipeline_disabled_icon", "electricity_icon_unplugged", "tooltip_category_spoilable", "resources_depleted_icon", "game_stopped_visualization", "health_bar_green_pip", "health_bar_yellow_pip", "health_bar_red_pip", "ghost_bar_pip", "bar_gray_pip", "shield_bar_pip", "hand", "hand_black", "entity_info_dark_background", "medium_gui_arrow", "small_gui_arrow", "light_medium", "light_small", "light_cone", "color_effect", "clock", "default_ammo_damage_modifier_icon", "default_gun_speed_modifier_icon", "default_turret_attack_modifier_icon", "hint_arrow_up", "hint_arrow_down", "hint_arrow_right", "hint_arrow_left", "fluid_indication_arrow", "fluid_indication_arrow_both_ways", "heat_exchange_indication", "indication_arrow", "rail_planner_indication_arrow", "rail_planner_indication_arrow_anchored", "rail_planner_indication_arrow_too_far", "rail_path_not_possible", "indication_line", "short_indication_line", "short_indication_line_green", "empty_module_slot", "empty_armor_slot", "empty_gun_slot", "empty_ammo_slot", "empty_robot_slot", "empty_robot_material_slot", "empty_inserter_hand_slot", "empty_trash_slot", "empty_drop_cargo_slot", "upgrade_blueprint", "slot", "equipment_slot", "equipment_collision", "battery", "green_circle", "green_dot", "robot_slot", "set_bar_slot", "missing_icon", "deconstruction_mark", "buildability_collision", "buildability_elevated_collision_line", "buildability_elevated_collision_top", "buildability_elevated_collision_bottom", "buildability_collision_elevated", "upgrade_mark", "confirm_slot", "export_slot", "import_slot", "none_editor_icon", "cable_editor_icon", "tile_editor_icon", "decorative_editor_icon", "asteroid_chunk_editor_icon", "resource_editor_icon", "entity_editor_icon", "item_editor_icon", "force_editor_icon", "clone_editor_icon", "scripting_editor_icon", "paint_bucket_icon", "surface_editor_icon", "time_editor_icon", "cliff_editor_icon", "brush_icon", "spray_icon", "cursor_icon", "area_icon", "line_icon", "variations_tool_icon", "lua_snippet_tool_icon", "editor_selection", "brush_square_shape", "brush_circle_shape", "player_force_icon", "neutral_force_icon", "enemy_force_icon", "nature_icon", "no_nature_icon", "multiplayer_waiting_icon", "spawn_flag", "questionmark", "copper_wire", "green_wire", "red_wire", "copper_wire_highlight", "green_wire_highlight", "red_wire_highlight", "wire_shadow", "and_or", "left_arrow", "right_arrow", "down_arrow", "enter", "move_tag", "side_menu_blueprint_library_icon", "side_menu_production_icon", "side_menu_bonus_icon", "side_menu_tutorials_icon", "side_menu_factoriopedia_icon", "side_menu_train_icon", "side_menu_achievements_icon", "side_menu_menu_icon", "side_menu_map_icon", "side_menu_space_platforms_icon", "side_menu_technology_icon", "side_menu_logistic_networks_icon", "side_menu_players_icon", "circuit_network_panel", "logistic_network_panel_white", "logistic_network_panel_black", "rename_icon", "achievement_warning", "achievement_label", "achievement_label_completed", "achievement_label_failed", "rail_signal_placement_indicator", "train_stop_placement_indicator", "rail_support_placement_indicator", "placement_indicator_leg", "grey_rail_signal_placement_indicator", "grey_placement_indicator_leg", "logistic_radius_visualization", "construction_radius_visualization", "track_button", "track_button_white", "show_logistics_network_in_map_view", "show_electric_network_in_map_view", "show_turret_range_in_map_view", "show_train_station_names_in_map_view", "show_player_names_in_map_view", "show_tags_in_map_view", "show_worker_robots_in_map_view", "show_rail_signal_states_in_map_view", "show_recipe_icons_in_map_view", "show_pipelines_in_map_view", "train_stop_in_map_view", "train_stop_disabled_in_map_view", "train_stop_full_in_map_view", "custom_tag_in_map_view", "covered_chunk", "white_square", "white_square_icon", "white_mask", "crafting_machine_recipe_not_unlocked", "filter_blacklist", "gps_map_icon", "custom_tag_icon", "space_age_icon", "tip_icon", "underground_remove_belts", "max_distance_underground_remove_belts", "underground_remove_pipes", "underground_pipe_connection", "ghost_cursor", "tile_ghost_cursor", "force_ghost_cursor", "force_tile_ghost_cursor", "cross_select", "crosshair", "expand", "collapse", "status_working", "status_not_working", "status_yellow", "status_blue", "status_inactive", "gradient", "output_console_gradient", "select_icon_white", "select_icon_black", "notification", "alert_arrow", "pin_arrow", "pin_center", "technology_white", "feedback", "sort_by_name", "sort_by_time", "parametrise", "fluid_visualization_connection", "fluid_visualization_connection_both_ways", "fluid_visualization_connection_underground", "fluid_visualization_extent_arrow", "starmap_platform_moving", "starmap_platform_moving_hovered", "starmap_platform_moving_clicked", "starmap_platform_stopped", "starmap_platform_stopped_hovered", "starmap_platform_stopped_clicked", "starmap_platform_stacked", "starmap_platform_stacked_hovered", "starmap_platform_stacked_clicked", "starmap_star", "controller_joycon_a", "controller_joycon_b", "controller_joycon_x", "controller_joycon_y", "controller_joycon_back", "controller_joycon_start", "controller_joycon_leftstick", "controller_joycon_rightstick", "controller_joycon_leftshoulder", "controller_joycon_rightshoulder", "controller_joycon_dpup", "controller_joycon_dpdown", "controller_joycon_dpleft", "controller_joycon_dpright", "controller_joycon_paddle1", "controller_joycon_paddle2", "controller_joycon_paddle3", "controller_joycon_paddle4", "controller_joycon_righttrigger", "controller_joycon_lefttrigger", "controller_joycon_left_stick", "controller_joycon_right_stick", "controller_joycon_black_a", "controller_joycon_black_b", "controller_joycon_black_x", "controller_joycon_black_y", "controller_joycon_black_back", "controller_joycon_black_start", "controller_joycon_black_leftstick", "controller_joycon_black_rightstick", "controller_joycon_black_leftshoulder", "controller_joycon_black_rightshoulder", "controller_joycon_black_dpup", "controller_joycon_black_dpdown", "controller_joycon_black_dpleft", "controller_joycon_black_dpright", "controller_joycon_black_paddle1", "controller_joycon_black_paddle2", "controller_joycon_black_paddle3", "controller_joycon_black_paddle4", "controller_joycon_black_righttrigger", "controller_joycon_black_lefttrigger", "controller_joycon_black_left_stick", "controller_joycon_black_right_stick", "controller_xbox_a", "controller_xbox_b", "controller_xbox_x", "controller_xbox_y", "controller_xbox_back", "controller_xbox_start", "controller_xbox_leftstick", "controller_xbox_rightstick", "controller_xbox_leftshoulder", "controller_xbox_rightshoulder", "controller_xbox_dpup", "controller_xbox_dpdown", "controller_xbox_dpleft", "controller_xbox_dpright", "controller_xbox_righttrigger", "controller_xbox_lefttrigger", "controller_xbox_left_stick", "controller_xbox_right_stick", "controller_xbox_black_a", "controller_xbox_black_b", "controller_xbox_black_x", "controller_xbox_black_y", "controller_xbox_black_back", "controller_xbox_black_start", "controller_xbox_black_leftstick", "controller_xbox_black_rightstick", "controller_xbox_black_leftshoulder", "controller_xbox_black_rightshoulder", "controller_xbox_black_dpup", "controller_xbox_black_dpdown", "controller_xbox_black_dpleft", "controller_xbox_black_dpright", "controller_xbox_black_righttrigger", "controller_xbox_black_lefttrigger", "controller_xbox_black_left_stick", "controller_xbox_black_right_stick", "controller_ps_a", "controller_ps_b", "controller_ps_x", "controller_ps_y", "controller_ps_back", "controller_ps_start", "controller_ps_leftstick", "controller_ps_rightstick", "controller_ps_leftshoulder", "controller_ps_rightshoulder", "controller_ps_dpup", "controller_ps_dpdown", "controller_ps_dpleft", "controller_ps_dpright", "controller_ps_righttrigger", "controller_ps_lefttrigger", "controller_ps_left_stick", "controller_ps_right_stick", "controller_ps_black_a", "controller_ps_black_b", "controller_ps_black_x", "controller_ps_black_y", "controller_ps_black_back", "controller_ps_black_start", "controller_ps_black_leftstick", "controller_ps_black_rightstick", "controller_ps_black_leftshoulder", "controller_ps_black_rightshoulder", "controller_ps_black_dpup", "controller_ps_black_dpdown", "controller_ps_black_dpleft", "controller_ps_black_dpright", "controller_ps_black_righttrigger", "controller_ps_black_lefttrigger", "controller_ps_black_left_stick", "controller_ps_black_right_stick", "controller_steamdeck_a", "controller_steamdeck_b", "controller_steamdeck_x", "controller_steamdeck_y", "controller_steamdeck_back", "controller_steamdeck_start", "controller_steamdeck_leftstick", "controller_steamdeck_rightstick", "controller_steamdeck_leftshoulder", "controller_steamdeck_rightshoulder", "controller_steamdeck_dpup", "controller_steamdeck_dpdown", "controller_steamdeck_dpleft", "controller_steamdeck_dpright", "controller_steamdeck_paddle1", "controller_steamdeck_paddle2", "controller_steamdeck_paddle3", "controller_steamdeck_paddle4", "controller_steamdeck_righttrigger", "controller_steamdeck_lefttrigger", "controller_steamdeck_left_stick", "controller_steamdeck_right_stick", "controller_steamdeck_black_a", "controller_steamdeck_black_b", "controller_steamdeck_black_x", "controller_steamdeck_black_y", "controller_steamdeck_black_back", "controller_steamdeck_black_start", "controller_steamdeck_black_leftstick", "controller_steamdeck_black_rightstick", "controller_steamdeck_black_leftshoulder", "controller_steamdeck_black_rightshoulder", "controller_steamdeck_black_dpup", "controller_steamdeck_black_dpdown", "controller_steamdeck_black_dpleft", "controller_steamdeck_black_dpright", "controller_steamdeck_black_paddle1", "controller_steamdeck_black_paddle2", "controller_steamdeck_black_paddle3", "controller_steamdeck_black_paddle4", "controller_steamdeck_black_righttrigger", "controller_steamdeck_black_lefttrigger", "controller_steamdeck_black_left_stick", "controller_steamdeck_black_right_stick", "clouds", "arrow_button", "explosion_chart_visualization", "refresh_white", "navmesh_pending_icon", "inserter_stack_size_bonus_modifier_icon", "bulk_inserter_capacity_bonus_modifier_icon", "laboratory_speed_modifier_icon", "character_logistic_trash_slots_modifier_icon", "maximum_following_robots_count_modifier_icon", "worker_robot_speed_modifier_icon", "worker_robot_storage_modifier_icon", "create_ghost_on_entity_death_modifier_icon", "turret_attack_modifier_icon", "ammo_damage_modifier_icon", "give_item_modifier_icon", "gun_speed_modifier_icon", "unlock_recipe_modifier_icon", "character_crafting_speed_modifier_icon", "character_mining_speed_modifier_icon", "character_running_speed_modifier_icon", "character_build_distance_modifier_icon", "character_item_drop_distance_modifier_icon", "character_reach_distance_modifier_icon", "character_resource_reach_distance_modifier_icon", "character_item_pickup_distance_modifier_icon", "character_loot_pickup_distance_modifier_icon", "character_inventory_slots_bonus_modifier_icon", "deconstruction_time_to_live_modifier_icon", "max_failed_attempts_per_tick_per_construction_queue_modifier_icon", "max_successful_attempts_per_tick_per_construction_queue_modifier_icon", "character_health_bonus_modifier_icon", "mining_drill_productivity_bonus_modifier_icon", "train_braking_force_bonus_modifier_icon", "worker_robot_battery_modifier_icon", "laboratory_productivity_modifier_icon", "follower_robot_lifetime_modifier_icon", "artillery_range_modifier_icon", "nothing_modifier_icon", "character_additional_mining_categories_modifier_icon", "character_logistic_requests_modifier_icon", "unlock_space_location_modifier_icon", "unlock_quality_modifier_icon", "unlock_space_platforms_modifier_icon", "unlock_circuit_network_modifier_icon", "cargo_landing_pad_count_modifier_icon", "change_recipe_productivity_modifier_icon", "cliff_deconstruction_enabled_modifier_icon", "mining_with_fluid_modifier_icon", "rail_support_on_deep_oil_ocean_modifier_icon", "rail_planner_allow_elevated_rails_modifier_icon", "beacon_distribution_modifier_icon", "belt_stack_size_bonus_modifier_icon", "vehicle_logistics_modifier_icon" ] }, "VirtualSignalPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/VirtualSignalPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "virtual-signal" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" } }, "required": [ "type", "name" ] }, "WallPrototype": { "description": "https://lua-api.factorio.com/stable/prototypes/WallPrototype.html", "type": "object", "properties": { "type": { "type": "string", "const": "wall" }, "name": { "$ref": "#/definitions/string" }, "order": { "$ref": "#/definitions/Order" }, "localised_name": { "$ref": "#/definitions/LocalisedString" }, "localised_description": { "$ref": "#/definitions/LocalisedString" }, "factoriopedia_description": { "$ref": "#/definitions/LocalisedString" }, "subgroup": { "$ref": "#/definitions/ItemSubGroupID" }, "hidden": { "$ref": "#/definitions/bool" }, "hidden_in_factoriopedia": { "$ref": "#/definitions/bool" }, "parameter": { "$ref": "#/definitions/bool" }, "factoriopedia_simulation": { "$ref": "#/definitions/SimulationDefinition" }, "factoriopedia_alternative": { "$ref": "#/definitions/string" }, "icons": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconData" } }, { "type": "object", "additionalProperties": false } ] }, "icon": { "$ref": "#/definitions/FileName" }, "icon_size": { "$ref": "#/definitions/SpriteSizeType" }, "collision_box": { "$ref": "#/definitions/BoundingBox" }, "collision_mask": { "$ref": "#/definitions/CollisionMaskConnector" }, "map_generator_bounding_box": { "$ref": "#/definitions/BoundingBox" }, "selection_box": { "$ref": "#/definitions/BoundingBox" }, "drawing_box_vertical_extension": { "$ref": "#/definitions/double" }, "sticker_box": { "$ref": "#/definitions/BoundingBox" }, "hit_visualization_box": { "$ref": "#/definitions/BoundingBox" }, "trigger_target_mask": { "$ref": "#/definitions/TriggerTargetMask" }, "flags": { "$ref": "#/definitions/EntityPrototypeFlags" }, "tile_buildability_rules": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/TileBuildabilityRule" } }, { "type": "object", "additionalProperties": false } ] }, "minable": { "$ref": "#/definitions/MinableProperties" }, "surface_conditions": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/SurfaceCondition" } }, { "type": "object", "additionalProperties": false } ] }, "deconstruction_alternative": { "$ref": "#/definitions/EntityID" }, "selection_priority": { "$ref": "#/definitions/uint8" }, "build_grid_size": { "$ref": "#/definitions/uint8" }, "remove_decoratives": { "anyOf": [ { "type": "string", "const": "automatic" }, { "type": "string", "const": "true" }, { "type": "string", "const": "false" } ] }, "emissions_per_second": { "type": "object", "additionalProperties": { "$ref": "#/definitions/double" }, "propertyNames": { "$ref": "#/definitions/AirbornePollutantID" } }, "shooting_cursor_size": { "$ref": "#/definitions/double" }, "created_smoke": { "$ref": "#/definitions/CreateTrivialSmokeEffectItem" }, "working_sound": { "$ref": "#/definitions/WorkingSound" }, "created_effect": { "$ref": "#/definitions/Trigger" }, "build_sound": { "$ref": "#/definitions/Sound" }, "mined_sound": { "$ref": "#/definitions/Sound" }, "mining_sound": { "$ref": "#/definitions/Sound" }, "rotated_sound": { "$ref": "#/definitions/Sound" }, "impact_category": { "$ref": "#/definitions/string" }, "open_sound": { "$ref": "#/definitions/Sound" }, "close_sound": { "$ref": "#/definitions/Sound" }, "placeable_position_visualization": { "$ref": "#/definitions/Sprite" }, "radius_visualisation_specification": { "$ref": "#/definitions/RadiusVisualisationSpecification" }, "stateless_visualisation": { "$ref": "#/definitions/StatelessVisualisations" }, "build_base_evolution_requirement": { "$ref": "#/definitions/double" }, "alert_icon_shift": { "$ref": "#/definitions/Vector" }, "alert_icon_scale": { "$ref": "#/definitions/float" }, "fast_replaceable_group": { "$ref": "#/definitions/string" }, "next_upgrade": { "$ref": "#/definitions/EntityID" }, "protected_from_tile_building": { "$ref": "#/definitions/bool" }, "heating_energy": { "$ref": "#/definitions/Energy" }, "allow_copy_paste": { "$ref": "#/definitions/bool" }, "selectable_in_game": { "$ref": "#/definitions/bool" }, "placeable_by": { "anyOf": [ { "$ref": "#/definitions/ItemToPlace" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ItemToPlace" } }, { "type": "object", "additionalProperties": false } ] } ] }, "remains_when_mined": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "additional_pastable_entities": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] }, "tile_width": { "$ref": "#/definitions/int32" }, "tile_height": { "$ref": "#/definitions/int32" }, "diagonal_tile_grid_size": { "$ref": "#/definitions/TilePosition" }, "autoplace": { "$ref": "#/definitions/AutoplaceSpecification" }, "map_color": { "$ref": "#/definitions/Color" }, "friendly_map_color": { "$ref": "#/definitions/Color" }, "enemy_map_color": { "$ref": "#/definitions/Color" }, "water_reflection": { "$ref": "#/definitions/WaterReflectionDefinition" }, "ambient_sounds_group": { "$ref": "#/definitions/EntityID" }, "ambient_sounds": { "anyOf": [ { "$ref": "#/definitions/WorldAmbientSoundDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/WorldAmbientSoundDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "icon_draw_specification": { "$ref": "#/definitions/IconDrawSpecification" }, "icons_positioning": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/IconSequencePositioning" } }, { "type": "object", "additionalProperties": false } ] }, "max_health": { "$ref": "#/definitions/float" }, "healing_per_tick": { "$ref": "#/definitions/float" }, "repair_speed_modifier": { "$ref": "#/definitions/float" }, "dying_explosion": { "anyOf": [ { "$ref": "#/definitions/ExplosionDefinition" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/ExplosionDefinition" } }, { "type": "object", "additionalProperties": false } ] } ] }, "dying_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "damaged_trigger_effect": { "$ref": "#/definitions/TriggerEffect" }, "loot": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/LootItem" } }, { "type": "object", "additionalProperties": false } ] }, "resistances": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/Resistance" } }, { "type": "object", "additionalProperties": false } ] }, "attack_reaction": { "anyOf": [ { "$ref": "#/definitions/AttackReactionItem" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/AttackReactionItem" } }, { "type": "object", "additionalProperties": false } ] } ] }, "repair_sound": { "$ref": "#/definitions/Sound" }, "alert_when_damaged": { "$ref": "#/definitions/bool" }, "hide_resistances": { "$ref": "#/definitions/bool" }, "create_ghost_on_death": { "$ref": "#/definitions/bool" }, "random_corpse_variation": { "$ref": "#/definitions/bool" }, "integration_patch_render_layer": { "$ref": "#/definitions/RenderLayer" }, "corpse": { "anyOf": [ { "$ref": "#/definitions/EntityID" }, { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/EntityID" } }, { "type": "object", "additionalProperties": false } ] } ] }, "integration_patch": { "$ref": "#/definitions/Sprite4Way" }, "overkill_fraction": { "$ref": "#/definitions/float" }, "is_military_target": { "$ref": "#/definitions/bool" }, "allow_run_time_change_of_is_military_target": { "$ref": "#/definitions/bool" }, "quality_indicator_scale": { "$ref": "#/definitions/double" }, "pictures": { "type": "object", "properties": { "single": { "$ref": "#/definitions/SpriteVariations" }, "straight_vertical": { "$ref": "#/definitions/SpriteVariations" }, "straight_horizontal": { "$ref": "#/definitions/SpriteVariations" }, "corner_right_down": { "$ref": "#/definitions/SpriteVariations" }, "corner_left_down": { "$ref": "#/definitions/SpriteVariations" }, "t_up": { "$ref": "#/definitions/SpriteVariations" }, "ending_right": { "$ref": "#/definitions/SpriteVariations" }, "ending_left": { "$ref": "#/definitions/SpriteVariations" }, "filling": { "$ref": "#/definitions/SpriteVariations" }, "water_connection_patch": { "$ref": "#/definitions/Sprite4Way" }, "gate_connection_patch": { "$ref": "#/definitions/Sprite4Way" } } }, "visual_merge_group": { "$ref": "#/definitions/uint32" }, "circuit_wire_max_distance": { "$ref": "#/definitions/double" }, "draw_copper_wires": { "$ref": "#/definitions/bool" }, "draw_circuit_wires": { "$ref": "#/definitions/bool" }, "circuit_connector": { "$ref": "#/definitions/CircuitConnectorDefinition" }, "default_output_signal": { "$ref": "#/definitions/SignalIDConnector" }, "wall_diode_green": { "$ref": "#/definitions/Sprite4Way" }, "wall_diode_red": { "$ref": "#/definitions/Sprite4Way" }, "wall_diode_green_light_top": { "$ref": "#/definitions/LightDefinition" }, "wall_diode_green_light_right": { "$ref": "#/definitions/LightDefinition" }, "wall_diode_green_light_bottom": { "$ref": "#/definitions/LightDefinition" }, "wall_diode_green_light_left": { "$ref": "#/definitions/LightDefinition" }, "wall_diode_red_light_top": { "$ref": "#/definitions/LightDefinition" }, "wall_diode_red_light_right": { "$ref": "#/definitions/LightDefinition" }, "wall_diode_red_light_bottom": { "$ref": "#/definitions/LightDefinition" }, "wall_diode_red_light_left": { "$ref": "#/definitions/LightDefinition" }, "connected_gate_visualization": { "$ref": "#/definitions/Sprite" } }, "required": [ "type", "name" ] } } }