[Genhis][2.0.11] Crash using roboport.charging_station_count_affected_by_quality (RoboportPrototype::RoboportPrototype)
Posted: Mon Oct 28, 2024 3:58 am
Greetings,
I have the following data stage excerpt from Factorssimo.
This mod crashes the game in data stage. Commenting out the line "roboport.charging_station_count_affected_by_quality" seems to remove the crash.
Log files and mod are attached.
I have the following data stage excerpt from Factorssimo.
Code: Select all
local roboport = table.deepcopy(data.raw["roboport"]["roboport"])
roboport.name = "factory-construction-roboport"
roboport.collision_box = {{-0.4, -0.4}, {0.4, 0.4}}
roboport.selection_box = {{-0.5, -0.5}, {0.5, 0.5}}
roboport.recharging_light.size = roboport.recharging_light.size / 2
roboport.charging_station_count_affected_by_quality = true
roboport.logistics_radius = 4
roboport.radar_range = 0
downscale(roboport.base)
downscale(roboport.base_patch)
downscale(roboport.frozen_patch)
downscale(roboport.base_animation)
downscale(roboport.door_animation_up)
downscale(roboport.door_animation_down)
downscale(roboport.recharging_animation)
vector_downscale(roboport.charging_station_shift)
vector_downscale(roboport.stationing_offset)
vector_downscale(roboport.charging_offsets)
data:extend{roboport}
Log files and mod are attached.