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

51 lines
921 B
Markdown
Raw Permalink 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-08-14 03:32:51 -07:00
readonly int BfgCells;
readonly int BlueAC;
readonly double ExplosionAlpha;
readonly uint8 ExplosionStyle;
readonly int MaxHealth;
readonly int MaxSoulsphere;
readonly int NoAutofreeze;
2018-12-29 16:05:19 -08:00
}
```
2019-08-14 03:31:41 -07:00
### `BfgCells`
2018-12-29 16:05:19 -08:00
2019-08-14 03:31:41 -07:00
The amount of ammunition `A_FireBfg` will deplete. Default is 40.
2018-12-29 16:05:19 -08:00
2019-08-14 03:31:41 -07:00
### `BlueAC`
2018-12-29 16:05:19 -08:00
2019-08-14 03:31:41 -07:00
Multiple of 100 for `BlueArmor`'s `Armor.SaveAmount`. Default is 2 for 200
armor.
2018-12-29 16:05:19 -08:00
2019-08-14 03:31:41 -07:00
### `ExplosionAlpha`
2018-12-29 16:05:19 -08:00
2019-08-14 03:31:41 -07:00
For actors with the `DEHEXPLOSION` flag, the alpha to set the actor to on
explosion.
2018-12-29 16:05:19 -08:00
2019-08-14 03:31:41 -07:00
### `ExplosionStyle`
2018-12-29 16:05:19 -08:00
2019-08-14 03:31:41 -07:00
For actors with the `DEHEXPLOSION` flag, the render style to be applied on
explosion.
2018-12-29 16:05:19 -08:00
2019-08-14 03:31:41 -07:00
### `MaxHealth`
2019-04-07 03:11:50 -07:00
2019-08-14 03:31:41 -07:00
TODO
2019-04-07 03:11:50 -07:00
2019-08-14 03:31:41 -07:00
### `MaxSoulsphere`
2018-12-29 16:05:19 -08:00
2019-08-14 03:31:41 -07:00
The `Inventory.MaxAmount` for `Soulsphere`. Default is 200.
2018-12-29 16:05:19 -08:00
2019-08-14 03:31:41 -07:00
### `NoAutofreeze`
2018-12-29 16:05:19 -08:00
2019-08-14 03:31:41 -07:00
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 -->