mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-12-11 05:01:09 +00:00
550d687bcf
didn't work properly. It has to be done in the cheat code, not in APlayerPawn::AddInventory. - Fixed: The medikit and stimpack used a MaxAmount of 100 so that stamina upgrades were ineffective. SVN r214 (trunk)
51 lines
865 B
Text
51 lines
865 B
Text
// Health bonus -------------------------------------------------------------
|
|
|
|
ACTOR HealthBonus : Health 2014
|
|
{
|
|
Game Doom
|
|
SpawnID 152
|
|
+COUNTITEM
|
|
+INVENTORY.ALWAYSPICKUP
|
|
Inventory.Amount 1
|
|
Inventory.MaxAmount 200
|
|
Inventory.PickupMessage "$GOTHTHBONUS"
|
|
States
|
|
{
|
|
Spawn:
|
|
BON1 ABCDCB 6
|
|
Loop
|
|
}
|
|
}
|
|
|
|
// Stimpack -----------------------------------------------------------------
|
|
|
|
ACTOR Stimpack : Health 2011
|
|
{
|
|
Game Doom
|
|
SpawnID 23
|
|
Inventory.Amount 10
|
|
Inventory.PickupMessage "$GOTSTIM"
|
|
States
|
|
{
|
|
Spawn:
|
|
STIM A -1
|
|
Stop
|
|
}
|
|
}
|
|
|
|
// Medikit -----------------------------------------------------------------
|
|
|
|
ACTOR Medikit : Health 2012
|
|
{
|
|
Game Doom
|
|
SpawnID 24
|
|
Inventory.Amount 25
|
|
Inventory.PickupMessage "$GOTMEDIKIT"
|
|
Health.LowMessage 25, "$GOTMEDINEED"
|
|
States
|
|
{
|
|
Spawn:
|
|
MEDI A -1
|
|
Stop
|
|
}
|
|
}
|