User:Oreo/sandbox: Difference between revisions

From Official Barotrauma Wiki
Jump to: navigation, search
(Blanked the page)
Tag: Blanking
(mock item infobox)
Line 1: Line 1:
 
{{:User:Oreo/sandbox
| name = Morphine
| sprite = morphine_sprite.png
| identifier = antidama1
| description = A powerful opiate for treating pain associated with internal injuries, but will cause shortness of breath and eventual dependency with overuse.
| category = Medical
| tags = smallitem,chem,medical,syringe
<!-- STATS -->
| damage = 5
| burn = 0.1
| oxygenlow = 2
| opiateaddiction = 0.5
| opiateoverdose = 1.0
| opiatewithdrawal = -3.0
| damagefail = 2.5
| burnfail = 0.05
| oxygenlowfail = 3
| opiateaddictionfail = 2.5
| opiateoverdosefail = 2.0
| opiatewithdrawalfail = -3.0 <!-- Pretty sure this is the same for literally every drug that has it except naloxone -->
| duration = 10
| durationfail = 10
<!-- CRAFTING -->
| fabricatorskill = 18
| fabricatormaterials = {{Hyperlink|Opium|32}} (x2)
| fabricatortime = 30
| deconstructormaterials = {{Hyperlink|Opium|32}}
| deconstructortime = 20
<!-- STORE -->
| baseprice = 100
| medicalmultiplier = 0.9
}}
<div style="float:left">Values used for testing<pre>
{{:User:Oreo/sandbox
| name = Morphine
| sprite = morphine_sprite.png
| identifier = antidama1
| description = A powerful opiate for treating pain associated with internal injuries,
but will cause shortness of breath and eventual dependency with overuse.
| category = Medical
| tags = smallitem,chem,medical,syringe
<!-- STATS -->
| damage = 5
| burn = 0.1
| oxygenlow = 2
| opiateaddiction = 0.5
| opiateoverdose = 1.0
| opiatewithdrawal = -3.0
| damagefail = 2.5
| burnfail = 0.05
| oxygenlowfail = 3
| opiateaddictionfail = 2.5
| opiateoverdosefail = 2.0
| opiatewithdrawalfail = -3.0 <!-- Pretty sure this is the same for literally every drug that has it except naloxone -->
| duration = 10
| durationfail = 10
<!-- CRAFTING -->
| fabricatorskill = 18
| fabricatormaterials = {{Hyperlink|Opium|32}} (x2)
| fabricatortime = 30
| deconstructormaterials = {{Hyperlink|Opium|32}}
| deconstructortime = 20
<!-- STORE -->
| baseprice = 100
| medicalmultiplier = 0.9
}}
</pre></div>
<includeonly><onlyinclude>{| class="infobox responsive-table" align="right"
! class="infobox2 responsive-table" colspan="3" | {{{name|{{PAGENAME}}}}}
|-
| colspan="3" style="padding:0.5em;text-align:center !important" |<!--
-->{{ImageHandler|file={{{icon|{{{name|{{PAGENAME}}}}}.png}}}|imagewidth={{{iconwidth|x64}}}px}}{{#if:{{{sprite|}}}|<br>Inventory Icon.}}<!--
-->{{#if:{{{sprite|}}}|<br><br>{{ImageHandler|file={{{sprite}}}|imagewidth={{{spritewidth|x64}}}px}}<br>Sprite.}}<!--
-->{{#if:{{{identifier|}}}|<br><span style="color:#808080">ID: <code>{{{identifier|}}}</code></span>}}<!--
-->{{#if:{{{description|}}}|<hr>''{{{description|}}}''}}
|-
| style="text-align:center" colspan="3" | [[:Category:{{{category|Misc}}}|{{{category|Misc}}}]]{{#if:{{{category2|}}}|, [[:Category:{{{category2}}}|{{{category2}}}]]}}{{#if:{{{subcategory|}}}|<br>[[:Category:{{{subcategory}}}|{{{subcategory}}}]]}}{{#if:{{{tags|}}}|<br>{{#replace:{{{tags}}}|,|,&nbsp;}}}}
{{!}}-
<!-- testing against tag syringe is a safe bet, but this will definitely need to be reevaluated for medical items that are topicals -->
{{#if:{{#pos:{{{tags}}}|syringe}}|
! class="infobox3 responsive-table" colspan="3" {{!}} Medical Usage
{{!}}-
{{!}} style="width:40%;font-size:105%" {{!}} Afflictions
{{!}} style="width:60%" colspan="2" {{!}}<!--
TODO: These need to be wrapped in conditionals, work out the logic later
-->{{Affliction|Internal Damage|{{{damage}}}|{{{damagefail}}}|||{{#expr:{{{duration}}} * {{{damage}}}}}|{{#expr:{{{durationfail}}} * {{{damagefail}}}}}|linktext=Any Internal Damage}}<!--
--><br>{{Affliction|Burn|{{{burn}}}|{{{burnfail}}}|||{{#expr:{{{duration}}} * {{{burn}}}}}|{{#expr:{{{durationfail}}} * {{{burnfail}}}}}}}<!--
--><br>{{Affliction|Oxygen Low|{{{oxygenlow}}}|{{{oxygenlowfail}}}|||{{#expr:{{{duration}}} * {{{oxygenlow}}}}}|{{#expr:{{{durationfail}}} * {{{oxygenlowfail}}}}}}}<!--
--><br>{{Affliction|Opiate Addiction|{{{opiateaddiction}}}|{{{opiateaddictionfail}}}|||{{#expr:{{{duration}}} * {{{opiateaddiction}}}}}|{{#expr:{{{durationfail}}} * {{{opiateaddictionfail}}}}}}}<!--
--><br>{{Affliction|Opiate Overdose|{{{opiateoverdose}}}|{{{opiateoverdosefail}}}|||{{#expr:{{{duration}}} * {{{opiateoverdose}}}}}|{{#expr:{{{durationfail}}} * {{{opiateoverdosefail}}}}}}}<!--
--><br>{{Affliction|Opiate Withdrawal|{{{opiatewithdrawal}}}|{{{opiatewithdrawalfail}}}|||{{#expr:{{{duration}}} * {{{opiatewithdrawal}}}}}|{{#expr:{{{durationfail}}} * {{{opiatewithdrawalfail}}}}}}}
}}
|}</onlyinclude></includeonly>

Revision as of 08:59, 7 October 2022

Morphine

Inventory Icon.

Click to upload a new image.Dummy link
Sprite.
ID: antidama1
A powerful opiate for treating pain associated with internal injuries, but will cause shortness of breath and eventual dependency with overuse.
Medical
smallitem, chem, medical, syringe
Medical Usage
Afflictions Any Internal Damage (50 | 25)*
Burn (1 | 0.5)*
Oxygen Low (20 | 30)*
Opiate Addiction (5 | 25)*
Opiate Overdose (10 | 20)*
Opiate Withdrawal (-30 | -30)*
Values used for testing
{{:User:Oreo/sandbox
| name = Morphine
| sprite = morphine_sprite.png
| identifier = antidama1
| description = A powerful opiate for treating pain associated with internal injuries,
but will cause shortness of breath and eventual dependency with overuse.
| category = Medical
| tags = smallitem,chem,medical,syringe
<!-- STATS -->
| damage = 5
| burn = 0.1
| oxygenlow = 2
| opiateaddiction = 0.5
| opiateoverdose = 1.0
| opiatewithdrawal = -3.0
| damagefail = 2.5
| burnfail = 0.05
| oxygenlowfail = 3
| opiateaddictionfail = 2.5
| opiateoverdosefail = 2.0
| opiatewithdrawalfail = -3.0 <!-- Pretty sure this is the same for literally every drug that has it except naloxone -->
| duration = 10
| durationfail = 10
<!-- CRAFTING -->
| fabricatorskill = 18
| fabricatormaterials = {{Hyperlink|Opium|32}} (x2)
| fabricatortime = 30
| deconstructormaterials = {{Hyperlink|Opium|32}}
| deconstructortime = 20
<!-- STORE -->
| baseprice = 100
| medicalmultiplier = 0.9
}}