Skip to content

Commit

Permalink
More Configurables Options for cubes.cfg (#3702)
Browse files Browse the repository at this point in the history
Lava, Water, Sacrificial and Unclaimed are no longer hardcoded.
  • Loading branch information
walt253 authored Nov 26, 2024
1 parent a7d128e commit e72df3e
Show file tree
Hide file tree
Showing 5 changed files with 254 additions and 153 deletions.
86 changes: 51 additions & 35 deletions config/fxdata/cubes.cfg
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
; KeeperFX Textured Cubes Configuration file
; file version 0.22
; KeeperFX Textured Cubes Configuration file version 1.0.

; World in KeeperFX is made of up to 8 cubes put together into a column.
; Such column is put on every subtile, and 3x3 area of subtiles is one slab.
; each cube is made of 6 sides: north, east, south, west, top, bottom
; Each cube is made of 6 sides: North, East, South, West, Top, Bottom.

[cube0]
Name = FREE_SPACE
Textures = 0 0 0 0 0 0
Properties = UNCLAIMED_PATH

; Standard, digable earth
; Standard, diggable earth.
[cube1]
Name = EARTH_STD1
Textures = 2 2 2 2 5 2
Expand All @@ -22,8 +22,7 @@ Textures = 3 3 3 3 5 3
Name = EARTH_STD3
Textures = 4 4 4 4 5 4

; Bright top earth; it looks like digable from top,
; but is different in profile: brighter at top
; Bright top earth, it looks like diggable from top, but is different in profile: brighter at top.
[cube4]
Name = EARTH_BRG_TOP_DKL
Textures = 8 8 6 6 5 2
Expand All @@ -36,7 +35,7 @@ Textures = 7 7 7 7 5 2
Name = EARTH_BRG_TOP_DKR
Textures = 6 6 8 8 5 3

; Green earth; standard but little more green
; Green earth, standard but little more green.
[cube7]
Name = EARTH_GREEN_DKL
Textures = 10 10 9 9 2 2
Expand All @@ -45,7 +44,7 @@ Textures = 10 10 9 9 2 2
Name = EARTH_GREEN_DKR
Textures = 9 9 10 10 2 2

; Green earth, but standard on top; green only from sides
; Green earth, but standard on top, green only from sides.
[cube9]
Name = EARTH_GRNSD_DKL
Textures = 13 13 11 11 5 3
Expand All @@ -58,7 +57,7 @@ Textures = 12 12 12 12 5 2
Name = EARTH_GRNSD_DKR
Textures = 11 11 13 13 5 2

; White stones, but green earth on top
; White stones, but green earth on top.
[cube12]
Name = WHSTN_ERTHTP_DTP
Textures = 14 14 14 14 3 3
Expand All @@ -67,17 +66,17 @@ Textures = 14 14 14 14 3 3
Name = WHSTN_ERTHTP_CTR
Textures = 15 15 15 15 3 3

; White stones, from all sides
; White stones, from all sides.
[cube14]
Name = WHITESTONE_CTR
Textures = 17 17 17 17 15 15

; White stones, but green earth on top
; White stones, but green earth on top.
[cube15]
Name = WHSTN_ERTHTP_DBT
Textures = 16 16 16 16 4 4

; Skull stack - used as lair wall
; Skull stack wall relief, for lair.
[cube16]
Name = BRICK_SKLSTW1L
Textures = 20 20 18 18 115 3
Expand Down Expand Up @@ -110,34 +109,39 @@ Textures = 24 24 24 24 5 2
Name = BRICK_SKLSTW2R
Textures = 23 23 25 25 5 2

; Earth with torch plate
; Earth with torch plate.
[cube24]
Name = EARTH_TORCHPLT
Textures = 26 26 26 26 5 2

; Path without any stones
; Path without any stones.
[cube25]
Name = PATH_SMOOTH1
Textures = 76 76 76 76 27 27
Properties = UNCLAIMED_PATH

[cube26]
Name = PATH_SMOOTH2
Textures = 76 76 76 76 28 28
Properties = UNCLAIMED_PATH

[cube27]
Name = PATH_SMOOTH3
Textures = 76 76 76 76 29 27
Properties = UNCLAIMED_PATH

; Path with stones
; Path with stones.
[cube28]
Name = PATH_LRGSTONES
Textures = 76 76 76 76 30 27
Properties = UNCLAIMED_PATH

[cube29]
Name = PATH_SMLSTONES
Textures = 76 76 76 76 31 27
Properties = UNCLAIMED_PATH

; Lair ground
; Lair ground.
[cube30]
Name = LAIR_BOUNDTL
Textures = 77 27 27 77 32 28
Expand Down Expand Up @@ -177,14 +181,17 @@ Textures = 544 544 544 544 544 2
[cube39]
Name = WATER_SURFACE
Textures = 545 545 545 545 545 545
Properties = WATER

[cube40]
Name = LAVA_SURFACE1
Textures = 546 546 546 546 546 546
Properties = LAVA

[cube41]
Name = LAVA_SURFACE2
Textures = 547 547 547 547 547 547
Properties = LAVA

[cube42]
Name = DIRT_NEAR_LAVA42
Expand Down Expand Up @@ -226,7 +233,7 @@ Textures = 549 549 549 549 549 549
Name = GOLD3
Textures = 550 550 550 550 550 550

; Gold dark at sides - near lava
; Gold dark at sides, near lava.
[cube52]
Name = GOLD_DARKSD1
Textures = 552 552 552 552 548 552
Expand Down Expand Up @@ -365,7 +372,7 @@ Textures = 122 122 122 122 113 113
Name = CUBE83
Textures = 121 121 123 123 114 114

; The woman wall relief
; The woman wall relief.
[cube84]
Name = BRICK_RWOMANTL
Textures = 126 126 124 124 115 113
Expand Down Expand Up @@ -414,7 +421,7 @@ Textures = 134 134 134 134 113 113
Name = BRICK_RWOMANBR
Textures = 133 133 135 135 113 113

; The twins wall relief
; The twins wall relief.
[cube96]
Name = BRICK_RTWINSTL
Textures = 138 138 136 136 115 113
Expand Down Expand Up @@ -451,7 +458,7 @@ Textures = 143 143 143 143 112 112
Name = BRICK_RTWINSBR
Textures = 142 142 144 144 112 112

; The pair shaging wall relief
; The pair shagging wall relief.
[cube105]
Name = BRICK_PAIRSHTL
Textures = 150 150 148 148 115 113
Expand Down Expand Up @@ -710,7 +717,7 @@ Textures = 0 0 0 0 0 0
Name = CUBE167
Textures = 0 0 0 0 0 0

; The magic mirror wall, for library
; The magic mirror wall relief, for library.
[cube168]
Name = BRICK_MGMIRRTL
Textures = 557 557 555 555 113 113
Expand Down Expand Up @@ -951,7 +958,7 @@ Textures = 0 0 283 0 290 0
Name = CUBE224
Textures = 512 283 283 512 291 0

; The red eyed head shape wall, for prison
; The red eyed head shape wall relief, for prison.
[cube225]
Name = BRICK_RDHEADTL
Textures = 294 294 292 292 112 112
Expand All @@ -976,12 +983,12 @@ Textures = 296 296 296 296 112 112
Name = BRICK_RDHEADBR
Textures = 295 295 297 297 112 112

; Floor for torture chamber - the circle for torture spikes
; Floor for torture chamber, the circle for torture spikes.
[cube231]
Name = FLOOR_TORTCIRC
Textures = 280 280 280 280 298 0

; The skeleton splatted on wall, for torture chamber
; The skeleton splatted on wall relief, for torture chamber.
[cube232]
Name = BRICK_SPSKELTL
Textures = 301 301 299 299 115 0
Expand Down Expand Up @@ -1022,7 +1029,7 @@ Textures = 305 305 307 307 0 0
Name = CUBE241
Textures = 308 308 308 308 106 0

; The crossed swords wall, for training room
; The crossed swords wall relief, for training room.
[cube242]
Name = BRICK_CRSWRDTL
Textures = 311 311 309 309 112 112
Expand Down Expand Up @@ -1075,7 +1082,7 @@ Textures = 320 320 320 320 318 0
Name = CUBE254
Textures = 321 321 321 321 318 0

; The fire furnace wall, for workshop
; The fire furnace wall relief, for workshop.
[cube255]
Name = BRICK_FURNCETL
Textures = 563 563 561 561 112 112
Expand Down Expand Up @@ -1140,7 +1147,7 @@ Textures = 354 354 354 354 268 268
Name = CUBE270
Textures = 355 355 355 355 268 268

; The god eye in triangle, for scavenger room
; The god eye in triangle, for scavenger room.
[cube271]
Name = BRICK_GODEYETL
Textures = 358 358 356 356 112 112
Expand Down Expand Up @@ -1236,40 +1243,49 @@ Textures = 0 0 0 0 0 0
[cube294]
Name = SACRIFICE_POOL_TL
Textures = 571 569 569 571 569 0
Properties = SACRIFICIAL

[cube295]
Name = SACRIFICE_POOL_T
Textures = 570 570 570 570 570 0
Properties = SACRIFICIAL

[cube296]
Name = SACRIFICE_POOL_TR
Textures = 569 571 571 569 571 0
Properties = SACRIFICIAL

[cube297]
Name = SACRIFICE_POOL_CL
Textures = 574 572 572 574 572 0
Properties = SACRIFICIAL

[cube298]
Name = SACRIFICE_POOL_C
Textures = 573 573 573 573 573 0
Properties = SACRIFICIAL

[cube299]
Name = SACRIFICE_POOL_CR
Textures = 572 574 574 572 574 0
Properties = SACRIFICIAL

[cube300]
Name = SACRIFICE_POOL_BL
Textures = 577 575 575 577 575 0
Properties = SACRIFICIAL

[cube301]
Name = SACRIFICE_POOL_B
Textures = 576 576 576 576 576 0
Properties = SACRIFICIAL

[cube302]
Name = SACRIFICE_POOL_BR
Textures = 575 577 577 575 577 0
Properties = SACRIFICIAL

; The horned reaper wall relief, for temple
; The horned reaper wall relief, for temple.
[cube303]
Name = BRICK_HORNRPTL
Textures = 422 422 420 420 115 0
Expand Down Expand Up @@ -1398,7 +1414,7 @@ Textures = 260 0 258 253 0 0
Name = CUBE334
Textures = 258 253 260 0 0 0

; The chicken wall relief, for hatchery
; The chicken wall relief, for hatchery.
[cube335]
Name = BRICK_CHICKNTL
Textures = 478 478 476 476 0 0
Expand Down Expand Up @@ -1617,7 +1633,7 @@ Textures = 190 190 190 190 495 0
Name = CUBE388
Textures = 491 491 491 491 491 491

; The cooperation map wall relief, for barracks
; The cooperation map wall relief, for barracks.
[cube389]
Name = BRICK_COOPERTL
Textures = 531 531 529 529 115 0
Expand Down Expand Up @@ -1840,12 +1856,12 @@ Owner = WHITE
Name = CUBE432
Textures = 533 201 533 201 202 202

; Lair floor
; Lair floor.
[cube433]
Name = LAIR_INSIDE
Textures = 271 271 271 271 271 436

; Wall of stone
; Wall relief of stone.
[cube434]
Name = STONEWALL1
Textures = 446 446 446 446 113 113
Expand All @@ -1854,7 +1870,7 @@ Textures = 446 446 446 446 113 113
Name = STONEWALL2
Textures = 447 447 447 447 113 113

; Wood, for bridges
; Wood, for bridges.
[cube436]
Name = WOOD_FLOOR1
Textures = 500 502 500 502 499 0
Expand All @@ -1875,7 +1891,7 @@ Textures = 189 189 189 189 499 0
Name = WOOD_FLOOR5
Textures = 190 190 190 190 499 0

; The purple gems
; The purple gems.
[cube441]
Name = GEMS1
Textures = 582 582 582 582 582 582
Expand Down Expand Up @@ -2088,4 +2104,4 @@ Textures = 1032 1032 1032 1032 1032 0

[cube481]
Name = DOOR_MIDAS_BR
Textures = 1031 1033 1033 1031 1033 0
Textures = 1031 1033 1033 1031 1033 0
Loading

0 comments on commit e72df3e

Please sign in to comment.