Fractal Softworks Forum

Please login or register.

Login with username, password and session length
Advanced search  

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

Harmful Mechanic

  • Admiral
  • *****
  • Posts: 1083
  • For space is wide and good friends are too few.
    • 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
People need societies, but they don't necessarily need nations.

Alex

  • Administrator
  • Admiral
  • *****
  • Posts: 17259
    • 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: 1083
  • For space is wide and good friends are too few.
    • 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
People need societies, but they don't necessarily need nations.

Alex

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

Yep, makes sense.
Logged