Mutagen-Modding / Mutagen

A .NET library for analyzing, creating, and manipulating Bethesda mods
GNU General Public License v3.0
124 stars 32 forks source link

Improvments for IPlaced objects #403

Open Michael-wigontherun opened 1 year ago

Michael-wigontherun commented 1 year ago

Add Base, Projectile, Hazard, ect to IPlaced generic. Would remove the need to check for type to change the BaseID.

Scale isn't used by everything but it does exist on all the reference types. Scale isn't fully necessary.

Michael-wigontherun commented 1 year ago

~~A Parrent Cell FormLink back to the containing Cell, inside the IPlaced. state.LoadOrder.PriorityOrder.Cell().WinningOverrides() only outputs the winning override of the last mod without all winning overrides of the objects throughout the load order. So filtering to get only objects from a specific cell takes a lot of extra time just to check using "context.TryGetParent()"~~

Noggog commented 1 year ago

The 2nd request is a duplicate of this card https://github.com/Mutagen-Modding/Mutagen/issues/217 Probably good to keep the requests separate so they can be discussed/handled separately.