XRWS           L   ¥  §ext_01.cat ext_01.dat aiscripts/masstraffic.police.xml 350 1484390088 e054ed8e463f7382bc464fba16809201
aiscripts/masstraffic.watchdog.xml 1609 1484390138 dcbe576c957df5b730c2d70ee0db128c
<?xml version="1.0" encoding="iso-8859-1" ?>

<diff>
	<add sel="/aiscript/attention[@min='visible']/actions/label[@name='scan']" pos="after">
		<do_if value="$target" exact="player.ship">
			<write_to_logbook category="general" text="'Scanned by %1.'.[this.ship.name]"/>
			<resume label="returntomasstraffic" />
		</do_if>
	</add>
</diff>
<?xml version="1.0" encoding="iso-8859-1" ?>

<diff>
	<add sel="/aiscript/attention[@min='nearby']/actions/label[@name='scancargo']" pos="after">
		<do_if value="not $target.isoperational">
			<resume label="returntomasstraffic" />
		</do_if>
		
		<do_if value="$target" exact="player.primaryship">
			<do_if value="$target.hasrelation.kill.{$homebase} or $target.hasrelation.kill.{this.ship}">
				<resume label="raisealarm" />
			</do_if>
			<do_elseif value="$target.suspicious">
				<set_value name="$viewaborttime" exact="25s" comment="some more time for drones" />
				<resume label="startobserve" />
			</do_elseif>
			<do_elseif value="@$homebase.defencenpc.$criminals.indexof.{$target}">
				<set_value name="$viewaborttime" exact="5s" comment="less time for criminal" />
				<resume label="startobserve" />
			</do_elseif>
			<do_elseif value="@$target.pilot.inventory.illegalto.{$homebase.zone.policefaction} or @$target.cargo.illegalto.{$homebase.zone.policefaction}">

				<write_to_logbook category="general" text="'Scanned by %1.'.[this.ship.name]"/>

				<do_if value="not $target.hasrelation.enemy.{$homebase}">
					<start_conversation actor="this" conversation="Speak" type="unqueued" convparam="[5110,5111].random"  />
				</do_if>
				<do_elseif value="not $target.hasrelation.kill.{$homebase}">
					<start_conversation actor="this" conversation="Speak" type="unqueued" convparam="[5112,5113].random"  />
				</do_elseif>

				<remove_value name="$lastscantime"/>
				<resume label="returntomasstraffic" />
			</do_elseif>
		</do_if>
	</add>
</diff>
<?xml version="1.0" encoding="iso-8859-1"?>
<content name="" description="" author="Assailer" version="100" save="false" date="2017-01-14" id="" lastupdate="">
  <text language="44" name="Secret Stash" description="Secret Stash" author="Assailer" version="1.00"/>
</content>
