Template:Dmgs: Difference between revisions

From BeeStation Wiki
Jump to navigation Jump to search
No edit summary
(I love chatgpt)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly>{{#ifeq:{{{1}}}|q|<span style="color:#FF0000">{{{2}}}</span>}}{{#ifeq:{{{1}}}|w|<span style="color:#E2B200">{{{2}}}</span>}}{{#ifeq:{{{1}}}|e|<span style="color:#00B803">{{{2}}}</span>}}{{#ifeq:{{{1}}}|r|<span style="color:#0067E3">{{{2}}}</span>}}{{#ifeq:{{{1}}}|t|<span style="color:#A105B3">{{{2}}}</span>}}{{#ifeq:{{{1}}}|qw|<span style="color:#FF0000">{{{2}}}</span>/<span style="color:#E2B200">{{{3}}}</span>}}{{#ifeq:{{{1}}}|qe|<span style="color:#FF0000">{{{2}}}</span>/<span style="color:#00B803">{{{3}}}</span>}}{{#ifeq:{{{1}}}|qr|<span style="color:#FF0000">{{{2}}}</span>/<span style="color:#0067E3">{{{3}}}</span>}}{{#ifeq:{{{1}}}|we|<span style="color:#E2B200">{{{2}}}</span>/<span style="color:#00B803">{{{3}}}</span>}}{{#ifeq:{{{1}}}|wr|<span style="color:#E2B200">{{{2}}}</span>/<span style="color:#0067E3">{{{3}}}</span>}}{{#ifeq:{{{1}}}|er|<span style="color:#00B803">{{{2}}}</span>/<span style="color:#0067E3">{{{3}}}</span>}}{{#ifeq:{{{1}}}|qwe|<span style="color:#FF0000">{{{2}}}</span>/<span style="color:#E2B200">{{{3}}}</span>/<span style="color:#00B803">{{{4}}}</span>}}{{#ifeq:{{{1}}}|qwr|<span style="color:#FF0000">{{{2}}}</span>/<span style="color:#E2B200">{{{3}}}</span>/<span style="color:#0067E3">{{{4}}}</span>}}{{#ifeq:{{{1}}}|qer|<span style="color:#FF0000">{{{2}}}</span>/<span style="color:#00B803">{{{3}}}</span>/<span style="color:#0067E3">{{{4}}}</span>}}{{#ifeq:{{{1}}}|wer|<span style="color:#E2B200">{{{2}}}</span>/<span style="color:#00B803">{{{3}}}</span>/<span style="color:#0067E3">{{{4}}}</span>}}{{#ifeq:{{{1}}}|qwer|<span style="color:#FF0000">{{{2}}}</span>/<span style="color:#E2B200">{{{3}}}</span>/<span style="color:#00B803">{{{4}}}</span>/<span style="color:#0067E3">{{{5}}}}}{{#ifeq:{{{1}}}|e||{{#ifeq:{{isnumeric|{{{1}}}}}|{{{1}}}|<span style="color:#FF0000">{{{1}}}</span>/<span style="color:#E2B200">{{{2}}}</span>/<span style="color:#00B803">{{{3}}}</span>/<span style="color:#0067E3">{{{4}}}|}}}}</span></includeonly><noinclude>
<includeonly>{{#switch:{{{1}}}
| q   = <span style="color:#FF0000">{{{2}}}</span>
| w   = <span style="color:#E2B200">{{{2}}}</span>
| e   = <span style="color:#00B803">{{{2}}}</span>
| r   = <span style="color:#0067E3">{{{2}}}</span>
| t   = <span style="color:#A105B3">{{{2}}}</span>
| qw   = <span style="color:#FF0000">{{{2}}}</span>/<span style="color:#E2B200">{{{3}}}</span>
| qe   = <span style="color:#FF0000">{{{2}}}</span>/<span style="color:#00B803">{{{3}}}</span>
| qr   = <span style="color:#FF0000">{{{2}}}</span>/<span style="color:#0067E3">{{{3}}}</span>
| we   = <span style="color:#E2B200">{{{2}}}</span>/<span style="color:#00B803">{{{3}}}</span>
| wr   = <span style="color:#E2B200">{{{2}}}</span>/<span style="color:#0067E3">{{{3}}}</span>
| er   = <span style="color:#00B803">{{{2}}}</span>/<span style="color:#0067E3">{{{3}}}</span>
| qwe = <span style="color:#FF0000">{{{2}}}</span>/<span style="color:#E2B200">{{{3}}}</span>/<span style="color:#00B803">{{{4}}}</span>
| qwr = <span style="color:#FF0000">{{{2}}}</span>/<span style="color:#E2B200">{{{3}}}</span>/<span style="color:#0067E3">{{{4}}}</span>
| qer = <span style="color:#FF0000">{{{2}}}</span>/<span style="color:#00B803">{{{3}}}</span>/<span style="color:#0067E3">{{{4}}}</span>
| wer = <span style="color:#E2B200">{{{2}}}</span>/<span style="color:#00B803">{{{3}}}</span>/<span style="color:#0067E3">{{{4}}}</span>
| qwer = <span style="color:#FF0000">{{{2}}}</span>/<span style="color:#E2B200">{{{3}}}</span>/<span style="color:#00B803">{{{4}}}</span>/<span style="color:#0067E3">{{{5}}}</span>
| #default = {{#ifeq:{{isnumeric|{{{1}}}}}|{{{1}}}|<span style="color:#FF0000">{{{1}}}</span>/<span style="color:#E2B200">{{{2}}}</span>/<span style="color:#00B803">{{{3}}}</span>/<span style="color:#0067E3">{{{4}}}|}}
}}</includeonly><noinclude>
 
[[Category:Templates]]
[[Category:Templates]]


This shows a colourful text.
This shows colorful text.
* first augment is type of damage.
* first argument is the type of damage.
** q: brute (red)
** q: brute (red)
** w: burn (orange)
** w: burn (orange)
Line 11: Line 30:
*** this is only single usable.
*** this is only single usable.
** qw, qe, qr, qwe, etc... arrangement is given from q to r. (qwer = works, rewq = no)
** qw, qe, qr, qwe, etc... arrangement is given from q to r. (qwer = works, rewq = no)
* if first augment is given as number, it will follow qwer.
* if the first argument is given as a number, it will follow qwer.


<pre>{{dmgs|5|15|25|30}}
<pre>{{dmgs|5|15|25|30}}
{{dmgs|qwer|1|2|4|6}}
{{dmgs|qwer|1|2|4|6}}
{{dmgs|qw|15|25}}
{{dmgs|qw|15|25}}
{{dmgs|e|25 Toxin damage}}
{{dmgs|r|55}}
{{dmgs|r|55}}
{{dmgs|q|over 50 brute damage}}
{{dmgs|q|over 50 brute damage}}
{{dmgs|e|25 Toxin damage}}
{{dmgs|t|liver damage}}
{{dmgs|t|liver damage}}
{{dmgs|qt|5 brute damage|2 liver damage}} <- this is not working because 't' is only single usable
</pre>
</pre>
will be
will be
Line 25: Line 45:
* {{dmgs|qwer|1|2|4|6}}
* {{dmgs|qwer|1|2|4|6}}
* {{dmgs|qw|15|25}}
* {{dmgs|qw|15|25}}
* {{dmgs|r|55}}
* {{dmgs|q|over 50 brute damage}} (It doesn't have to be numbers always.)
* {{dmgs|e|25 Toxin damage}}
* {{dmgs|e|25 Toxin damage}}
* {{dmgs|r|55}}
* {{dmgs|t|2 liver damage}}
* {{dmgs|q|over 50 brute damage}} (It deosn't have to be numbers always.)
* {{dmgs|t|liver damage}}
=== Where can I use this? ===
=== Where can I use this? ===
* Bicaridine: Heals {{dmgs|q|1.5}} when your taken brute damage is below {{dmgs|q|50}}. At more than 50 damage, It heals {{dmgs|q|0.5}}.
* Bicaridine: Heals {{dmgs|q|1.5}} when your taken brute damage is below {{dmgs|q|50}}. At more than 50 damage, It heals {{dmgs|q|0.5}}.
Line 34: Line 54:
* Epinephrine: If you are in the critical condition, heals {{dmgs|0.5|0.5|0.5|0.5}}. If not, It doesn't heal anything. Prevents oxygen damage from going over {{dmgs|r|35}}.
* Epinephrine: If you are in the critical condition, heals {{dmgs|0.5|0.5|0.5|0.5}}. If not, It doesn't heal anything. Prevents oxygen damage from going over {{dmgs|r|35}}.
* Defibrillator: It can't revive people more than {{dmgs|qw|180|180}} damages.
* Defibrillator: It can't revive people more than {{dmgs|qw|180|180}} damages.
isn't better to recognise than before?
Isn't it better to recognize than before?

Latest revision as of 02:21, 27 April 2023


This shows colorful text.

  • first argument is the type of damage.
    • q: brute (red)
    • w: burn (orange)
    • e: toxin (green)
    • r: oxy (blue)
    • t: extra (purple)
      • this is only single usable.
    • qw, qe, qr, qwe, etc... arrangement is given from q to r. (qwer = works, rewq = no)
  • if the first argument is given as a number, it will follow qwer.
{{dmgs|5|15|25|30}}
{{dmgs|qwer|1|2|4|6}}
{{dmgs|qw|15|25}}
{{dmgs|r|55}}
{{dmgs|q|over 50 brute damage}}
{{dmgs|e|25 Toxin damage}}
{{dmgs|t|liver damage}}
{{dmgs|qt|5 brute damage|2 liver damage}} <- this is not working because 't' is only single usable

will be

  • 5/15/25/30
  • 1/2/4/6
  • 15/25
  • 55
  • over 50 brute damage (It doesn't have to be numbers always.)
  • 25 Toxin damage
  • 2 liver damage

Where can I use this?

  • Bicaridine: Heals 1.5 when your taken brute damage is below 50. At more than 50 damage, It heals 0.5.
  • Kelotane: Heals 1.5 when your taken burn damage is below 50. At more than 50 damage, It heals 0.5.
  • Epinephrine: If you are in the critical condition, heals 0.5/0.5/0.5/0.5. If not, It doesn't heal anything. Prevents oxygen damage from going over 35.
  • Defibrillator: It can't revive people more than 180/180 damages.

Isn't it better to recognize than before?