UtBS S2: implement recruitment limitations via ai

Handles recruitment of l2s via recruitment_instructions
instead of using events
This commit is contained in:
DisherProject 2019-03-04 12:11:54 +01:00
parent 9c4a314512
commit c1aeb04e93

View file

@ -75,6 +75,24 @@
[/criteria]
[/goal]
[/ai]
# limit recruitment to one bandit and trapper
[ai]
[aspect]
id=recruitment_instructions
[facet]
[value]
[limit]
type=Bandit
max=1
[/limit]
[limit]
type=Trapper
max=1
[/limit]
[/value]
[/facet]
[/aspect]
[/ai]
{FLAG_VARIANT6 ragged}
[/side]
@ -1467,32 +1485,6 @@
[/modify_side]
[/event]
# limit recruitment to one bandit and trapper
[event]
name=recruit
first_time_only="yes"
[filter]
side=2
type=Bandit
[/filter]
[disallow_recruit]
side=2
type=Bandit
[/disallow_recruit]
[/event]
[event]
name=recruit
first_time_only="yes"
[filter]
side=2
type=Trapper
[/filter]
[disallow_recruit]
side=2
type=Trapper
[/disallow_recruit]
[/event]
#Encounter 7 Mirage
#Oasis disappears as soon as player moves to the location
[event]