
//    EDGE THINGS.DDF -redefine or add new thing entries.
//    For documentation, see http://edge.sourceforge.net/
//    DDF Version 5.0
//

<THINGS>

#VERSION 2.10

// ------------------------ Health Items ------------------------

[First_Aid:48]
RADIUS=20;
HEIGHT=20;
PICKUP_BENEFIT=HEALTH(25:100);
PICKUP_SOUND=ITEMUP;
PICKUP_MESSAGE=GotFirstAid;
SPECIAL=SPECIAL;

STATES(IDLE)=S025:A:-1:NORMAL:NOTHING;

[Good_Food:47]
RADIUS=20;
HEIGHT=20;
PICKUP_BENEFIT=HEALTH(10:100);
PICKUP_SOUND=ITEMUP;
PICKUP_MESSAGE=GotGoodFood;
SPECIAL=SPECIAL;

STATES(IDLE)=S024:A:-1:NORMAL:NOTHING;

[Dog_Food:29]
RADIUS=20;
HEIGHT=20;
PICKUP_BENEFIT=HEALTH(4:100);
PICKUP_SOUND=ITEMUP;
PICKUP_MESSAGE=GotDogFood;
SPECIAL=SPECIAL;

STATES(IDLE)=S006:A:-1:NORMAL:NOTHING;

[Extra_Life:56]
RADIUS=20;
HEIGHT=20;
PICKUP_BENEFIT=HEALTH(200:200); // FIXME
PICKUP_SOUND=ITEMUP;
PICKUP_MESSAGE=GotExtraLife;
SPECIAL=SPECIAL;

STATES(IDLE)=S033:A:-1:NORMAL:NOTHING;


// ------------------------ Keys ------------------------

[Gold_Key:43]
RADIUS=20;
HEIGHT=20;
PICKUP_BENEFIT=SILVER_KEY;
PICKUP_SOUND=ITEMUP;
PICKUP_MESSAGE=GotSilverKey;
SPECIAL=SPECIAL;

STATES(IDLE)=S020:A:-1:NORMAL:NOTHING;

[Silver_Key:44]
RADIUS=20;
HEIGHT=20;
PICKUP_BENEFIT=GOLD_KEY;
PICKUP_SOUND=ITEMUP;
PICKUP_MESSAGE=GotGoldKey;
SPECIAL=SPECIAL;

STATES(IDLE)=S021:A:-1:NORMAL:NOTHING;


// ---------------------- Weapons ------------------------

[Machine_Gun:50]
RADIUS=20;
HEIGHT=20;
PICKUP_BENEFIT=Machine_Gun,AMMO1(6);
PICKUP_SOUND=ITEMUP;
PICKUP_MESSAGE=GotMachineGun;
SPECIAL=SPECIAL;

STATES(IDLE)=S027:A:-1:NORMAL:NOTHING;

[Gatling_Gun:51]
RADIUS=20;
HEIGHT=20;
PICKUP_BENEFIT=Gatling_Gun,AMMO1(6);
PICKUP_SOUND=ITEMUP;
PICKUP_MESSAGE=GotGatlingGun;
SPECIAL=SPECIAL;

STATES(IDLE)=S028:A:-1:NORMAL:NOTHING;


// ------------------------ Ammo ------------------------

[Clip:49]
RADIUS=20;
HEIGHT=20;
PICKUP_BENEFIT=AMMO1(8);
PICKUP_SOUND=ITEMUP;
PICKUP_MESSAGE=GotClip;
SPECIAL=SPECIAL;

STATES(IDLE)=S026:A:-1:NORMAL:NOTHING;


// --------------------- Treasure ------------------------

[Cross:52]
RADIUS=20;
HEIGHT=20;
PICKUP_BENEFIT=AMMO2(100);
PICKUP_SOUND=ITEMUP;
PICKUP_MESSAGE=GotCross;
SPECIAL=SPECIAL;

STATES(IDLE)=S029:A:-1:NORMAL:NOTHING;

