Sasabmeg / FOnline-BraveNewWorld

FOClassic and PReloaded project, mostly for fodev.net tutorials or module code shares.
https://fodev.net/forum/index.php/topic,30344.0.html
GNU General Public License v3.0
11 stars 4 forks source link

[IMPROVEMENT] Add extra space or variables to Drug Effect Timers / Timeouts. #70

Closed Sasabmeg closed 9 months ago

Sasabmeg commented 9 months ago

Currently there is only a set number of timers that can be used to track drug effects. These are defined from 230 to 255 in _defines.fos, so there are 26 total, but most of them are hard coded to engine or used. There is barely any for new drug effects that can be tracked. Drug effects currently still can be applied, but the timers won't show, because of this.

My solution would be, to

Sasabmeg commented 9 months ago

Turns out this was easier than expected, the backing logic was already done. Now custom timers can be used, code changes are https://github.com/Sasabmeg/FOnline-BraveNewWorld/commit/3c2dc2c53f55f67b680c22dd06c49661a7d1c294