16
Modding / Re: Misc modding questions that are too minor to warrant their own thread
« on: October 07, 2020, 05:27:18 PM »Oh, hey, that's a good idea! I thought that wouldn't work (it wouldn't if that's only computed once when the ship is created), but it should work, since it's not doing that.So i could make it so the player loses 10 seconds every time the system is used, but if the player fulfill some sort of objective i could do the .unmodify and recover the lost time right?
If you .umodify() it it'll give it back the peak time that was subtracted. So you actually wouldn't just do -10 every time - you'd want to keep track of how long and modify by the *total* time every time, if that makes sense.