Template:Drug

From ShadowHaven Reloaded
Jump to navigation Jump to search


Usage

This template helps create a standard display format for custom drugs.

  • Name The name of the drug.
  • ScreenWidthPercentage This is an optional param which tells the box to only take up X% of the area its assigned to. This will default to 30 but might need to be changed to something else if placed within its own table or something.
  • Vector The drugs vector.
  • Speed The drugs speed
  • Duration The duration of the drugs effect
  • AddictionTypethe addiction type of the drug
  • AddictionRatingThe addiction rating for the drug.
  • AddictionThreshold The threshold to not be addicted.
  • Effect The drugs effects
  • ExoticIngredient any exotic ingredients found in the drug
  • Crash The drugs crash effect
  • Price the cost per dose of the drug
  • Availability the drugs availability
  • Description The text associated with the drug.

So, if you enter this:

{{Drug|
|Name=Test Drug
|ScreenWidthPercentage=30 (optional, defaults to 30)
|Vector=Breath
|Speed=14
|Duration=Requirement
|AddictionType=This is some text
|AddictionRating=This is some text
|AddictionThreshold=This is some text
|Effect=Test Effect
|ExoticIngredient=Text Ingreed
|Crash=Test Crash
|Price=100
|Availability=10F
|Description=Some Text
|}}

The template will return the characters current essence/total essence.

Test Drug
Vector: Breath Speed: 14
Duration: Requirement Addiction Type: This is some text
Addiction Rating: This is some text Addiction Threshold: This is some text
Exotic Ingredient: Text Ingreed Cost per dose: 100
Effect: Test Effect Availability: 10F
Crash: Test Crash
Some Text