Jump to content

Search the Community

Showing results for tags 'trade goods'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Aquapark Tycoon
    • News
    • General Discussion
    • Aquapark Tycoon Discord
  • Avorion
    • News
    • General Discussion
    • Gameplay Discussion
    • Creations
    • Suggestions & Idea Voting
    • Troubleshooting
    • Multiplayer
    • User Guides
    • Mods
    • Bugs
    • Translations
    • Beta Branch
    • Avorion Discord
  • Off-Topic
    • General Off-Topic

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


About Me

Found 2 results

  1. Hello, We found solution that should be implemented into Avorion game. what we suggesting is to increase traders in the sector so if u have 5 docks on your station all 5 of them will be used. how code works? it allows traders to use all free docks on your station by default if u have more then 1 dock only 1 trader will come to your station buy and will leave and other docks wont be used. our script allows 5 traders at the same time to dock because it searches for free docks on station and it tells trader go to that free dock if other one is being used. its best idea yet because currently if you running water factory it fills up really quick and by having this in your game it balances everything by letting you decide how many traders u want and that depends on how many docks you have. currently we set maximum limit to 5 per station so there could be not to many traders in the sectors to prevent any bugs or heavy traffic. i hope you will add this to the game ❤️ Code + Attached files with code: data/scripts/sector/traders.lua function Traders.isSpawnCandidate(station local docks = DockingPositions(station) if not docks then return end if docks.numDockingPositions == 0 or not docks.docksEnabled then return end if not TradingUtility.hasEmptyDocks(station) then return end if station:getValue("minimum_population_fulfilled") == false then -- explicitly check for 'false' return end return true end data/scripts/lib/tradingutility.lua function TradingUtility.hasEmptyDocks(station) -- check if there are traders flying to this station local traders = {Sector():getEntitiesByScript("merchants/tradeship.lua")} local docks = DockingPositions(station) local emptyDocks = math.min(5, docks.numDockingPositions) for _, trader in pairs(traders) do local partner = trader:getValue("trade_partner") if partner and station.index.string == partner then emptyDocks = emptyDocks - 1 if emptyDocks == 0 then return false end end end return true end traders.lua tradingutility.lua
  2. Pretty much what I envision is an overlay (similar to the trading Systems, but doesn't require an installation) that is toggled to show territory where your currently held Dangerous (or higher) Goods Permits are valid. Closest I can do now is searching the name of the faction (or at least the rather uniquely spelled part) to show sectors I've found of just that faction. Right now I've only got three permits from different factions, and granted I've gotten in good standing with them to boot, I'd still like an easier visual indicator of where about I can travel without having to worry.
×
×
  • Create New...