If possible, I would like to recommend to move random treasure lists to a higher priority. Because it looks (to me, a layman) like a relatively simple job, and I know it'd be colossally beneficial. For example Piratez has many copies of the same ship with the only difference being some items laying on the floor; this is a very messy and time-consuming method.
Yeah, it's not difficult.
I did this so far, is it sufficient?
Node is called "randomizedItems" and it is a list.
Each item within this list contains:
- position - defult [0, 0, 0]
- amount - default 1
- mixed - default false
- itemList - default empty
Position says on which position the item(s) should spawn.
Amount says how many items should spawn.
ItemList is a list of items to choose from randomly.
Mixed says if one item should be picked and generated amount-times... or if each of the amount-number of items should be picked randomly.
Example below shows:
1. 30 identical items of type either STR_SOME_JUNK or STR_OTHER_JUNK spawned on [6, 2, 0]
2. 5 different items of type 1 or 2 (for example 4 items of type 1 and 1 item of type 2)
- type: STR_VESSEL_CC_CLOUDCAR
mapBlocks:
- name: VESSEL_CC5
randomizedItems:
- position: [6, 2, 0]
amount: 30
mixed: false
itemList: [STR_SOME_JUNK, STR_OTHER_JUNK]
- position: [4, 3, 0]
amount: 5
mixed: true
itemList: [STR_RANDOM_ITEM_1, STR_RANDOM_ITEM_2]
width: 10
length: 10
items:
STR_UFO_POWER_SOURCE_SMALL:
- [6, 2, 0]
STR_FIRE_EXT:
- [4, 3, 0]