1
0
mirror of https://github.com/teoxoy/factorio-blueprint-editor.git synced 2025-11-25 22:22:05 +02:00

fixed beacon and roboport radiuses

This commit is contained in:
Teoxoy
2018-03-30 14:19:58 +02:00
parent be89fe02e9
commit d01524b7b9
2 changed files with 8 additions and 3 deletions

View File

@@ -280,6 +280,11 @@ function add_to_shift(shift, tab) {
return tab
}
// Fix inconsistent radiuses
entities['beacon'].supply_area_distance += 1
entities['roboport'].construction_radius += 4
entities['roboport'].logistics_radius += 4
console.log('Entities: ' + Object.keys(entities).length)
fse.writeFileSync(outDir + 'entityBundle.json', JSON.stringify(entities, null, 2).replace(/"((__base__|__core__)\/.+?)"/g, function(match, capture) {
return '"entity:' + nameMapping(capture) + '"'