31 lines
1.0 KiBLFS
XML
Executable File
31 lines
1.0 KiBLFS
XML
Executable File
<?xml version="1.0" encoding="utf-8"?>
|
|
<Randomevents>
|
|
<EventPrefabs>
|
|
<ScriptedEvent identifier="givemap">
|
|
<RNGAction chance="0.5">
|
|
<!-- Cavern Map -->
|
|
<Success>
|
|
<SpawnAction ItemIdentifier="mlc-map" TargetInventory="statuseffecttarget" />
|
|
</Success>
|
|
<Failure>
|
|
<!-- Pirate Base Map -->
|
|
<RNGAction chance="0.75">
|
|
<Success>
|
|
<SpawnAction ItemIdentifier="mlc-piratebasemap" TargetInventory="statuseffecttarget" />
|
|
</Success>
|
|
<!-- Treasure map -->
|
|
<Failure>
|
|
<SpawnAction ItemIdentifier="mlc-treasuremap" TargetInventory="statuseffecttarget" />
|
|
</Failure>
|
|
</RNGAction>
|
|
</Failure>
|
|
</RNGAction>
|
|
</ScriptedEvent>
|
|
<ScriptedEvent identifier="testrevealmap">
|
|
<RevealMapAreaAction />
|
|
</ScriptedEvent>
|
|
<ScriptedEvent identifier="testrevealpirate">
|
|
<RevealPirateBaseAction />
|
|
</ScriptedEvent>
|
|
</EventPrefabs>
|
|
</Randomevents> |