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: Simulator Enhancements (03/13/24)

Author Topic: Minor 0.9.1 campaign stuff  (Read 2043 times)

Harmful Mechanic

  • Admiral
  • *****
  • Posts: 1340
  • On break.
    • View Profile
Minor 0.9.1 campaign stuff
« on: May 14, 2019, 07:02:17 PM »

I haven't found anything on:
- adding faction leaders to markets (Baikal Daud on Chicomoztoc, Artemisia Sun on Eochu Bres, etc)
- adding danger level text to custom warning beacons (would be slightly annoyed if this turns out to be a non-starter)

And I've done some looking.
Logged

Alex

  • Administrator
  • Admiral
  • *****
  • Posts: 23988
    • View Profile
Re: Minor 0.9.1 campaign stuff
« Reply #1 on: May 14, 2019, 07:07:13 PM »

Admins: see CoreLifecyclePluginImpl.assignCustomAdmins()

Warning beacon stuff: see WarningBeaconEntityPlugin.appendToCampaignTooltip() (so, for something custom, you'd probably want to extend that class and override that method).
Logged

Harmful Mechanic

  • Admiral
  • *****
  • Posts: 1340
  • On break.
    • View Profile
Re: Minor 0.9.1 campaign stuff
« Reply #2 on: May 14, 2019, 07:13:09 PM »

Thanks! Just that little bit more obscure than I was prepared for.

I already implement a custom beacon plugin, so I'll just append the new code to that.
« Last Edit: May 14, 2019, 07:20:25 PM by Soren »
Logged

Alex

  • Administrator
  • Admiral
  • *****
  • Posts: 23988
    • View Profile
Re: Minor 0.9.1 campaign stuff
« Reply #3 on: May 14, 2019, 07:22:04 PM »

Yep, makes sense.
Logged