HellkerN Posted February 13, 2017 Share Posted February 13, 2017 I hope the title didn't get your hopes up too much, not really a mod just a crude edit to ease the cargo transfer a bit. What you have to do to transfer multiple items at a time is: open the file transfercrewgoods.lua (in \data\scripts\entity folder) in Notepad++, find the line ~415 invokeServerFunction("transferCargo", cargo - 1, Player().craftIndex, false) and replace it with for i = 1, 50 do invokeServerFunction("transferCargo", cargo - 1, Player().craftIndex, false) end Then a bit below that in the next function replace invokeServerFunction("transferCargo", cargo - 1, Player().craftIndex, true) with for i = 1, 50 do invokeServerFunction("transferCargo", cargo - 1, Player().craftIndex, true) end And now you transfer 50 pieces of cargo at a time, or replace the 50 with whatever amount you want to transfer. Don't worry it won't crash or anything if you have less than that amount of cargo, it'll just transfer what you have. I really tried to make a nifty mod, but alas I couldn't figure out how to add a textbox in the UI, or even a second button. Really hope someone will do that eventually. Link to comment Share on other sites More sharing options...
Devious Posted February 13, 2017 Share Posted February 13, 2017 Thanks for looking into this, was about to report it as a bug/suggestion after I found out you can only transfer one per click. Being able to input increments yourself would be very useful but I guess that would take some extensive modding and could better be implemented through the game itself. Didn't read well enough but I guess stations also transfer all available if you don't meet the quantity if set to 1000 for example. Link to comment Share on other sites More sharing options...
HellkerN Posted February 13, 2017 Author Share Posted February 13, 2017 I haven't experimented with stations, but yeah it should just transfer all available stuff. Link to comment Share on other sites More sharing options...
Salminar Posted February 14, 2017 Share Posted February 14, 2017 Thank you for poiting where this was made. I'm actually working on a mod based on this but i'm fighting a bit with the UI right now. Here a little tease, hope to make it work in a few days. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now