• 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.

Nociam

Recruit
58 Badges
Mar 21, 2018
2
0
  • Shadowrun: Dragonfall
  • BATTLETECH: Heavy Metal
  • Stellaris: Federations
  • Tyranny - Bastards Wound
  • Age of Wonders: Planetfall Premium edition
  • Cities: Skylines - Green Cities
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Surviving Mars: Digital Deluxe Edition
  • BATTLETECH - Digital Deluxe Edition
  • Cities: Skylines - Parklife
  • Stellaris: Distant Stars
  • Shadowrun Returns
  • BATTLETECH
  • Age of Wonders: Planetfall - Revelations
  • Surviving Mars: First Colony Edition
  • Cities: Skylines Industries
  • BATTLETECH: Flashpoint
  • Stellaris: Megacorp
  • Prison Architect
  • Surviving Mars: First Colony Edition
  • Cities: Skylines - Campus
  • Age of Wonders: Planetfall Deluxe edition
  • BATTLETECH: Season pass
  • Age of Wonders: Planetfall
  • Cities: Skylines - Snowfall
  • Stellaris: Lithoids
  • Teleglitch: Die More Edition
  • Warlock 2: The Exiled
  • Cities: Skylines
  • Age of Wonders: Planetfall Season pass
  • Magicka: Wizard Wars Founder Wizard
  • Pillars of Eternity
  • Cities: Skylines - After Dark
  • Knights of Pen and Paper 2
  • Magicka 2: Ice, Death and Fury
  • Cities: Skylines - Mass Transit
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Tyranny: Archon Edition
  • Tyranny: Archon Edition
  • Tyranny: Gold Edition
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Cities: Skylines - Natural Disasters
  • Stellaris - Path to Destruction bundle
  • Stellaris
  • Magicka 2
  • Warlock 2: Wrath of the Nagas
  • Stellaris: Synthetic Dawn
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.