X: Rebirth

File information

Last updated

Original upload

Created by

jth

Uploaded by

jth1

Virus scan

Safe to use

Tags for this mod

Documentation

Readme

View as plain text

Author: jth
X Rebirth version: 3.61
StationRecycle v0.11 November 16 2015
================================
Adds the ability to recycle or destroy stations

Please be aware that this is a beta release and that you should back up your save games before using it. Save games zip up very efficiently to about 7% of the original size.

Installation and Compatibility with other mods
==============================================
To install it extract and copy the "stationrecycle" folder to the "Steam\steamapps\common\X Rebirth\extensions" folder (create the extensions folder if you don't have it already).

This mod interacts with the player via the Defence Managers menu. To do that it requires one free Defence Manager comms slot out of the three that are available in X Rebirth 2.51 for its top level menu. It does not mind which slot (1-3) it gets.

The free comms slots are a limited resource and could be taken by this mod or by one or more 3rd party mod. This means that this mod could upset another 3rd party mod by taking a slot that it wants and can also be upset by not being able to get one of the three slots, it depends on who gets in first or last. If this script looses completely then the top level menu will not appear at all.

There is now a back door that allows access to the "Destroy or Recycle Station" menu option that appears if you land on your builder CV attached to the station that you want to recycle. This does not use a manager comms slot, so hopefully will always appear.

This mod patches Egosoft language files in the t folder to provide multi lingual support.

X Rebirth will save some of the variables and the state of the Station Recycle cues as part of a normal save game. Do not remove this mod part way through recycling a station. If you decide not to use this mod any more just remove the "StationRecycle" folder or unsubscribe it from Steam and restart the game.

=== How to Use ===

Fly to the zone that contains your station that you want to recycle or destroy
Open communications with your station. This can be done from the Comm button in the Zone map or Property Owned. Then select the Defence Manager
Or
Land on one of your builder (attached to a station) Construction Vessels
Pick the "Destroy or Recycle Backdoor"

Then
Pick the "Destroy or Recycle Station" menu option
Then pick either "Destroy Station" or "Recycle Station" or "Recycle + sell"
Confirm your action
NEW - Construction Vessel is now released from the station and is no longer destroyed, so it can be reused.
Sit back and watch the explosions on the station and decide what to do with the recycled wares [optional]
or
Pick the "Release Construction Vessel" which will detach the CV from your station and let you use it elsewhere
or
Pick the "Tools" menu
"Diagnostics" to provide orders on how to resolve "Destroy or Recycle Station" options being greyed out
"Transfer Engineer to station" to transfer the engineer from the attached Construction Vessel to the station.
"Repair Service" provides fixes or cleanups for this mod - now includes "Unknown Defence Officer" which will remove unknown Defence Officers from all stations
"Reset" main cue to clear the working flag (if ordered to)

=== Details ===
This mod adds an extra sub menu to player owned station Defense Manager's called "Destroy or Recycle Station".
If there is no Defense Manager on the station then one will be created (and deleted) on the fly when using the "Zone map" or "Property Owned" Comm button.
The sub menu currently contains five options, "Destroy Station", "Recycle Station", "Recycle + sell", "Release Construction Vessel" and "Tools"
Destroy Station - explodes the station and releases the original CV
Recycle Station - recycles the materials that the station is built from and then destroys the station and releases the original builder CV
Recycle + sell - recycles the materials that the station is built from into the original builder CV, then puts the wares up for sale for a limited time and then destroys the station and releases the original builder CV
Release Construction Vessel - detaches the CV from your station and let you use it elsewhere
Reset - resets the main cue if it gets stuck and the first three options are greyed out. Use with care.
"Destroy", "Recycle Station" and "Recycle + sell" free off the build slot that the station was using.
The menus and event monitor messages should now be multi lingual with language files for Russian, French, Spanish, Italian and German

=== The Recycle Station option ===
Recycles 80% of the build materials that went into the station. These wares are 'bioopticwiring', 'plasmapumps', 'fusionreactor', 'reinforcedmetalplating'
It also recycles enough 'energycells' to rebuild the first stage of the station that you are recycling
Recycles 100% of the operational shields and turrets that were on the station
Recycles 100% of the V Crusher missiles that were in the station ammunition storage
All recycled materials appear as cargo in the released CV
Relocates station crew via pod to the Albion Skunk if there is room otherwise they are lost

=== Recycle and sell option ===
Places the recycled wares, shields, missiles and drones in the original builder CV and then puts them up for sale for a limited period
A basic mission is created and when it expires the station is destroyed and the original CV is released
You can buy the wares in any order
The selling mission lasts for 20 minutes plus 5 minutes per ware

=== Known issues ===
From v0.09 the Defense Manager now has the "Recycle or Destroy station" menu instead of the Trade Manager. This gets out of the way of the Trading and Manager scripts and improves the chances of getting to the "Recycle or Destroy station" menu.

The dummy Defense Manager is there to allow you to get at the "Destroy or Recycle Station" menu. You will be charged the max price which is refunded as it is destroyed. It should be deleted as you close the "Zone map" or "Property Owned" menus.
There are still some informational messages in the code
Will not recycle a station that has no building CV but it will destroy it. Egosoft provide an option to attach a new CV to an existing station. Once this is done you will be able to recycle the station.
Releasing the CV keeps the existing CV and all of its crew except the Architect which is cloned with the same skills as the original

Recycle and sell
The ware selling mission doesn't currently update any status info.
Recycling a moderate size station with defense drones and missiles will produce 14 wares which means that it will take 25 minutes plus and some work on your part to load it into another CV
You have to be in the same zone as the station to recycle it, you need to stay there until the selling mission starts then you can leave.
If you are using another CV to offload the wares into then I suggest that you leave the zone when the selling mission starts to speed things up as CV's loading cargo don't seem to like being watched.

=== ToDo ===
A proportion of the wares stored inside the station should be ejected into space for salvage - medium
Improve the "Recycle + sell" mission - low

=== Software Engineering ===
There are features within the programming interface provided by Egosoft that help to keep down odd effects and unwanted interactions. Some of these can only be used on mission director scripts as opposed to mods, if you look on Egosoft's site there is a guide for each approach. The mission director (md) specific things include the ability to create your own subroutines (called cues in md) and keep variables local to them which means that you can use the same variable name in several places without making a mess. It tends to protect your code from other people and vica versa.

The mission director cues (roughly subroutines or functions in other languages) can also be placed within other cues (called parent cues) and the child cues only get created when their parent goes active (triggered). Its a rather nice mechanism that keeps the amount of running code down which keeps things quick and also keeps big chunks of code out of the picture until its needed.

If you then add very selective conditions to activate the top level cue then you can get 95% of your code to sit out of the way and not get loaded until its needed.

This script is a pure mission director script using a selective top level cue and it only changes Egosoft language files.
It doesn't use global variables keeping all its variables within the cues that it creates.
There is more than one top level cue due to some timing subtleties but the extra ones have to be explicitly called by the first one.

The Station Recycle or Destroy uses a top level menu to take you to a second level that provides the choice to Recycle or Destroy. This limits the needed communications slots for the manager to one.

As the one defense manager comms slot cannot be guaranteed there is now an event triggered back door that produces a private menu when you land on a builder CV

=== Diagnosing issues ===

These instructions are for Windows 7 64 bit, please adjust for other versions

Start X Rebirth in debug logging mode by adding "-debug all -logfile debug.log" to the end of the command line

In my case this would look like

"C:\Program Files (x86)\Steam\steamapps\common\X Rebirth\XRebirth.exe" -debug all -logfile debug.log

That will create a debug.log file at the same level as your save game folder

Recycle a station, then get a command prompt in the same folder as debug.log by shift right clicking and selecting "open command window here"

Then search for all RecycleStation lines with

find "RecycleStation" debug.log > results.txt

Open results.txt

The following shows the back door in action

[Scripts] *** Context:md.RecycleStation.RecycleSt_LogWriter: Ren Otani Changed room, New room container Build Floating Meadow, Old room container Albion Skunk
[Scripts] *** Context:md.RecycleStation.RecycleSt_CheckSafe: Going to blow up CV that player is on - Build Floating Meadow
[Scripts] *** Context:md.RecycleStation.RecycleSt_CheckSafe: Starting mission to return to ship
[Scripts] *** Context:md.RecycleStation.RecycleSt_CheckSafe_Cleanup: Mission complete, returned to ship - continuing RecycleSt_Recycle Floating Meadows

Alternatively the recycling can be triggered by talking directly to the manager and this replaces the four backdoor lines

[Scripts] *** Context:md.RecycleStation.RecycleSt_CheckSafe: Player not at risk - RecycleSt_Recycle Floating Meadows
[Scripts] *** Context:md.RecycleStation.RecycleSt_Main: Recycling Floating Meadows

followed by the recycling of a Floating meadows station

[Scripts] *** Context:md.RecycleStation.RecycleSt_Main: Recycling Floating Meadows
[Scripts] *** Context:md.RecycleStation.RecycleSt_Fns: KeepCV
[Scripts] *** Context:md.RecycleStation.RecycleSt_Fns: RelocateCrew
[Scripts] *** Context:md.RecycleStation.RecycleSt_LogWriter: Floating Meadows Crew, Total Crew - 1, Albion Skunk - 1,
[Scripts] *** Context:md.RecycleStation.RecycleSt_LogWriter: Floating Meadows Turrets + Shields, Total Turrets: 96, Plasma/MA Turret - 28, HIT/MA Turret - 64, V Launcher - 4, Shields - 25
[Scripts] *** Context:md.RecycleStation.RecycleSt_LogWriter: Floating Meadows Drones + Ammunition, Total Drones: 60, Interceptor URV Mk1 - 5, Intrepid URV Mk1 - 10, Overrun URV Mk1 - 15, Cargolifter URV - 30, Newtonian V Crushers - 800
[Scripts] *** Context:md.RecycleStation.RecycleSt_LogWriter: Station: Floating Meadows, Description: Floating Meadows, Building in Forty-Two
[Scripts] *** Context:md.RecycleStation.RecycleSt_LogWriter: struct_bt_alb_farm_complex_macro, 4 Wares - [['a',0]], Ware: Bio-Optic Wiring - 57, Ware: Energy Cells - 620, Ware: Fusion Reactors - 49, Ware: Reinforced Metal Plating - 243,
[Scripts] *** Context:md.RecycleStation.RecycleSt_LogWriter: Wares - Running Total to [['a',0]], bioopticwiring - 57, energycells - 620, fusionreactor - 49, reinforcedmetalplating - 243,
[Scripts] *** Context:md.RecycleStation.RecycleSt_Fns: DestroyObject Floating Meadows 0x810568
[Scripts] *** Context:md.RecycleStation.RecycleSt_LogWriter: Time: 0, Wreck: Argnu Paradise - 0x8105e1
[Scripts] *** Context:md.RecycleStation.RecycleSt_Fns: Floating Meadows All production modules are now self destructing
[Scripts] *** Context:md.RecycleStation.RecycleSt_LogWriter: Floating Meadows, Storage Modules, 1 Liquid Spheroid, 2 Tesla Duo-Charger, 3 Bulk Tube Stack,
[Scripts] *** Context:md.RecycleStation.RecycleSt_Fns: Floating Meadows - All storage modules are now self destructing
[Scripts] *** Context:md.RecycleStation.RecycleSt_LogWriter: struct_bt_alb_farm_complex_macro, 4 Wares - [['b',1]], Ware: Energy Cells - 292, Ware: Fusion Reactors - 23, Ware: Reinforced Metal Plating - 114, Ware: Bio-Optic Wiring - 75,
[Scripts] *** Context:md.RecycleStation.RecycleSt_LogWriter: Wares - Running Total to [['b',1]], bioopticwiring - 132, energycells - 912, fusionreactor - 72, reinforcedmetalplating - 357,
[Scripts] *** Context:md.RecycleStation.RecycleSt_LogWriter: struct_bt_alb_farm_complex_macro, 4 Wares - [['b',2]], Ware: Energy Cells - 258, Ware: Fusion Reactors - 24, Ware: Reinforced Metal Plating - 115, Ware: Bio-Optic Wiring - 71,
[Scripts] *** Context:md.RecycleStation.RecycleSt_LogWriter: Wares - Running Total to [['b',2]], bioopticwiring - 203, energycells - 1170, fusionreactor - 96, reinforcedmetalplating - 472,
[Scripts] *** Context:md.RecycleStation.RecycleSt_LogWriter: Recycle Wares - Total, buildplan.['b',2], Bio-Optic Wiring - 203, Energy Cells - 1170, Fusion Reactors - 96, Reinforced Metal Plating - 472, , CV: Build Floating Meadow
[Scripts] *** Context:md.RecycleStation.RecycleSt_LogWriter: Time: 40, Wreck: Argnu Paradise - 0x8104be
[Scripts] *** Context:md.RecycleStation.RecycleSt_LogWriter: Time: 80, Wreck: Valley Forge - 0x810571
[Scripts] *** Context:md.RecycleStation.RecycleSt_LogWriter: Time: 120, Wreck: Liquid Spheroid - 0x810663
[Scripts] *** Context:md.RecycleStation.RecycleSt_LogWriter: Time: 120, Wreck: Tesla Duo-Charger - 0x81071e
[Scripts] *** Context:md.RecycleStation.RecycleSt_LogWriter: Time: 120, Wreck: Bulk Tube Stack - 0x810275
[Scripts] *** Context:md.RecycleStation.RecycleSt_Destroy: Delay: 160 , Floating Meadows in Gushing Spring - self destructed
[Scripts] *** Context:md.RecycleStation.RecycleSt_Destroy: Releasing Build Floating Meadow
[Scripts] *** Context:md.RecycleStation.RecycleSt_Fns: ReleaseCV
[Scripts] *** Context:md.RecycleStation.RecycleSt_Fns: Cloning skills from Kirsty Anderson to Ninu Hang
[Scripts] *** Context:md.RecycleStation.RecycleSt_LogWriter: Kirsty Anderson, boarding - 0, combat - 2, engineering - 5, leadership - 3, management - 2, morale - 3, navigation - 4, science - 2,
[Scripts] *** Context:md.RecycleStation.RecycleSt_LogWriter: Ninu Hang, boarding - 0, combat - 2, engineering - 5, leadership - 3, management - 2, morale - 3, navigation - 4, science - 2,

"Recycle and sell" looks like

[Scripts] *** Context:md.RecycleStation.RecycleSt_Main: Floating Meadows - Recycle + sell Wares
[Scripts] *** Context:md.RecycleStation.RecycleSt_Fns: RelocateCrew
[Scripts] *** Context:md.RecycleStation.RecycleSt_LogWriter: Floating Meadows Crew, Total Crew - 1, Albion Skunk - 1,
[Scripts] *** Context:md.RecycleStation.RecycleSt_LogWriter: Floating Meadows Turrets + Shields, Total Turrets: 96, Plasma/MA Turret - 28, HIT/MA Turret - 64, V Launcher - 4, Shields - 25
[Scripts] *** Context:md.RecycleStation.RecycleSt_LogWriter: Floating Meadows Drones + Ammunition, Total Drones: 60, Interceptor URV Mk1 - 5, Intrepid URV Mk1 - 10, Overrun URV Mk1 - 15, Cargolifter URV - 30, Newtonian V Crushers - 800
[Scripts] *** Context:md.RecycleStation.RecycleSt_LogWriter: Station: Floating Meadows, Description: Floating Meadows, Building in Forty-Two
[Scripts] *** Context:md.RecycleStation.RecycleSt_LogWriter: struct_bt_alb_farm_complex_macro, 4 Wares - [['a',0]], Ware: Bio-Optic Wiring - 57, Ware: Energy Cells - 620, Ware: Fusion Reactors - 49, Ware: Reinforced Metal Plating - 243,
[Scripts] *** Context:md.RecycleStation.RecycleSt_LogWriter: Wares - Running Total to [['a',0]], bioopticwiring - 57, energycells - 620, fusionreactor - 49, reinforcedmetalplating - 243,
[Scripts] *** Context:md.RecycleStation.RecycleSt_Fns: DestroyObject Floating Meadows 0x82f896
[Scripts] *** Context:md.RecycleStation.RecycleSt_LogWriter: Time: 0, Wreck: Argnu Paradise - 0x82f973
[Scripts] *** Context:md.RecycleStation.RecycleSt_Fns: Floating Meadows All production modules are now self destructing
[Scripts] *** Context:md.RecycleStation.RecycleSt_LogWriter: Floating Meadows, Storage Modules, 1 Liquid Spheroid, 2 Tesla Duo-Charger, 3 Bulk Tube Stack,
[Scripts] *** Context:md.RecycleStation.RecycleSt_Fns: Floating Meadows - All storage modules are now self destructing
[Scripts] *** Context:md.RecycleStation.RecycleSt_LogWriter: struct_bt_alb_farm_complex_macro, 4 Wares - [['b',1]], Ware: Energy Cells - 292, Ware: Fusion Reactors - 23, Ware: Reinforced Metal Plating - 114, Ware: Bio-Optic Wiring - 75,
[Scripts] *** Context:md.RecycleStation.RecycleSt_LogWriter: Wares - Running Total to [['b',1]], bioopticwiring - 132, energycells - 912, fusionreactor - 72, reinforcedmetalplating - 357,
[Scripts] *** Context:md.RecycleStation.RecycleSt_LogWriter: struct_bt_alb_farm_complex_macro, 4 Wares - [['b',2]], Ware: Energy Cells - 258, Ware: Fusion Reactors - 24, Ware: Reinforced Metal Plating - 115, Ware: Bio-Optic Wiring - 71,
[Scripts] *** Context:md.RecycleStation.RecycleSt_LogWriter: Wares - Running Total to [['b',2]], bioopticwiring - 203, energycells - 1170, fusionreactor - 96, reinforcedmetalplating - 472,
[Scripts] *** Context:md.RecycleStation.RecycleSt_LogWriter: Recycle Wares - Total, buildplan.['b',2], Bio-Optic Wiring - 203, Energy Cells - 1170, Fusion Reactors - 96, Reinforced Metal Plating - 472, , CV: Build Floating Meadow
[Scripts] *** Context:md.RecycleStation.RecycleSt_LogWriter: Time: 40, Wreck: Argnu Paradise - 0x82f943
[Scripts] *** Context:md.RecycleStation.RecycleSt_LogWriter: Time: 80, Wreck: Valley Forge - 0x82f89a
[Scripts] *** Context:md.RecycleStation.RecycleSt_LogWriter: Time: 120, Wreck: Liquid Spheroid - 0x82f8be
[Scripts] *** Context:md.RecycleStation.RecycleSt_LogWriter: Time: 120, Wreck: Tesla Duo-Charger - 0x82f8d6
[Scripts] *** Context:md.RecycleStation.RecycleSt_LogWriter: Time: 120, Wreck: Bulk Tube Stack - 0x82f8e9
[Scripts] *** Context:md.RecycleStation.RecycleSt_SellWares: Selling wares from Build Floating Meadow
[Scripts] *** Context:md.RecycleStation.RecycleSt_SellWares: Creating mission to empty Build Floating Meadow, Wares 14, Mission duration 90 mins
[Scripts] *** Context:md.RecycleStation.RecycleSt_SellWares: Build Floating Meadow - cargo remaining 14

when the trading starts there are sets of three lines showing the trading. The last line gives a summary of where you are in the mission

[Scripts] *** Context:md.RecycleStation.RecycleSt_SellWares_TradeStarted: Trade Order started. Build Floating Meadow - 162 Bio-Optic Wiring
[Scripts] *** Context:md.RecycleStation.RecycleSt_SellWares_TradeCompleted: Trade Order completed. Build Floating Meadow - Bio-Optic Wiring
[Scripts] *** Context:md.RecycleStation.RecycleSt_SellWares_TradeRemoved: Player trade removed - Build Spare. Build Floating Meadow - cargo remaining 13.

then when the trading is all done or you have transferred what you wanted and aborted the rest of the mission

[Scripts] *** Context:md.RecycleStation.RecycleSt_SellWares_Aborted: RecycleSt_SellWares Mission aborted, time to release the builder CV
[Scripts] *** Context:md.RecycleStation.RecycleSt_SellWares_Cleanup: Mission aborted. Recycle - Build Floating Meadow. Destroy - Floating Meadows
[Scripts] *** Context:md.RecycleStation.RecycleSt_Fns: DestroyObject Floating Meadows 0x82f896
[Scripts] *** Context:md.RecycleStation.RecycleSt_LogWriter: Time: 0, Wreck: Floating Meadows - 0x82f896
[Scripts] *** Context:md.RecycleStation.RecycleSt_Wreck_Cleanup: station Floating Meadows selfdestructed
[Scripts] *** Context:md.RecycleStation.RecycleSt_Destroy: Releasing Build Floating Meadow
[Scripts] *** Context:md.RecycleStation.RecycleSt_Fns: ReleaseCV
[Scripts] *** Context:md.RecycleStation.RecycleSt_Fns: Cloning skills from Kirsty Anderson to Sihoban Silsarna
[Scripts] *** Context:md.RecycleStation.RecycleSt_LogWriter: Kirsty Anderson, boarding - 0, combat - 2, engineering - 5, leadership - 3, management - 2, morale - 3, navigation - 4, science - 2,
[Scripts] *** Context:md.RecycleStation.RecycleSt_LogWriter: Sihoban Silsarna, boarding - 0, combat - 2, engineering - 5, leadership - 3, management - 2, morale - 3, navigation - 4, science - 2,

=== Release history ===

- [16.11.2015 - V0.11 Public Beta]
RecycleSt_DummyNPC Now checks that player owns station before adding a dummy Defence Officer to trigger mod via Comm menu
RecycleSt_DummyNPC Will now cleanup unknown dummy Defence officers from any station owner
RecycleSt_DummyNPC Got rid of fee for dummy Defence Officer - improved cleanup should deal with things
RecycleSt_DummyNPC_Clean added to provide search and cleanup for unknown dummy Defence officers from Tools - Repair Service menu
RecycleSt_Fns Clone Architect now also copies their name

- [1.9.2015 - V0.10 Public Beta]
Destroy Station now destroys the station 5 times faster than normal rather than everything at the same time to keep the frame rate up
Destroy Station now releases the Builder CV so that it can be reused instead of destroying it. The crew remain the same except for the Architect who gets cloned (including skills).
Recycle Station now releases the Builder CV so that it can be reused instead of cloning it. The crew remain the same except for the Architect who gets cloned (including skills).
Recycle + sell Station now releases the Builder CV so that it can be reused instead of cloning it. The crew remain the same except for the Architect who gets cloned (including skills).
Release Construction Vessel created to reuse Construction Vessel. The crew remain the same except for the Architect who gets cloned (including skills).
RecycleSt_SellWares - No longer removes crew from selling CV as it is going to be reused and not destroyed
RecycleSt_SellWares - Change messages to remove references to moving crew from selling CV as it is going to be reused and not destroyed
RecycleSt_SellWares - Removed cue RecycleSt_SellWares_ControlEntityMove as crew no longer need to be removed from selling CV
RecycleSt_DummyNPC - Now looks for existing Defense Officers in all personnel docks not just Administration
RecycleSt_DummyNPC - Now makes you pay max fee for the dummy Defence Officer whatever their skill levels as they are essentially hired by you at that point and refunds when they are destroyed
RecycleSt_Main - Added "fast" and "instant" as options when destroying stations.
RecycleSt_Menu - Release Construction Vessel added to first level menu and Destroy Construction Vessel removed from Tools menu
RecycleSt_Menu - Return added back into Tools menu
RecycleSt_Menu - Detects Litauen_ShowBalance and puts help message about how to reattach CV into the event monitor instead of using show_help
RecycleSt_Fns RelocateCrew - Removed transfer of player owned station crew onto other stations when recycling and skunk full - game really doesn't know what to do with them
RecycleSt_Fns - removed CloneCv code as its now released instead of destroyed

- [19.8.2015 - V0.09 Public Beta]
Adjusted RecycleSt_SellWares mission steps to translate engineer and defencecontrol
Adjusted RecycleSt_SellWares mission description to use Egosofts translations for all CV crew types and changed Pickup to Collect
Adjusted RecycleSt_SellWares mission description to make the text inside the () and brackets appear
Added Russian translation file from alexalsp
Added Tools - "Destroy Construction Vessel" to remove attached Builder CV
Modified RecycleSt_Menu to cope with being passed a station, CV or actor object
Modified RecycleSt_CheckSafe to cope with being passed a station, CV or actor object
Changed Trigger actor from Manager to Defense Manager to get out of the way of the Trading and Manager scripts and improve chances of getting to the "Recycle or Destroy station" menu.
Added RecycleSt_DummyNPC which will dynamically create a dummy Defense Manager on whatever station is selected from "Property Owned - Comms" or "Zonemap - Comms", destroying the dummy Defense Manager when no longer needed
Lower cased script and folder names to help with unix compatability
Extended mini mission timeout from when you are about to blow yourself up from 60 to 120 seconds

- [26.6.2015 - V0.08 Public Beta]
Added multi lingual support to most menus and patches for language files for French, Spanish, Italian and German
Rename "Recycle and sell Wares" to "Recycle + sell" to try and keep the length down
Add multi lingual support to most messages on event monitor adjusting messages to use words that have been translated by Egosoft
Tidied up event monitor messages and added titles where possible
Debug text remains mainly in English
Display description instead of macro name to add multi lingual support to Drones + Ammunition list on event monitor
Display description instead of macro name to add multi lingual support to Turrets + Shields list on event monitor
Display description instead of macro name to add multi lingual support to Recycle Wares list on event monitor
Fix issue with certain types of Drones not being added to cloned or builder CV cargo when game not in English
Fix issue with certain types of Turrets and Shields not being added to cloned or builder CV cargo when game not in English
Provide a default price for a cloned CV (v2.51 compatability where get_object_value not available)
Provide Diagnostics "Orders" for what to do if Recycle or Destroy buttons greyed out
Fix RecycleSt_SellWares_Cleanup now correctly displays "Mission aborted" on event monitor when triggered from RecycleSt_SellWares_Aborted

- [12.6.2015 - V0.07 Public Beta]
Added "Recycle and sellwares" option to sell wares from builder CV instead of cloning it
Added "One of your ships has self-destructed" voice message for when CV is wrecked
Recycling stations using the cloned CV now charges you for the cloned CV
Fixed issue with RecycleSt_Fns causing error message in debug logs "ShipGenerator: node missing" and "ShipGenerator: node missing"
Fixed issue with RecycleSt_Main causing error message in debug logs "Evaluated value 'md.RecycleStation.RecycleSt_Main' is not of type component"
Back buttons on menu now take you back a level instead of exiting the conversation completely
Given extra priority to event monitor messages about Wrecking modules to get them to line up better with the actual wrecking
Removed unused clone turret numbers code as it didn't work the way I wanted it to

- [15.5.2015 - V0.06 Public Beta]
Fixed issue with RecycleSt_CheckSafe_Cleanup where dropping off an NPC (manager etc) onto a player station after recycling another player station caused it to try to recycle the second station
Fixed issue with RecycleSt_CheckSafe to allow things to go a bit further if there is no building CV
If RecycleSt_Destroy is selected and there is no builder CV then just destroy the station
If RecycleSt_Destroy is selected don't provide a replacement CV and destroy the builder CV with explosion
If RecycleSt_Destroy is selected destroy all station modules simultaneously suppressing individual module destruction messages
If RecycleSt_Recycle is selected and there is no builder CV then pop up a message, refuse to go any further and reset the cue. It needs a builder CV attached to the station.
Allow station destruction or recycling even if its in the middle of being upgraded
Added Tools menu to provide information on state of mod and somewhere to put any tools
Added Reset option within Tools menu to allow main cue working state to be reset - greyed out if mod not actively destroying or recycling
Station storage modules are now destroyed with explosions
Added debug_text logging of station self destructed to give closure in debug log file
Tidied up formatting of small station messages
Tidied up messages about where NPC on recycling station are going. To cope with non existent second player or NPC stations
Removed un-used function DetachCV from RecycleSt_Fns as I can't get it to fully detach the CV so can't use it

- [20.12.2014 - V0.05 Public Beta]
Added debug_text logging of information messages plus some extra info
Added Are you sure? menu options before station is destroyed or recycled
Added back door access to top level Destroy or Recycle Station menu option menu that does not use a
control entity comms slot, works by adding conversation with Betty when you land on your target station's builder CV
Added checks to see if you are going to blow yourself up by being on the CV or station that is being
recycled or destroyed. Triggers new mini mission that gives you 60 seconds to vacate the CV or station.

- [16.11.2014 - V0.04 Public Beta]
Only pop up Recycle or Destroy menu when conversation is default (player comms manager)
Also pops up for conversation section return
thanks for fixing the above to Vimm Razz
Fix lost "one of your stations .." message
No longer transports entitytype.smallshiptrader to Skunk as they cannot be fired
Changed ownership of dummy CV used for estimates to Canteran to remove unwanted CV destruction messages from player log

- [11.11.2014 - V0.03 Public Beta]
Changed menu handing to a more conventional approach with all code in RecycleSt_Menu
Moved all back end code into a separate cue RecycleSt_Main
Changed all delay times to include an s eg 10s instead of 10 to reduce debug log entries
Thanks to Vim Razz for the above fixes
Fixed a couple of cosmetic errors in RecycleSt_Est1 to keep them out of debug log
Now works with small stations (one or less production modules) Capital Shipyards have 0 production modules

- [06.11.2014 - V0.02 Public Beta]
Improved Recycle or Destroy menu handling and triggering - should do all it can to prevent menu options vanishing
Now checks for Extending or Upgrading station within menu before doing anything and notifies player if there is a problem
Doesn't transfer shipdealers to Albion Skunk as they cannot be fired from vanilla game

- [25.10.2014 - V0.01 Public Beta]
Initial Release