mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-16 01:11:50 +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)
49 lines
812 B
Text
49 lines
812 B
Text
|
|
ACTOR MetalArmor : BasicArmorPickup 2019
|
|
{
|
|
Game Strife
|
|
SpawnID 69
|
|
ConversationID 129, 125, 128
|
|
Radius 20
|
|
Height 16
|
|
+FLOORCLIP
|
|
+INVENTORY.AUTOACTIVATE
|
|
+INVENTORY.INVBAR
|
|
Inventory.MaxAmount 3
|
|
Inventory.Icon "I_ARM1"
|
|
Inventory.PickupMessage "$TXT_METALARMOR"
|
|
Armor.SaveAmount 200
|
|
Armor.SavePercent 50
|
|
Tag "Metal_Armor"
|
|
States
|
|
{
|
|
Spawn:
|
|
ARM3 A -1
|
|
Stop
|
|
}
|
|
}
|
|
|
|
ACTOR LeatherArmor : BasicArmorPickup 2018
|
|
{
|
|
Game Strife
|
|
SpawnID 68
|
|
ConversationID 130, 126, 129
|
|
Radius 20
|
|
Height 16
|
|
+FLOORCLIP
|
|
+INVENTORY.AUTOACTIVATE
|
|
+INVENTORY.INVBAR
|
|
Inventory.MaxAmount 5
|
|
Inventory.Icon "I_ARM2"
|
|
Inventory.PickupMessage "$TXT_LEATHERARMOR"
|
|
Armor.SaveAmount 100
|
|
Armor.SavePercent 33.335
|
|
Tag "Leather_Armor"
|
|
States
|
|
{
|
|
Spawn:
|
|
ARM4 A -1
|
|
Stop
|
|
}
|
|
}
|
|
|