Jump to content

howimineforfish

Members
  • Posts

    4
  • Joined

  • Last visited

howimineforfish's Achievements

0

Reputation

  1. As far as I know, changing turretgenerator.lua and upgradegenerator.lua will affect more than just the equipment dock. It will also affect boss loot, faction thank-you rewards and maybe ai ships? Can't tell. There's a call to UpgradeGenerator.getSectorProbabilities(...) in equipmentdock.lua. Just change the weights variable after the call rather than globally. For turrets, it seems they are using TurretGenerator.generate(...) in turretmerchant.lua. Unfortunately that will probably affect the turret merchant as well. I'm not sure if it's possible to make the equipment dock use a custom script. I think currently the equipment dock just has the turret merchant script slapped on. Either way, just pass the rarities to the generate function from turretmerchant.lua. Also watch for the 0th element gotcha with the arrays. For whatever reason UpgradeGenerator uses an array starting with 1 and turret generation starts with 0. EDIT: Apparently you can use a custom script for the turret part of the equipment dock; "createEquipmentDock" in SectorGenerator.lua but I haven't tested it.
  2. Good to know it isn't a known thing; would be really annoying. It hasn't happened since. It was when I tried to enter the number in the text field. I would enter 600 to buy but it would auto-change it to 97 as if they only had 97 in stock or I could only hold 97. I hadn't bought any of the body armor previously.
  3. Hi, I'm trying to figure out trading but having issues with some items being limited. For example, body armor. I could only buy 97 body armor from a trading post. I have the cash, tons of cargo space, and they had 1500 ish in stock. I completed the trade of 97 and returned to the trading post. Now I can buy all of them, 500+. I had even added a massive section of cargo buy the limit was still 97. Are some items just arbitrarily limited that way? It's possible I just goofed and saw it wrong though. Thanks.
  4. Thank you sir! Saved my bacon on that trade :)
×
×
  • Create New...