Torn Rigs Layout Switcher

Adds "Save current rig layout" & "Empty rig layout" quick actions to a Cracking crime.

Author
SOLiNARY
Daily installs
2
Total installs
450
Ratings
0 0 0
Version
0.6.1
Created
2023-12-26
Updated
2024-02-23
License
MIT
Applies to

Adds "Save current rig layout" & "Empty rig layout" quick actions to a Cracking crime.
If you want to empty one of the three chassis, first select "Chassis #N" button u want to clear, then click "Empty" button.
If you want to save current chassis layout, first select "Chassis #N" button u want to save, then click "Save current layout" button and give it a name.
If you want to delete one of the saved chassis layouts, first click "Delete layout" button, then enter a name of a layout you want to delete.
Clicking "Disable rig" will strip off ALL PSUs from all the chassis.
Clicking "Export all layouts" will show up a textbox with a string to copy & share.
Clicking "Export layout" will show up a prompt to enter a name of a specific layout to share, after entering you will get a textbox with a string to copy & share.
Clicking "Import layouts" will show up a prompt where you can copy-paste the shared string.

Script will only change the components that differ between old/new layouts.
After you apply any layout, fast click "Spam click X more times!" button to apply the changes (this is required to make script legit), then refresh the page to see the changes.

Changes are immediate, but visually components will appear either after a page refresh or 5-15 seconds.