mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-12-11 21:21:45 +00:00
42ac64d964
- Fixed: Gravity application was not correct. For actors with no vertical momentum the initial pull is supposed to be twice as strong as when vertical movement already takes place. - added invquery CCMD like in Strife. Also removed all underscores from the tag strings so that they can be printed properly. - Fixed: Skill baby was missing 'autousehealth' for all games. - Added a new CVAR: sv_disableautohealth - Autouse of health items is no longer hardwired to the default item classes. There's a new property HealthPickup.Autouse. 0 means no autouse, 1 a small Raven health item, 2 a large Raven health item and 3 a Strife item. SVN r1452 (trunk)
93 lines
1.5 KiB
Text
93 lines
1.5 KiB
Text
|
|
// Coin ---------------------------------------------------------------------
|
|
|
|
ACTOR Coin : Inventory 93 native
|
|
{
|
|
Game Strife
|
|
ConversationID 168, 161, 165
|
|
+DROPPED
|
|
+NOTDMATCH
|
|
+FLOORCLIP
|
|
Inventory.MaxAmount 0x7fffffff
|
|
+INVENTORY.INVBAR
|
|
Tag "coin"
|
|
Inventory.Icon "I_COIN"
|
|
Inventory.PickupMessage "$TXT_COIN"
|
|
States
|
|
{
|
|
Spawn:
|
|
COIN A -1
|
|
Stop
|
|
}
|
|
}
|
|
|
|
|
|
// 10 Gold ------------------------------------------------------------------
|
|
|
|
ACTOR Gold10 : Coin 138
|
|
{
|
|
Game Strife
|
|
ConversationID 169, 162, 166
|
|
Inventory.Amount 10
|
|
Tag "10 gold"
|
|
Inventory.PickupMessage "$TXT_10GOLD"
|
|
States
|
|
{
|
|
Spawn:
|
|
CRED A -1
|
|
Stop
|
|
}
|
|
}
|
|
|
|
// 25 Gold ------------------------------------------------------------------
|
|
|
|
ACTOR Gold25 : Coin 139
|
|
{
|
|
Game Strife
|
|
ConversationID 170, 163, 167
|
|
Inventory.Amount 25
|
|
Tag "25 gold"
|
|
Inventory.PickupMessage "$TXT_25GOLD"
|
|
States
|
|
{
|
|
Spawn:
|
|
SACK A -1
|
|
Stop
|
|
}
|
|
}
|
|
|
|
// 50 Gold ------------------------------------------------------------------
|
|
|
|
ACTOR Gold50 : Coin 140
|
|
{
|
|
Game Strife
|
|
ConversationID 171, 164, 168
|
|
Inventory.Amount 50
|
|
Tag "50 gold"
|
|
Inventory.PickupMessage "$TXT_50GOLD"
|
|
States
|
|
{
|
|
Spawn:
|
|
CHST A -1
|
|
Stop
|
|
}
|
|
}
|
|
|
|
// 300 Gold ------------------------------------------------------------------
|
|
|
|
ACTOR Gold300 : Coin
|
|
{
|
|
ConversationID 172, -1, -1
|
|
Inventory.Amount 300
|
|
Tag "300 gold"
|
|
Inventory.PickupMessage "$TXT_300GOLD"
|
|
Inventory.GiveQuest 3
|
|
+INVENTORY.ALWAYSPICKUP
|
|
States
|
|
{
|
|
Spawn:
|
|
TOKN A -1
|
|
Stop
|
|
}
|
|
}
|
|
|