149 lines
5.9 KiB
Lua
149 lines
5.9 KiB
Lua
|
return function(Baseless)
|
||
|
Baseless.Data = {}
|
||
|
|
||
|
Baseless.Data.array = {}
|
||
|
Baseless.Data.bool = false
|
||
|
Baseless.Data.double = 0.0
|
||
|
Baseless.Data.float = 0.0
|
||
|
Baseless.Data.int16 = 0
|
||
|
Baseless.Data.uint16 = 0
|
||
|
Baseless.Data.uint32 = 0
|
||
|
Baseless.Data.uint8 = 0
|
||
|
|
||
|
Baseless.Data.Cyclic = true
|
||
|
Baseless.Data.DirectionCount = Baseless.Data.uint32 + 1
|
||
|
Baseless.Data.double_positive = Baseless.Data.double + 1
|
||
|
Baseless.Data.float_positive = Baseless.Data.float + 1
|
||
|
Baseless.Data.ItemCountType = Baseless.Data.uint32
|
||
|
Baseless.Data.ItemStackIndex = Baseless.Data.uint16
|
||
|
Baseless.Data.MinDamageInterval = Baseless.Data.uint32 + 1
|
||
|
Baseless.Data.MinItemCount = Baseless.Data.ItemCountType + 1
|
||
|
Baseless.Data.MinItemCount = Baseless.Data.uint32 + 1
|
||
|
Baseless.Data.MinItemStack = Baseless.Data.ItemStackIndex + 1
|
||
|
Baseless.Data.MinSpriteSize = Baseless.Data.int16 + 1
|
||
|
Baseless.Data.uint32_positive = Baseless.Data.uint32 + 1
|
||
|
|
||
|
Baseless.Data.BoilerFire = {}
|
||
|
Baseless.Data.BoilerFireGlow = {}
|
||
|
Baseless.Data.BoundingBox = {{-1, -1}, {1, 1}}
|
||
|
Baseless.Data.CollisionMask = {}
|
||
|
Baseless.Data.Color = {}
|
||
|
Baseless.Data.DaytimeColorLookupTable = {{Baseless.Data.double, "identity"}}
|
||
|
Baseless.Data.Effect = {}
|
||
|
Baseless.Data.Energy = "1W"
|
||
|
Baseless.Data.FluidBox = {pipe_connections = {}}
|
||
|
Baseless.Data.ModuleSpecification = {}
|
||
|
Baseless.Data.NonzeroVector = {1, 1}
|
||
|
Baseless.Data.RealOrientation = Baseless.Data.float
|
||
|
Baseless.Data.SelectionMode = "nothing"
|
||
|
Baseless.Data.SelectionType = "not-allowed"
|
||
|
Baseless.Data.SpeechBubbleStyle = "compilatron_speech_bubble"
|
||
|
Baseless.Data.Vector = {0, 0}
|
||
|
Baseless.Data.Vector_negative = {-1, -1}
|
||
|
Baseless.Data.Vector_positive = {1, 1}
|
||
|
Baseless.Data.WirePosition = {}
|
||
|
|
||
|
Baseless.Data.AmmoCategory = "baseless-ammo-category"
|
||
|
Baseless.Data.CurvedRailEntity = "baseless-curved-rail"
|
||
|
Baseless.Data.DamageType = "baseless-damage-type"
|
||
|
Baseless.Data.EquipmentType = "baseless-equipment-category"
|
||
|
Baseless.Data.Fluid = "baseless-fluid"
|
||
|
Baseless.Data.FuelType = "baseless-fuel-category"
|
||
|
Baseless.Data.Gun = "baseless-gun"
|
||
|
Baseless.Data.ItemGroup = "baseless-item-group"
|
||
|
Baseless.Data.ItemSubGroup = "baseless-item-subgroup"
|
||
|
Baseless.Data.ModuleCategory = "baseless-module-category"
|
||
|
Baseless.Data.Particle = "baseless-optimized-particle"
|
||
|
Baseless.Data.RailPlanner = "baseless-rail-planner"
|
||
|
Baseless.Data.RecipeCategory = "baseless-recipe-category"
|
||
|
Baseless.Data.ResourceType = "baseless-resource-category"
|
||
|
Baseless.Data.RocketEntity = "baseless-rocket-silo-rocket"
|
||
|
Baseless.Data.SpiderLeg = "baseless-spider-leg"
|
||
|
Baseless.Data.StraightRailEntity = "baseless-straight-rail"
|
||
|
Baseless.Data.UnitEntity = "baseless-unit"
|
||
|
|
||
|
Baseless.Data.AmmoType = {category = Baseless.Data.AmmoCategory}
|
||
|
Baseless.Data.ElectricUsagePriority = "tertiary"
|
||
|
Baseless.Data.ElectricEnergySource = {usage_priority = Baseless.Data.ElectricUsagePriority}
|
||
|
Baseless.Data.BurnerEnergySource = {
|
||
|
type = "burner",
|
||
|
fuel_inventory_size = Baseless.Data.ItemStackIndex,
|
||
|
fuel_category = Baseless.Data.FuelType,
|
||
|
}
|
||
|
Baseless.Data.VoidEnergySource = {type = "void"}
|
||
|
Baseless.Data.WireConnectionPoint = {
|
||
|
wire = Baseless.Data.WirePosition,
|
||
|
shadow = Baseless.Data.WirePosition,
|
||
|
}
|
||
|
Baseless.Data.BeamAttackParameters = {
|
||
|
type = "beam",
|
||
|
range = Baseless.Data.float,
|
||
|
cooldown = Baseless.Data.float,
|
||
|
ammo_type = Baseless.Data.AmmoType,
|
||
|
}
|
||
|
Baseless.Data.StreamAttackParameters = {
|
||
|
type = "stream",
|
||
|
range = Baseless.Data.float,
|
||
|
cooldown = Baseless.Data.float,
|
||
|
ammo_type = Baseless.Data.AmmoType,
|
||
|
}
|
||
|
Baseless.Data.DamagePrototype = {amount = Baseless.Data.float, type = Baseless.Data.DamageType}
|
||
|
Baseless.Data.HeatBuffer = {
|
||
|
max_temperature = 15, -- minimum 15
|
||
|
specific_heat = Baseless.Data.Energy,
|
||
|
max_transfer = Baseless.Data.Energy,
|
||
|
}
|
||
|
Baseless.Data.MinableProperties = {mining_time = Baseless.Data.double_positive}
|
||
|
Baseless.Data.SpawnPoint = {
|
||
|
evolution_factor = Baseless.Data.double,
|
||
|
spawn_weight = Baseless.Data.double,
|
||
|
}
|
||
|
|
||
|
Baseless.Data.BeltTileHeight = 1 -- must be 1
|
||
|
Baseless.Data.BeltTileWidth = 1 -- must be 1
|
||
|
Baseless.Data.fwd2bwd_ratio = 2 -- minimum 2
|
||
|
Baseless.Data.LoaderTileHeight = 2 -- must be 2
|
||
|
Baseless.Data.MaxLogisticSlots = 1 -- maximum 1
|
||
|
Baseless.Data.SplitterTileWidth = 2 -- must be 2
|
||
|
|
||
|
Baseless.Data.ThrowCapsuleAction = {
|
||
|
type = "throw",
|
||
|
attack_parameters = Baseless.Data.BeamAttackParameters,
|
||
|
}
|
||
|
Baseless.Data.CombinatorOffsets = {
|
||
|
Baseless.Data.Vector, Baseless.Data.Vector, Baseless.Data.Vector, Baseless.Data.Vector,
|
||
|
}
|
||
|
Baseless.Data.CombinatorConnectionPoints = {
|
||
|
Baseless.Data.WireConnectionPoint, Baseless.Data.WireConnectionPoint,
|
||
|
Baseless.Data.WireConnectionPoint, Baseless.Data.WireConnectionPoint,
|
||
|
}
|
||
|
Baseless.Data.RollingStockCollisionBox = {{-0.1, -2}, {0.1, 2}}
|
||
|
Baseless.Data.ElectricPoleConnectionPoints = {Baseless.Data.WireConnectionPoint}
|
||
|
Baseless.Data.RailChainSignalBoxOffsets = {
|
||
|
Baseless.Data.Vector, Baseless.Data.Vector, Baseless.Data.Vector, Baseless.Data.Vector,
|
||
|
Baseless.Data.Vector, Baseless.Data.Vector, Baseless.Data.Vector, Baseless.Data.Vector,
|
||
|
}
|
||
|
Baseless.Data.ResourceStageCounts = {Baseless.Data.uint32}
|
||
|
Baseless.Data.SpiderLegSpecification = {
|
||
|
leg = Baseless.Data.SpiderLeg,
|
||
|
mount_position = Baseless.Data.Vector,
|
||
|
ground_position = Baseless.Data.Vector,
|
||
|
blocking_legs = Baseless.Data.array,
|
||
|
}
|
||
|
Baseless.Data.SpiderEnginePrototype = {legs = Baseless.Data.SpiderLegSpecification}
|
||
|
Baseless.Data.UnitSpawnDefinition = {
|
||
|
unit = Baseless.Data.UnitEntity,
|
||
|
spawn_points = {Baseless.Data.SpawnPoint},
|
||
|
}
|
||
|
Baseless.Data.EquipmentShape = {
|
||
|
width = Baseless.Data.uint32,
|
||
|
height = Baseless.Data.uint32,
|
||
|
type = "full",
|
||
|
}
|
||
|
Baseless.Data.RailPlaceableBy = {
|
||
|
item = Baseless.Data.RailPlanner,
|
||
|
count = Baseless.Data.uint32_positive,
|
||
|
}
|
||
|
Baseless.Data.InserterCollisionBox = {{-0.1, -0.1}, {0.1, 0.1}}
|
||
|
end
|