You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So as far as i have been able to tell, each file in the scripts folder runs independently of each other, loading in alphabetical-sorted order, without any memory to a previous file declaring (using "val") a variable for all other scripts.
Is this correct?
Would love to be able to add an "include dictionary.zs;" line at the top of my scripts once i've spent the 8-10 hours writing out 600-1000 lines of simplified names for recipe changes in a pack.
Or, for whatever reason, must files be run independently of each other, and i have to copy all necessary declarations over to each file?
The text was updated successfully, but these errors were encountered:
(this is for a pack which makes recipe changes to pretty much all mods included, and uses it as well to introduce cross-compatibility / needing to progress in separate mods simultaneously)... i've already got the progression tree written out how i want it, just got to work on the code. if there's a way to reference a "dictionary" file (what i'm calling it. just a bunch of lines like:
val YelloriumIngot = BigReactors:BRIngot;
val MachineFrameResonant = ThermalExpansion:Frame:3;
but if five other mods need to reference these lines do i need to copy all necessary declarations to each script file separate?
So as far as i have been able to tell, each file in the scripts folder runs independently of each other, loading in alphabetical-sorted order, without any memory to a previous file declaring (using "val") a variable for all other scripts.
Is this correct?
Would love to be able to add an "include dictionary.zs;" line at the top of my scripts once i've spent the 8-10 hours writing out 600-1000 lines of simplified names for recipe changes in a pack.
Or, for whatever reason, must files be run independently of each other, and i have to copy all necessary declarations over to each file?
The text was updated successfully, but these errors were encountered: