zscript-doc/api/global/type/DehInfo.md

51 lines
954 B
Markdown
Raw Normal View History

2019-04-10 06:12:18 -07:00
# DehInfo
2018-12-29 16:05:19 -08:00
Static DeHackEd information.
```
2019-04-10 06:12:18 -07:00
struct DehInfo
2018-12-29 16:05:19 -08:00
{
2019-04-10 06:12:18 -07:00
readonly int BfgCells;
2018-12-29 16:05:19 -08:00
readonly int BlueAC;
readonly double ExplosionAlpha;
readonly uint8 ExplosionStyle;
2019-04-07 03:11:50 -07:00
readonly int MaxHealth;
2018-12-29 16:05:19 -08:00
readonly int MaxSoulsphere;
readonly int NoAutofreeze;
}
```
2019-04-10 06:12:18 -07:00
- `BfgCells`
2018-12-29 16:05:19 -08:00
2019-04-10 06:12:18 -07:00
The amount of ammunition `A_FireBfg` will deplete. Default is 40.
2018-12-29 16:05:19 -08:00
- `BlueAC`
Multiple of 100 for `BlueArmor`'s `Armor.SaveAmount`. Default is 2 for 200
armor.
2018-12-29 16:05:19 -08:00
- `ExplosionAlpha`
For actors with the `DEHEXPLOSION` flag, the alpha to set the actor to on
explosion.
2018-12-29 16:05:19 -08:00
- `ExplosionStyle`
For actors with the `DEHEXPLOSION` flag, the render style to be applied on
explosion.
2018-12-29 16:05:19 -08:00
2019-04-07 03:11:50 -07:00
- `MaxHealth`
TODO
2018-12-29 16:05:19 -08:00
- `MaxSoulsphere`
The `Inventory.MaxAmount` for `Soulsphere`. Default is 200.
- `NoAutofreeze`
Overrides generic freezing deaths if not zero, making all actors act as if
they had the `NOICEDEATH` flag.
2018-12-29 16:05:19 -08:00
<!-- EOF -->