"given for repairs to the shipyard , new boarded Ship.
Resources for repair everything, but Shiptreyder it does not let them go for several hours. I do not remember how, but this ship came with a sequence of four trade routes.
As it docked, routes can not be reseted."
It was required to write a script with the addition button "Give my ship" to NPC_Shiptrader
Code: Select all
<diff>
<add sel="/mdscript/cues/cue[@name='Base']/cues/cue[@name='DefaultComm']/actions/do_else/do_else/do_if[@value='$ship?']">
<add_player_choice_sub text="'Give me my ship back!'" position="bottom_left" section="cArch_BackMyShip" choiceparam="[0, 0, $actor, $BuildModule, $ship, $ship.macro.id]"/>
</add>
<add sel="/mdscript[@name='NPC_Shiptrader']/cues/cue[@name='Base']/cues">
<cue name="Clear_Bild_Module_And_Release_Ship" instantiate="true">
<conditions>
<event_conversation_next_section section="cArch_BackMyShip" actor="$actor" />
</conditions>
<actions>
<signal_cue_instantly cue="BuildFinished" param="$BuildModule" />
</actions>
</cue>
</add>
</diff>
Needs a new fix which checks (Repair Finised?) and (not $actor.buildmodule.freedockslot?) or similar.