Project Zomboid

Project Zomboid

[B41] More Simple Traits (MST)
此主题已被锁定
GuiriGuy 2022 年 11 月 16 日 下午 3:16
Incompatibilty
Hi there! I'm the modder of Fitness Is A Lifestyle, and doing a play run I added your mod, but realized that it directly modifies the ISFitnessAction:exeLooped().

So I was looking into maybe 2 things, add on my side a compatibility to even adapt your given xp based on the traits, to play along mine at the same time to comply with yours and not make mine useless hahaha.

The other idea to make it compatible with mine and any other... Do you think if you make a request to the Timed action instead of directly modifying it would make both of them work?

like so:
require "TimedAction/ISFitnessAction"

local default_exeLooped = ISFitnessAction.exeLooped

function ISFitnessAction:exeLooped()
//code here
default_exeLooped(self)
end