mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-12-12 05:32:03 +00:00
081658d3d5
which caused roundoff errors that made it less than 1/3 effective. - Added support for "RRGGBB" strings to V_GetColor. - Fixed: Desaturation maps for the TEXTURES lump were calculated incorrectly. - Changed GetSpriteIndex to cache the last used sprite name so that the code using this function doesn't have to do it itself. - Moved some more code for the state parser into p_states.cpp. - Fixed: TDeletingArray should not try to delete NULL pointers. SVN r1312 (trunk)
66 lines
1.1 KiB
Text
66 lines
1.1 KiB
Text
|
|
// Armor bonus --------------------------------------------------------------
|
|
|
|
Actor ArmorBonus : BasicArmorBonus 2015
|
|
{
|
|
Game Doom
|
|
SpawnID 22
|
|
Radius 20
|
|
Height 16
|
|
Inventory.Pickupmessage "$GOTARMBONUS"
|
|
Inventory.Icon "ARM1A0"
|
|
Armor.Savepercent 33.33333
|
|
Armor.Saveamount 1
|
|
Armor.Maxsaveamount 200
|
|
+COUNTITEM
|
|
+INVENTORY.ALWAYSPICKUP
|
|
States
|
|
{
|
|
Spawn:
|
|
BON2 ABCDCB 6
|
|
loop
|
|
}
|
|
}
|
|
|
|
// Green armor --------------------------------------------------------------
|
|
|
|
Actor GreenArmor : BasicArmorPickup 2018
|
|
{
|
|
Game Doom
|
|
SpawnID 68
|
|
Radius 20
|
|
Height 16
|
|
Inventory.Pickupmessage "$GOTARMOR"
|
|
Inventory.Icon "ARM1A0"
|
|
Armor.SavePercent 33.335
|
|
Armor.SaveAmount 100
|
|
States
|
|
{
|
|
Spawn:
|
|
ARM1 A 6
|
|
ARM1 B 7 bright
|
|
loop
|
|
}
|
|
}
|
|
|
|
// Blue armor ---------------------------------------------------------------
|
|
|
|
Actor BlueArmor : BasicArmorPickup 2019
|
|
{
|
|
Game Doom
|
|
SpawnID 69
|
|
Radius 20
|
|
Height 16
|
|
Inventory.Pickupmessage "$GOTMEGA"
|
|
Inventory.Icon "ARM2A0"
|
|
Armor.Savepercent 50
|
|
Armor.Saveamount 200
|
|
States
|
|
{
|
|
Spawn:
|
|
ARM2 A 6
|
|
ARM2 B 6 bright
|
|
loop
|
|
}
|
|
}
|
|
|