bump some versions (use Kotest in Maven Local b/c plugin isn't available on Sonatype snapshot)

add tile width/height (added in new version of Factorio)
This commit is contained in:
Adam 2022-08-28 13:37:55 +02:00
parent b1fec349ae
commit 3821996eeb
10 changed files with 49 additions and 25 deletions

View file

@ -43,7 +43,9 @@ function getEntityPrototypes()
isEntityWithOwner = entity.is_entity_with_owner,
isMilitaryTarget = entity.is_military_target,
maxHealth = entity.max_health,
collisionBox = Converters.collisionBox(entity.collision_box)
collisionBox = Converters.collisionBox(entity.collision_box),
tileWidth = entity.tile_width,
tileHeight = entity.tile_height
}
local ____ = entity.infinite_resource
if entity.map_color ~= nil then

View file

@ -243,6 +243,8 @@ export namespace FactorioPrototype {
isMilitaryTarget?: boolean;
miningProperties?: EntityMiningProperties | null;
collisionBox?: MapBoundingBox | null;
tileWidth?: Int | null;
tileHeight?: Int | null;
}
export interface MapTile {

View file

@ -72,6 +72,9 @@ function getEntityPrototypes(): PrototypesByType<FactorioPrototype.Entity> {
isMilitaryTarget: entity.is_military_target,
maxHealth: entity.max_health,
collisionBox: Converters.collisionBox(entity.collision_box),
tileWidth: entity.tile_width,
tileHeight: entity.tile_height,
}
entity.infinite_resource