Config files, internal names, IDs - dkfans/FXInfo GitHub Wiki

The Keeper FX fxdata folder contains several customisable .cfg files corresponding to different aspects of the game:

At some point I’ll make a quick table of the key features for each, but the original source files (which you’ll need to edit or copy to a campaign and edit if you want changes) are:

fxdata

  • columnset.toml - holds which cubes are part of each column
  • Creature.cfg – List of creature names, changes on level up, instances with names (such as casting a Creature Spell, these rely on the spells/shots from magic.cfg, and also some misc stuff like “being tortured”), jobs and angerjobs with names and attack preferences.
  • Crstates.cfg – creature states. I think this is more behind-the-scenes and isn’t really touched.
  • Cubes.cfg – holds which textures are part of each cube. Used in Unearth when making custom slabs and columns. With the 'make a tileset' function you can figure out cube numbers of existing textures. Also, with some renaming you can make a tmapb###.dat file, which is the same format as the tmapa### file but adds 1000 to the cube numbers and can hold custom textures. Also in Unearth, by clicking 'edit slabset' you can get information on what you are doing.
  • effects.toml - List of ingame visual effects. Can be used in scripts but can’t really be edited at the moment.
  • keepcompp.cfg – AI Keeper/Computer Assistant Parameters, can be used in scripts with SET_COMPUTER_PROCESS (see section 10 of the Old scripting commands for more info).
  • lenses.cfg – possession effects for certain creatures (overlays and palettes). Hasn’t been touched, but if you learnt how it works and made new stuff I’m sure we would get around to implementing it.
  • magic.cfg – spells (cast by creatures), shots (projectiles etc. generated by some spells), powers (creature/keeper spells with multiple power levels), specials (Dungeon Special boxes).
  • objects.cfg – list of objects (e.g. furniture, lairs, gold piles) with names/IDs
  • rules.cfg – Game rules such as gold per block, time to payday, rules for various creatures, rooms, spells, research order and points needed, list of sacrifices.
  • slabset.toml - holds which columns make up each slab (depending on the neighbour slabs too)
  • terrain.cfg – list of slabs and rooms with names, holds slab and room properties
  • trapdoor.cfg – list of traps and doors with names and properties. Here you can make custom traps.

creatrs

  • One for each creature, containing info like stats, name, properties, sprites, attraction requirements, creature spells, jobs etc.
  • Check imp.cfg for more info on what everything does.

Creature.cfg

