User:Vaileasys/sandbox: Difference between revisions

From PZwiki
m (update toc)
(add more todo and vector-2022.css)
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>{{toc}}'''TODO:'''
<div class="sitenotice-card">
'''Before rollout'''
<div class="image-container-left">
#<s>check weapon mods are working correctly</s>
[[File:Spiffo rummage.png|64px]]
#<s>add door and tree icons to damage</s> ''--changed mind''
</div>
#<s>add weapons# (1-5) and fetch image automatically</s>
<div>
#<s>add "type" parameter, and determine accent colour based on it</s> --gets colour from category
'''Wiki maintenance!'''
#<s>add img filter:invert class</s> ''--changed mind''
#<s>add common icons to infobox, see [[weapons]] and other [[items]]</s> ''--changed mind''
#<s>add "Encumbrance (full)", use "weight_full" parameter, else calculate encumbrance when full based on <code>weight</code>, <code>capacity</code> and <code>weight_reduction</code></s>
#<s>add tooltip explaining "packaged"</s>
#<s>hide unused headers</s>
#<s>add ammo examples</s>
#<s>fix ammo contents/capacity</s>
#add traps?
#<s>add "icon", "icon_name" and "icon_link" as optional parameters for "alternate_image", etc.</s>
#calculate food life when frozen or refrigerated, similar to container weight with organized.
##frozen food multiplier is 50.
##chilled food multiplier is 5.
#add game code parameters as alternate template paramters.
#test, checking for more parameters to be changed during rollout.
'''During rollout'''
#change alternate_image, etc. to icon (icon_name, icon_link, icon_width)
#remove all instances of "type" during rollout (weapons: replace "type" with "damage_type")
</noinclude><includeonly>{{Infobox
|bodystyle  = width:350px; -moz-box-shadow: 0px 0px 2px 2px #{{Infobox nc|{{{name_colour|{{{category|}}}}}}}};    <!-- Firefox
                        --> -webkit-box-shadow: 0px 0px 2px 2px #{{Infobox nc|{{{name_colour|{{{category|}}}}}}}}; <!-- Safari & Chrome
                        --> box-shadow: 0px 0px 2px 2px #{{Infobox nc|{{{name_colour|{{{category|}}}}}}}};        <!-- Opera & Edge
                        --> border: 1px solid #{{Infobox nc|{{{name_colour|{{{category|}}}}}}}};


| above      = <div style="background: #{{Infobox nc|{{{name_colour|{{{category|}}}}}}}}; <!--
The wiki will be undergoing some maintenance while we modify the default theme.<br>
                        --> padding: 5px; font-weight: bold; <!--
Notice any oddities or want to provide feedback? Let us know on the [[PZwiki_talk:Community_portal/Wiki_theme|discussion page]] or the [https://discord.com/channels/136501320340209664/473467044050894858 pzwiki discord channel].
                        --> text-align: center; font-size: 120%; <!--
</div>
                        --> color:#{{Infobox nc|{{{name_text_colour|{{{category|}}}}}}|text}};"> <!--
<div class="image-container-right">
                        --> <span class="fn">{{#if:{{{name|{{{display_name|}}}}}}|{{Translation|{{{name|{{{display_name|{{BASEPAGENAME}}}}}}}}}}|{{check title}}}}</span></div>
[[File:Be crafty.png|64px]]
</div>
</div>


| image      = {{#if: {{{model|}}}|[[File:{{{model}}}{{!}}{{Translation|{{{display_name|{{{name|{{BASEPAGENAME}}}}}}}}}}{{!}}{{{model_width|200px}}}{{!}}class=pixelart]]|<!--
'''[[MediaWiki:Common.css|Common.css]]'''
          --> {{#if: {{{image|{{{icon|{{{alt_image|{{{alternate_image|}}}}}}}}}}}}|[[File:{{{image|{{{icon|{{{alt_image|{{{alternate_image|}}}}}}}}}}}}|{{Translation|{{{display_name|{{{name|{{BASEPAGENAME}}}}}}}}}}|{{{image_width|128px}}}|class=pixelart]]}} }}
<syntaxhighlight lang="css">
| caption    = {{#if: {{{image_caption|{{{model_caption|}}}}}}|{{{image_caption|{{{model_caption|}}}}}} }}
/* Mediawiki:Sitenotice */
.sitenotice-card {
    display: flex;
    justify-content: space-between;
    align-items: center
    text-align: center;
    background-color: #f8f9fa;
    padding: 0.5rem 1rem;
    border-bottom: 1px solid #eaecf0;
    width: auto;
}


| image2    = {{#if: {{{icon|{{{icon2|{{{icon3|{{{icon4|{{{icon5|{{{icon6|{{{icon7|{{{icon8|{{{icon9|{{{icon10|{{{icon11|{{{icon12|{{{icon13|{{{icon14|{{{icon15|{{{icon16|}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}} <!-- check if any alternate images exist -->
.sitenotice-card > div {
|<table style="margin:auto; border-spacing:4px 2px;"><tr> <!-- create table and table row --> <!--
    display: flex;
##icon##
    flex-direction: column
-->{{#if: {{{icon|}}}
}
|{{Infobox item/icon
  |icon={{{icon}}}        |link={{{icon_link|}}}
  |name={{{icon_name|}}}  |width={{{icon_width|}}}
  |category={{{category|{{{name_color|}}}}}}
}}
}}<!--
##icon2##
-->{{#if: {{{icon2|}}}
|{{Infobox item/icon
  |icon={{{icon2}}}        |link={{{icon_link2|}}}
  |name={{{icon_name2|}}}  |width={{{icon_width2|}}}
  |category={{{category|{{{name_color|}}}}}}
}}
}}<!--
##icon3##
-->{{#if: {{{icon3|}}}
|{{Infobox item/icon
  |icon={{{icon3}}}        |link={{{icon_link3|}}}
  |name={{{icon_name3|}}}  |width={{{icon_width3|}}}
  |category={{{category|{{{name_color|}}}}}}
}}
}}<!--
##icon4##
-->{{#if: {{{icon4|}}}
|{{Infobox item/icon
  |icon={{{icon4}}}        |link={{{icon_link4|}}}
  |name={{{icon_name4|}}}  |width={{{icon_width4|}}}
  |category={{{category|{{{name_color|}}}}}}
}}
}}<!--
##icon5##
-->{{#if: {{{icon5|}}}
|{{Infobox item/icon
  |icon={{{icon5}}}        |link={{{icon_link5|}}}
  |name={{{icon_name5|}}}  |width={{{icon_width5|}}}
  |category={{{category|{{{name_color|}}}}}}
}}
}}<!--
##icon6##
-->{{#if: {{{icon6|}}}
|{{Infobox item/icon
  |icon={{{icon6}}}        |link={{{icon_link6|}}}
  |name={{{icon_name6|}}}  |width={{{icon_width6|}}}
  |category={{{category|{{{name_color|}}}}}}
}}
}}<!--
##icon7##
-->{{#if: {{{icon7|}}}
|{{Infobox item/icon
  |icon={{{icon7}}}        |link={{{icon_link7|}}}
  |name={{{icon_name7|}}}  |width={{{icon_width7|}}}
  |category={{{category|{{{name_color|}}}}}}
}}
}}<!--
##icon8##
-->{{#if: {{{icon8|}}}
|{{Infobox item/icon
  |icon={{{icon8}}}        |link={{{icon_link8|}}}
  |name={{{icon_name8|}}}  |width={{{icon_width8|}}}
  |category={{{category|{{{name_color|}}}}}}
}}
}}
</tr></table>}}
{{#if: {{{icon9|{{{icon10|{{{icon11|{{{icon12|{{{icon13|{{{icon14|{{{icon15|{{{icon16|}}}}}}}}}}}}}}}}}}}}}}}} <!-- check if icons 9-16 exist -->
|<table style="margin:auto; border-spacing:4px 2px;"><tr> <!-- create table and new table row --> <!--
##icon9##
-->{{#if: {{{icon9|}}}
|{{Infobox item/icon
  |icon={{{icon9}}}        |link={{{icon_link9|}}}
  |name={{{icon_name9|}}}  |width={{{icon_width9|}}}
  |category={{{category|{{{name_color|}}}}}}
}}
}}<!--
##icon10##
-->{{#if: {{{icon10|}}}
|{{Infobox item/icon
  |icon={{{icon10}}}        |link={{{icon_link10|}}}
  |name={{{icon_name10|}}}  |width={{{icon_width10|}}}
  |category={{{category|{{{name_color|}}}}}}
}}
}}<!--
##icon11##
-->{{#if: {{{icon11|}}}
|{{Infobox item/icon
  |icon={{{icon11}}}        |link={{{icon_link11|}}}
  |name={{{icon_name11|}}}  |width={{{icon_width11|}}}
  |category={{{category|{{{name_color|}}}}}}
}}
}}<!--
##icon12##
-->{{#if: {{{icon12|}}}
|{{Infobox item/icon
  |icon={{{icon12}}}        |link={{{icon_link12|}}}
  |name={{{icon_name12|}}}  |width={{{icon_width12|}}}
  |category={{{category|{{{name_color|}}}}}}
}}
}}<!--
##icon13##
-->{{#if: {{{icon13|}}}
|{{Infobox item/icon
  |icon={{{icon13}}}        |link={{{icon_link13|}}}
  |name={{{icon_name13|}}}  |width={{{icon_width13|}}}
  |category={{{category|{{{name_color|}}}}}}
}}
}}<!--
##icon14##
-->{{#if: {{{icon14|}}}
|{{Infobox item/icon
  |icon={{{icon14}}}        |link={{{icon_link14|}}}
  |name={{{icon_name14|}}}  |width={{{icon_width14|}}}
  |category={{{category|{{{name_color|}}}}}}
}}
}}<!--
##icon15##
-->{{#if: {{{icon15|}}}
|{{Infobox item/icon
  |icon={{{icon15}}}        |link={{{icon_link15|}}}
  |name={{{icon_name15|}}}  |width={{{icon_width15|}}}
  |category={{{category|{{{name_color|}}}}}}
}}
}}<!--
##icon16##
-->{{#if: {{{icon16|}}}
|{{Infobox item/icon
  |icon={{{icon16}}}        |link={{{icon_link16|}}}
  |name={{{icon_name16|}}}  |width={{{icon_width16|}}}
  |category={{{category|{{{name_color|}}}}}}
}}
}}
</tr></table>}}


| imagestyle = padding:10px;
.sitenotice-card .image-container-left {
| headerstyle = background-color: #{{Infobox nc|{{{name_colour|{{{category|}}}}}}}}; color: #{{Infobox nc|{{{name_text_colour|{{{category|}}}}}}|text}};
    margin-right: 1rem
| labelstyle = background-color:#eee; width:50%;
}
| datastyle  = width:50%;


<!-- #############
.sitenotice-card .image-container-right {
    ## GENERAL ##
    margin-left: 1rem
    ############# -->
}
<!-- checks if any of the parameters in this group exist, else hides header -->
/* hide images if screen size is less than 720px */
| header1    = {{#if:{{{category|{{{weight|{{{weight_full|{{{capacity|{{{equipped|{{{attachment_type|{{{function|{{{secondary_item|{{{weapon|{{{weapons|{{{weapon1|{{{weapon2|{{{weapon3|{{{weapon4|{{{weapon5|{{{part_type|{{{skill_type|{{{ammo_type|{{{clip_size|}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}|{{Translation|General}}}}
@media screen and (max-width: 719px) {
    .sitenotice-card .image-container-left,
    .sitenotice-card .image-container-right {
        display:none
    }
}
</syntaxhighlight>


| label2    = {{Translation|Category}}
'''[[MediaWiki:Vector-2022.css|Vector-2022.css]]'''
| data2      = {{{category|Item}}}
<syntaxhighlight lang="css">
.vector-sitenotice-container {
    display: flex;
    justify-content: center;
    align-items: center;
}


| label3     = {{Translation|Encumbrance}} [[File:Moodle_Icon_HeavyLoad.png|right|link=Moodles{{Subpage}}#{{Translation|Heavy Load}}|{{Translation|Heavy Load}}]]
.sitenotice-card {
| data3      = {{{weight|1}}}
    box-sizing: border-box;
    max-width: 1000px;
     width: 944px;
}
</syntaxhighlight>


| label4    = {{Translation|Full encumbrance}} [[File:Moodle_Icon_HeavyLoad.png|right|link=Moodles{{Subpage}}#{{Translation|Heavy Load}}|{{Translation|Heavy Load}}]]
===TODO===
| data4      = {{#if:{{{weight_full|}}}
*add <code>class="text-container"</code> for div with the text, so it can be modified per skin.
  |{{{weight_full}}}
<syntaxhighLight lang="css">
  |{{#if:{{{weight_reduction|}}}
.sitenotice-card .text-container {
    |{{#iferror:{{Container weight|{{{capacity|}}}|{{{weight_reduction}}}|{{{weight|}}}}} <!-- error checking for expressions -->
     /* styles go here */
      |
}
      |{{Tooltip
</syntaxhighlight>
        |{{Container weight|{{{capacity|}}}|{{{weight_reduction}}}|{{{weight|}}}}} <!-- text: calculate weight when full -->
*consider adding {{code|<p>}} or {{code|<div>}} tag with <code>class="title"</code> for styling the title.
        |{{Container weight|{{Container organized|{{{capacity|}}}}}|{{{weight_reduction}}}|{{{weight|}}}}} with organized trait <!-- tooltip: calculate weight when full with organized trait -->
<syntaxhighLight lang="css">
      }}
.sitenotice-card .text-container .title {
    }}
    /* styles go here */
  }}
}
}}
</syntaxhighlight>
 
*create an [[MediaWiki:Anonnotice|anonnotice]] for users that aren't logged in
| label5    = {{Translation|Equipped}}
**wording will be adjusted directing them to create an account to change the theme
| data5      = {{{body_location|{{{equipped|}}}}}}
*Once style implemented, modify to advise how to change the theme
 
| label6    = {{Translation|Slot attached}}
| data6      = {{#switch:{{{attachment_type|}}} <!-- get attachment_type and return correct attachment location -->
  | Saucepan|BigWeapon|BigBlade|Shovel|Racket|Pan|Guitar|GuitarAcoustic|Rifle|Back = {{Translation|Back}}
  | Nightstick|MeatCleaver|Hammer|Wrench|Knife|Screwdriver|Walkie|Belt = {{Translation|Belt}}
  | Holster = {{Translation|Holster}}
  | #default = {{Translation|{{{attachment_type|}}}}}
}}
 
| label7    = {{Translation|Function}}
| data7    = {{Translation|{{{function|{{{primary_use|}}}}}}{{#if:{{{secondary_use|}}}|<br>{{{secondary_use}}}}}}}
 
| label8    = {{Translation|Secondary}}
| data8      = {{#if:{{{secondary_item|}}}|{{img_item|{{{secondary_item}}}}}|}}
 
| label9    = {{Translation|Slots added}}
| data9      = {{{attachments_provided|}}}
 
| label10 = {{Translation|Used in}}
| data10 = {{#if:{{{MountOn|{{{weapon|{{{weapons|}}}}}}}}}|{{{MountOn|{{{weapon|{{{weapons}}}}}}}}}|{{#if:{{{weapon1|}}}|{{img_item|item={{{weapon1|}}}}}}}{{#if:{{{weapon2|}}}|{{img_item|item={{{weapon2|}}}}}}}{{#if:{{{weapon3|}}}|{{img_item|item={{{weapon3|}}}}}}}{{#if:{{{weapon4|}}}|{{img_item|item={{{weapon4|}}}}}}}{{#if:{{{weapon5|}}}|{{img_item|item={{{weapon5|}}}}}}} }}
 
| label11    = {{Translation|Part type}}
| data11      = {{{part_type|}}}
 
| label12    = {{Translation|Skill}}
| data12      = {{#switch:{{{skill_type|{{{type|}}}}}}
  | Blunt|Long Blunt = [[Skills{{Subpage}}|{{Translation|Long Blunt}}]]
  | SmallBlunt|Short Blunt = [[Skills{{Subpage}}#{{Translation|Short Blunt}}|{{Translation|Short Blunt}}]]
  | LongBlade|Long Blade = [[Skills{{Subpage}}#{{Translation|Long Blade}}|{{Translation|Long Blade}}]]
  | SmallBlade|Short Blade = [[Skills{{Subpage}}#{{Translation|Short Blade}}|{{Translation|Short Blade}}]]
  | Firearm = [[Skills{{Subpage}}#{{Translation|Firearm}}|{{Translation|Firearm}}]]
  | #default = {{Translation|{{{skill_type|{{{type|}}}}}}}}
}}
 
| label13    = {{Translation|Ammunition}}
| data13    = {{#if:{{{ammo_type|}}}|{{{ammo_type}}}|{{#if:{{{ammo|}}}|{{img_item|item={{{ammo}}}|size=32px}}}}}}
 
| label14    = {{Translation|Magazine size}}
| data14    = {{{clip_size|}}}
 
<!-- ################
    ## Properties ##
    ################ -->
<!-- checks if any of the parameters in this group exist, else hides header -->
| header31  = {{#if:{{{material|{{{material_value|{{{contents|{{{max_units|{{{capacity|{{{weight_reduction|{{{can_boil_water|{{{consumed|{{{writable|{{{recipes|{{{page_number|{{{vol_number|{{{packaged|{{{rain_factor|{{{days_fresh|{{{days_rotten|{{{cant_be_frozen|{{{condition_max|{{{run_speed|{{{combat_speed|{{{scratch_defense|{{{bite_defense|{{{bullet_defense|{{{neck_protection|{{{insulation|{{{wind_resistance|{{{water_resistance|{{{light_distance|{{{light_strength|{{{torch_cone|{{{wet_cooldown|{{{sensor_range|{{{remote_range|{{{energy_source|{{{portable|{{{two_way|{{{mic_range|{{{transmit_range|{{{min_channel|{{{max_channel|}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}|{{Translation|Properties}}}}
 
| label32    = {{Translation|Material}}
| data32    = {{{material|}}}
 
| label33    = {{Translation|{{{material|Material}}}}} {{Translation|quantity}}
| data33    = {{{material_value|}}}
 
| label34    = {{Translation|Contents}}
| data34    = {{{contents|}}}
 
| label36    = {{#ifeq:{{{category|}}}|Ammo|{{Translation|Box capacity}}|{{Translation|Capacity}}}} <!-- check if ammo, then add "Box" to front of label -->
| data36    = {{#if:{{{capacity|{{{max_units|}}}}}}
  |{{#ifeq:{{{category|}}}|Ammo
    |{{Tooltip|{{{capacity}}} {{#ifeq:1|{{{capacity}}}|round|rounds}}|When combined into a box}} <!-- add "rounds" if ammo -->
    |{{#if:{{{max_units|}}}
      |{{#iferror:
        {{#ifexpr:{{{max_units}}} < 1 <!-- check if input is raw data -->
          |{{#expr:1/{{{max_units}}}}} {{Translation|units}} <!-- calculate max units from raw data and return -->
          |{{{max_units}}} {{Translation|units}}
        }}
        |{{{max_units}}} {{Translation|units}} <!-- return max_units if error -->
      }}
      |{{#ifeq:{{{capacity|}}} <!-- for checking if capacity is a valid expression -->
        |{{#expr:{{{capacity|}}}}} <!-- compare string, converted to expression for error checking -->
          |{{Tooltip|{{{capacity|}}}| {{Container organized|{{{capacity|}}}}} with organized trait}} <!-- if capacity is a valid expression -->
          |{{#iferror:{{Tooltip|{{{capacity|}}}|If you're a contributor, please manually implement a tooltip based on Large Backpack's infobox here. Our current template sees the specified value as an expression evaluating to {{#expr:{{{capacity|}}}}}}} <!-- output if capacity isn't a valid expression -->
        |{{{capacity|}}} <!-- return capacity -->
        }}
      }}
    }}
  }}
}}
 
| label39    = {{Translation|Weight reduction}}
| data39    = {{#if:{{{weight_reduction|}}}|{{{weight_reduction}}}%}}{{#if:{{{weight_reduction_text|}}}|&nbsp;{{{weight_reduction_text}}}}}
 
| label40    = {{Translation|Can boil water}}
| data40    = {{{can_boil_water|}}}
 
| label42    = {{Translation|Consumed}}
| data42    = {{{consumed|}}}
 
| label43    = {{Translation|Writable}}
| data43    = {{{writable|}}}
 
| label45    = {{Translation|Skills learned}}
| data45    = {{{recipes|}}}
 
| label46    = {{Translation|Total pages}}
| data46    = {{#if: {{{page_number|}}}|{{{page_number}}} {{#ifeq:1|{{{page_number}}}|page|pages}}}}
 
| label47    = {{Translation|Total volumes}}
| data47    = {{#if: {{{vol_number|}}}|{{{vol_number}}} {{#ifeq:1|{{{vol_number}}}|volume|volumes}}}}
 
| label49    = {{Translation|Packaged}}
| data49    = {{#if:{{{packaged|}}}|{{tooltip|{{{packaged}}}|Nutritional information always known}}}}
 
| label50    = {{Translation|Rain factor}}
| data50    = {{{rain_factor|}}}
 
| label51    = {{Translation|Days fresh}}
| data51    = {{#if:{{{days_fresh|}}}|{{{days_fresh|}}} {{Translation|days}}}}
 
| label52    = {{Translation|Days until rotten}}
| data52    = {{#if:{{{days_rotten|}}}|{{{days_rotten|}}} {{Translation|days}}}}
 
| label53    = {{Translation|Can't be frozen}}
| data53    = {{{cant_be_frozen|}}}
 
| label54    = {{Translation|Condition max.}}
| data54    = {{{condition_max|}}}
 
| label55    = {{Translation|Run speed}}
| data55    = {{#if:{{{run_speed|}}}|{{tooltip|{{#iferror: {{#expr:{{{run_speed|}}} * 100 round 0}} | {{{run_speed|}}}  (obsolete)| {{#expr:{{{run_speed|}}} * 100 round 0}}% (obsolete)}}|Currently has no effect in-game.}} }}
 
| label56    = {{Translation|Combat speed}}
| data56    = {{{combat_speed|}}}
 
| label57    = {{Translation|Scratch defence}}
| data57    = {{{scratch_defense|}}}
 
| label58    = {{Translation|Bite defence}}
| data58    = {{{bite_defense|}}}
 
| label59    = {{Translation|Bullet defence}}
| data59    = {{{bullet_defense|}}}
 
| label60    = {{Translation|Neck protection}}
| data60    = {{{neck_protection|}}}
 
| label61    = {{Translation|Insulation}}
| data61    = {{{insulation|}}}
 
| label62    = {{Translation|Wind resistance}}
| data62    = {{{wind_resistance|}}}
 
| label63    = {{Translation|Water resistance}}
| data63    = {{{water_resistance|}}}
 
| label64    = {{Translation|Light distance}}
| data64    = {{{light_distance|}}}
 
| label65    = {{Translation|Light strength}}
| data65    = {{{light_strength|}}}
 
| label66    = {{Translation|Torch cone}}
| data66    = {{{torch_cone|}}}
 
| label68    = {{Translation|Wet cooldown}}
| data68    = {{#if: {{{wet_cooldown|}}}|{{#iferror:{{#expr:{{{wet_cooldown|}}}*0.0208}} |{{{wet_cooldown|}}}|{{#expr:{{{wet_cooldown|}}}*0.0208}} {{#ifeq:1|{{{wet_cooldown|}}}|second|seconds}} }} }} <!-- wet_cooldown*0.0208 (number of seconds to dry 1 wet_cooldown unit), if not maths expr, return wet_cooldown. -->
 
| label69    = {{Translation|Sensor range}}
| data69    = {{#if: {{{sensor_range|{{{remote_range|}}}}}}|{{{sensor_range|{{{remote_range}}}}}} {{#ifeq:1|{{{sensor_range|{{{remote_range}}}}}}|tile|tiles}} }}
 
| label70    = {{Translation|Energy source}}
| data70    = {{{energy_source|}}}
 
| label71    = {{Translation|Portable}}
| data71    = {{{portable|}}}
 
| label72    = {{Translation|Two-way}}
| data72    = {{{two_way|}}}
 
| label73    = {{Translation|Mic range}}
| data73    = {{{mic_range|}}}
 
| label74    = {{Translation|Transmit range}}
| data74    = {{{transmit_range|}}}
 
| label75    = {{Translation|Frequency range}}
| data75    = {{#if:{{{min_channel|{{{max_channel|}}}}}}|{{{min_channel|}}}–{{{max_channel|}}}}}
 
<!-- #################
    ## PERFORMANCE ##
    ################# -->
| header81  = {{#if:{{{damage_type|{{{type|{{{min_damage|{{{max_damage|{{{door_damage|{{{tree_damage|{{{damage_mod|{{{min_range|{{{max_range|{{{min_range_mod|{{{max_range_mod|{{{hit_distance|{{{hit_chance_mod|{{{accuracy|{{{accuracy_mod|{{{recoil_delay|{{{recoil_mod|{{{recoil_delay_mod|{{{sound_radius|{{{base_speed|{{{push_back|{{{knockdown|{{{aiming_time|{{{aiming_time_mod|{{{aiming_mod|{{{reload_time|{{{reload_time_mod|{{{reload_mod|{{{crit_chance|{{{angle_mod|{{{spread_mod|{{{kill_move|{{{weight_mod|{{{effect_power|{{{effect_range|{{{effect_timer|}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}|{{Translation|Performance}}}}
 
| label82    = {{Translation|Damage type}}
| data82    = {{{damage_type|{{{type|}}}}}}
 
| label83    = {{Translation|Damage}}
| data83    = {{#if:{{{min_damage|{{{max_damage|}}}}}}|{{{min_damage|}}}–{{{max_damage|}}}}}
 
| label84    = {{Translation|Door damage}}
| data84    = {{{door_damage|}}}
 
| label85    = {{Translation|Tree damage}}
| data85    = {{{tree_damage|}}}
 
| label86    = {{Translation|Damage}}
| data86    = {{{DamageModifier|{{{damage_mod|}}}}}}
 
| label87    = {{Translation|Range}}
| data87    = {{#if:{{{min_range|}}}|{{{min_range|}}}–{{{max_range|}}}|{{#if:{{{max_range|}}}|0–{{{max_range|}}} }} }} <!-- if min_range != null, return range, else, if min_range = null && max_range != null, min_range = 0, else return null -->
 
| label88    = {{Translation|Min. range}}
| data88    = {{{min_range_mod|}}}
 
| label89    = {{Translation|Max. range}}
| data89    = {{{max_range_mod|}}}
 
| label90    = {{Translation|Accuracy}}
| data90    = {{{hit_chance|{{{hit_chance_mod|{{{accuracy_mod|}}}}}}}}}
 
| label91    = {{Translation|Recoil}}
| data91    = {{{recoil_delay|{{{recoil_mod|{{{recoil_delay_mod|}}}}}}}}}
 
| label92    = {{Translation|Noise radius}}
| data92    = {{{sound_radius|}}}
 
| label93    = {{Translation|Attack speed}}
| data93    = {{{base_speed|}}}
 
| label94    = {{Translation|Knockback}}
| data94    = {{{push_back|}}}
 
| label95    = {{Translation|Knockdown}}
| data95    = {{{knockdown|}}}
 
| label96    = {{Translation|Aiming time}}
| data96    = {{{aiming_time|{{{aiming_time_mod|{{{aiming_mod|}}}}}}}}}
 
| label97    = {{Translation|Reload time}}
| data97    = {{{reload_time|{{{reload_time_mod|{{{reload_mod|}}}}}}}}}
 
| label98    = {{Translation|Crit chance}}
| data98    = {{#if:{{{crit_chance|}}}|{{#if:{{{crit_multiplier|}}}|{{tooltip|{{{crit_chance}}}%|Damage multiplied by {{{crit_multiplier}}}}}|{{{crit_chance}}}%}}}}
 
| label99    = {{Translation|Spread}}
| data99    = {{{angle_mod|{{{spread_mod|}}}}}}
 
| label100    = {{Translation|Execution}}
| data100    = {{{kill_move|}}}
 
| label101  = {{Translation|Encumbrance mod.}}
| data101    = {{{weight_mod|}}}
 
| label102  = {{Translation|{{{effect_type}}}}} {{Translation|power}}
| data102    = {{{effect_power|}}}
 
| label103  = {{Translation|{{{effect_type}}}}} {{Translation|range}}
| data103    = {{#if:{{{effect_range|}}}|{{{effect_range}}} {{Translation|tiles}}}}
 
| label104  = {{Translation|{{{effect_type}}}}} {{Translation|timer}}
| data104    = {{{effect_timer|}}}
 
<!-- ###############
    ## NUTRITION ##
    ############### -->
| header111  = {{#if:{{{hunger_change|{{{thirst_change|{{{calories|{{{carbohydrates|{{{proteins|{{{lipids|}}}}}}}}}}}}}}}}}}|{{Translation|Nutrition}}}}
 
| label112 = {{Translation|Hunger}} [[File:Moodle_Icon_Hungry.png|right|link=Moodles{{Subpage}}#{{Translation|Hungry}}|{{Translation|Hunger}}]]
| data112 = {{{hunger_change|}}}
 
| label113 = {{Translation|Thirst}} [[File:Moodle_Icon_Thirsty.png|right|link=Moodles{{Subpage}}#{{Translation|Thirsty}}|{{Translation|Thirst}}]]
| data113 = {{{thirst_change|}}}
 
| label114 = {{Translation|Calories}} [[File:UI_Calories.png|24px|right|link=Nutrition{{Subpage}}#{{Translation|Calories}}|{{Translation|Calories}}]]
| data114 = {{{calories|}}}
 
| label115 = {{Translation|Carbohydrates}} [[File:UI_Carbohydrates.png|24px|right|link=Nutrition{{Subpage}}#{{Translation|Carbohydrates}}|{{Translation|Carbohydrates}}]]
| data115 = {{{carbohydrates|}}}
 
| label116 = {{Translation|Proteins}} [[File:UI_Protein.png|24px|right|link=Nutrition{{Subpage}}#{{Translation|Proteins}}|{{Translation|Proteins}}]]
| data116 = {{{proteins|}}}
 
| label117 = {{Translation|Fat}} [[File:UI_Fats.png|24px|right|link=Nutrition{{Subpage}}#{{Translation|Lipids}}|{{Translation|Fat}}]]
| data117 = {{{lipids|{{{fat|}}}}}}
 
<!-- ############
    ## EFFECT ##
    ############ -->
| header121  = {{#if:{{{unhappy_change|{{{boredom_change|{{{stress_change|{{{fatigue_change|{{{endurance_change|{{{flu_change|{{{pain_change|{{{sick_change|{{{alcoholic|{{{alcohol|{{{alcohol_power|{{{wet_cooldown|{{{poison_power|}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}|{{Translation|Effect}}}}
 
| label122 = {{Translation|Unhappiness}} [[File:Moodle_Icon_Unhappy.png|right|link=Moodles{{Subpage}}#{{Translation|Unhappy}}|{{Translation|Unhappiness}}]]
| data122 = {{{unhappy_change|}}}
 
| label123 = {{Translation|Boredom}} [[File:Moodle_Icon_Bored.png|right|link=Moodles{{Subpage}}#{{Translation|Bored}}|{{Translation|Boredom}}]]
| data123= {{{boredom_change|}}}
 
| label124 = {{Translation|Stress}} [[File:Moodle_Icon_Stressed.png|right|link=Moodles{{Subpage}}#{{Translation|Stressed}}|{{Translation|Stress}}]]
| data124 = {{{stress_change|}}}
 
| label125 = {{Translation|Fatigue}} [[File:Moodle_Icon_Tired.png|right|link=Moodles{{Subpage}}#{{Translation|Tired}}|{{Translation|Tired}}]]
| data125 = {{{fatigue_change|}}}
 
| label126 = {{Translation|Endurance}} [[File:Moodle_Icon_Endurance.png|right|link=Moodles{{Subpage}}#{{Translation|Endurance}}|{{Translation|Endurnace}}]]
| data126 = {{{endurance_change|}}}
 
| label127 = {{Translation|Cold}} [[File:Moodle_Icon_Cold.png|right|link=Moodles{{Subpage}}#{{Translation|Cold}}|{{Translation|Cold}}]]
| data127 = {{{flu_change|}}}
 
| label128 = {{Translation|Pain}} [[File:Moodle_Icon_Pain.png|right|link=Moodles{{Subpage}}#{{Translation|Pain}}|{{Translation|Pain}}]]
| data128 = {{{pain_change|}}}
 
| label129 = {{Translation|Sick}} [[File:Moodle_Icon_Sick.png|right|link=Moodles{{Subpage}}#{{Translation|Sick}}|{{Translation|Sick}}]]
| data129 = {{{sick_change|}}}
 
| label130 = {{Translation|Alcohol}} [[File:Moodle_Icon_Drunk.png|right|Moodles{{Subpage}}#{{Translation|Drunk}}|{{Translation|Drunk}}]]
| data130 = {{{alcoholic|{{{alcohol|}}}}}}
 
| label131 = {{Translation|Sterilize power}} [[File:Alcohol.png|right|link=First Aid{{Subpage}}#{{Translation|Disinfection}}|{{Translation|Disinfection}}]]
| data131 = {{{alcohol_power|}}}
 
| label132 = {{Translation|Antibiotic power}} [[File:Antibiotics.png|right|link=Health{{Subpage}}#{{Translation|Infections}}|{{Translation|Infections}}]]
| data132 = {{{reduce_infection_power|}}}
 
| label133 = {{Translation|Bandage power}} [[File:Moodle_Icon_Bleeding.png|right|link=Moodles{{Subpage}}#{{Translation|Bleeding}}|{{Translation|Bleeding}}]]
| data133 = {{{bandage_power|}}}
 
| label134    = {{Translation|Wetness}} [[File:Moodle_Icon_Wet.png|right|link=Moodles{{Subpage}}#{{Translation|Wet}}|{{Translation|Wet}}]]
| data134     = {{#if:{{{wet_cooldown|}}} | {{#if:{{{max_units|}}} | {{#iferror:{{#expr:4/{{{max_units}}}}}|4% per unit|{{tooltip|-{{#expr:4/{{{max_units}}}}}%|Dries 4% of total wetness per unit.}} }} }} }} <!-- 4/max_units, if not maths expr, return "4% per unit" -->
 
| label135 = <div style="Padding-right:11px;">{{Translation|Poison}} [[File:SkullPoison.png|right]]</div>
| data135 = {{{poison_power|}}}
 
<!-- #############
    ## COOKING ##
    ############# -->
| header141  = {{#if:{{{cook_minutes|{{{burn_minutes|{{{dangerous_uncooked|{{{bad_microwaved|{{{good_hot|{{{bad_cold|{{{spice|{{{evolved_recipe|}}}}}}}}}}}}}}}}}}}}}}}}|{{Translation|Cooking}}}}
 
| label142 = {{Translation|Time until cooked}}
| data142 = {{#if: {{{cook_minutes|}}}|{{{cook_minutes}}} {{Translation|minutes}}}}
 
| label143 = {{Translation|Time until burned}}
| data143 = {{#if: {{{burn_minutes|}}}|{{{burn_minutes}}} {{Translation|minutes}}}}
 
| label144 = {{Translation|Dangerous uncooked}}
| data144 = {{{dangerous_uncooked|}}}
 
| label145 = {{Translation|Bad microwaved}}
| data145 = {{{bad_microwaved|}}}
 
| label146 = {{Translation|Good hot}}
| data146 = {{{good_hot|}}}
 
| label147 = {{Translation|Bad cold}}
| data147 = {{{bad_cold|}}}
 
| label148 = {{Translation|Spice}}
| data148 = {{{spice|}}}
 
| label149 = {{Translation|Custom recipe}}
| data149 = {{{evolved_recipe|}}}
 
<!-- ##############
    ## CRAFTING ##
    ############## -->
| header171  = {{#if:{{{ingredients|}}}|{{Translation|Crafting}}}}
 
| label172    = {{Translation|Ingredients}}
| data172    = {{{ingredients|}}}
 
<!-- ###############
    ## TECHNICAL ##
    ############### -->
| header181  = {{#if:{{{class_name|{{{item_id|{{{media_id|}}}}}}}}}|{{Translation|Technical}}}}
 
| label182    = {{Translation|Item ID}}
| data182    = {{#if:{{{class_name|{{{item_id|}}}}}}|<small>{{ID|{{{class_name|{{{item_id}}}}}}</small>}}|[[#{{Translation|Item IDs}}|{{Translation|Item IDs}}]]}}
 
| label183    = {{Translation|Media ID}}
| data183    = {{#if:{{{media_id|}}}|<small>{{ID|{{{media_id|}}}}}</small>}}
 
}}{{clear}}<!-- temp - remove before publishing --></includeonly><noinclude><div class="mw-collapsible mw-collapsed" style="width:100%">{{User:Vaileasys/sandbox
| model=Image.png
| icon=Image.png
| icon2=Image.png
| icon3=Image.png
| icon4=Image.png
| icon5=Image.png
| icon6=Image.png
| icon7=Image.png
| icon8=Image.png
<!-- new row -->
| icon9=Image.png
| icon10=Image.png
| icon11=Image.png
| icon12=Image.png
| icon13=Image.png
| icon14=Image.png
| icon15=Image.png
| icon16=Image.png
<!--GENERAL-->
| category=category
| equipped=equipped
| attachments_provided=attachments_provided
| secondary_item=secondary_item
| body_location=body_location
| weapons=weapons
| part_type=part_type
| skill_type=skill_type
| ammo=ammo
| clip_size=clip_size
<!--CHARACTERISTICS-->
| weight=weight
| contents=contents
| max_units=max_units
| days_fresh=days_fresh
| days_rotten=days_rotten
| cant_be_frozen=cant_be_frozen
| packaged=packaged
| capacity=capacity
| weight_reduction=weight_reduction
| condition_max=condition_max
| sound_radius=sound_radius
| recoil_delay=recoil_delay
| reload_time=reload_time
| aiming_time=aiming_time
| run_speed=run_speed
| combat_speed=combat_speed
| scratch_defense=scratch_defense
| bite_defense=bite_defense
| bullet_defense=bullet_defense
| neck_protection=neck_protection
| insulation=insulation
| wind_resistance=wind_resistance
| water_resistance=water_resistance
| light_distance=light_distance
| light_strength=light_strength
| torch_cone=torch_cone
| wet_cooldown=wet_cooldown
| sensor_range=sensor_range
| energy_source=energy_source
| portable=portable
| two_way=two_way
| volume_range=volume_range
| mic_range=mic_range
| transmit_range=transmit_range
| min_channel=min_channel
| max_channel=max_channel
<!-- DAMAGE -->
| damage_type = damage_type
| base_speed = base_speed
| min_range = min_range
| max_range = max_range
| hit_chance = hit_chance
| min_damage = min_damage
| max_damage = max_damage
| crit_chance = crit_chance
| crit_multiplier = crit_multiplier
| tree_damage = tree_damage
| door_damage = door_damage
| push_back = push_back
| knockdown = knockdown
| kill_move = kill_move
| effect_power = effect_power
| effect_range = effect_range
| effect_timer = effect_timer
| effect_type = effect_type
<!-- NUTRITION -->
| hunger_change = hunger_change
| thirst_change = thirst_change
| calories = calories
| lipids = lipids
| proteins = proteins
| carbohydrates = carbohydrates
<!-- EFFECT -->
| unhappy_change = unhappy_change
| boredom_change = boredom_change
| stress_change = stress_change
| fatigue_change = fatigue_change
| endurance_change = endurance_change
| flu_change = flu_change
| pain_change = pain_change
| sick_change = sick_change
| alcoholic = alcoholic
| alcohol_power = alcohol_power
| reduce_infection_power = reduce_infection_power
| poison_power = poison_power
| bandage_power = bandage_power
<!--COOKING-->
| cook_minutes = cook_minutes
| burn_minutes = burn_minutes
| dangerous_uncooked = dangerous_uncooked
| bad_microwaved = bad_microwaved
| good_hot = good_hot
| bad_cold = bad_cold
| spice = spice
| evolved_recipe = evolved_recipe
<!--MODIFIERS-->
| weight_mod = weight_mod
| reload_mod = reload_mod
| min_range_mod = min_range_mod
| max_range_mod = max_range_mod
| accuracy_mod = accuracy_mod
| recoil_mod = recoil_mod
| aiming_mod = aiming_mod
| spread_mod = spread_mod
| damage_mod = damage_mod
<!-- USAGE -->
| function = function
| can_boil_water = can_boil_water
| rain_factor = rain_factor
| consumed = consumed
| writable = writable
| page_number = page_number
| vol_number = vol_number
<!-- CRAFTING -->
| ingredients = ingredients
| material = material
| material_value = material_value
<!--TECHNICAL-->
| item_id = item_id
| media_id = media_id
}}</div>
==Ammo==
===9mm Round===
{{User:Vaileasys/sandbox
|display_name=9mm Round
|image=9mmRounds_Model.png
|icon=40calAmmoBox.png
|icon_name=9mm Round
|icon_link=
|icon2=HandgunAmmoBox.png
|icon_name2=Box of 9mm Rounds
|icon_link2=
|category=Ammo
|weapon1=Pistol
|loose_weight=0.01
|count=5
|box_weight=0.2
|capacity=30
|class_name=Base.Bullets9mm
|class_name2=Base.Bullets9mmBox
}}
 
==Clothing==
===Firefighter Helmet===
{{User:Vaileasys/sandbox
| display_name = Firefighter Helmet
| image = Hat_Fireman.png
| image_width = 200px
| icon = HelmetFireman.png
| icon_name = Firefighter Helmet
| icon_link =
<!-- General -->
| category = Clothing
| weight = 1.5
| body_location = Hat
<!-- Protection -->
| scratch_defense = 100
| bite_defense = 100
<!-- Insulation -->
| insulation = 0.65
| wind_resistance = 0.55
| water_resistance = 0.60
<!-- Technical details -->
| class_name = Base.Hat_Fireman
}}
 
===Hazmat Suit===
{{User:Vaileasys/sandbox
| display_name = Hazmat Suit
| image = Hazmat.png
| image_width = 200px
| icon = Hazmatsuit.png
| icon_name = Hazmat Suit
| icon_link =
<!-- General -->
| category = Clothing
| weight = 1.0
| body_location = FullSuit
<!-- Speed -->
| run_speed = 0.75
<!-- Protection -->
| scratch_defense = 15
| bite_defense = 5
<!-- Insulation -->
| insulation = 0.65
| wind_resistance = 0.9
<!-- Technical details -->
| class_name = Base.HazmatSuit
}}
 
==Container==
===School Bag===
{{User:Vaileasys/sandbox
| display_name = School Bag
| image = SchoolBag_Blue_Model.png
| image_width = 200px
| icon = Backpack_Blue.png
| icon_name = School Bag (Blue)
| icon_link =
| icon2 = Backpack_Black.png
| icon_name2 = School Bag (Black)
| icon_link2 =
| icon3 = Backpack_Spiffo.png
| icon_name3 = School Bag (Spiffo)
| icon_link3 =
<!--GENERAL-->
| category = Container
| weight = 1.0
| body_location = Back
| capacity = 15
| weight_reduction = 60
| run_speed = 0.97
<!--TECHNICAL DETAILS-->
| class_name = Base.Bag_Schoolbag
}}
 
===Large Backpack===
{{User:Vaileasys/sandbox
| display_name = Large Backpack
| image = ALICEpack Green Model.png
| image_width = 200px
| icon = AliceBag.png
| icon_name = Large Backpack
| icon_link =
| icon2 = AliceBag_Camo.png
| icon_name2 = Military Backpack
| icon_link2 =
<!-- General -->
| category = Container
| weight = 2
| body_location = Back
| capacity = {{Tooltip|27|35 with Organized trait}} <br>{{Tooltip|28|36 with Organized trait}} (Army)
| weight_reduction = 85% <br>87
| weight_reduction_text = (Army)
<!-- Speed -->
| run_speed = 0.94
<!-- Technical details -->
| class_name = Base.Bag_ALICEpack<br>Base.Bag_ALICEpack_Army
}}
 
==Drainable==
===Thread===
{{User:Vaileasys/sandbox
|display_name=Thread
|image=Thread_Model.png
|icon=Thread.png
|icon_name=Thread
|weight=0.1
|primary_use=Craft [[mattress]]
|secondary_use=Stitch [[Health#Types of Injuries|deep wounds]]
|max_units=10
|class_name = Base.Thread
}}
 
===Battery===
{{User:Vaileasys/sandbox
|display_name=Battery
|image=Battery.png
|weight=0.6
|primary_use=Power small items
|max_units=100,000
|contents=[[Electricity]]
|class_name=Base.Battery
}}
 
===Vitamins===
{{User:Vaileasys/sandbox
|display_name=Vitamins
|image=Vitamins.png
|weight=0.2
|primary_use=Reduce [[Moodles#Tired|tiredness]]
|content=Vitamins
|max_units=10
|fatigue_change=-2
|class_name=Base.PillsVitamins
}}
 
===Bucket===
{{User:Vaileasys/sandbox
|display_name=Bucket
|image=Bucket Model.png
|image_width=200px
|icon=MetalBucket.png
|icon_name=Bucket
|icon_link=
|icon2=MetalBucket_Water.png
|icon_name2=Bucket of Water
|icon_link2=
|weight=1
|weight_full=4
|function=[[Cooking]] utensil
|max_units=0.04
|contents=Water
|can_boil_water=True
|rain_factor=1
|class_name=Base.BucketEmpty<br>Base.BucketWaterFull
}}
 
==Food==
===Hot Cuppa===
{{User:Vaileasys/sandbox
|display_name=Hot Cuppa
|image=MugBlue_Model.png
|image_width=220px
|icon=MugFulll.png
|icon_name=Hot Drink
|icon_link=
|weight=0.5
|category=Food
|hunger_change=-5
|thirst_change=-50
|calories=4
|lipids=0
|proteins=0.12
|carbohydrates=0.75
|unhappy_change=-5
|stress_change=-10
|fatigue_change=-5
|cant_be_frozen=True
|class_name=Base.Mugfull
}}
 
===Pot of Soup===
{{User:Vaileasys/sandbox
|display_name=Pot of Soup
|image=CookingPot_Model.png
|image_width=160px
|icon=PotFull.png
|icon_name=Pot of Soup
|icon_link=Pot of Soup
|weight=4
|category=Food
|hunger_change=-30
|thirst_change=-30
|calories=202
|carbohydrates = 25
|proteins = 14
|lipids = 4.5
|unhappy_change=-20
|cook_minutes=50
|burn_minutes=100
|days_fresh=3
|days_rotten=5
|class_name=Base.PotOfSoup
}}
 
===Lollipop===
{{User:Vaileasys/sandbox
|display_name=Lollipop
|image=Lollipop_Model.png
|image_width=150px
|icon=Lollipop.png
|icon_name=Lollipop
|icon_link=Lollipop
|icon2=CandyPackagei.png
|icon_name2=Candy Package
|icon_link2=Candy Package
|weight=0.1
|category=Food
|hunger_change=-5
|unhappy_change=-10
|calories=40
|carbohydrates = 10
|proteins = 0
|lipids = 0.5
|class_name=Base.Lollipop
}}
 
===Meat Patty===
{{User:Vaileasys/sandbox
|display_name=Meat Patty
|image=MeatPatty__Model.png
|image_width=150px
|icon=MeatPatty.png
|icon_name=Meat Patty
|icon_link=
|icon2=MeatPattyRotten.png
|icon_name2=Meat Patty (Rotten)
|icon_link2=
|icon3=Cookedmeatpatty.png
|icon_name3=Meat Patty (Cooked)
|icon_link3=
|icon4=Burnedmeatpatty.png
|icon_name4=Meat Patty (Burnt)
|icon_link4=
|weight=0.3
|category=Food
|hunger_change=-40
|calories=380
|carbohydrates = 0
|proteins = 26
|lipids = 30
|cook_minutes=50
|burn_minutes=70
|bad_microwaved=True
|good_hot=True
|bad_cold=True
|days_fresh=2
|days_rotten=4
|class_name=Base.MeatPatty
}}
 
===Bourbon===
{{User:Vaileasys/sandbox
|display_name=Bourbon
|image=WhiskeyBottle_Model.png
|image_width=200px
|icon=WhiskeyFull.png
|icon_link=Bourbon
|icon_name=Bourbon
|icon2=WhiskeyEmpty.png
|icon_link2=Water Bottle (Bourbon)
|icon_name2=Empty Bottle
|weight=0.7
|category=Food
|packaged=True
|cant_be_frozen=True
|hunger_change=-20
|thirst_change=-20
|calories=1500
|carbohydrates = 0
|proteins = 0
|lipids = 0
|unhappy_change=-10
|alcohol_power=2
|alcoholic=True
|class_name=Base.WhiskeyFull
}}
 
===Bleach===
{{User:Vaileasys/sandbox
|display_name=Bleach
|image=Bleach_Model.png
|image_width=200px
|icon=Bleach.png
|icon_name=Bleach
|icon_link=
|icon2=Bleach.png
|icon_name2=Empty Bleach Bottle
|icon_link2=
|weight=0.3<br>Empty: 0.1
|category=Household
|thirst_change=-60
|unhappy_change=99
|poison_power=120
|use_for_poison=38
|class_name=Base.Bleach
}}
 
==Literature==
===Book===
{{User:Vaileasys/sandbox
|display_name=Book
|image=Book.png
|category=Literature
|weight=0.5
|consumed=True
|unhappy_change=-40
|boredom_change=-50
|stress_change=-40
|class_name=Base.Book
}}
===Skill Book===
{{User:Vaileasys/sandbox
|display_name=Metalwork for Beginners
|image=Book7.png
|category=literature
|weight=0.8
|skill_trained=[[Metalworking]]
|page_number=220
|class_name=Base.BookMetalWelding1
}}
===The Farming Magazine===
{{User:Vaileasys/sandbox
|display_name=The Farming Magazine
|image=Model Magazine.png
|image_width=200px
|icon=MagazineFish.png
|icon_name=The Farming Magazine
|icon_link=
<!--GENERAL-->
|category=Literature
|weight=0.1
|consumed=False
|vol_number=1
<!--EFFECT-->
|recipes=Make [[Mildew Spray|Mildew Cure]]<br>Make [[Insecticide Spray|Flies Cure]]
<!--TECHNICAL DETAILS-->
|class_name=Base.FarmingMag1
}}
===Map===
{{User:Vaileasys/sandbox
|display_name=March Ridge Map
|image=Map.png
|category=Item
|weight=0.1
|writable=True
|class_name=Base.MarchRidgeMap
}}
===Journal===
{{User:Vaileasys/sandbox
|display_name=Journal
|image=Notebook.png
|category=Literature
|weight=0.1
|writable=True
|page_number=20
|class_name=Base.Journal
}}
 
==Normal==
===Eraser===
{{User:Vaileasys/sandbox
|display_name=Eraser
|image=Eraser.png
|weight=0.1
|primary_use=Remove markings from an [[Map|annotated map]].
|class_name=Base.Eraser
}}
===Bowl===
{{User:Vaileasys/sandbox
|display_name=Bowl
|image=Bowl.png
|icon=BowlFull_Water.png
|icon_name=Bowl of Water
|icon_link=Bowl of Water
|weight=0.5
|weight_full=1.2
|primary_use=[[Cooking]] utensil
|secondary_use=[[Water]] container
|can_store_water=True
|rain_factor=0.5
|max_units=0.5
|class_name=Base.Bowl
}}
===Water Bottle===
{{User:Vaileasys/sandbox
|display_name=Water Bottle
|image=WaterBottle Model.png
|image_width=200px
|icon=WaterBottle_Full.png
|icon_name=Water Bottle
|icon_link=
|icon2=WaterBottle_Empty.png
|icon_name2=Empty Bottle
|icon_link2=
|category='''Empty:''' Water Container<br>'''Full:''' Water
|weight=0.1
|weight_full=0.8
|primary_use=Water storage
|max_units=10
|contents=[[Water]]
|can_boil_water=Only in [[Heat Source#Microwave Oven|Microwave Oven]]
|class_name=Base.WaterBottleEmpty<br>Base.WaterBottleFull
}}
===Sterilized Rag===
{{User:Vaileasys/sandbox
|display_name=Sterilized Rag
|image=Rag.png
|icon=RagDirty.png
|icon_name=Dirty Rag
|icon_link=Dirty Rag
|weight=0.05
|primary_use=[[Health#Bandaging|Bandage]] [[Moodles#Bleeding|bleeding]] [[Health#Types of Injuries|wounds]]
|bandage_power=2
|alcohol=True
|class_name=Base.AlcoholRippedSheets
}}
===Bath Towel===
{{User:Vaileasys/sandbox
|display_name=Bath Towel
|image=Bathtowel.png
|icon=Bathtowel.png
|icon_name=Wet Bath Towel
|icon_link=
|weight='''Dry:''' 0.1<br>'''Wet:''' 0.5
|primary_use=Dry a [[Moodles#Wet|wet]] player
|wet_cooldown=10000
|max_units=0.1
|class_name='''Dry:''' Base.BathTowel<br>'''Wet:''' Base.BathTowelWet
}}
===V1 Remote Controller===
{{User:Vaileasys/sandbox
|display_name=V1 Remote Controller
|image=RemoteCrafted.png
|weight=0.4
|primary_use=Trigger [[:Category:Bomb_and_Throwing_Items|traps]] remotely
|remote_range=7
|class_name=Base.RemoteCraftedV1
}}
 
==Weapon==
===Baseball Bat===
{{User:Vaileasys/sandbox
|display_name=Baseball Bat
|image=BaseballBat_Model.png
|image_width=200px
|icon=BaseballBat.png
|icon_name=Baseball Bat
|icon_link=
<!--GENERAL-->
|category=Sports
|weight=2
|equipped=One-handed
|condition_max=15
|attachment_type=Shovel
<!--DAMAGE-->
|damage_type=Blunt
|skill_type=Blunt
|base_speed=1
|min_range=0.61
|max_range=1.25
|min_damage=0.8
|max_damage=1.1
|tree_damage=1
|door_damage=5
|push_back=0.5
|knockdown=2
<!--TECHNICAL DETAILS-->
|ingredients=
|class_name=Base.BaseballBat
}}
===Kitchen Knife===
{{User:Vaileasys/sandbox
|display_name=Kitchen Knife
|image=Knife_Model.png
|image_width=200px
|icon=KnifeChopping.png
|icon_name=Kitchen Knife
|icon_link=
<!--GENERAL-->
|category=Cooking
|weight=0.3
|equipped=One-handed
|condition_max=10
|attachment_type=Knife
<!--DAMAGE-->
|damage_type=Slash
|skill_type=SmallBlade
|min_range=0.61
|max_range=0.9
|min_damage=0.3
|max_damage=0.7
|tree_damage=1
|door_damage=1
|push_back=0.3
|knockdown=0
|kill_move=Jaw_Stab
<!--TECHNICAL DETAILS-->
|ingredients=
|class_name=Base.KitchenKnife
}}
===M9 Pistol===
{{User:Vaileasys/sandbox
|display_name=M9 Pistol
|image=Handgun03_Model.png
|image_width=200px
|icon=HandGun3.png
|icon_name=M9 Pistol
|icon_link=
<!--GENERAL-->
|category=Weapon
|weight=1.5
|equipped=One-handed
|condition_max=10
|attachment_type=Holster
<!--CHARACTERISTICS-->
|ammo=Bullets9mm
|clip_size=15
|sound_radius=40
|recoil_delay=20
|reload_time=30
|aiming_time=15
<!--DAMAGE-->
|damage_type=Gunshot
|skill_type=Firearm
|min_range=0.61
|max_range=7
|hit_chance=50
|min_damage=0.6
|max_damage=1
|door_damage=5
|push_back=0.3
|knockdown=2
<!--TECHNICAL DETAILS-->
|ingredients=
|class_name=Base.Pistol
}}
 
===Molotov Cocktail===
{{User:Vaileasys/sandbox
|display_name=Molotov Cocktail
|image=Molotov_Model.png
|image_width=200px
|icon=Molotov.png
|icon_name=Molotov Cocktail
|icon_link=
<!--GENERAL-->
|category=Devices
|weight=1.5
|equipped=One-handed
|secondary_item=Lighter
<!--DAMAGE-->
|damage_type=Fire
|effect_power=90
|effect_range=4
|effect_type=Fire
|max_range=8
|min_damage=0
|max_damage=0
<!--TECHNICAL DETAILS-->
|ingredients=
|class_name=Base.Molotov
}}
 
===Aerosol Bomb with Timer===
{{User:Vaileasys/sandbox
|display_name=Aerosol Bomb with Timer
|image=AerosolBombSensor_Model.png
|image_width=200px
|icon=AerosolbombTimer.png
|icon_name=Aerosol Bomb with Timer
|icon_link=
<!--GENERAL-->
|category=Devices
|weight=1.5
|equipped=One-handed
<!--DAMAGE-->
|damage_type=Explosion
|effect_power=70
|effect_range=6
|effect_timer=10
|effect_type=Explosion
|max_range=10
|min_damage=0
|max_damage=0
|knockdown=0
<!--TECHNICAL DETAILS-->
|ingredients=
|class_name=Base.AerosolbombTriggered
}}
 
==Weapon mod==
===Choke Tube - Full===
{{User:Vaileasys/sandbox
|display_name=Choke Tube - Full
|image=ShotgunChoke.png
|image_width=128px
<!--GENERAL-->
|weight=0.1
|weapon=[[File:Shotgun2.png|link=JS-2000 Shotgun]]
|part_type=Canon
<!--MODIFIERS-->
|weight_mod=0.1
|spread_mod=0.05
|damage_mod=0.5
<!--TECHNICAL DETAILS-->
|class_name=Base.ChokeTubeFull
}}
===x2 Scope===
{{User:Vaileasys/sandbox
|display_name=x2 Scope
|image= Scope2x.png
|image_width=128px
<!--GENERAL-->
|weight=0.3
|weapon=[[File:RifleHunting.png|link=Hunting Rifle]] [[File:RifleVarmint.png|link=Varmint Rifle]]
|part_type=Scope
<!--MODIFIERS-->
|weight_mod=+0.3
|max_range_mod=+7
|min_range_mod=+6
<!--TECHNICAL DETAILS-->
|class_name=Base.x2Scope
}}
===Fiberglass Stock===
{{User:Vaileasys/sandbox
|display_name=Fiberglass Stock
|image=RifleFibreglassStock.png
|image_width=128px
<!--GENERAL-->
|weight=1.0
|weapon=[[File:RifleVarmint.png|link=MSR700 Rifle]][[File:RifleHunting.png|link=MSR788 Rifle]]
|part_type=Stock
<!--MODIFIERS-->
|weight_mod=-0.5
|accuracy_mod=8
<!--TECHNICAL DETAILS-->
|class_name=Base.FiberglassStock
}}
===Ammo Straps===
{{User:Vaileasys/sandbox
|display_name=Ammo Straps
|image=AmmoStrap.png
|image_width=128px
<!--GENERAL-->
|weight=0.5
|weapon=[[File:Shotgun2.png|link=JS-2000 Shotgun]][[File:RifleVarmint.png|link=MSR700 Rifle]][[File:RifleHunting.png|link=MSR788 Rifle]]
|part_type=Sling
<!--MODIFIERS-->
|weight_mod=0.5
|reload_mod=-5
<!--TECHNICAL DETAILS-->
|class_name=Base.AmmoStraps
}}
==Misc==
===Home VHS: conspiracy crap???===
{{User:Vaileasys/sandbox
|display_name=Home VHS: conspiracy crap???
|model=<!--VHSBox3_Model.png-->
|category=Entertainment
|alt_image=Cassette3.png
|alt_name=Home VHS: conspiracy crap???
|weight=0.1
|boredom_change=-5
|class_name=Base.VHS_Home
|media_id=2221f0f4-4937-4c35-81b3-6267c8b47bcf
}}
</noinclude>

Latest revision as of 09:40, 29 March 2024

Spiffo rummage.png

Wiki maintenance!

The wiki will be undergoing some maintenance while we modify the default theme.
Notice any oddities or want to provide feedback? Let us know on the discussion page or the pzwiki discord channel.

Be crafty.png

Common.css

/* Mediawiki:Sitenotice */
.sitenotice-card {
    display: flex;
    justify-content: space-between;
    align-items: center
    text-align: center;
    background-color: #f8f9fa;
    padding: 0.5rem 1rem;
    border-bottom: 1px solid #eaecf0;
    width: auto;
}

.sitenotice-card > div {
    display: flex;
    flex-direction: column
}

.sitenotice-card .image-container-left {
    margin-right: 1rem
}

.sitenotice-card .image-container-right {
    margin-left: 1rem
}
/* hide images if screen size is less than 720px */
@media screen and (max-width: 719px) {
    .sitenotice-card .image-container-left,
    .sitenotice-card .image-container-right {
        display:none
    }
}

Vector-2022.css

.vector-sitenotice-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.sitenotice-card {
    box-sizing: border-box;
    max-width: 1000px;
    width: 944px;
}

TODO

  • add class="text-container" for div with the text, so it can be modified per skin.
.sitenotice-card .text-container {
    /* styles go here */
}
  • consider adding <p> or <div> tag with class="title" for styling the title.
.sitenotice-card .text-container .title {
    /* styles go here */
}
  • create an anonnotice for users that aren't logged in
    • wording will be adjusted directing them to create an account to change the theme
  • Once style implemented, modify to advise how to change the theme