FutureProg functions
purgedrugdosages
Overload 1
purgedrugdosages overload 1
Boolean purgedrugdosages(Character character, Drug drug, Text family)
Available in
- computer function
- computer program
- standard futureprog
Removes only the selected drug and optional exact spell-origin family, including active/latent doses and linked poison effects. Other drugs/families remain untouched. Returns whether anything matched.
| Parameter | Type | Description |
|---|---|---|
character |
Character |
The physical recipient. |
drug |
Drug |
One explicitly selected native drug. |
family |
Text |
Exact spell-origin family, or empty text for all origins of this drug. |
Overload 2
purgedrugdosages overload 2
Boolean purgedrugdosages(Character character, Drug drug, Text family, Boolean includeAftereffects)
Available in
- computer function
- computer program
- standard futureprog
Removes only the selected drug and optional exact spell-origin family, including active/latent doses and linked poison effects. Other drugs/families remain untouched. Returns whether anything matched.
| Parameter | Type | Description |
|---|---|---|
character |
Character |
The physical recipient. |
drug |
Drug |
Selected native drug. |
family |
Text |
Exact origin family or empty text. |
includeAftereffects |
Boolean |
Also select independently timed consequences belonging to this drug/family. |