Closed Xymanek closed 2 years ago
This is also sort of interesting for the make commandlets, which will load configs from other mods in the Mods directory, which will cause it to mess up script compilation order, dependencies and also fail to delete some scripts, necessitating the AddToClean
function. We might be able to just remove that function and make things Just Work.
Another use for make commandlets would be making mod assets reference-able in script by modifying [Core.System] Paths
. Currently, the script compiler can't see non-SDK packages:
local Object obj;
obj = Texture2D'CI_InventoryImages.Inv_Facility_Lead_Unlocked';
Warning, Unresolved reference to Texture2D 'CI_InventoryImages.Inv_Facility_Lead_Unlocked'
Another potential use is for opening the editor with the mod's content added to Paths
(as above) so that it shows up in the content browser right away (no need to open packages one by one) and stops complaining about references to external packages
https://discord.com/channels/165245941664710656/599593118169432075/874943488817504286