Rinart73 Posted May 2, 2019 Share Posted May 2, 2019 Avorion: 0.21.4 "Planetary Trading Post" button in the "Spawn Station" tab of entitydbg.lua spawns station with no goods because function passes incorrect planet data. function onCreatePlanetaryTradingPostButtonPressed() -- code local planets = {specs:generatePlanets()} station:addScript("data/scripts/entity/merchants/planetarytradingpost.lua", planets) -- code end 1. It should pass only 1 planet, not table of planets. 2. Not every sector has planets. Maybe just pass table with random but valid planet type since it determines trading goods? 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