Instance Name Time ActionTime ResetTime FPTime FPActionTime FPResetTime FPInstantCast ForceVisibility TooltipTextID SymbolSprites Graphics RangeMin RangeMax PrimaryTarget Properties Function
1 SWING_WEAPON_SWORD 8 4 8 5 2 4 0 100 252 450 ATTACK MIN 284 3 DESTRUCTIVE MELEE_ATTACK DISPLAY_SWIPE creature_fire_shot SHOT_SWING_SWORD 0
2 SWING_WEAPON_FIST 8 4 8 5 2 4 0 100 252 400 ATTACK MIN 284 3 DESTRUCTIVE MELEE_ATTACK DISPLAY_SWIPE creature_fire_shot SHOT_SWING_FIST 0
3 ESCAPE 0 0 0 0 0 0 0 201 0 ATTACK 3 none 0 0
4 FIRE_ARROW 10 5 16 5 2 8 0 100 226 454 ATTACK 156 MAX 3 DESTRUCTIVE QUICK RANGED_ATTACK creature_fire_shot SHOT_ARROW 0
5 FIREBALL 10 6 32 4 2 4 0 150 251 402 ATTACK 156 MAX 3 DESTRUCTIVE QUICK RANGED_ATTACK creature_fire_shot SHOT_FIREBALL 0
6 FIRE_BOMB 10 6 100 5 3 16 0 150 250 404 ATTACK 768 MAX 3 DANGEROUS DESTRUCTIVE RANGED_ATTACK creature_fire_shot SHOT_FIREBOMB 0
7 FREEZE 10 6 375 5 3 300 0 150 227 406 ATTACK 156 MAX 3 RANGED_DEBUFF creature_cast_spell SPELL_FREEZE 0
8 ARMOUR 10 6 400 5 3 250 1 10 228 408 ATTACK 3 SELF_BUFF creature_cast_spell SPELL_ARMOUR 0
9 LIGHTNING 10 6 16 5 3 8 0 150 229 410 ATTACK 768 5120 3 DESTRUCTIVE QUICK RANGED_ATTACK creature_fire_shot SHOT_LIGHTNING 0
10 REBOUND 10 6 400 5 3 250 1 10 230 412 ATTACK 3 SELF_BUFF creature_cast_spell SPELL_REBOUND 0
11 HEAL 10 6 400 5 3 250 1 1 248 414 ATTACK 3 SELF_BUFF creature_cast_spell SPELL_HEAL 0
12 POISON_CLOUD 10 6 80 5 3 20 0 20 237 416 ATTACK 156 MAX 4 QUICK RANGED_ATTACK creature_cast_spell SPELL_POISON_CLOUD 0
13 INVISIBILITY 10 6 500 5 3 200 1 1 239 418 ATTACK 3 SELF_BUFF creature_cast_spell SPELL_INVISIBILITY 0
14 TELEPORT 10 6 6 5 3 3 1 10 240 420 ATTACK 3 creature_cast_spell SPELL_TELEPORT 0
15 SPEED 10 6 550 5 3 500 1 3 236 422 ATTACK 3 SELF_BUFF creature_cast_spell SPELL_SPEED 0
16 SLOW 10 6 850 5 3 600 0 10 245 424 ATTACK 156 MAX 3 RANGED_DEBUFF creature_cast_spell SPELL_SLOW 0
17 DRAIN 10 6 5 5 3 3 0 100 246 513 ATTACK 156 5120 3 DESTRUCTIVE RANGED_ATTACK creature_fire_shot SHOT_DRAIN 0
18 FEAR 10 6 10 5 3 10 0 10 231 456 ATTACK 156 MAX 3 RANGED_DEBUFF creature_cast_spell SPELL_FEAR 0
19 MISSILE 10 6 25 4 2 4 0 100 233 426 ATTACK 156 MAX 3 DESTRUCTIVE QUICK RANGED_ATTACK creature_fire_shot SHOT_MISSILE 0
20 NAVIGATING_MISSILE 10 6 50 4 2 5 0 150 235 428 ATTACK 156 MAX 3 DESTRUCTIVE QUICK RANGED_ATTACK creature_fire_shot SHOT_NAVI_MISSILE 0
21 FLAME_BREATH 10 10 8 3 3 1 0 100 241 430 ATTACK 156 284 3 DESTRUCTIVE MELEE_ATTACK RANGED_ATTACK REPEAT_TRIGGER creature_fire_shot SHOT_FLAME_BREATH 0
22 WIND 10 6 1600 5 3 800 0 30 249 432 ATTACK MIN MAX 3 creature_cast_spell SPELL_WIND 0
23 LIGHT 10 6 600 5 3 300 1 100 242 434 ATTACK 3 SELF_BUFF creature_cast_spell SPELL_LIGHT 0
24 FLY 10 6 400 5 3 250 1 1 243 436 ATTACK 3 SELF_BUFF creature_cast_spell SPELL_FLIGHT 0
25 SIGHT 10 6 200 5 3 150 1 0 232 438 ATTACK 3 SELF_BUFF creature_cast_spell SPELL_SIGHT 0
26 GRENADE 10 6 300 5 3 100 0 80 234 440 ATTACK 3 DANGEROUS DESTRUCTIVE QUICK RANGED_ATTACK creature_fire_shot SHOT_GRENADE 0
27 HAILSTORM 10 6 32 5 3 20 0 80 244 442 ATTACK 156 MAX 3 DESTRUCTIVE QUICK RANGED_ATTACK MELEE_ATTACK creature_cast_spell SPELL_HAILSTORM 0
28 WORD_OF_POWER 10 6 400 5 3 250 0 100 247 444 ATTACK MIN 284 3 DESTRUCTIVE MELEE_ATTACK creature_cast_spell SPELL_WORD_OF_POWER 0
29 FART 8 4 150 4 2 100 0 10 253 446 ATTACK MIN 284 3 MELEE_ATTACK creature_fart 0 0
30 DIG 8 4 1 4 2 1 0 40 254 448 DIG 3 creature_dig 0 0
31 PRETTY_PATH 8 4 1 4 2 1 0 201 0 PRETTYDANCE 3 creature_pretty_path 0 0
32 DESTROY_AREA 8 4 1 4 2 1 0 201 0 PRETTYDANCE 3 creature_destroy 0 0
33 TUNNEL 8 4 1 4 2 1 0 201 0 DIG 3 creature_tunnel 0 0
34 CELEBRATE_SHORT 8 1 1 4 1 1 0 201 0 CELEBRATE none 3 0
35 REINFORCE 8 4 1 4 2 1 0 201 0 PRETTYDANCE 3 creature_reinforce 0 0
36 EAT 16 8 1 8 4 1 0 201 0 EATCHICKEN 3 creature_eat 0 0
37 ATTACK_ROOM_SLAB 8 4 1 4 2 1 10 201 0 ATTACK 3 attack_room_slab 0 0
38 DAMAGE_WALL 8 4 1 4 2 1 10 201 0 ATTACK 3 creature_damage_wall 21 0
39 FIRST_PERSON_DIG 8 4 1 4 2 1 0 3 254 448 DIG 3 DISPLAY_SWIPE first_person_do_imp_task 0 0
40 LIZARD 10 6 60 5 3 20 0 80 234 440 ATTACK 1000 MAX 3 DANGEROUS DESTRUCTIVE QUICK RANGED_ATTACK creature_fire_shot SHOT_LIZARD 0
41 CAST_SPELL_DISEASE 10 6 200 5 3 150 0 20 255 319 ATTACK 156 MAX 3 RANGED_DEBUFF creature_cast_spell SPELL_DISEASE 0
42 CAST_SPELL_CHICKEN 10 6 200 5 3 150 0 20 256 314 ATTACK 156 1280 3 RANGED_DEBUFF creature_cast_spell SPELL_CHICKEN 0
43 CAST_SPELL_TIME_BOMB 10 6 6 5 3 3 0 0 257 548 ATTACK 768 MAX 3 RANGED_ATTACK creature_cast_spell SPELL_TIME_BOMB 0
44 MOAN 8 1 1 4 1 1 0 201 0 SCREAM 3 none 4 0
45 TORTURED 16 8 1 8 4 1 0 201 0 TORTURE 3 creature_tortured 0 0
46 TOKING 16 4 1 4 2 1 0 201 0 SMOKE 3 SELF_BUFF none 0 0
47 RELAXING 8 4 1 4 2 1 0 201 0 RELAX 3 none 0 0

