50 lines
3.4 KiBLFS
XML
Executable File
50 lines
3.4 KiBLFS
XML
Executable File
<?xml version="1.0" encoding="utf-8"?>
|
|
<override>
|
|
<Randomevents>
|
|
<EventPrefabs>
|
|
<!--real-->
|
|
<ScriptedEvent identifier="johnnyvsvinny" commonness="100">
|
|
<CheckDataAction identifier="johnnyvsvinny_complete" condition="eq true">
|
|
<Success>
|
|
<!--Don't repeat event-->
|
|
</Success>
|
|
<Failure>
|
|
<TagAction criteria="player" tag="player" />
|
|
<SpawnAction npcsetidentifier="themuties" npcidentifier="vinny" targettag="vinny" spawnlocation="Outpost" spawnpointtype="Path" lootingisstealing="false" />
|
|
<SpawnAction npcsetidentifier="themuties" npcidentifier="johnny" targettag="johnny" spawnlocation="Outpost" spawnpointtype="Path" lootingisstealing="false" />
|
|
<NPCFollowAction npctag="vinny" targettag="johnny" follow="true" />
|
|
<NPCFollowAction npctag="johnny" targettag="vinny" follow="true" />
|
|
<TriggerAction target1tag="vinny" target2tag="player" applytotarget2="triggerer_player" radius="250" waitforinteraction="true" />
|
|
<ConversationAction targettag="triggerer_player" text="eventtext.bettergene.c1" eventsprite="mediator">
|
|
<Option text="eventtext.bettergene.o1">
|
|
<ConversationAction targettag="triggerer_player" text="eventtext.bettergene.o1.c1">
|
|
<Option text="eventtext.bettergene.o1.o1">
|
|
<NPCFollowAction npctag="vinny" targettag="johnny" follow="false" />
|
|
<NPCFollowAction npctag="johnny" targettag="vinny" follow="false" />
|
|
<ConversationAction targettag="triggerer_player" text="eventtext.bettergene.o1.o1.o1" />
|
|
<NPCChangeTeamAction npctag="johnny" teamtag="1" addtocrew="true" />
|
|
<CombatAction combatmode="Offensive" npctag="vinny" enemytag="triggerer_player" isinstigator="true" guardreaction="retreat" witnessreaction="retreat" />
|
|
</Option>
|
|
<Option text="eventtext.bettergene.o1.o2">
|
|
<NPCFollowAction npctag="vinny" targettag="johnny" follow="false" />
|
|
<NPCFollowAction npctag="johnny" targettag="vinny" follow="false" />
|
|
<ConversationAction targettag="triggerer_player" text="eventtext.bettergene.o1.o2.o1" />
|
|
<NPCChangeTeamAction npctag="vinny" teamtag="1" addtocrew="true" />
|
|
<CombatAction combatmode="Offensive" npctag="johnny" enemytag="triggerer_player" isinstigator="true" guardreaction="arrest" witnessreaction="retreat" />
|
|
</Option>
|
|
</ConversationAction>
|
|
</Option>
|
|
<Option text="eventtext.bettergene.o2">
|
|
<ConversationAction targettag="triggerer_player" text="eventtext.bettergene.o1.c2" />
|
|
<ReputationAction targettype="Location" increase="-1" />
|
|
<CombatAction combatmode="Offensive" npctag="vinny" enemytag="johnny" isinstigator="false" guardreaction="retreat" witnessreaction="retreat" />
|
|
<CombatAction combatmode="Offensive" npctag="johnny" enemytag="vinny" isinstigator="false" guardreaction="retreat" witnessreaction="retreat" />
|
|
</Option>
|
|
</ConversationAction>
|
|
<SetDataAction identifier="johnnyvsvinny_complete" value="true" />
|
|
</Failure>
|
|
</CheckDataAction>
|
|
</ScriptedEvent>
|
|
</EventPrefabs>
|
|
</Randomevents>
|
|
</override> |