Post
by kuertee » Sun, 29. May 22, 14:31
unfortunately, there's no such function.
but there's a hack that can be used: substitute_text the text you want to find with an arbitrary string.
then test that resulting string.
e.g.:
Code: Select all
<set_value name="$completedname_orig" exact="$completedname" />
<substitute_text text="$completedname">
<replace string="$factionprefix" with="'EXISTS'" />
</substitute_text>
<do_if value="$completedname_orig != $completedname">
<!-- if $completedname changed then the substitute was successful and $factionprefix exists -->
<debug_text text="'$factionprefix: ' + $factionprefix + ' EXISTS!'" />
</do_if>
credit: unitrader from discord
Mods: RPG: Reputations and Professions, Social Standings and Citizenships, Crime has Consequences, Alternatives to Death. Missions/NPCs: Emergent Missions, NPC Reactions, Mod Parts Trader, High-sec Rooms are Locked, Hacking Outcomes, More Generic Missions, Waypoint Fields for Deployment. Others: Auto-cam, Friendly Fire Tweaks, Teleport From Transporter Room, Wear and Tear. QoL: Trade Analytics, Loot Mining, Ship Scanner, Signal Leak Hunter, Station Scanner, Surface Element Targeting, etc.