Jump to content

[MOD][Server side] Stolen Scrap Fix


Rinart73

Recommended Posts

Needs to be installed on server side.

Works on 0.21.x+.

 

Several people reported that during the battle ships sometimes pick up Stolen Scrap metals, even though they have the "Don't pick up stolen cargo" setting on.

This mod should help with this issue by instantly transforming picked up Stolen Scrap metals into "unstolen" versions.

 

Installation

1. Unpack the mod archive in your Avorion folder (not in the "data" folder).

2. Open "data/scripts/entity/init.lua" and add the following code to the bottom of the file:

if entity.isShip or entity.isStation then
    entity:addScriptOnce("mods/StolenScrapFix/scripts/entity/stolenscrapfix.lua")
end

 

Uninstallation

It should be safe to uninstall. Just remove the lines you added during installation and folder "StolenScrapFix" folder from "mods".

StolenScrapFix-1.0.0_0.21.4.zip

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...