From Dark and Darker Wiki
(typo) |
(Added gear score) |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 14: | Line 14: | ||
Create an array that will be filtered out from the stats data cell. | Create an array that will be filtered out from the stats data cell. | ||
-->{{#arraydefine:stats_filter|Move Speed,Physical Base Weapon Damage}}<!-- | -->{{#arraydefine:stats_filter|Move Speed,Physical Base Weapon Damage}}<!-- | ||
-->{{#arraydefine:allstats|{{Utility Data|{{ | -->{{#arraydefine:allstats|{{Utility Data|{{{1|{{PAGENAME}}}}}|Stats|AllStats}} }}{{#arraydiff:allstats|allstats|stats_filter}}<!-- | ||
-->{{#arraydefine:all_abilities|{{Utility Data|{{ | -->{{#arraydefine:all_abilities|{{Utility Data|{{{1|{{PAGENAME}}}}}|Abilities|All}} }}<!-- | ||
-->{{#arraydefine:effects_filter|Scaling,Duration}}<!-- | -->{{#arraydefine:effects_filter|Scaling,Duration}}<!-- | ||
-->{{#arraydefine:ability_filter|Consume,Throw}}<!-- | -->{{#arraydefine:ability_filter|Consume,Throw}}<!-- | ||
Line 43: | Line 43: | ||
-->|{{#var:utility_stat}}<!-- | -->|{{#var:utility_stat}}<!-- | ||
-->|{{Utility Data|{{{1}}}|stats|{{#var:stat}} {{{2}}}}} }} }} | -->|{{Utility Data|{{{1}}}|stats|{{#var:stat}} {{{2}}}}} }} }} | ||
|special ={{Utility Data|{{{1}}}|artifactpower}} | |||
|compact_effect ={{#switch:1<!-- | |compact_effect ={{#switch:1<!-- | ||
-->|{{#ifeq:{{{1|{{PAGENAME}}}}}|Potion of Luck|1}}=<!-- | -->|{{#ifeq:{{{1|{{PAGENAME}}}}}|Potion of Luck|1}}=<!-- | ||
Line 124: | Line 125: | ||
-->|{{#if:{{#var:is_throwable}}|1}}=<!-- | -->|{{#if:{{#var:is_throwable}}|1}}=<!-- | ||
-->Throw a {{lc:{{{1|{{PAGENAME}}}}} }} at the target location.}} | -->Throw a {{lc:{{{1|{{PAGENAME}}}}} }} at the target location.}} | ||
|actiontime ={{#if:{{#var:is_musicalinstrument}}{{#var:is_lightsource}}{{#var:is_throwable}}{{#var:is_mining}}{{#var:is_soulheart}}{{#var:is_healing_consumable}}{{#var:is_consumable}}<!-- | |||
-->||<!-- | |||
-->{{#vardefine:self_effects|{{Utility Data|{{{1|{{PAGENAME}}}}}|Abilities|Other|Self|Effects|All}} }}<!-- | |||
-->{{#vardefine:duration|<!-- | |||
-->{{#switch:1<!-- | |||
-->|{{#if:{{#vardefineecho:global|{{Utility Data|{{{1|{{PAGENAME}}}}}|Abilities|Other|Self|Effects|DrinkPotionActivateState|Rarity|Global|Duration}} }}|1}}=<!-- | |||
-->{{#var:global}} s (100% Scaling)<!-- | |||
-->|{{#if:{{Utility Data|{{{1|{{PAGENAME}}}}}|Abilities|Other|Self|Effects|{{#var:self_effects}}|Rarity|5|Duration}}|1}}=<!-- | |||
-->{{#loop:i|0|{{#arraysize:rarities}}<!-- | |||
-->|{{#ifeq:{{#var:i}}|0|| {{!}} }}<!-- | |||
--><span class="colorrarity{{#var:rarities}}"><!-- | |||
-->{{Utility Data|{{{1|{{PAGENAME}}}}}|Abilities|Other|Self|Effects|{{#var:self_effects}}|Rarity|{{#var:rarities}}|Duration}}</span>}} s (100% Scaling)}} }}<!-- | |||
-->{{#if:{{#var:duration}}|{{#var:duration}} }} }} | |||
|interactiontime ={{#if:{{#var:is_installable}}{{#var:is_healing_consumable}}{{#var:is_consumable}} | |||
|{{#switch:{{lc:{{{1|{{PAGENAME}}}}} }}<!-- | |||
-->|campfire kit=<!-- | |||
-->10 s (100% Scaling)<!-- | |||
-->|hunting trap=<!-- | |||
-->{{#switch:{{#var:rarities}} | |||
|1=<span class="colorrarity1">6</span> s | |||
|2=<span class="colorrarity2">5</span> s | |||
|3=<span class="colorrarity3">4</span> s | |||
|4=<span class="colorrarity4">3</span> s | |||
|5=<span class="colorrarity5">2</span> s | |||
|6=<span class="colorrarity6">1</span> s | |||
|7=<span class="colorrarity7">1</span> s}}<!-- | |||
--> (100% Scaling)<!-- | |||
-->|bandage=<!-- | |||
-->4 s (50% Scaling)<!-- | |||
-->|surgical kit=<!-- | |||
-->{{#switch:{{#var:rarities}} | |||
|1=<span class="colorrarity1">15</span> s | |||
|2=<span class="colorrarity2">13</span> s | |||
|3=<span class="colorrarity3">11</span> s | |||
|4=<span class="colorrarity4">9</span> s | |||
|5=<span class="colorrarity5">7</span> s | |||
|6=<span class="colorrarity6">5</span> s | |||
|7=<span class="colorrarity7">3</span> s}}<!-- | |||
--> (50% Scaling)}} }} | |||
|type ={{Utility Data|{{{1}}}|types|all}} | |type ={{Utility Data|{{{1}}}|types|all}} | ||
|description={{Utility Data|{{{1}}}|flavortext}} | |description={{Utility Data|{{{1}}}|flavortext}} | ||
Line 129: | Line 169: | ||
|itemachieve={{Utility Data|{{{1}}}|AP|{{{2|{{#var:rarity}}}}}}} | |itemachieve={{Utility Data|{{{1}}}|AP|{{{2|{{#var:rarity}}}}}}} | ||
|stacksize ={{Utility Data|{{{1}}}|maxcount}} | |stacksize ={{Utility Data|{{{1}}}|maxcount}} | ||
|gearscore ={{Utility Data|{{{1}}}|GearScore|{{{2}}}}} | |||
|sellprice ={{Utility Data|{{{1}}}|SellPrices|{{{2}}}}} | |sellprice ={{Utility Data|{{{1}}}|SellPrices|{{{2}}}}} | ||
|nomargin =1 | |nomargin =1 |
Latest revision as of 23:13, 28 October 2024
Auto creates Utility infobox
Example
{{GenerateUtilityInfobox|Campfire Kit|1}} {{GenerateUtilityInfobox|Campfire Kit|2}} {{GenerateUtilityInfobox|Campfire Kit|3}} {{GenerateUtilityInfobox|Campfire Kit|4}} {{GenerateUtilityInfobox|Campfire Kit|5}} {{GenerateUtilityInfobox|Campfire Kit|6}} {{GenerateUtilityInfobox|Campfire Kit|7}} {{GenerateUtilityInfobox|Potion of Healing|1}} {{GenerateUtilityInfobox|Potion of Healing|2}} {{GenerateUtilityInfobox|Potion of Healing|3}} {{GenerateUtilityInfobox|Potion of Healing|4}} {{GenerateUtilityInfobox|Potion of Healing|5}} {{GenerateUtilityInfobox|Potion of Healing|6}} {{GenerateUtilityInfobox|Potion of Healing|7}} {{GenerateUtilityInfobox|Potion of Protection|1}} {{GenerateUtilityInfobox|Potion of Protection|2}} {{GenerateUtilityInfobox|Potion of Protection|3}} {{GenerateUtilityInfobox|Potion of Protection|4}} {{GenerateUtilityInfobox|Potion of Protection|5}} {{GenerateUtilityInfobox|Potion of Protection|6}} {{GenerateUtilityInfobox|Potion of Protection|7}} {{GenerateUtilityInfobox|Pickaxe|4}} {{GenerateUtilityInfobox|Lantern}}
-
Move Speed -20
-
Type:
Installable,CampfireKit
Interaction Time:
10 s (100% Scaling)
Stack Size:
1
Gear Score:
0
Sell Price:
0
A crackling campfire that you can rest near and recover.
-
Move Speed -20
-
Type:
Installable,CampfireKit
Interaction Time:
10 s (100% Scaling)
Stack Size:
1
Gear Score:
0
Sell Price:
5
A crackling campfire that you can rest near and recover.
-
Move Speed -20
-
Type:
Installable,CampfireKit
Interaction Time:
10 s (100% Scaling)
Stack Size:
1
Gear Score:
6
Sell Price:
7
A crackling campfire that you can rest near and recover.
-
Move Speed -20
-
Type:
Installable,CampfireKit
Interaction Time:
10 s (100% Scaling)
Stack Size:
1
Gear Score:
8
Sell Price:
11
A crackling campfire that you can rest near and recover.
-
Move Speed -20
-
Type:
Installable,CampfireKit
Interaction Time:
10 s (100% Scaling)
Stack Size:
1
Gear Score:
12
Sell Price:
19
A crackling campfire that you can rest near and recover.
-
Move Speed -20
-
Type:
Installable,CampfireKit
Interaction Time:
10 s (100% Scaling)
Stack Size:
1
Gear Score:
16
Sell Price:
30
A crackling campfire that you can rest near and recover.
-
Move Speed -20
-
Type:
Installable,CampfireKit
Interaction Time:
10 s (100% Scaling)
Stack Size:
1
Gear Score:
20
Sell Price:
50
A crackling campfire that you can rest near and recover.
-
Move Speed -20
-
Creates a physical base shield that blocks 10 physical damage for 24 seconds. Damage blocked by the shield will be unaffected by Damage Reduction or limb/headshot multipliers. The shield has no scaling.
Type:
Drink
Action Time:
3 s (100% Scaling)
Stack Size:
3
Gear Score:
0
Sell Price:
0
Potion that gives a temporary defensive shield around the user.
-
Move Speed -20
-
Creates a physical base shield that blocks 15 physical damage for 24 seconds. Damage blocked by the shield will be unaffected by Damage Reduction or limb/headshot multipliers. The shield has no scaling.
Type:
Drink
Action Time:
3 s (100% Scaling)
Stack Size:
3
Gear Score:
0
Sell Price:
2
Potion that gives a temporary defensive shield around the user.
-
Move Speed -20
-
Creates a physical base shield that blocks 20 physical damage for 24 seconds. Damage blocked by the shield will be unaffected by Damage Reduction or limb/headshot multipliers. The shield has no scaling.
Type:
Drink
Action Time:
3 s (100% Scaling)
Stack Size:
3
Gear Score:
6
Sell Price:
4
Potion that gives a temporary defensive shield around the user.
-
Move Speed -20
-
Creates a physical base shield that blocks 25 physical damage for 24 seconds. Damage blocked by the shield will be unaffected by Damage Reduction or limb/headshot multipliers. The shield has no scaling.
Type:
Drink
Action Time:
3 s (100% Scaling)
Stack Size:
3
Gear Score:
8
Sell Price:
6
Potion that gives a temporary defensive shield around the user.
-
Move Speed -20
-
Creates a physical base shield that blocks 30 physical damage for 24 seconds. Damage blocked by the shield will be unaffected by Damage Reduction or limb/headshot multipliers. The shield has no scaling.
Type:
Drink
Action Time:
3 s (100% Scaling)
Stack Size:
3
Gear Score:
12
Sell Price:
10
Potion that gives a temporary defensive shield around the user.
-
Move Speed -20
-
Creates a physical base shield that blocks 35 physical damage for 24 seconds. Damage blocked by the shield will be unaffected by Damage Reduction or limb/headshot multipliers. The shield has no scaling.
Type:
Drink
Action Time:
3 s (100% Scaling)
Stack Size:
3
Gear Score:
16
Sell Price:
16
Potion that gives a temporary defensive shield around the user.
-
Move Speed -20
-
Creates a physical base shield that blocks 40 physical damage for 24 seconds. Damage blocked by the shield will be unaffected by Damage Reduction or limb/headshot multipliers. The shield has no scaling.
Type:
Drink
Action Time:
3 s (100% Scaling)
Stack Size:
3
Gear Score:
20
Sell Price:
27
Potion that gives a temporary defensive shield around the user.
-
Physical Base Weapon Damage 30~31
-
-
Regular Interaction Speed 10%
-
-
Move Speed -45
-
Enables the player to interact with mining nodes to produce ore.
Type:
Mining
Stack Size:
1
Gear Score:
8
Sell Price:
6
Item Achieve:
12
A trusty iron pickaxe that can chip away at most ore.
Opens the Goblin Stone Door. This door can only be found in Goblin Caves, in the Goblin Rooms module.
Type:
Consumable
Stack Size:
1
Item Achieve:
10
A beautiful jewel that shines mysteriously. There are elaborate parts that seem to fit somewhere.