LordHavoc Posted January 30, 2017 Share Posted January 30, 2017 I'm trawling through the lua files and trying to find out exactly where the # of items sold in upgrade stations are. It's specifically the quantities I'm looking to change. (So that instead of 1x of turret X is made...6x is sold) Would anyone know where I could find it? I'm a tiny be ocd and like to have multiple versions of the same turret on my ship, even if they're crappy white ones. Link to comment Share on other sites More sharing options...
LordHavoc Posted January 30, 2017 Author Share Posted January 30, 2017 Nevermind - found it in the Shop.lua function add(item_in, amount) amount = amount or 1 local item = Shop.ItemWrapper(item_in) item.name = item.name or "" item.price = item.price or 0 item.amount = amount * 5 --make shops sell 5x as many of everything table.insert(soldItems, item) end 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