More attributes added for events:
1. music - String ID of the music to play when this event pops up on the Geoscape.
2. everyItemList - A list of item IDs. When this event pops up they are all transferred to the HQ (within 1 hour).
3. randomItemList - A list of item IDs. When this event pops up one of them is selected randomly and transferred to the HQ (within 1 hour).
4. weightedItemList - A weighted list of item IDs. When this event pops up one of them is selected randomly (respecting given weights) and transferred to the HQ (within 1 hour).
Attributes itemList and randomItem have been deprecated (and will be removed in oxce 6.2).
Edit:
5. everyMultiItemList - A list of item IDs and their quantities. When this event pops up they are all transferred to the HQ (within 1 hour).
All these new features are really wonderful
I hope you know that OpenXCom and OXCE are the best remastered game ever (in this I include both: the best game, and the best way to remaster a game)
I would have a question about
eventScripts >> facilityTriggersDefinition of facilityTriggers is: A list of base facilities that can influence the execution of this script. Similar to research triggers;
checks the presence of a facility (in any xcom base).
Apparently, it does not wait for a facility to be built. As soon as you build it, event is triggered, even if the facility will be available/functional in 1 month
Is it expected, or do I miss something?
eventScripts:
- type: STR_TRAINING_TICKET_MONTHLY_EVENT_SCRIPT
facilityTriggers:
STR_TRAINING_ROOM
eventWeights:
0:
STR_TRAINING_TICKET_MONTHLY_EVENT: 100
#firstMonth: 0
#lastMonth: -1
executionOdds: 100
EDIT: in fact, I think what I wrote does not work, as it triggers even if I don't build anything
I made other attempts writing it differently, unsuccessfully (i.e., the event is triggered after the first hour):
Removing 1 space before STR_TRAINING_ROOMeventScripts:
- type: STR_TRAINING_TICKET_MONTHLY_EVENT_SCRIPT
facilityTriggers:
STR_TRAINING_ROOM
Using bracketseventScripts:
- type: STR_TRAINING_TICKET_MONTHLY_EVENT_SCRIPT
facilityTriggers: [STR_TRAINING_ROOM]
Do as for researchTriggerseventScripts:
- type: STR_TRAINING_TICKET_MONTHLY_EVENT_SCRIPT
facilityTriggers:
STR_TRAINING_ROOM: true
EDIT2: forget that, I will do this differently by adding some research, making training tickets availble for purchase, with a monthlyBuyLimit