Open dan-oak opened 2 years ago
I will certainly fix it when I find some spare time. Thank you for reporting it!
Did you find a way to reliably check building dimensions?
yeah, i have found it
var bdef = door.building.Def;
var wid = bdef.WidthInCells;
var hei = bdef.HeightInCells;
just divide by 2 and the rest is the same
the icon offset is hardcoded https://github.com/EtiamNullam/Etiam-ONI-Modpack/blob/master/src/DoorIcons/IconManager.cs#L46 and so it doesn't draw nicely for tiny (half) doors form other mods. could you please make the mod create icons at positions dynamically determined?