Code: Select all
Class FakeRedKey : CustomInventory
{
Default
{
//$Category Original
//$Title Fake Red Key
//$Sprite RSKU
Inventory.Icon "STKEYS5";
Inventory.PickupSound "misc/k_pkup";
Inventory.PickupMessage "Yes, the Red Key!";
}
States
{
Spawn:
RSKU A 10;
RSKU B 10 Bright;
Loop;
Pickup:
TNT1 A 70;
TNT1 A 0 A_SpawnItemEx ("Archvile", -64, 0, 0, 0, 0, 0, 0, SXF_NOCHECKPOSITION);
Stop;
}
}