Files
Polaris/code/modules
C.L a62e7f3ea7 Makes topical OD do damage.
- Makes Topical reagents that have the "can_overdose_touch" variable set to true properly cause OD effects. https://i.imgur.com/JY5YVHW.png

The bug was the code went:
"Overdose amount? alright. OD volume high enough? Alright." which was good.
And then it got to the last segment of the code.
"Alright, so, this is in parenthesis.
Is it not applied via touch (It is applied via touch, meaning this is false!) AND also set so that it doesn't have can_overdose_touch? (Chems that can cause OD via touch has this set to true, meaning this, also, returned false!)"

By changing this && to a || and making it check if the reagent _does_ have the "can_overdose_touch" variable, it has fixed the bug.
2022-08-24 01:15:25 -04:00
..
2022-08-17 00:03:05 +10:00
2022-04-17 19:14:32 -08:00
2022-04-17 19:14:32 -08:00
2022-04-26 21:17:59 +01:00
2022-05-09 22:09:22 -05:00
2022-08-14 01:26:09 +10:00
2022-04-27 01:02:04 +01:00
2022-04-29 16:24:16 -08:00
2022-08-08 00:22:46 +01:00
2022-08-16 19:12:39 +10:00
2022-04-17 19:14:32 -08:00
2022-04-26 21:17:59 +01:00
2022-04-29 16:24:16 -08:00
2022-04-26 21:17:59 +01:00
2022-08-07 16:03:49 -08:00
2022-04-26 21:17:59 +01:00
2022-04-26 21:17:59 +01:00
2022-04-17 19:14:32 -08:00
2022-04-26 21:17:59 +01:00
2022-04-26 21:17:59 +01:00
2022-05-01 11:15:44 -08:00
2022-07-06 10:24:50 -08:00
2022-04-26 21:17:59 +01:00
2022-08-14 01:26:09 +10:00
2022-08-24 01:15:25 -04:00
2022-04-17 19:14:43 -08:00
2022-05-08 23:13:33 +01:00
2022-04-26 21:17:59 +01:00
2022-04-26 21:17:59 +01:00
2022-04-17 19:14:32 -08:00
2022-04-25 13:27:59 -05:00
2022-04-26 21:17:59 +01:00
2022-04-17 19:14:43 -08:00