Thanks, Meridian.
I guess the rects approach is what I will be using. Could you walk me through the process a bit, though? Here's the standart TFTD port terror script for reference:
- type: PORT_TERROR
commands:
- type: addBlock
rects:
- [0,0,4,2]
blocks: 20
- type: addBlock
rects:
- [4,0,1,5]
executions: 5
blocks: [2, 3, 4, 5, 6, 7, 8, 9]
maxUses: [1, 1, 1, 1, 1, 1, 1, 1]
- type: addCraft
- type: addBlock
size: 2
executions: 2
- type: fillArea
As far as I understand, the commands are performed in the specified order, top to bottom. That way everything except the first one makes sense. PORT_20 is a 20 by 20 map (THAT ONE building), yet the command lists its rect as "4 by 2". Is it just a mistake that's not critical so it gets ignored? Does it serve some actual purpose? Do the addBlock and fillArea commands only use blocks from group 0 unless specified otherwise (so, for example, the second last commands here would ignore any size 2 maps from non-zero groups)?
If everything here is correct it doesn't actually look THAT boring or repetitive, am I missing something?