Fractal Softworks Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

Starsector 0.97a is out! (02/02/24); New blog post: New music for Galatia Academy (06/12/24)

Author Topic: Where is the scripts of those bar missions?  (Read 204 times)

5943

  • Ensign
  • *
  • Posts: 7
    • View Profile
Where is the scripts of those bar missions?
« on: January 16, 2024, 05:44:38 AM »

So,I am looking for the script of the delivery mission,which need you to transport some goods to a specific station,and the quantity of goods should scales with cargo space available,and you can spend story point to increase the payment.
The cargo space it needs always near 200% of the space available,so I want to change it to be more reasonable like 120%

I found the bar_events.csv and it looks like com.fs.starfarer.api.impl.campaign.missions.ProcurementMission should be the plugin I am looking for,but in that plugin,there is no such function that scale the quantity to your cargo space,or spend story points.

Am I looking for the wrong place?

Logged

LngA7Gw

  • Lieutenant
  • **
  • Posts: 93
    • View Profile
Re: Where is the scripts of those bar missions?
« Reply #1 on: January 20, 2024, 01:08:47 PM »

I think you want the DeliveryBarEvent class instead
Logged