FutureProg functions
addpickuphazard
addpickuphazard overload 1
Effect addpickuphazard(Item item, Text hpDice, Text stunDice, Number immunityProg, Number minimumDispelGrade, Text echo)
Available in
- computer function
- computer program
- standard futureprog
Adds a saved one-shot HP/stun pickup hazard without ownership exemption. Existing spent markers remain spent. Scripted loading does not trigger it.
| Parameter | Type | Description |
|---|---|---|
item |
Item |
The item. |
hpDice |
Text |
HP damage dice, or 0. |
stunDice |
Text |
Stun dice, or 0. |
immunityProg |
Number |
Optional boolean(character,item) immunity prog ID; zero disables it. |
minimumDispelGrade |
Number |
Minimum grade for intrinsic dispelling. |
echo |
Text |
Text sent to the person triggering the hazard. |