Active Bounty
class ActiveBounty
Represents a bounty that has been at least viewed by the player. Can be considered an inflated/instantiated version of MagicBountySpec.
Author
Wisp
Types
Functions
Link copied to clipboard
open fun acceptBounty(bountySource: SectorEntityToken, rewardCredits: Float, rewardReputation: Float, rewardFaction: String)
Call when the player accepts a bounty.
Link copied to clipboard
Adds the description for the bounty to a [TextPanelAPI].
Adds the description for the bounty to a [TooltipMakerAPI].
Link copied to clipboard
Calculates and returns the number of credits that will be awarded upon completion, if any.
Link copied to clipboard
Finishes the bounty with the provided result.
Link copied to clipboard
Link copied to clipboard
Rep penalty is the inverse of the reward, capped to -0.05.
Link copied to clipboard
Link copied to clipboard
The faction that offered the bounty, if any.
Link copied to clipboard
The color for the giving faction, or Misc.getTextColor() if none.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
The faction targeted by the bounty, if relevant.
Link copied to clipboard
The color for the target faction, or Misc.getTextColor() if none.
Link copied to clipboard
Whether the bounty has a credit reward or not.
Link copied to clipboard
Whether the bounty expires or not.
Link copied to clipboard
Properties
Link copied to clipboard
The timestamp of when the bounty was first created (not accepted).
Link copied to clipboard
The planet/station/etc from where the bounty was accepted.
Link copied to clipboard
The id of the fleet's flagship.
Link copied to clipboard
The spawn location of the fleet.
Link copied to clipboard
The original size of the bounty fleet in FP, before any battles.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
The number of credits that was promised as a reward upon completion.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard