How can I unlink these two forks from ModMash Splinter so that I no longer depend on the given library?
Posted: Fri Dec 27, 2024 6:47 am
Please help!
I have one urgent problem with two forks.
ModMash Splinter, Explosive Water https://mods.factorio.com/mod/modmashsp ... osivewater
ModMash Splinter, Boom https://mods.factorio.com/mod/modmashsplinterboom I updated it, but have not posted it on the portal yet.
The problem is that both forks have a dependency on the ModMash Splinter library https://mods.factorio.com/mod/modmashsplinter
Specifically, the dependency is written in the defines.lua file. Here is the code from this file:
The problem is that the developer of this library abandoned his mods and does not update them.
Creating a fork of ModMash Splinter is problematic for me, because I do not understand anything there. Locally with the above mentioned mods ModMash Splinter works if you update the version of Factorio in info.json
Please tell me - how can I untie these two forks from ModMash Splinter, so as not to depend on the given library anymore?
Thanks!
I have one urgent problem with two forks.
ModMash Splinter, Explosive Water https://mods.factorio.com/mod/modmashsp ... osivewater
ModMash Splinter, Boom https://mods.factorio.com/mod/modmashsplinterboom I updated it, but have not posted it on the portal yet.
The problem is that both forks have a dependency on the ModMash Splinter library https://mods.factorio.com/mod/modmashsplinter
Specifically, the dependency is written in the defines.lua file. Here is the code from this file:
Code: Select all
if not modmashsplinterexplosivemining then modmashsplinterexplosivemining = {} end
if modmashsplinterexplosivemining.util == nil then
if remote ~= nil then
require '__modmashsplinter__/prototypes/scripts/util'
modmashsplinterexplosivemining.util = get_modmashsplinterlib()
else
modmashsplinterexplosivemining.util = get_modmashsplinterlib()
end
end
Creating a fork of ModMash Splinter is problematic for me, because I do not understand anything there. Locally with the above mentioned mods ModMash Splinter works if you update the version of Factorio in info.json
Please tell me - how can I untie these two forks from ModMash Splinter, so as not to depend on the given library anymore?
Thanks!