Template:Item/test: Difference between revisions

From Caves of Qud Wiki
Jump to navigation Jump to search
m (WIP)
mNo edit summary
 
(4 intermediate revisions by the same user not shown)
Line 29: Line 29:
{{#ifeq: {{{pvpowered|}}}|yes| {{infobox row|PV (Unpowered)|{{PV}}4{{Color | K |/4}} }} }}
{{#ifeq: {{{pvpowered|}}}|yes| {{infobox row|PV (Unpowered)|{{PV}}4{{Color | K |/4}} }} }}
{{#if: {{{damage|}}}  | {{infobox row|Damage|{{heart}}{{dice tooltip|{{{damage}}}}} }} }}
{{#if: {{{damage|}}}  | {{infobox row|Damage|{{heart}}{{dice tooltip|{{{damage}}}}} }} }}
{{#if: {{{elementaldamage|}}}  | {{infobox row|Elemental Damage|{{heart}}{{dice tooltip|{{{elementaldamage}}}}} {{{elementaltype}}} damage }} }}
{{#if: {{{elementaldamage|}}}  | {{infobox row|Elemental Damage|{{heart}}{{dice tooltip|{{{elementaldamage}}}}} {{{elementaltype}}} }} }}
{{#if: {{{unpowereddamage|}}}|{{infobox row|Damage(Unpowered)|{{heart}}{{{unpowereddamage|}}} }} }}
{{#if: {{{unpowereddamage|}}}|{{infobox row|Damage(Unpowered)|{{heart}}{{{unpowereddamage|}}} }} }}
{{#if: {{{hp|}}}      | {{infobox row|HP|{{{hp}}} }} }}
{{#if: {{{hp|}}}      | {{infobox row|HP|{{{hp}}} }} }}
Line 53: Line 53:
}}
}}
{{#if: {{{chargeperdram|}}}| {{infobox row|Charge per Dram|{{{chargeperdram}}} }} }}
{{#if: {{{chargeperdram|}}}| {{infobox row|Charge per Dram|{{{chargeperdram}}} }} }}
<!--What skill tree it uses-->
{{#if: {{{weaponskill|}}}    | {{infobox row|Skill Used|{{consecutive links |{{{weaponskill}}} }} }} }}
<!--
<!--


Line 59: Line 61:




-->{{Item/TinkerData
-->{{#if:{{{complexity|}}}{{{bits|}}}{{{modcount|}}}{{{canbuild|}}}{{{candisassemble|}}}
    | bits = {{{bits|}}}
 
    | canbuild = {{{canbuild|}}}
    |{{Item/TinkerData
    | candisassemble = {{{candisassemble|}}}
        | bits = {{{bits|}}}
    | tier = {{{tier|}}}
        | canbuild = {{{canbuild|}}}
    | complexity = {{{complexity|}}}
        | candisassemble = {{{candisassemble|}}}
    | modcount = {{{modcount|}}}
        | tier = {{{tier|}}}
        | complexity = {{{complexity|}}}
        | modcount = {{{modcount|}}}
      }}
 
    |{{#if:{{{tier|}}}
        |{{infobox row|Tier|{{{tier}}} }}
      }}
 
   }}<!--
   }}<!--


Line 71: Line 81:
-->
-->
{{#ifeq: {{{empsensitive}}} | yes | {{infobox row|EMP Sensitive|yes}} }}
{{#ifeq: {{{empsensitive}}} | yes | {{infobox row|EMP Sensitive|yes}} }}
<!--What skill tree it uses-->
{{#if: {{{weaponskill|}}}    | {{infobox row|Skill Used|{{consecutive links |{{{weaponskill}}} }} }} }}
{{#if: {{{reputationbonus|}}}|{{Infobox row|Reputation Bonus|{{{reputationbonus}}} }} }}
{{#if: {{{reputationbonus|}}}|{{Infobox row|Reputation Bonus|{{{reputationbonus}}} }} }}
<!--Renderstring, with the ColorString appended before it-->
<!--Renderstring, with the ColorString appended before it-->
Line 96: Line 104:
{{#if: {{{acid|}}}    | <p style="color:#00C420">  {{{acid}}} Acid</p>}}{{#if: {{{electric|}}} | <p style="color:#CFC041"> {{{electric}}} Electric</p>}}{{#if: {{{cold|}}}    | <p style="color:#0096FF">  {{{cold}}} Cold</p>}}{{#if: {{{heat|}}}    | <p style="color:#D74200">    {{{heat}}} Heat</p>}} {{#if:{{{poison|}}}|<p style="color:#009403"> {{{poison}}} Poison</p>}} }} }}
{{#if: {{{acid|}}}    | <p style="color:#00C420">  {{{acid}}} Acid</p>}}{{#if: {{{electric|}}} | <p style="color:#CFC041"> {{{electric}}} Electric</p>}}{{#if: {{{cold|}}}    | <p style="color:#0096FF">  {{{cold}}} Cold</p>}}{{#if: {{{heat|}}}    | <p style="color:#D74200">    {{{heat}}} Heat</p>}} {{#if:{{{poison|}}}|<p style="color:#009403"> {{{poison}}} Poison</p>}} }} }}
{{#if: {{{mods|}}}| {{infobox row|Modifications|{{consecutive links|{{{mods|}}}|</br>|</br>}} }} }}
{{#if: {{{mods|}}}| {{infobox row|Modifications|{{consecutive links|{{{mods|}}}|</br>|</br>}} }} }}
{{#if: {{{extra|}}}|{{infobox row||Extra Info:</br>{{{extra}}} }} }}
{{#if: {{{extra|}}}|{{infobox row|class=qud-exinfo|field=<div class="qud-exinfo-title">Extra Info:</div>{{{extra}}} }} }}
}}
}}
{{#if: {{{desc|}}} | {{Qud look |text={{{desc}}}|title={{{title|{{PAGENAME}} }}} }} }}
{{#if: {{{desc|}}} | {{Qud look |text={{{desc}}}|title={{{title|{{PAGENAME}} }}} }} }}
Line 129: Line 137:
| dynamictable = {{Dynamic object|MeleeWeapons|Prayer Rod}}
| dynamictable = {{Dynamic object|MeleeWeapons|Prayer Rod}}
| desc = A flanged rod of slate grey metal.
| desc = A flanged rod of slate grey metal.
}}
{{Item/test
| title = {{Qud text|blood-gradient hand vacuum}}
| image = bloodgradient hand vacuum.png
| pv = 10
| maxpv = 10
| damage = 1d8
| weight = 6
| commerce = 666
| weaponskill = {{SkillID to name|Pistol}}
| ammo = blood
| ammodamagetypes = Exsanguination</br>Disintegrate
| accuracy = 6
| shots = 1
| maxvol = 8
| liquidgen = 800
| liquidtype = blood
| chargeused = 100
| chargefunction = Weapon power
| id = Blood-Gradient Hand Vacuum
| complexity = 6
| tier = 6
| bits = 0456
| canbuild = yes
| candisassemble = yes
| colorstr = &amp;r
| renderstr = )
| extra = {{Extra info|empsensitive = yes | twohanded = no}}
| inheritingfrom = BasePistol
| dynamictable = {{Dynamic object|Guns|Blood-Gradient Hand Vacuum}}
| desc = Venous tubules and tenebricose metal intertwine, the black science of the Eaters thirsting for new and strange victims.
| categories = Pistols
}}
{{Item/test
| title = {{Qud text|{{Qud shader|text=powered|colors=W-W-W-W-W-R|type=sequence}} {{Qud shader|text=exoskeleton|colors=K-y-K-K-K-K-K-K-K-K|type=sequence}}}}
| image = powered exoskeleton.png
| av = 0
| dv = -2
| weight = 10
| commerce = 535
| id = Strength Exo
| complexity = 6
| tier = 6
| bits = 006
| canbuild = yes
| candisassemble = yes
| colorstr = &amp;W
| renderstr = ]
| extra = {{Extra info|empsensitive = yes | metal = yes | energycellrequired = yes}}
| inheritingfrom = Armor
| wornon = Back
| desc = Slate tubes assembled to scaffold the human form.
| categories = Back Equipment
}}
{{Item/test
| title = {{Qud text|corrosive gas}}
| image = none
| seeping = yes
| id = AcidGas
| colorstr = &amp;g^G
| renderstr = ▓
| inheritingfrom = Gas
| dynamictable = {{Dynamic object|AjiConch|AcidGas}}
| desc = Even now the nimbus of vaporized acid is condensing, starting to settle on its colonized surfaces, starting to sink through their soft edges.
| categories = Gases
}}
{{Item/test
| title = {{Qud text|{{Qud shader|W|On the Origins and Nature of the Dark Calculus}}}}
| image = on the origins and nature of the dark calculus.png
| weight = 1
| commerce = 300
| id = DarkCalculus
| colorstr = &amp;K
| renderstr = =
| bookid = DarkCalculus
| inheritingfrom = Book
| desc = A sheaf of lined, blue paper sewn together with silk thread.~J211
| categories = Books
}}
{{Item/test
| title = {{Qud text|{{Qud shader|Y|steel}} butcher knife}}
| image = steel butcher knife.png
| pv = 4
| maxpv = 7
| vibro = no
| damage = 1d4
| weight = 1
| commerce = 28
| weaponskill = {{SkillID to name|ShortBlades}}
| id = Steel Butcher Knife
| tier = 2
| colorstr = &amp;Y
| renderstr = \
| extra = {{Extra info|twohanded = no | metal = yes}}
| inheritingfrom = BaseDagger
| dynamictable = {{Dynamic object|MeleeWeapons|Steel Butcher Knife}}
| desc = A sharp, massive steel cleaver.
| categories = Short Blades
}}
}}
</noinclude><!--
</noinclude><!--
Line 137: Line 253:




.qud-roll-average {
  font-style: italic;
  display: block;
  color: var(--qud-color-y-dark)
}
.qud-exinfo > .qud-exinfo-title {
  font-weight: 700;
  color: var(--qud-color-y-dark);
  margin: -4px -4px 0 -4px;
  padding: 4px;
  line-height: 1.9em;
  transition: background-color 0.5s, color 0.5s;
}
tr:hover .qud-exinfo:hover .qud-exinfo-title {
  background-color: var(--qud-bg-color-darker);
  color: var(--qud-color-y);
}


.qud-item-stats {
.qud-item-stats {
Line 162: Line 295:
.qud-item-stats-entry > .qud-tooltip-text {
.qud-item-stats-entry > .qud-tooltip-text {
   transition: all 0.1s;
   transition: all 0.1s;
  color: var(--qud-color-y-dark);
}
}
.qud-item-stats-entry:hover > .qud-tooltip-text {
.qud-item-stats-entry:hover > .qud-tooltip-text {
Line 264: Line 398:
   margin: 0.2em;
   margin: 0.2em;
   border: 1px solid;
   border: 1px solid;
   border-color: var(--qud-color-k-dark);
   /* border-color: var(--qud-color-k-dark); */
  border-color: rgba(15, 59, 58, 0.5);
   border-radius: 3px;
   border-radius: 3px;
}
}
.qud-artifact-stats-wrap .qud-tinker-skill-wrap > .qud-tinker-skill-title,
.qud-artifact-stats-wrap .qud-tinker-skill-wrap > .qud-tinker-skill-title,
.qud-artifact-stats-wrap .qud-psychometry-wrap > .qud-psychometry-title {
.qud-artifact-stats-wrap .qud-psychometry-wrap > .qud-psychometry-title {
   background: var(--qud-color-k-dark); /* var(--qud-bg-color-darker); */
   /* background: var(--qud-color-k-dark); */
  background: rgba(15, 59, 58, 0.5);
   padding: 0.1em 0.1em 0.2em 0.1em;
   padding: 0.1em 0.1em 0.2em 0.1em;
   font-weight: bold;
   font-weight: bold;
Line 276: Line 412:
.qud-artifact-stats-wrap .qud-psychometry-wrap > .qud-psychometry-note {
.qud-artifact-stats-wrap .qud-psychometry-wrap > .qud-psychometry-note {
   font-weight: 700;
   font-weight: 700;
}
.qud-artifact-stats-wrap .qud-psychometry-wrap > .qud-psychometry-note span {
  font-weight: 400;
  color: var(--qud-color-y);
}
}
.qud-artifact-stats-wrap .qud-tinker-skill-wrap > .qud-tinker-skill-note span:first-child,
.qud-artifact-stats-wrap .qud-tinker-skill-wrap > .qud-tinker-skill-note span:first-child,
Line 283: Line 423:
}
}
.qud-artifact-tinkering.build-no,
.qud-artifact-tinkering.build-no,
.qud-artifact-psychometry .qud-psychometry-build.build-no {
.qud-artifact-tinkering.build-no + .qud-artifact-psychometry > .qud-psychometry-wrap > .qud-psychometry-note > .qud-psychometry-build.build-no > span:first-child {
   display: none;
   display: none;
}
.qud-artifact-psychometry > .qud-psychometry-wrap > .qud-psychometry-note > .qud-psychometry-build.build-no > span:first-child {
  color: var(--qud-color-k);
  font-weight: bold;
  font-style: italic;
}
}
.qud-artifact-tinkering.build-no + .qud-artifact-psychometry {
.qud-artifact-tinkering.build-no + .qud-artifact-psychometry {
Line 291: Line 436:
   box-sizing: border-box;
   box-sizing: border-box;
}
}





Latest revision as of 16:30, 10 October 2020


Test page for Item template changes

prayer rod
\
4/10
PV/Max PV
♥
0
$
50.00
Commerce Value
2
lbs.
Weight
Damage

♥00

Elemental Damage

♥1d5+78-12 (Avg: 10) Shock

Charge per Use

10

Charge Used For

Stun effect

Skill Used

Cudgel

Artifact Data
<004>Bits
Can Disassemble
Can Build
Tier 4
Complexity 1
Build: Tinker II
Identify: Level 1
Build: Level 1
Character

\

ID?Use this ID to Wish for the item

Prayer Rod

Spawns in

MeleeWeapons

Extra Info:
prayer rod

A flanged rod of slate grey metal.

Perfect


blood-gradient hand vacuum
Bloodgradient hand vacuum.png
10/10
PV/Max PV
♥
1d8
average: 4.5range: 1-8
$
666.00
Commerce Value
6
lbs.
Weight
Damage

♥1d81-8 (Avg: 4.5)

Ammo Type

blood

Accuracy

Medium (6)

Shots per Action

1

Max Volume

8 drams

Liquid Generation

1 dram of blood every 800 turns

Charge per Use

100

Charge Used For

Weapon power

Skill Used

Pistol

Artifact Data
<0456>Bits
Can Disassemble
Can Build
Tier 6
Complexity 6
Build: Tinker II
Identify: Level 4
Build: Level 9
Character

)

ID?Use this ID to Wish for the item

Blood-Gradient Hand Vacuum

Spawns in

Guns

Extra Info:
blood-gradient hand vacuum

Venous tubules and tenebricose metal intertwine, the black science of the Eaters thirsting for new and strange victims.

Perfect


powered exoskeleton
Powered exoskeleton.png
Base AV

♦0

Base DV

○-2

Artifact Data
<006>Bits
Can Disassemble
Can Build
Tier 6
Complexity 6
Build: Tinker II
Identify: Level 4
Build: Level 9
Character

]

ID?Use this ID to Wish for the item

Strength Exo

Worn On

Back

Extra Info:
powered exoskeleton

Slate tubes assembled to scaffold the human form.

Perfect


corrosive gas
Character

ID?Use this ID to Wish for the item

AcidGas

Spawns in

AjiConch

corrosive gas

Even now the nimbus of vaporized acid is condensing, starting to settle on its colonized surfaces, starting to sink through their soft edges.

Perfect


On the Origins and Nature of the Dark Calculus
On the origins and nature of the dark calculus.png
$
300.00
Commerce Value
1
lb.
Weight
Character

=

ID?Use this ID to Wish for the item

DarkCalculus

Book ID

DarkCalculus

On the Origins and Nature of the Dark Calculus

A sheaf of lined, blue paper sewn together with silk thread.

Perfect


steel butcher knife
Steel butcher knife.png
4/7
PV/Max PV
♥
1d4
average: 2.5range: 1-4
$
28.00
Commerce Value
1
lb.
Weight
Damage

♥1d41-4 (Avg: 2.5)

Skill Used

Short Blade

Tier

2

Character

\

ID?Use this ID to Wish for the item

Steel Butcher Knife

Spawns in

MeleeWeapons

Extra Info:
steel butcher knife

A sharp, massive steel cleaver.

Perfect