[Chalice:53]
RADIUS=20;
HEIGHT=20;
PICKUP_BENEFIT=AMMO2(500);
PICKUP_SOUND=ITEMUP;
PICKUP_MESSAGE=GotChalice;
SPECIAL=SPECIAL;

STATES(IDLE)=S030:A:-1:NORMAL:NOTHING;

[Chest:54]
RADIUS=20;
HEIGHT=20;
PICKUP_BENEFIT=AMMO2(1000);
PICKUP_SOUND=ITEMUP;
PICKUP_MESSAGE=GotChest;
SPECIAL=SPECIAL;

STATES(IDLE)=S031:A:-1:NORMAL:NOTHING;

[Crown:55]
RADIUS=20;
HEIGHT=20;
PICKUP_BENEFIT=AMMO2(5000);
PICKUP_SOUND=ITEMUP;
PICKUP_MESSAGE=GotCrown;
SPECIAL=SPECIAL;

STATES(IDLE)=S032:A:-1:NORMAL:NOTHING;


// --------------------- Scenery -------------------------

[Green_Barrel:24]
RADIUS=30;
HEIGHT=60;
SPECIAL=SOLID;

STATES(IDLE)=S001:A:-1:NORMAL:NOTHING;

[Table_Chairs:25]
RADIUS=30;
HEIGHT=60;
SPECIAL=SOLID;

STATES(IDLE)=S002:A:-1:NORMAL:NOTHING;


[Puddle:23]
RADIUS=30;
HEIGHT=10;

STATES(IDLE)=S000:A:-1:NORMAL:NOTHING;

[Floor_Lamp:26]
RADIUS=30;
HEIGHT=60;
SPECIAL=SOLID;

STATES(IDLE)=S003:A:-1:NORMAL:NOTHING;

[Chandelier:27]
RADIUS=30;
HEIGHT=60;
SPECIAL=ON_CEILING;

STATES(IDLE)=S004:A:-1:NORMAL:NOTHING;

[Hanged_Man:28]
RADIUS=30;
HEIGHT=60;
SPECIAL=SOLID;

STATES(IDLE)=S005:A:-1:NORMAL:NOTHING;

[Red_Pillar:30]
RADIUS=30;
HEIGHT=60;
SPECIAL=SOLID;

STATES(IDLE)=S007:A:-1:NORMAL:NOTHING;


[Tree:31]
RADIUS=30;
HEIGHT=60;
SPECIAL=SOLID;

STATES(IDLE)=S008:A:-1:NORMAL:NOTHING;

[Sink:33]
RADIUS=30;
HEIGHT=60;
SPECIAL=SOLID;

STATES(IDLE)=S010:A:-1:NORMAL:NOTHING;

[Plant:34]
RADIUS=30;
HEIGHT=60;
SPECIAL=SOLID;

STATES(IDLE)=S011:A:-1:NORMAL:NOTHING;

[Urn:35]
RADIUS=30;
HEIGHT=60;
SPECIAL=SOLID;

STATES(IDLE)=S012:A:-1:NORMAL:NOTHING;


[Bare_Table:36]
RADIUS=30;
HEIGHT=60;
SPECIAL=SOLID;

STATES(IDLE)=S013:A:-1:NORMAL:NOTHING;

[Ceil_Light:37]
RADIUS=30;
HEIGHT=60;
SPECIAL=ON_CEILING;

STATES(IDLE)=S014:A:-1:NORMAL:NOTHING;

[Skeleton_Flat:32]
RADIUS=30;
HEIGHT=10;

STATES(IDLE)=S009:A:-1:NORMAL:NOTHING;

[Kitchen_Stuff:38]
RADIUS=30;
HEIGHT=60;
SPECIAL=SOLID;

STATES(IDLE)=S015:A:-1:NORMAL:NOTHING;

[Suit_of_Armor:39]
RADIUS=30;
HEIGHT=60;
SPECIAL=SOLID;

STATES(IDLE)=S016:A:-1:NORMAL:NOTHING;

