Premium Ship Trader 00.02.02
Adds 5 star pilot, engineer, defense officer, and architect (if its a construction ship) to a ship created at a shipyard.
History:
00.01 -02.03 (lots of trial, and too many errors)
removed get architect mission when you build a construction ship
added architect to construction ship
added engineer to any ship
added defense officer to any ship
specified all crew to be argon
edited architect to be a platform target (now works when you tell it to build something)
added 5 star skills to all crew
added appropriate scripts to defense officer and engineer
made all crew to belong to player faction, they will obey without question.
added max fuelcells
02.04 - 02.26
fix pilot/captain, engineer, defense officer to appear on deck when docked
only commanders will be used for the pilot role
updated content.xml so that it won't invalidate save files
added 300 of every drone to ship trader's inventory
To Do:
call shipyard from anywhere and have new ship delivered to your location
Add conversation options to add the crew members
Current Version: 02.26
Special Thanks To:
spartanheyho - for his extensive work on drones.
http://xrebirth.nexusmods.com/download/704
[MOD] Premium Ship Trader
Moderators: Scripting / Modding Moderators, Moderators for English X Forum
-
- Posts: 7
- Joined: Mon, 18. Nov 13, 08:58
[MOD] Premium Ship Trader
Last edited by yonker3445 on Mon, 25. Nov 13, 20:12, edited 17 times in total.
-
- Posts: 968
- Joined: Mon, 25. Jun 12, 22:19
-
- Posts: 7
- Joined: Mon, 18. Nov 13, 08:58
-
- Posts: 296
- Joined: Wed, 6. Sep 06, 08:38
-
- Posts: 7
- Joined: Mon, 18. Nov 13, 08:58
-
- Posts: 7
- Joined: Mon, 18. Nov 13, 08:58
-
- Posts: 7
- Joined: Mon, 18. Nov 13, 08:58
New Version
version 2.26 is out and found the inventory/cargo of a ship trader:
in this example I stored the old values of the drone counts so I could put those amounts back. didn't want to destroy the economy.
edit:
$WareList is defined earlier in the script
Code: Select all
<set_value name="$station" exact="$actor.station"/>
<create_list name="$oldcount"/>
<do_all exact="md.$ShiptraderDroneList.count" counter="$i">
<append_to_list name="$oldcount" exact="$station.cargo.{ware.{$WareList.{$i}}}.count"/>
<remove_cargo object="$station" ware="ware.{$WareList.{$i}}" exact="$station.cargo.{ware.{$WareList.{$i}}}.count" />
<add_cargo object="$station" ware="ware.{$WareList.{$i}}" exact="300" />
</do_all>
edit:
$WareList is defined earlier in the script