I'm altering the default deployment in the avenger. I made a separate ruleset and put it in the mod folder. The below code works fine:
crafts:
- type: STR_AVENGER
battlescapeTerrainData:
name: AVENGER
mapDataSets:
- BLANKS
- AVENGER
mapBlocks:
- name: AVENGER
width: 10
length: 20
deployment:
- [4, 9, 1, 0]
- [5, 9, 1, 0]
- [4, 10, 1, 0]
- [5, 10, 1, 0]
- [3, 10, 1, 0]
- [6, 10, 1, 0]
- [4, 11, 1, 0]
- [5, 11, 1, 0]
- [3, 11, 1, 0]
- [6, 11, 1, 0]
- [4, 12, 1, 0]
- [5, 12, 1, 0]
- [3, 12, 1, 0]
- [6, 12, 1, 0]
- [4, 13, 1, 0]
- [5, 13, 1, 0]
- [3, 13, 1, 0]
- [6, 13, 1, 0]
- [4, 14, 1, 0]
- [5, 14, 1, 0]
- [3, 14, 1, 0]
- [6, 14, 1, 0]
- [4, 15, 1, 0]
- [5, 15, 1, 0]
- [4, 16, 1, 0]
- [5, 16, 1, 0]
Now this code below doesn't work. Why do you need the "battlescapeTerrainData" part in there if it's already defined in the standard crafts.rul ruleset? Deployment isn't a sub-set of battlescapeTerrainData and deployment is the only thing I've altered from the default ruleset. Like when I change one attribute of an item (let's say the TU cost of a weapon) I don't have to put all the weapon values in my mod; just the ones I'm changing. So why is this one giving me grief and requiring repeated info?
crafts:
- type: STR_AVENGER
deployment:
- [4, 9, 1, 0]
- [5, 9, 1, 0]
- [4, 10, 1, 0]
- [5, 10, 1, 0]
- [3, 10, 1, 0]
- [6, 10, 1, 0]
- [4, 11, 1, 0]
- [5, 11, 1, 0]
- [3, 11, 1, 0]
- [6, 11, 1, 0]
- [4, 12, 1, 0]
- [5, 12, 1, 0]
- [3, 12, 1, 0]
- [6, 12, 1, 0]
- [4, 13, 1, 0]
- [5, 13, 1, 0]
- [3, 13, 1, 0]
- [6, 13, 1, 0]
- [4, 14, 1, 0]
- [5, 14, 1, 0]
- [3, 14, 1, 0]
- [6, 14, 1, 0]
- [4, 15, 1, 0]
- [5, 15, 1, 0]
- [4, 16, 1, 0]
- [5, 16, 1, 0]