Jump to content

Welcome to the Forum!

The best place to exchange builds and ideas! Vote for the best ideas and suggestions here.

Join the Avorion Discord!

Connect with other passionate players and talk about the latest news.
Discord

DLC Avorion Into the Rift Out Now!

Now available on Steam!
Steam

Leaderboard

Popular Content

Showing content with the highest reputation on 09/05/20 in Posts

  1. Hello! There is news on Steam and in the Discord server which hasn't been posted here yet. Read and watch a video about the upcoming DLC and update from here: https://steamcommunity.com/games/445220/announcements/detail/2845666883511849473 This was talked about in the recent streams on Twitch, as far as I'm aware.
    1 point
  2. You're lucky I've read this, because I'm not really active here anymore (but on steam). To answer your question: Your mod would have to override 'startServerDesignJob': -- keep the original function to call inside your overwrite function local mymod_startServerDesignJob = Shipyard.startServerDesignJob function Shipyard.startServerDesignJob(founder, captain, scale, name, planToBuild) mymod_startServerDesignJob(founder, captain, scale, name, planToBuild); --simulate the scaling already done in the original function local plan = planToBuild plan:scale(vec3(scale, scale, scale)) -- Change as you desire local requiredTime = math.floor(20.0 + plan.durability / 100.0) if captain > 0 then requiredTime = requiredTime + 300 end -- Inject your new time into the already setup running job runningJobs[#runningJobs].duration = requiredTime end The code is untested, but the principle should work
    1 point
×
×
  • Create New...