[Hanging_Cage:40]
RADIUS=30;
HEIGHT=60;
SPECIAL=SOLID;

STATES(IDLE)=S017:A:-1:NORMAL:NOTHING;


[Skeleton_in_Cage:41]
RADIUS=30;
HEIGHT=60;
SPECIAL=SOLID;

STATES(IDLE)=S018:A:-1:NORMAL:NOTHING;

[Skeleton_on_Floor:42]
RADIUS=30;
HEIGHT=20;

STATES(IDLE)=S019:A:-1:NORMAL:NOTHING;


[Bed:45]
RADIUS=30;
HEIGHT=60;
SPECIAL=SOLID;

STATES(IDLE)=S022:A:-1:NORMAL:NOTHING;

[Basket:46]
RADIUS=30;
HEIGHT=60;
SPECIAL=SOLID;

STATES(IDLE)=S023:A:-1:NORMAL:NOTHING;

[Barrel:58]
RADIUS=30;
HEIGHT=60;
SPECIAL=SOLID;

STATES(IDLE)=S035:A:-1:NORMAL:NOTHING;

[Gibs_1:57]
RADIUS=30;
HEIGHT=60;

STATES(IDLE)=S034:A:-1:NORMAL:NOTHING;

[Gibs_2:61]
RADIUS=30;
HEIGHT=60;

STATES(IDLE)=S038:A:-1:NORMAL:NOTHING;

[Flag:62]
RADIUS=30;
HEIGHT=60;
SPECIAL=SOLID;

STATES(IDLE)=S039:A:-1:NORMAL:NOTHING;


[Water_Well:59]
RADIUS=30;
HEIGHT=60;
SPECIAL=SOLID;

STATES(IDLE)=S036:A:-1:NORMAL:NOTHING;

[Empty_Well:60]
RADIUS=30;
HEIGHT=60;
SPECIAL=SOLID;

STATES(IDLE)=S037:A:-1:NORMAL:NOTHING;

[Aardwolf:63]
RADIUS=30;
HEIGHT=60;
SPECIAL=SOLID;

STATES(IDLE)=S040:A:-1:NORMAL:NOTHING;


[Junk_1:64]
RADIUS=30;
HEIGHT=10;

STATES(IDLE)=S041:A:-1:NORMAL:NOTHING;

[Junk_2:65]
RADIUS=30;
HEIGHT=10;

STATES(IDLE)=S042:A:-1:NORMAL:NOTHING;

[Junk_3:66]
RADIUS=30;
HEIGHT=10;

STATES(IDLE)=S043:A:-1:NORMAL:NOTHING;

[Pots:67]
RADIUS=30;
HEIGHT=60;

STATES(IDLE)=S044:A:-1:NORMAL:NOTHING;

[Stove:68]
RADIUS=30;
HEIGHT=60;
SPECIAL=SOLID;

STATES(IDLE)=S045:A:-1:NORMAL:NOTHING;

[Spears:69]
RADIUS=30;
HEIGHT=60;
SPECIAL=SOLID;

STATES(IDLE)=S046:A:-1:NORMAL:NOTHING;

[Vines:70]
RADIUS=30;
HEIGHT=60;

STATES(IDLE)=S047:A:-1:NORMAL:NOTHING;


[Dud_Clip:71]
RADIUS=20;
HEIGHT=20;

STATES(IDLE)=S026:A:-1:NORMAL:NOTHING;

[Dead_Guard:124]
RADIUS=30;
HEIGHT=60;

STATES(IDLE)=S093:A:-1:NORMAL:NOTHING;


// --------------------- Enemies -------------------------

[Dog:138]
SPAWNHEALTH=1;
RADIUS=28;
HEIGHT=60;
SPECIAL=COUNT_AS_KILL,SOLID,SHOOTABLE;

STATES(IDLE)=R097:A:-1:NORMAL:NOTHING;

[Guard:108]
SPAWNHEALTH=25;
RADIUS=28;
HEIGHT=60;
SPECIAL=COUNT_AS_KILL,SOLID,SHOOTABLE;