Here are the times in seconds and the fraction compared to FP

Instance Name Time (s) FPTime (s) FPTime/Time ActionTime (s) FPActionTime (s) FPActionTime/ActionTime ResetTime (s) FPResetTime (s) FPResetTime/ResetTime ForceVisibility
1 SWING_WEAPON_SWORD 0.4 0.25 0.625 0.2 0.1 0.5 0.4 0.2 0.5 5
2 SWING_WEAPON_FIST 0.4 0.25 0.625 0.2 0.1 0.5 0.4 0.2 0.5 5
3 ESCAPE 0 0 0 0 0 0 0 0 0 0
4 FIRE_ARROW 0.5 0.25 0.5 0.25 0.1 0.4 0.8 0.4 0.5 5
5 FIREBALL 0.5 0.2 0.4 0.3 0.1 0.333333 1.6 0.2 0.125 7.5
6 FIRE_BOMB 0.5 0.25 0.5 0.3 0.15 0.5 5 0.8 0.16 7.5
7 FREEZE 0.5 0.25 0.5 0.3 0.15 0.5 18.75 15 0.8 7.5
8 ARMOUR 0.5 0.25 0.5 0.3 0.15 0.5 20 12.5 0.625 0.5
9 LIGHTNING 0.5 0.25 0.5 0.3 0.15 0.5 0.8 0.4 0.5 7.5
10 REBOUND 0.5 0.25 0.5 0.3 0.15 0.5 20 12.5 0.625 0.5
11 HEAL 0.5 0.25 0.5 0.3 0.15 0.5 20 12.5 0.625 0.05
12 POISON_CLOUD 0.5 0.25 0.5 0.3 0.15 0.5 4 1 0.25 1
13 INVISIBILITY 0.5 0.25 0.5 0.3 0.15 0.5 25 10 0.4 0.05
14 TELEPORT 0.5 0.25 0.5 0.3 0.15 0.5 0.3 0.15 0.5 0.5
15 SPEED 0.5 0.25 0.5 0.3 0.15 0.5 27.5 25 0.909091 0.15
16 SLOW 0.5 0.25 0.5 0.3 0.15 0.5 42.5 30 0.705882 0.5
17 DRAIN 0.5 0.25 0.5 0.3 0.15 0.5 0.25 0.15 0.6 5
18 FEAR 0.5 0.25 0.5 0.3 0.15 0.5 0.5 0.5 1 0.5
19 MISSILE 0.5 0.2 0.4 0.3 0.1 0.333333 1.25 0.2 0.16 5
20 NAVIGATING_MISSILE 0.5 0.2 0.4 0.3 0.1 0.333333 2.5 0.25 0.1 7.5
21 FLAME_BREATH 0.5 0.15 0.3 0.5 0.15 0.3 0.4 0.05 0.125 5
22 WIND 0.5 0.25 0.5 0.3 0.15 0.5 80 40 0.5 1.5
23 LIGHT 0.5 0.25 0.5 0.3 0.15 0.5 30 15 0.5 5
24 FLY 0.5 0.25 0.5 0.3 0.15 0.5 20 12.5 0.625 0.05
25 SIGHT 0.5 0.25 0.5 0.3 0.15 0.5 10 7.5 0.75 0
26 GRENADE 0.5 0.25 0.5 0.3 0.15 0.5 15 5 0.333333 4
27 HAILSTORM 0.5 0.25 0.5 0.3 0.15 0.5 1.6 1 0.625 4
28 WORD_OF_POWER 0.5 0.25 0.5 0.3 0.15 0.5 20 12.5 0.625 5
29 FART 0.4 0.2 0.5 0.2 0.1 0.5 7.5 5 0.666667 0.5
30 DIG 0.4 0.2 0.5 0.2 0.1 0.5 0.05 0.05 1 2
31 PRETTY_PATH 0.4 0.2 0.5 0.2 0.1 0.5 0.05 0.05 1 0
32 DESTROY_AREA 0.4 0.2 0.5 0.2 0.1 0.5 0.05 0.05 1 0
33 TUNNEL 0.4 0.2 0.5 0.2 0.1 0.5 0.05 0.05 1 0
34 CELEBRATE_SHORT 0.4 0.2 0.5 0.05 0.05 1 0.05 0.05 1 0
35 REINFORCE 0.4 0.2 0.5 0.2 0.1 0.5 0.05 0.05 1 0
36 EAT 0.8 0.4 0.5 0.4 0.2 0.5 0.05 0.05 1 0
37 ATTACK_ROOM_SLAB 0.4 0.2 0.5 0.2 0.1 0.5 0.05 0.05 1 0.5
38 DAMAGE_WALL 0.4 0.2 0.5 0.2 0.1 0.5 0.05 0.05 1 0.5
39 FIRST_PERSON_DIG 0.4 0.2 0.5 0.2 0.1 0.5 0.05 0.05 1 0.15
40 LIZARD 0.5 0.25 0.5 0.3 0.15 0.5 3 1 0.333333 4
41 CAST_SPELL_DISEASE 0.5 0.25 0.5 0.3 0.15 0.5 10 7.5 0.75 1
42 CAST_SPELL_CHICKEN 0.5 0.25 0.5 0.3 0.15 0.5 10 7.5 0.75 1
43 CAST_SPELL_TIME_BOMB 0.5 0.25 0.5 0.3 0.15 0.5 0.3 0.15 0.5 0
44 MOAN 0.4 0.2 0.5 0.05 0.05 1 0.05 0.05 1 0
45 TORTURED 0.8 0.4 0.5 0.4 0.2 0.5 0.05 0.05 1 0
46 TOKING 0.8 0.2 0.25 0.2 0.1 0.5 0.05 0.05 1 0
47 RELAXING 0.4 0.2 0.5 0.2 0.1 0.5 0.05 0.05 1 0