-
|
I didn't find the source code for this file. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
|
The source code for The mods you want to work with have to be copied over into the source folder of wherever Draftsman was installed; it doesn't seek out a mod folder in the filesystem. (See this section for more information.) Draftsman has it's own separate mod folder called I suppose Draftsman could search for a mods folder, though that sounds like a nightmare to test, in addition to the system-specific differences in installation structure. Keeping it as a separate folder also ensures a degree of separation from the mods you are playing Factorio with and ones you're developing with; if you download someone else's script that expects a certain set of mods, do you really want to install those mods into your main game just for a single script? |
Beta Was this translation helpful? Give feedback.
The source code for
draftsman-updateit can be found in theupdate()function in thedraftsman.envmodule here.The mods you want to work with have to be copied over into the source folder of wherever Draftsman was installed; it doesn't seek out a mod folder in the filesystem. (See this section for more information.) Draftsman has it's own separate mod folder called
factorio-mods; find where Draftsman was installed, copy the mods that you want it to run with to that folder, and then rundraftsman-updateto update the data with the newly added mods.I suppose Draftsman could search for a mods folder, though that sounds like a nightmare to test, in addition to the system-specific difference…