We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.
You are using an out of date browser. It may not display this or other websites correctly. You should upgrade or use an alternative browser.
I want to create a sponsor and I do not know how to increase the cost of fuel like Paradox that increases to 100. And also wanted to hide a technology, so that it does not appear in the game.
function OnMsg.RocketLanded(rocket)
rocket.launch_fuel = 100 * const.ResourceScale --100 of Fuel
rocket.refuel_request:ResetAmount(rocket.launch_fuel)
end
rocket.launch_fuel = 100 * const.ResourceScale -- 0/1 of Fuel
rocket.launch_fuel = 0 * const.ResourceScale -- No fuel and can take off on time.