Skip to content

Commit

Permalink
Scrap CustomEnv library
Browse files Browse the repository at this point in the history
This mod now requires mod loader PR 215. itb-community/ITB-ModLoader#215

There were some bugs that, in order to fix them, would require overriding the mod loader's altered Mission.ApplyEnvironmentEffect. This library would then need to include the mod loader's event dispatch code to not ruin it. At that point, it seems to make more sense to add the custom environment features directly to the mod loader, instead of adding layers upon layers of hacks. (Mod loader upon vanilla game, and this library upon the mod loader)
  • Loading branch information
Lemonymous committed Jul 2, 2023
1 parent 48bd95b commit 64d0c74
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 85 deletions.
2 changes: 1 addition & 1 deletion mods/custom_environment_weapon/scripts/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ local mod = {
}

function mod:init(options)
require(self.scriptPath.."libs/CustomEnv")
-- require(self.scriptPath.."libs/CustomEnv")
require(self.scriptPath.."env_weapon")
end

Expand Down
84 changes: 0 additions & 84 deletions mods/custom_environment_weapon/scripts/libs/CustomEnv.lua

This file was deleted.

0 comments on commit 64d0c74

Please sign in to comment.