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:
parent
b1fec349ae
commit
3821996eeb
10 changed files with 49 additions and 25 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -243,6 +243,8 @@ export namespace FactorioPrototype {
|
|||
isMilitaryTarget?: boolean;
|
||||
miningProperties?: EntityMiningProperties | null;
|
||||
collisionBox?: MapBoundingBox | null;
|
||||
tileWidth?: Int | null;
|
||||
tileHeight?: Int | null;
|
||||
}
|
||||
|
||||
export interface MapTile {
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue