-
Notifications
You must be signed in to change notification settings - Fork 243
Description
Describe the Bug
Quoting my discord report:
Cleaning the blueprints of the default value
UnitBlueprint.Physics.BuildOnLayerCaps = { LAYER_Land = true }
broke the mod Jagged's infrastructure pack which added amphibious SMD by doing a blueprint mergeUnitBlueprint.Physics.BuildOnLayerCaps = { LAYER_Water = true }
, which when merged into the empty table just makes the SMD only buildable on water.
I think Format and cleanup all unit blueprint files #6271 - Clean up the BuildOnLayerCaps fields 2a6c6b7 should be reverted andBuildOnLayerCaps
should only be removed for mobile units, and land structures can keepLAYER_Land = true
as the default, with the rest of thefalse
layers removed.
Reproduce the bug
Mods WaterLag (by Balthazar in BrewLAN gameplay mods) and WaterWorld (by finesse) don't work as they directly access the BuildOnLayerCaps
table through ModBlueprints, and they always expect that table to be there.
Jagged's infrastructure pack doesn't work because of the merge blueprint trick it is doing.
Screenshots
No response
Additional context
No response