STATES(IDLE)=R048:A:-1:NORMAL:NOTHING;

[Officer:116]
SPAWNHEALTH=50;
RADIUS=28;
HEIGHT=60;
SPECIAL=COUNT_AS_KILL,SOLID,SHOOTABLE;

STATES(IDLE)=R236:A:-1:NORMAL:NOTHING;

[SS_Dude:126]
SPAWNHEALTH=100;
RADIUS=28;
HEIGHT=60;
SPECIAL=COUNT_AS_KILL,SOLID,SHOOTABLE;

STATES(IDLE)=R136:A:-1:NORMAL:NOTHING;

[Mutant:216]
SPAWNHEALTH=55;
RADIUS=28;
HEIGHT=60;
SPECIAL=COUNT_AS_KILL,SOLID,SHOOTABLE;

STATES(IDLE)=R185:A:-1:NORMAL:NOTHING;


[Fake_Hitler:160]
SPAWNHEALTH=350;
RADIUS=28;
HEIGHT=60;
SPECIAL=COUNT_AS_KILL,SOLID,SHOOTABLE;

STATES(IDLE)=S319:A:-1:NORMAL:NOTHING;

[Fat_Face:179]
SPAWNHEALTH=1000;
RADIUS=28;
HEIGHT=60;
SPECIAL=COUNT_AS_KILL,SOLID,SHOOTABLE;

STATES(IDLE)=S394:A:-1:NORMAL:NOTHING;

[Gretel_Grosse:197]
SPAWNHEALTH=1000;
RADIUS=28;
HEIGHT=60;
SPECIAL=COUNT_AS_KILL,SOLID,SHOOTABLE;

STATES(IDLE)=S383:A:-1:NORMAL:NOTHING;

[Hans_Grosse:214]
SPAWNHEALTH=1000;
RADIUS=28;
HEIGHT=60;
SPECIAL=COUNT_AS_KILL,SOLID,SHOOTABLE;

STATES(IDLE)=S294:A:-1:NORMAL:NOTHING;


[Dr_Schabbs:196]
SPAWNHEALTH=1250;
RADIUS=28;
HEIGHT=60;
SPECIAL=COUNT_AS_KILL,SOLID,SHOOTABLE;

STATES(IDLE)=S305:A:-1:NORMAL:NOTHING;

[Giftmacher:215]
SPAWNHEALTH=1000;
RADIUS=28;
HEIGHT=60;
SPECIAL=COUNT_AS_KILL,SOLID,SHOOTABLE;

STATES(IDLE)=S358:A:-1:NORMAL:NOTHING;

[Hitler]
SPAWNHEALTH=1100;
RADIUS=28;
HEIGHT=60;
SPECIAL=COUNT_AS_KILL,SOLID,SHOOTABLE;

STATES(IDLE)=S343:A:-1:NORMAL:NOTHING;

[Mecha_Hitler:178]
SPAWNHEALTH=1100;
RADIUS=28;
HEIGHT=60;
SPECIAL=COUNT_AS_KILL,SOLID,SHOOTABLE;

STATES(IDLE)=S332:A:-1:NORMAL:NOTHING;


[Blinky:224]
SPAWNHEALTH=9999;
RADIUS=28;
HEIGHT=60;
SPECIAL=MONSTER;

STATES(IDLE)=S286:A:6:NORMAL:NOTHING,
             S287:A:6:NORMAL:NOTHING;

[Clyde:225]
SPAWNHEALTH=9999;
RADIUS=28;
HEIGHT=60;
SPECIAL=MONSTER;

STATES(IDLE)=S290:A:6:NORMAL:NOTHING,
             S291:A:6:NORMAL:NOTHING;

[Pinky:226]
SPAWNHEALTH=9999;
RADIUS=28;
HEIGHT=60;
SPECIAL=MONSTER;

STATES(IDLE)=S288:A:6:NORMAL:NOTHING,
             S289:A:6:NORMAL:NOTHING;

