top of page

Decon Script Tutorial

Disclaimer:

GW did not come up with this script and do not take credit or monetize this script. This is an open resource for free that we have gathered from the internet. We are only putting it out there in a group of scripts for players to use at ease. Use at your own risk.

Step 1:

You will need 2 LCDs and 2 Cargo containers

The first LCD shall be named Script:Decon

The second LCD shall be named Decon

The first Cargo container shall be named DeconIN

The second Cargo container shall be named Recycle

​

Step 2:

Copy and paste the following into the LCD that is placed and named Script:Decon

{{~set 'IDs' @root.E.Id}}

{{~#each E.S.DockedE}}

{{~set 'IDs' (concat @root.Data.IDs ',' Id)}}

{{/each}}

<pos=0> </pos>

{{#scroll 8 4 3}}

{{~#entitiesbyname '*'}}

{{~#each .}}

{{~#test Id in @root.Data.IDs}}{{else}}

<size=75%><color=red>Name: {{Name}}</color></size>

<size=60%>{{recycle . 'Recycle' 'Recycle'}} min: X:

{{~MinPos.X}} Y:{{~MinPos.Y}} Z:{{~MinPos.Z}}

max: X:{{MaxPos.X}} Y:

{{~MaxPos.Y}} Z:{{MaxPos.Z}}

current X:{{X}} Y:{{Y}} Z:{{Z}}

Blocks: Total:{{TotalBlocks}} Checked:

{{~CheckedBlocks}} RemovedBlocks:

{{~RemovedBlocks}}

{{/recycle}}</size>

<size=60%>{{deconstruct . 'DeconIN' 'Decon'}} min: X:

{{~MinPos.X}} Y:{{~MinPos.Y}} Z:{{~MinPos.Z}}

max: X:{{MaxPos.X}} Y:

{{~MaxPos.Y}} Z:{{MaxPos.Z}}

current X:{{X}} Y:{{Y}} Z:{{Z}}

Blocks: Total:{{TotalBlocks}} Checked:

{{~CheckedBlocks}} RemovedBlocks:

{{~RemovedBlocks}}

{{/deconstruct}}</size>

<size=60%>{{deconstruct . 'Recycle' 'Loot''402-407,411-413,462,839,1386,1481-1483,2362,2375,2388,1788,1787,1829,1854,1867,1828,1786,1683,2040,1910,1842,1856,1830,1869'}} min: X:

{{~MinPos.X}} Y:{{~MinPos.Y}} Z:{{~MinPos.Z}}

max: X:{{MaxPos.X}} Y:

{{~MaxPos.Y}} Z:{{MaxPos.Z}}

current X:{{X}} Y:{{Y}} Z:{{Z}}

Blocks: Total:{{TotalBlocks}} Checked:

{{~CheckedBlocks}} RemovedBlocks:

{{~RemovedBlocks}}

{{/deconstruct}}{{/size}}

{{/test}}

{{/each}}

{{/entitiesbyname}}

{{/scroll}}

​

Step 3:

The structure that you want to deconstruct, make sure the following is correct:

  1. The structure that has those cargo containers and lcds named should be the same faction as the structure that is being deconstructed. For example, if both structures are set to faction, it will work; however, if one is set to faction, and the other is set to private, it will not work

  2. The Core of the target being deconstructed must be a regular core.

  3. You have to be in the same playfield, within 200 meters proximity

If the above checks out, find the ID of the structure that you want to deconstruct by going into P menu under statistic page, and copy that ID down.

​

Step 4:

Rename the core of the structure being deconstructed to "Decon-123456" <<<<123456 being the structure id that you just found in Step 3 and save that name

​

Step 5:

Watch the structure being deconstructed into your cargo container that is named "DeconIN" and make sure you destroy the core after the structure has been deconstructed.

​

Recycle / Loot Functions:

The script accounts for Recycle and Loot Function as well.

If you name the core "Recycle-123456" <<<<123456 being the structure ID, it will turn all the parts and blocks into ingots and materials.

If you name the core "Loot-123456", the blocks (Combat Steel Blocks, etc) and some parts will be deconstructed into the box you named "DeconIN" and the alien containers, containers, and other parts will remain.

​

Notes:

Please note that the deconstruction script only works once in the same playfield on the same ship, you cannot do Loot- then Decon-.

Please also note that this will give you a lot of parts and blocks that you normally would be unmotivated to loot, so keep that DeconIN box cleared.

The script is not written or produced by GW, if needed modifications, we currently do not support that.

Use at your own risk.

bottom of page