Jump to content

Refill Costs Money 1.0

   (1 review)

About This File

This plugin will make purchasing a refill cost money. The cost is calculated based on the following formula:

((Max HP-Current HP) / Max HP) * Preset Cost * Fraction Of Total Cost * Base Power Multiplier

Preset Cost = the cost of the object, e.g. 1000 credits for a Havoc

Fraction Of Total Cost = a configurable multiplier you can set, e.g. if you want to have a refill cost 30% of the culculated cost set this to 0.3

Base Power Multiplier = if doubling cost when base power is down is configured this will be set to 2.0 when base power is down otherwise it's always 1.0

You can contact me under the nick 'iran'.

To install place RefillCostsMoney.dll in the root fds folder and add an entry for it under [Plugins] in ssgm.ini, then add the following to ssgm.ini and configure it:

[RefillCostsMoney]

FractionOfTotalCost = 0.3 ; this number is multiplied with the calculated cost of a refill

NoBasePowerDoubleCost = true ; double the cost of a refill when base power is down


User Feedback

You may only provide a review once you have downloaded the file.


×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.