Why do I get an error when I define a two-dimensional array?
@editable
CS1:creature_spawner_device = creature_spawner_device{}
@editable
CS2:creature_spawner_device = creature_spawner_device{}
@editable
CS3:creature_spawner_device = creature_spawner_device{}
@editable
CS4:creature_spawner_device = creature_spawner_device{}
@editable
CS5:creature_spawner_device = creature_spawner_device{}
@editable
CS6:creature_spawner_device = creature_spawner_device{}
CS:creature_spawner_device = array{
array{CS1, CS2},
array{CS3, CS4},
array{CS5, CS6}
}
For example, writing code like the above would result in an error statement such that the array could not be accessed. Why is this?