Template:Calculator/OptionCost/doc
Returns the average number of actions spent, and any other quality, item, or menace gains or losses if you play the option until a success
Parameter | Description | Type | Status | |
---|---|---|---|---|
Title | title name | Name of the calculator on the page | String | suggested |
ID | id | Calculator ID, use if you are importing multiple of these calculators on the same page | Template | suggested |
Actions | act actions actionCost | Number of actions the storylet/card costs. Defaults to 1 | Number | optional |
Hidden | hidden | This will hide any fields of the calculator pertaining to the action itself, useful for using this as a template
| Boolean | suggested |
Second Chance Type | ctype chanceType | The name of the second chances the option permits.
| String | optional |
Difficulty | diff difficulty | Challenge difficulty (broad). Unfortunately narrow difficulties are not supported. | Number | required |
Success Qualities | sucs successQualities | Number of qualities impacted by success. For example, if success gains 50 whispered hints and 2 CP nightmares, this would be 2. | Number | required |
Success Quality 1 | squal1 successQuality1 | Name of the first quality gained on success, in the original example this would be Whispered Hints. | String | optional |
Success Gain 1 | snum1 successNumber1 sgain1 successGain1 | Number of above quality gained. Can be negative. Can be a decimal, i.e. if something gives 20-25 items, it would be 22.5. In the original example, it would be 50. | Number | optional |
Success Quality 2 | squal2 successQuality2 | Name of the second quality gained on success, in the original example this would be CP Nightmares. | String | optional |
Success Gain 2 | snum2 successNumber2 sgain2 successGain2 | Number of above quality gained. Can be negative. Can be a decimal, i.e. if something gives 20-25 items, it would be 22.5. In the original example, it would be 3. | Number | optional |
Success Quality 3 | squal3 successQuality3 | Name of the third quality gained on success. | String | optional |
Success Gain 3 | snum3 successNumber3 sgain3 successGain3 | Number of above quality gained. Can be negative. Can be a decimal, i.e. if something gives 20-25 items, it would be 22.5. | Number | optional |
Success Quality 4 | squal4 successQuality4 | Name of the fourth quality gained on success. | String | optional |
Success Gain 4 | snum4 successNumber4 sgain4 successGain4 | Number of above quality gained. Can be negative. Can be a decimal, i.e. if something gives 20-25 items, it would be 22.5. | Number | optional |
Success Quality 5 | squal5 successQuality5 | Name of the fifth quality gained on success. | String | optional |
Success Gain 5 | snum5 successNumber5 sgain5 successGain5 | Number of above quality gained. Can be negative. Can be a decimal, i.e. if something gives 20-25 items, it would be 22.5. | Number | optional |
Success Quality 6 | squal6 successQuality6 | Name of the sixth quality gained on success. | String | optional |
Success Gain 6 | snum6 successNumber6 sgain6 successGain6 | Number of above quality gained. Can be negative. Can be a decimal, i.e. if something gives 20-25 items, it would be 22.5. | Number | optional |
Failure Qualities | fals Failure Qualities | Number of qualities impacted by failure. For example, if failure loses 10 whispered hints, 5 rostygold, and gains 1 cp wounds, this would be 3 | Number | required |
Success Quality 1 | qual1 failureQuality1 | Name of the first quality gained on failure, in the original example this would be Whispered Hints. | String | optional |
Success Gain 1 | num1 failureNumber1 sgain1 failureGain1 | Number of above quality gained. Can be negative. Can be a decimal, i.e. if something gives 20-25 items, it would be 22.5. In the original example, it would be -10. | Number | optional |
Success Quality 2 | qual2 failureQuality2 | Name of the second quality gained on failure, in the original example this would be Rostygold. | String | optional |
Success Gain 2 | num2 failureNumber2 sgain2 failureGain2 | Number of above quality gained. Can be negative. Can be a decimal, i.e. if something gives 20-25 items, it would be 22.5. In the original example, it would be -5. | Number | optional |
Failure Quality 3 | qual3 failureQuality3 | Name of the third quality gained on failure, in the original example this would be CP Wounds. | String | optional |
Failure Gain 3 | num3 failureNumber3 sgain3 failureGain3 | Number of above quality gained. Can be negative. Can be a decimal, i.e. if something gives 20-25 items, it would be 22.5. In the original example, it would be 1. | Number | optional |
Failure Quality 4 | qual4 failureQuality4 | Name of the fourth quality gained on failure. | String | optional |
Failure Gain 4 | num4 failureNumber4 sgain4 failureGain4 | Number of above quality gained. Can be negative. Can be a decimal, i.e. if something gives 20-25 items, it would be 22.5. | Number | optional |
Failure Quality 5 | qual5 failureQuality5 | Name of the fifth quality gained on failure. | String | optional |
Failure Gain 5 | num5 failureNumber5 sgain5 failureGain5 | Number of above quality gained. Can be negative. Can be a decimal, i.e. if something gives 20-25 items, it would be 22.5. | Number | optional |
Failure Quality 6 | qual6 failureQuality6 | Name of the sixth quality gained on failure. | String | optional |
Failure Gain 6 | num6 failureNumber6 sgain6 failureGain6 | Number of above quality gained. Can be negative. Can be a decimal, i.e. if something gives 20-25 items, it would be 22.5. | Number | optional |