Class SpecialItemOfferCreator
java.lang.Object
com.fs.starfarer.api.impl.campaign.intel.bar.events.historian.BaseHistorianOfferCreator
com.fs.starfarer.api.impl.campaign.intel.bar.events.historian.BlueprintOfferCreator
com.fs.starfarer.api.impl.campaign.intel.bar.events.historian.SpecialItemOfferCreator
- All Implemented Interfaces:
HistorianData.HistorianOfferCreator
-
Field Summary
FieldsFields inherited from class com.fs.starfarer.api.impl.campaign.intel.bar.events.historian.BaseHistorianOfferCreator
frequency
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected BaseHistorianOfferWithLocation
createOffer
(SectorEntityToken entity, String data) protected String
getBlueprintIdFromOfferId
(String offerId) protected String
getIdForSpec
(Object spec) getOfferId
(BaseHistorianOffer offer) protected float
protected float
getRarityForSpec
(Object spec) getTagsForSpec
(Object spec) void
protected boolean
Methods inherited from class com.fs.starfarer.api.impl.campaign.intel.bar.events.historian.BlueprintOfferCreator
createOffer
Methods inherited from class com.fs.starfarer.api.impl.campaign.intel.bar.events.historian.BaseHistorianOfferCreator
createEntity, getFrequency, ignoresLimit, pickEntity, pickUnexploredRuins, setFrequency
-
Field Details
-
BASE_POINTS
public static int BASE_POINTS -
numAccepted
protected int numAccepted -
PREFIX
-
-
Constructor Details
-
SpecialItemOfferCreator
public SpecialItemOfferCreator(float frequency)
-
-
Method Details
-
notifyAccepted
- Specified by:
notifyAccepted
in interfaceHistorianData.HistorianOfferCreator
- Overrides:
notifyAccepted
in classBaseHistorianOfferCreator
-
createOffer
- Specified by:
createOffer
in classBlueprintOfferCreator
-
getAllSpecs
- Specified by:
getAllSpecs
in classBlueprintOfferCreator
-
getAlreadyUsedIdFromOffer
- Specified by:
getAlreadyUsedIdFromOffer
in classBlueprintOfferCreator
-
getIdForSpec
- Specified by:
getIdForSpec
in classBlueprintOfferCreator
-
getTagsForSpec
- Specified by:
getTagsForSpec
in classBlueprintOfferCreator
-
getRarityForSpec
- Overrides:
getRarityForSpec
in classBlueprintOfferCreator
-
playerKnowsSpecAlready
- Specified by:
playerKnowsSpecAlready
in classBlueprintOfferCreator
-
getProbabilityRuins
protected float getProbabilityRuins()- Overrides:
getProbabilityRuins
in classBlueprintOfferCreator
-
getOfferId
- Specified by:
getOfferId
in interfaceHistorianData.HistorianOfferCreator
- Overrides:
getOfferId
in classBlueprintOfferCreator
-
getBlueprintIdFromOfferId
- Overrides:
getBlueprintIdFromOfferId
in classBlueprintOfferCreator
-