[Inky:227]
SPAWNHEALTH=9999;
RADIUS=28;
HEIGHT=60;
SPECIAL=MONSTER;

STATES(IDLE)=S292:A:6:NORMAL:NOTHING,
             S293:A:6:NORMAL:NOTHING;


// --------------------- Players -------------------------

[OUR_HERO:19]
SPAWNHEALTH=100;
RADIUS=16;
HEIGHT=48;
MASS=100;
SPEED=1;
SIDE=1;
PLAYER=1;
BOBBING=2%;
CROUCH_HEIGHT=32;
PALETTE_REMAP=PLAYER_GREEN;
CASTORDER=1;
CAST_TITLE=OurHeroName;
PAINCHANCE=100%;
SPECIAL=SOLID,SHOOTABLE,DROPOFF,PICKUP,NODEATHMATCH,SLIDER,ATTACK_HURTS,DISLOYAL;
DEATH_SOUND=PLDETH;
PAIN_SOUND="PLPAIN";
OVERKILL_SOUND="SLOP";
NOWAY_SOUND="NOWAY";
OOF_SOUND="OOF";
BLOOD=BLOOD;
INITIAL_BENEFIT=AMMO1.LIMIT(100),AMMO1(8),
                AMMO2.LIMIT(99999),AMMO2(0),
                AMMO3.LIMIT(100),AMMO4.LIMIT(300),
                AMMO5.LIMIT(100),AMMO6.LIMIT(100),
                AMMO7.LIMIT(100),AMMO8.LIMIT(300);


STATES(IDLE)=PLAY:A:10:NORMAL:NOTHING; // FIXME !!!!

STATES(CHASE)=S406:A:4:NORMAL:CHECKMOVING,
              S407:A:4:NORMAL:CHECKMOVING,
              S408:A:4:NORMAL:CHECKMOVING,
              S409:A:4:NORMAL:CHECKMOVING;

STATES(JUMP)=S410:A:5:NORMAL:NOTHING,
             S411:A:5:NORMAL:NOTHING,
             S412:A:5:NORMAL:NOTHING,
             S413:A:5:NORMAL:NOTHING,
             S412:A:5:NORMAL:NOTHING,
             S411:A:5:NORMAL:NOTHING,
             S410:A:5:NORMAL:NOTHING;

STATES(MISSILE)=S408:A:12:NORMAL:NOTHING,
                S408:A:6:BRIGHT:NOTHING;

STATES(MELEE)=S408:A:12:NORMAL:NOTHING,
              S408:A:6:BRIGHT:NOTHING;

// remaining are officer states
STATES(PAIN)=S276:A:5:NORMAL:NOTHING,
             S280:A:5:NORMAL:MAKEPAINSOUND;

STATES(DEATH)=S277:A:10:NORMAL:NOTHING,
              S278:A:10:NORMAL:PLAYER_SCREAM,
              S279:A:10:NORMAL:MAKEDEAD,
              S281:A:10:NORMAL:NOTHING,
              S282:A:-1:NORMAL:NOTHING;


// --------------------- Miscellaneous -----------------------

[BLOOD]
REACTION_TIME=8T;
RADIUS=8;
HEIGHT=16;
SPECIAL=CORPSE,DROPOFF,NOSHADOW,NOZBUFFER;

STATES(SPAWN)=BLUD:C:8:NORMAL:NOTHING,
              BLUD:B:8:NORMAL:NOTHING,
              BLUD:A:8:NORMAL:CHECKBLOOD,
              #REMOVE;

[PUFF]
REACTION_TIME=8T;
RADIUS=8;
HEIGHT=16;
FLOAT_SPEED=1;

DLIGHT.TYPE=QUADRATIC;
DLIGHT.INTENSITY=80;
DLIGHT.COLOUR=#FFFFFF;

SPECIAL=NOBLOCKMAP,NOGRAVITY,NOSHADOW,NOZBUFFER;

STATES(SPAWN)=PUFF:A:0:BRIGHT:DLIGHT_FADE(0),
              PUFF:A:4:BRIGHT:NOTHING,
              PUFF:A:0:BRIGHT:TRANS_SET(50%),
              PUFF:B:4:NORMAL:NOTHING,
              PUFF:C:4:NORMAL:NOTHING,
              PUFF:D:4:NORMAL:NOTHING,
              #REMOVE;

[SMOKE]
RADIUS=8;
HEIGHT=16;
FLOAT_SPEED=2;
SPECIAL=NOBLOCKMAP,NOGRAVITY,NOSHADOW,NOZBUFFER;

STATES(SPAWN)=PUFF:B:4:NORMAL:NOTHING,
              PUFF:C:4:NORMAL:NOTHING,
              PUFF:B:4:NORMAL:NOTHING,
              PUFF:C:4:NORMAL:NOTHING,
              PUFF:D:4:NORMAL:NOTHING,
              #REMOVE;

[ITEM_RESPAWN]
REACTION_TIME=8T;
RADIUS=20;
HEIGHT=16;
AMBIENT_SOUND=ITMBK;
SPECIAL=NOBLOCKMAP,NOGRAVITY;

STATES(IDLE)=IFOG:A:0:BRIGHT:TRANS_FADE(0%),
             IFOG:A:6:BRIGHT:NOTHING,
             IFOG:B:6:BRIGHT:MAKESOUND,
             IFOG:A:6:BRIGHT:NOTHING,
             IFOG:B:6:BRIGHT:NOTHING,
             IFOG:C:6:BRIGHT:NOTHING,
             IFOG:D:6:BRIGHT:NOTHING,
             IFOG:E:6:BRIGHT:NOTHING,
             #REMOVE;

[TELEPORT_FLASH:14]
RADIUS=20;
HEIGHT=16;
AMBIENT_SOUND=TELEPT;
SPECIAL=TELEPORT_TYPE,NOGRAVITY;

STATES(IDLE)=TFOG:J:0:NORMAL:TRANS_SET(0%),
             TFOG:J:-1:NORMAL:NOTHING;

STATES(CHASE)=TFOG:A:1:NORMAL:TRANS_FADE(0%),
              TFOG:A:0:BRIGHT:MAKESOUND,
              TFOG:A:5:BRIGHT:NOTHING,
              TFOG:B:6:BRIGHT:NOTHING,
              TFOG:A:6:BRIGHT:NOTHING,
              TFOG:B:6:BRIGHT:NOTHING,
              TFOG:C:6:BRIGHT:NOTHING,
              TFOG:D:6:BRIGHT:NOTHING,
              TFOG:E:6:BRIGHT:NOTHING,
              TFOG:F:6:BRIGHT:NOTHING,
              TFOG:G:6:BRIGHT:NOTHING,
              TFOG:H:6:BRIGHT:NOTHING,
              TFOG:I:6:BRIGHT:NOTHING,
              TFOG:J:6:BRIGHT:NOTHING,
              #REMOVE;

[RESPAWN_FLASH:7014]
RADIUS=20;
HEIGHT=16;
AMBIENT_SOUND=TELEPT;
SPECIAL=TELEPORT_TYPE,NOGRAVITY;

STATES(IDLE)=TFOG:A:1:NORMAL:TRANS_FADE(0%),
             TFOG:A:0:BRIGHT:MAKESOUND,
             TFOG:A:5:BRIGHT:NOTHING,
             TFOG:B:6:BRIGHT:NOTHING,
             TFOG:A:6:BRIGHT:NOTHING,
             TFOG:B:6:BRIGHT:NOTHING,
             TFOG:C:6:BRIGHT:NOTHING,
             TFOG:D:6:BRIGHT:NOTHING,
             TFOG:E:6:BRIGHT:NOTHING,
             TFOG:F:6:BRIGHT:NOTHING,
             TFOG:G:6:BRIGHT:NOTHING,
             TFOG:H:6:BRIGHT:NOTHING,
             TFOG:I:6:BRIGHT:NOTHING,
             TFOG:J:6:BRIGHT:NOTHING,
             #REMOVE;
