XRWS           Ó  ;  ˜ext_01.cat ext_01.dat aiscripts/lib.recall.subordinates.xml 1163 1749423685 b8f3b94eb4662d6c8e9f391b1b65afca
aiscripts/order.dock.xml 1968 1749418986 c8e1f203e24a99d41f082fd5f87e06a8
aiscripts/order.recall.subordinates.xml 510 1747940946 fc415d01d11d170f7c2937834f5c5a11
steam/content.xml 351 1749423703 ac73344eeba782a5fa0661327be69b4e
<?xml version="1.0" encoding="utf-8" ?>
<!--
CHANGES
- Drones will no longer "dock" and will be collected by the ship once they are close.
-->
<diff>
    <add sel="//do_if[@value='$subordinates.{$i}.unitcategory == unitcategory.transport']" pos="prepend">
        <do_if value="this.bboxdistanceto.{$destination} le 150">
            <debug_text text="'SHIB DRONE DOCK CARGO - Initial Dock'"/>
            <include_interrupt_actions ref="TransferItems"/>
            <dock_masstraffic_drone object="this.ship" destination="$destination" immediate="true" />
        </do_if>
        <do_else>
            <create_order object="this.ship" id="'MoveToObject'" immediate="true">
                <param name="destination" value="$destination"/>
            </create_order>
            <debug_text text="'SHIB DRONE DOCK CARGO - Moving'"/>
            <wait exact="10s"/>
            <debug_text text="'SHIB DRONE DOCK CARGO - Delayed Dock'"/>
            <include_interrupt_actions ref="TransferItems"/>
            <dock_masstraffic_drone object="this.ship" destination="$destination" immediate="true" />
        </do_else>
    </add>
</diff>
<?xml version="1.0" encoding="utf-8" ?>
<!--
CHANGES
- Drones will no longer "dock" and will be collected by the ship once they are close.
-->
<diff>
    <add sel="//actions/do_if[@value='$thisship.towedobject']" pos="after">
        <label name="shibDroneDock"/>

        <do_if value="this.ship and (this.ship.type == shiptype.xsdrone or this.ship.type == shiptype.smalldrone)">
            <do_if value="this.bboxdistanceto.{$destination} le 250">
                <debug_text text="'SHIB DRONE DOCK - Initial Dock'"/>
                <request_docking ship="this.ship" container="$destination" queuedresult="$result1" grantedresult="$result2"/>
                <do_if value="this.ship.assigneddock">
                    <dock ship="this.ship"/>
                    <resume label="finish"/>
                </do_if>
                <do_else>
                    <wait exact="5s"/>
                    <resume label="shibDroneDock"/>
                </do_else>
            </do_if>
            <do_else>
                <!-- Move to destination -->
                <create_order object="this.ship" id="'MoveToObject'" immediate="true">
                    <param name="destination" value="$destination"/>
                </create_order>
                <debug_text text="'SHIB DRONE DOCK - Moving'"/>
                <wait exact="10s"/>
                <debug_text text="'SHIB DRONE DOCK - Secondary Dock'"/>
                <cancel_all_orders object="this.ship"/>
                <request_docking ship="this.ship" container="$destination" queuedresult="$result1" grantedresult="$result2"/>
                <do_if value="this.ship.assigneddock">
                    <dock ship="this.ship"/>
                    <resume label="finish"/>
                </do_if>
                <do_else>
                    <resume label="shibDroneDock"/>
                </do_else>
            </do_else>
        </do_if>
    </add>
</diff>
<?xml version="1.0" encoding="utf-8" ?>
<!--
CHANGES
- Tweak the length of time a ship will wait for no good reason
-->
<diff>
    <replace sel="/aiscript/order/params/param[@name='timeout']">
        <param name="timeout" type="time" default="75s" text="{1041, 10034}" advanced="true" comment="Duration">
            <input_param name="min" value="0s"/>
            <input_param name="max" value="24h"/>
            <input_param name="step" value="30s"/>
        </param>
    </replace>
</diff>
<?xml version="1.0" encoding="utf-8"?>
<content id="ws_2074074957" name="Go Home Drone" author="Shibdib" version="132" date="2025-06-08" save="0" description="Makes drone dock faster." enabled="1" sync="false" lastupdate="1749409325">
  <text language="44" name="Go Home Drone" author="Shibdib" description="Makes drone dock faster."/>
</content>
<?xml version="1.0" encoding="utf-8"?>
<content id="" name="" author="Shibdib" version="132" date="2025-06-08" save="0" description="" lastupdate="">
  <text language="44" name="Go Home Drone" author="Shibdib" description="Makes drone dock faster."/>
</content>
