User:Vaileasys/sandbox: Difference between revisions

From PZwiki
(rearranged some, added missing properties, added examples)
(add more todo and vector-2022.css)
 
(17 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>{{TOC_left}}'''TODO:'''
<div class="sitenotice-card">
*check weapon mods are working correctly
<div class="image-container-left">
*add door and tree icons to damage
[[File:Spiffo rummage.png|64px]]
*add weapons# (1-5) and fetch image automatically
</div>
*add "type" parameter, and determine accent colour based on it
<div>
**remove all instances of "type" during rollout
'''Wiki maintenance!'''
*add img filter:invert class
*add common icons to infobox, see [[weapons]] and other [[items]]
*add "Encumberance (full)", use "weight_full" parameter, else calculate encumberance when full based on <code>weight</code>, <code>capacity</code> and <code>weight_reduction</code>
*add tooltip explaining "packaged"
*hide unused headers
*add ammo examples
*add traps?
</noinclude><includeonly>{{Infobox
|bodystyle  = width:350px; -moz-box-shadow: 0px 0px 2px 2px #{{Infobox nc|{{{name_colour|}}}}};    <!-- Firefox
                        --> -webkit-box-shadow: 0px 0px 2px 2px #{{Infobox nc|{{{name_colour|}}}}}; <!-- Safari & Chrome
                        --> box-shadow: 0px 0px 2px 2px #{{Infobox nc|{{{name_colour|}}}}};        <!-- Opera & Edge
                        --> border: 1px solid #{{Infobox nc|{{{name_colour|}}}}};


| above      = <div style="background: #{{Infobox nc|{{{name_colour|}}}}}; <!--
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|}}}|text}};"> <!--
<div class="image-container-right">
                        --> <span class="fn">{{Translation|{{{name|{{{display_name|{{BASEPAGENAME}}}}}}}}}}</span></div>
[[File:Be crafty.png|64px]]
</div>
</div>


| image      = {{#if: {{{model|}}}|[[File:{{{model}}}{{!}}{{Translation|{{{display_name|{{{name|}}}}}}}}{{!}}{{{model_width|200px}}}{{!}}class=pixelart]]|<!--
'''[[MediaWiki:Common.css|Common.css]]'''
          --> {{#if: {{{image|}}}|[[File:{{{image}}}|{{Translation|{{{display_name|{{{name|}}}}}}}}|{{{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: {{{alternate_image|{{{alternate_image2|{{{alternate_image3|{{{alternate_image4|{{{alternate_image5|{{{alternate_image6|{{{alternate_image7|{{{alternate_image8|{{{alt_image|{{{alt_image2|{{{alt_image3|{{{alt_image4|{{{alt_image5|{{{alt_image6|{{{alt_image7|{{{alt_image8|}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}} <!-- 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;
alt_image
    flex-direction: column
-->{{#if: {{{alternate_image|{{{alt_image|}}}}}}
}
  |<td style="width:32px; padding:2px; background-color:#eee; border: 1px solid #{{Infobox nc|{{{name_colour|}}}}}; margin:auto;"> <!--
                        --> [[File:{{{alternate_image|{{{alt_image}}}}}}{{#if:{{{alternate_link|{{{alt_link|}}}}}}|{{!}}link={{{alternate_link|{{{alt_link}}}}}}}}{{#if: {{{alternate_name|{{{alt_name|}}}}}} |{{!}}{{Translation|{{{alternate_name|{{{alt_name}}}}}}}} }}|{{{alternate_width|{{{alt_width|32px}}}}}}]]</td>}}<!--
alt_image2
-->{{#if: {{{alternate_image2|{{{alt_image2|}}}}}}
  |<td style="width:32px; padding:2px; background-color:#eee; border: 1px solid #{{Infobox nc|{{{name_colour|}}}}}; margin:auto;"> <!--
                        --> [[File:{{{alternate_image2|{{{alt_image2}}}}}}{{#if:{{{alternate_link2|{{{alt_link2|}}}}}}|{{!}}link={{{alternate_link2|{{{alt_link2}}}}}}}}{{#if: {{{alternate_name2|{{{alt_name2|}}}}}} |{{!}}{{Translation|{{{alternate_name2|{{{alt_name2}}}}}}}} }}|{{{alternate_width2|{{{alt_width2|32px}}}}}}]]</td>}}<!--
alt_image3
-->{{#if: {{{alternate_image3|{{{alt_image3|}}}}}}
  |<td style="width:32px; padding:2px; background-color:#eee; border: 1px solid #{{Infobox nc|{{{name_colour|}}}}}; margin:auto;"> <!--
                        --> [[File:{{{alternate_image3|{{{alt_image3}}}}}}{{#if:{{{alternate_link3|{{{alt_link3|}}}}}}|{{!}}link={{{alternate_link3|{{{alt_link3}}}}}}}}{{#if: {{{alternate_name3|{{{alt_name3|}}}}}} |{{!}}{{Translation|{{{alternate_name3|{{{alt_name3}}}}}}}} }}|{{{alternate_width3|{{{alt_width3|32px}}}}}}]]</td>}}<!--
alt_image4
-->{{#if: {{{alternate_image4|{{{alt_image4|}}}}}}
  |<td style="width:32px; padding:2px; background-color:#eee; border: 1px solid #{{Infobox nc|{{{name_colour|}}}}}; margin:auto;"> <!--
                        --> [[File:{{{alternate_image4|{{{alt_image4}}}}}}{{#if:{{{alternate_link4|{{{alt_link4|}}}}}}|{{!}}link={{{alternate_link4|{{{alt_link4}}}}}}}}{{#if: {{{alternate_name4|{{{alt_name4|}}}}}} |{{!}}{{Translation|{{{alternate_name4|{{{alt_name4}}}}}}}} }}|{{{alternate_width4|{{{alt_width4|32px}}}}}}]]</td>}}<!--
alt_image5
-->{{#if: {{{alternate_image5|{{{alt_image5|}}}}}}
  |<td style="width:32px; padding:2px; background-color:#eee; border: 1px solid #{{Infobox nc|{{{name_colour|}}}}}; margin:auto;"> <!--
                        --> [[File:{{{alternate_image5|{{{alt_image5}}}}}}{{#if:{{{alternate_link5|{{{alt_link5|}}}}}}|{{!}}link={{{alternate_link5|{{{alt_link5}}}}}}}}{{#if: {{{alternate_name5|{{{alt_name5|}}}}}} |{{!}}{{Translation|{{{alternate_name5|{{{alt_name5}}}}}}}} }}|{{{alternate_width5|{{{alt_width5|32px}}}}}}]]</td>}}<!--
alt_image6
-->{{#if: {{{alternate_image6|{{{alt_image6|}}}}}}
  |<td style="width:32px; padding:2px; background-color:#eee; border: 1px solid #{{Infobox nc|{{{name_colour|}}}}}; margin:auto;"> <!--
                        --> [[File:{{{alternate_image6|{{{alt_image6}}}}}}{{#if:{{{alternate_link6|{{{alt_link6|}}}}}}|{{!}}link={{{alternate_link6|{{{alt_link6}}}}}}}}{{#if: {{{alternate_name6|{{{alt_name6|}}}}}} |{{!}}{{Translation|{{{alternate_name6|{{{alt_name6}}}}}}}} }}|{{{alternate_width6|{{{alt_width6|32px}}}}}}]]</td>}}<!--
alt_image7
-->{{#if: {{{alternate_image7|{{{alt_image7|}}}}}}
  |<td style="width:32px; padding:2px; background-color:#eee; border: 1px solid #{{Infobox nc|{{{name_colour|}}}}}; margin:auto;"> <!--
                        --> [[File:{{{alternate_image7|{{{alt_image7}}}}}}{{#if:{{{alternate_link7|{{{alt_link7|}}}}}}|{{!}}link={{{alternate_link7|{{{alt_link7}}}}}}}}{{#if: {{{alternate_name7|{{{alt_name7|}}}}}} |{{!}}{{Translation|{{{alternate_name7|{{{alt_name7}}}}}}}} }}|{{{alternate_width7|{{{alt_width7|32px}}}}}}]]</td>}}<!--
alt_image8
-->{{#if: {{{alternate_image8|{{{alt_image8|}}}}}}
  |<td style="width:32px; padding:2px; background-color:#eee; border: 1px solid #{{Infobox nc|{{{name_colour|}}}}}; margin:auto;"> <!--
                        --> [[File:{{{alternate_image8|{{{alt_image8}}}}}}{{#if:{{{alternate_link8|{{{alt_link8|}}}}}}|{{!}}link={{{alternate_link8|{{{alt_link8}}}}}}}}{{#if: {{{alternate_name8|{{{alt_name8|}}}}}} |{{!}}{{Translation|{{{alternate_name8|{{{alt_name8}}}}}}}} }}|{{{alternate_width8|{{{alt_width8|32px}}}}}}]]</td>}}
</tr></table>}}
{{#if: {{{alternate_image9|{{{alternate_image10|{{{alternate_image11|{{{alternate_image12|{{{alternate_image13|{{{alternate_image14|{{{alternate_image15|{{{alternate_image16|{{{alt_image9|{{{alt_image10|{{{alt_image11|{{{alt_image12|{{{alt_image13|{{{alt_image14|{{{alt_image15|{{{alt_image16|}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}} <!-- check if alternate images 9-16 exist -->
|<table style="margin:auto; border-spacing:4px 2px;"><tr> <!-- create table and new table row --> <!--
alt_image9
-->{{#if: {{{alternate_image9|{{{alt_image9|}}}}}}
  |<td style="width:32px; padding:2px; background-color:#eee; border: 1px solid #{{Infobox nc|{{{name_colour|}}}}}; margin:auto;"> <!--
                        --> [[File:{{{alternate_image9|{{{alt_image9}}}}}}{{#if:{{{alternate_link9|{{{alt_link9|}}}}}}|{{!}}link={{{alternate_link9|{{{alt_link9}}}}}}}}{{#if: {{{alternate_name9|{{{alt_name9|}}}}}} |{{!}}{{Translation|{{{alternate_name9|{{{alt_name9}}}}}}}} }}|{{{alternate_width9|{{{alt_width9|32px}}}}}}]]</td>}} <!--
alt_image10
-->{{#if: {{{alternate_image10|{{{alt_image10|}}}}}}
  |<td style="width:32px; padding:2px; background-color:#eee; border: 1px solid #{{Infobox nc|{{{name_colour|}}}}}; margin:auto;"> <!--
                        --> [[File:{{{alternate_image10|{{{alt_image10}}}}}}{{#if:{{{alternate_link10|{{{alt_link10|}}}}}}|{{!}}link={{{alternate_link10|{{{alt_link10}}}}}}}}{{#if: {{{alternate_name10|{{{alt_name10|}}}}}} |{{!}}{{Translation|{{{alternate_name10|{{{alt_name10}}}}}}}} }}|{{{alternate_width10|{{{alt_width10|32px}}}}}}]]</td>}} <!--
alt_image11
-->{{#if: {{{alternate_image11|{{{alt_image11|}}}}}}
  |<td style="width:32px; padding:2px; background-color:#eee; border: 1px solid #{{Infobox nc|{{{name_colour|}}}}}; margin:auto;"> <!--
                        --> [[File:{{{alternate_image11|{{{alt_image11}}}}}}{{#if:{{{alternate_link11|{{{alt_link11|}}}}}}|{{!}}link={{{alternate_link11|{{{alt_link11}}}}}}}}{{#if: {{{alternate_name11|{{{alt_name11|}}}}}} |{{!}}{{Translation|{{{alternate_name11|{{{alt_name11}}}}}}}} }}|{{{alternate_width11|{{{alt_width11|32px}}}}}}]]</td>}} <!--
alt_image12
-->{{#if: {{{alternate_image12|{{{alt_image12|}}}}}}
  |<td style="width:32px; padding:2px; background-color:#eee; border: 1px solid #{{Infobox nc|{{{name_colour|}}}}}; margin:auto;"> <!--
                        --> [[File:{{{alternate_image12|{{{alt_image12}}}}}}{{#if:{{{alternate_link12|{{{alt_link12|}}}}}}|{{!}}link={{{alternate_link12|{{{alt_link12}}}}}}}}{{#if: {{{alternate_name12|{{{alt_name12|}}}}}} |{{!}}{{Translation|{{{alternate_name12|{{{alt_name12}}}}}}}} }}|{{{alternate_width12|{{{alt_width12|32px}}}}}}]]</td>}} <!--
alt_image13
-->{{#if: {{{alternate_image13|{{{alt_image13|}}}}}}
  |<td style="width:32px; padding:2px; background-color:#eee; border: 1px solid #{{Infobox nc|{{{name_colour|}}}}}; margin:auto;"> <!--
                        --> [[File:{{{alternate_image13|{{{alt_image13}}}}}}{{#if:{{{alternate_link13|{{{alt_link13|}}}}}}|{{!}}link={{{alternate_link13|{{{alt_link13}}}}}}}}{{#if: {{{alternate_name13|{{{alt_name13|}}}}}} |{{!}}{{Translation|{{{alternate_name13|{{{alt_name13}}}}}}}} }}|{{{alternate_width13|{{{alt_width13|32px}}}}}}]]</td>}} <!--
alt_image14
-->{{#if: {{{alternate_image14|{{{alt_image14|}}}}}}
  |<td style="width:32px; padding:2px; background-color:#eee; border: 1px solid #{{Infobox nc|{{{name_colour|}}}}}; margin:auto;"> <!--
                        --> [[File:{{{alternate_image14|{{{alt_image14}}}}}}{{#if:{{{alternate_link14|{{{alt_link14|}}}}}}|{{!}}link={{{alternate_link14|{{{alt_link14}}}}}}}}{{#if: {{{alternate_name14|{{{alt_name14|}}}}}} |{{!}}{{Translation|{{{alternate_name14|{{{alt_name14}}}}}}}} }}|{{{alternate_width14|{{{alt_width14|32px}}}}}}]]</td>}} <!--
alt_image15
-->{{#if: {{{alternate_image15|{{{alt_image15|}}}}}}
  |<td style="width:32px; padding:2px; background-color:#eee; border: 1px solid #{{Infobox nc|{{{name_colour|}}}}}; margin:auto;"> <!--
                        --> [[File:{{{alternate_image15|{{{alt_image15}}}}}}{{#if:{{{alternate_link15|{{{alt_link15|}}}}}}|{{!}}link={{{alternate_link15|{{{alt_link15}}}}}}}}{{#if: {{{alternate_name15|{{{alt_name15|}}}}}} |{{!}}{{Translation|{{{alternate_name15|{{{alt_name15}}}}}}}} }}|{{{alternate_width15|{{{alt_width15|32px}}}}}}]]</td>}} <!--
alt_image16
-->{{#if: {{{alternate_image16|{{{alt_image16|}}}}}}
  |<td style="width:32px; padding:2px; background-color:#eee; border: 1px solid #{{Infobox nc|{{{name_colour|}}}}}; margin:auto;"> <!--
                        --> [[File:{{{alternate_image16|{{{alt_image16}}}}}}{{#if:{{{alternate_link16|{{{alt_link16|}}}}}}|{{!}}link={{{alternate_link16|{{{alt_link16}}}}}}}}{{#if: {{{alternate_name16|{{{alt_name16|}}}}}} |{{!}}{{Translation|{{{alternate_name16|{{{alt_name16}}}}}}}} }}|{{{alternate_width16|{{{alt_width16|32px}}}}}}]]</td>}}
</tr></table>}}


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


<!-- ## GENERAL ## -->
.sitenotice-card .image-container-right {
| header1    = {{Translation|General}}
    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
    }
}
</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|}}}
    box-sizing: border-box;
    max-width: 1000px;
     width: 944px;
}
</syntaxhighlight>


| label4    = {{Translation|Equipped}}
===TODO===
| data4      = {{{body_location|{{{equipped|}}}}}}
*add <code>class="text-container"</code> for div with the text, so it can be modified per skin.
 
<syntaxhighLight lang="css">
| label5    = {{Translation|Slot attached}}
.sitenotice-card .text-container {
| data5      = {{#switch:{{{attachment_type|}}} <!-- get attachment_type and return correct attachment location -->
     /* styles go here */
  | Saucepan|BigWeapon|BigBlade|Shovel|Racket|Pan|Guitar|GuitarAcoustic|Rifle|Back = {{Translation|Back}}
}
  | Nightstick|MeatCleaver|Hammer|Wrench|Knife|Screwdriver|Walkie|Belt = {{Translation|Belt}}
</syntaxhighlight>
  | Holster = {{Translation|Holster}}
*consider adding {{code|<p>}} or {{code|<div>}} tag with <code>class="title"</code> for styling the title.
  | #default = {{Translation|{{{attachment_type|}}}}}
<syntaxhighLight lang="css">
}}
.sitenotice-card .text-container .title {
 
    /* styles go here */
| label6    = {{Translation|Function}}
}
| data6    = {{Translation|{{{function|{{{primary_use|}}}}}}{{#if:{{{secondary_use|}}}|<br>{{{secondary_use}}}}}}}
</syntaxhighlight>
 
*create an [[MediaWiki:Anonnotice|anonnotice]] for users that aren't logged in
| label7    = {{Translation|Secondary}}
**wording will be adjusted directing them to create an account to change the theme
| data7      = {{#if:{{{secondary_item|}}}|{{img_item|{{{secondary_item}}}}}|}}
*Once style implemented, modify to advise how to change the theme
 
| label8    = {{Translation|Slots added}}
| data8      = {{{attachments_provided|}}}
 
| label9    = {{Translation|Used in}}
| data9      = {{{weapons|}}} <!-- TODO: add weapon# (1-5) -->
 
| label10    = {{Translation|Part type}}
| data10      = {{{part_type|}}}
 
| label11    = {{Translation|Skill}}
| data11      = {{#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|}}}}}}}}
}}
 
| label12    = {{Translation|Ammunition}}
| data12    = {{#if:{{{ammo_type|}}}|{{{ammo_type}}}|{{#if:{{{ammo|}}}|{{img_item|item={{{ammo}}}|size=32px}}}}}}
 
| label13    = {{Translation|Magazine size}}
| data13    = {{{clip_size|}}}
 
<!-- ## Properties ## -->
| header31  = {{Translation|Properties}}
 
| label32    = {{Translation|Material}}
| data32    = {{{material|}}}
 
| label33    = {{Translation|{{{material|Material}}}}} {{Translation|quantity}}
| data33    = {{{material_value|}}}
 
| label34    = {{Translation|Contents}}
| data34    = {{{contents|}}}
 
| label35    = {{Translation|Max units}}
| data35    = {{#if:{{{max_units|}}}|{{#iferror:{{#expr:1/{{{max_units}}}}}|{{{max_units}}}|{{#expr:1/{{{max_units}}}}} {{Translation|units}}}}}} <!-- 1/max_units, if not maths expr, return max_units -->
 
| label36    = {{Translation|Capacity}}
| data36    = {{{capacity|}}}
 
| label39    = {{Translation|Weight reduction}}
| data39    = {{#if:{{{weight_reduction|}}}|{{{weight_reduction|}}}%}}
 
| 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    = {{{packaged|}}}
 
| 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  = {{Translation|Performance}}
 
| label82    = {{Translation|Damage type}}
| data82    = {{{damage_type|{{{type|}}}}}}
 
| label83    = {{Translation|Damage}}
| data83    = {{#if:{{{min_damage|{{{max_damage|}}}}}}|{{{min_damage|}}}–{{{max_damage|}}}{{#if:{{{door_damage|}}}|<br>{{{door_damage|}}} <small>([[Door]]s)</small>}}{{#if:{{{tree_damage|}}}|<br>{{{tree_damage|}}} <small>([[Tree]]s)</small>}} }}
 
| label84    = {{Translation|Damage}}
| data84    = {{{DamageModifier|{{{damage_mod|}}}}}}
 
| label85    = {{Translation|Range}}
| data85    = {{#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 -->
 
| label86    = {{Translation|Min. range}}
| data86    = {{{min_range_mod|}}}
 
| label87    = {{Translation|Max. range}}
| data87    = {{{max_range_mod|}}}
 
| label88    = {{Translation|Accuracy}}
| data88    = {{{hit_chance|{{{hit_chance_mod|{{{accuracy_mod|}}}}}}}}}
 
| label89    = {{Translation|Recoil}}
| data89    = {{{recoil_delay|{{{recoil_mod|{{{recoil_delay_mod|}}}}}}}}}
 
| label90    = {{Translation|Noise radius}}
| data90    = {{{sound_radius|}}}
 
| label91    = {{Translation|Attack speed}}
| data91    = {{{base_speed|}}}
 
| label92    = {{Translation|Knockback}}
| data92    = {{{push_back|}}}
 
| label94    = {{Translation|Knockdown}}
| data94    = {{{knockdown|}}}
 
| label95    = {{Translation|Aiming time}}
| data95    = {{{aiming_time|{{{aiming_time_mod|{{{aiming_mod|}}}}}}}}}
 
| label96    = {{Translation|Reload time}}
| data96    = {{{reload_time|{{{reload_time_mod|{{{reload_mod|}}}}}}}}}
 
| label97    = {{Translation|Crit chance}}
| data97    = {{#if:{{{crit_chance|}}}|{{#if:{{{crit_multiplier|}}}|{{tooltip|{{{crit_chance}}}%|Damage multiplied by {{{crit_multiplier}}}}}|{{{crit_chance}}}%}}}}
 
| label98    = {{Translation|Spread}}
| data98    = {{{angle_mod|{{{spread_mod|}}}}}}
 
| label99    = {{Translation|Execution}}
| data99    = {{{kill_move|}}}
 
| label100  = {{Translation|Encumberance mod.}}
| data100    = {{{weight_mod|}}}
 
| label101  = {{Translation|{{{effect_type}}}}} {{Translation|power}}
| data101    = {{{effect_power|}}}
 
| label102  = {{Translation|{{{effect_type}}}}} {{Translation|range}}
| data102    = {{#if:{{{effect_range|}}}|{{{effect_range}}} {{Translation|tiles}}}}
 
| label103  = {{Translation|{{{effect_type}}}}} {{Translation|timer}}
| data103    = {{{effect_timer|}}}
 
<!-- ## NUTRITION ## -->
| header111  = {{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  = {{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  = {{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  = {{Translation|Crafting}}
 
| label172    = {{Translation|Ingredients}}
| data172    = {{{ingredients|}}}
 
<!-- ## TECHNICAL ## -->
| header181  = {{Translation|Technical}}
 
| label182    = {{Translation|Item ID}}
| data182     = {{#if:{{{class_name|{{{item_id|}}}}}}|{{ID|{{{class_name|{{{item_id}}}}}}}}|[[#{{Translation|Item IDs}}|{{Translation|Item IDs}}]]}}
 
}}{{clear}}<!-- temp - remove before publishing --></includeonly><noinclude><div class="mw-collapsible mw-collapsed" style="width:100%">{{User:Vaileasys/sandbox
| model=Image.png
| alt_image=Image.png
| alt_image2=Image.png
| alt_image3=Image.png
| alt_image4=Image.png
| alt_image5=Image.png
| alt_image6=Image.png
| alt_image7=Image.png
| alt_image8=Image.png
<!-- new row -->
| alt_image9=Image.png
| alt_image10=Image.png
| alt_image11=Image.png
| alt_image12=Image.png
| alt_image13=Image.png
| alt_image14=Image.png
| alt_image15=Image.png
| alt_image16=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
}}</div>
==Ammo==
===9mm Round===
{{User:Vaileasys/sandbox
|display_name=9mm Rounds
|name_colour=Weapons
|name_text_colour=Weapons
|image=40calAmmoBox.png
|alternate_image=HandgunAmmoBox.png{{!}}32px
|alternate_name=Box of 9mm Bullets
|alternate_link=
|category=Ammo
|weapon1=Pistol
|loose_weight=0.01
|count=5
|box_weight=0.2
|contents=30
|class_name=Base.Bullets9mm
|class_name2=Base.Bullets9mmBox
}}
 
==Clothing==
===Firefighter Helmet===
{{User:Vaileasys/sandbox
| display_name = Firefighter Helmet
| name_colour = Clothing
| name_text_colour = Clothing
| image = Hat_Fireman.png
| image_width = 200px
| alternate_image = HelmetFireman.png
| alternate_name = Firefighter Helmet
| alternate_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
| name_colour = Clothing
| name_text_colour = Clothing
| image = Hazmat.png
| image_width = 200px
| alternate_image = Hazmatsuit.png
| alternate_name = Hazmat Suit
| alternate_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
| name_colour = Container
| name_text_colour = Container
| image = Model_SchoolBag_Blue.png
| image_width = 200px
| alternate_image = Backpack_Blue.png
| alternate_name = School Bag (Blue)
| alternate_link =
| alternate_image2 = Backpack_Black.png
| alternate_name2 = School Bag (Black)
| alternate_link2 =
| alternate_image3 = Backpack_Spiffo.png
| alternate_name3 = School Bag (Spiffo)
| alternate_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
| name_colour =
| name_text_colour =
| image = ALICEpack Green Model.png
| image_width = 200px
| alternate_image = AliceBag.png
| alternate_name = Large Backpack
| alternate_link =
| alternate_image2 = AliceBag_Camo.png
| alternate_name2 = Military Backpack
| alternate_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)
| attachments_provided = Bag
<!-- 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
|name_colour=Construction
|name_text_colour=Construction
|image=Thread_Model.png
|alternate_image=Thread.png
|alternate_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
|name_colour=Electrical
|name_text_colour=Electrical
|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
|name_colour=Medical
|name_text_colour=Medical
|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
|name_colour=Tool
|name_text_colour=Tool
|image=Bucket Model.png
|image_width=200px
|alternate_image=MetalBucket.png
|alternate_name=Bucket
|alternate_link=
|alternate_image2=MetalBucket_Water.png
|alternate_name2=Bucket of Water
|alternate_link2=
|weight=1 <small>(Empty)</small><br>4 <small>(Full)</small>
|function=[[Cooking]] utensil
|max_units=25
|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
|name_colour=Drink
|name_text_colour=Drink
|image=MugBlue_Model.png
|image_width=220px
|alternate_image=MugFulll.png
|alternate_name=Hot Drink
|alternate_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
|name_colour=Food
|name_text_colour=Food
|image=CookingPot_Model.png
|image_width=160px
|alternate_image=PotFull.png
|alternate_name=Pot of Soup
|alternate_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
|name_colour=Food
|name_text_colour=Food
|image=Lollipop_Model.png
|image_width=150px
|alternate_image=Lollipop.png
|alternate_name=Lollipop
|alternate_link=Lollipop
|alternate_image2=CandyPackagei.png
|alternate_name2=Candy Package
|alternate_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
|name_colour=Food
|name_text_colour=Food
|image=MeatPatty__Model.png
|image_width=150px
|alternate_image=MeatPatty.png
|alternate_name=Meat Patty
|alternate_link=
|alternate_image2=MeatPattyRotten.png
|alternate_name2=Meat Patty (Rotten)
|alternate_link2=
|alternate_image3=Cookedmeatpatty.png
|alternate_name3=Meat Patty (Cooked)
|alternate_link3=
|alternate_image4=Burnedmeatpatty.png
|alternate_name4=Meat Patty (Burnt)
|alternate_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
|name_colour=Drink
|name_text_colour=Drink
|image=WhiskeyBottle_Model.png
|image_width=200px
|alternate_image=WhiskeyFull.png
|alternate_link=Bourbon
|alternate_name=Bourbon
|alternate_image2=WhiskeyEmpty.png
|alternate_link2=Water Bottle (Bourbon)
|alternate_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
|class_name=Base.WhiskeyFull
}}
 
===Bleach===
{{User:Vaileasys/sandbox
|display_name=Bleach
|name_colour=Drink
|name_text_colour=Drink
|image=Bleach_Model.png
|image_width=200px
|alternate_image=Bleach.png
|alternate_name=Bleach
|alternate_link=
|alternate_image2=Bleach.png
|alternate_name2=Empty Bleach Bottle
|alternate_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
|name_colour=Literature
|name_text_colour=Literature
|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
|name_colour=Literature
|name_text_colour=Literature
|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
|name_colour=Literature
|name_text_colour=Literature
|image=Model Magazine.png
|image_width=200px
|alternate_image=MagazineFish.png
|alternate_name=The Farming Magazine
|alternate_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
|name_colour=Literature
|name_text_colour=Literature
|image=Map.png
|category=Item
|weight=0.1
|writable=True
|class_name=Base.MarchRidgeMap
}}
===Journal===
{{User:Vaileasys/sandbox
|display_name=Journal
|name_colour=Literature
|name_text_colour=Literature
|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
|name_colour=Tool
|name_text_colour=Tool
|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
|name_colour=Tool
|name_text_colour=Tool
|image=Bowl.png
|alternate_image=BowlFull_Water.png
|alternate_name=Bowl of Water
|alternate_link=Bowl of Water
|weight=0.5
|primary_use=[[Cooking]] utensil
|secondary_use=[[Water]] container
|can_store_water=True
|rain_factor=0.5
|class_name=Base.Bowl
}}
===Sterilized Rag===
{{User:Vaileasys/sandbox
|display_name=Sterilized Rag
|name_colour=Medical
|name_text_colour=Medical
|image=Rag.png
|alternate_image=RagDirty.png
|alternate_name=Dirty Rag
|alternate_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
|name_colour=Tool
|name_text_colour=Tool
|image=Bathtowel.png
|alternate_image=Bathtowel.png
|alternate_name=Wet Bath Towel
|alternate_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
|name_colour=Electrical
|name_text_colour=Electrical
|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
|alternate_image=BaseballBat.png
|alternate_name=Baseball Bat
|alternate_link=
<!--GENERAL-->
|category=Sports
|weight=2
|equipped=One-handed
|condition_max=15
|attachment_type=Shovel
<!--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
|alternate_image=KnifeChopping.png
|alternate_name=Kitchen Knife
|alternate_link=
<!--GENERAL-->
|category=Cooking
|weight=0.3
|equipped=One-handed
|condition_max=10
|attachment_type=Knife
<!--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
|alternate_image=HandGun3.png
|alternate_name=M9 Pistol
|alternate_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-->
|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
|alternate_image=Molotov.png
|alternate_name=Molotov Cocktail
|alternate_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
|alternate_image=AerosolbombTimer.png
|alternate_name=Aerosol Bomb with Timer
|alternate_link=
<!--GENERAL-->
|category=Devices
|weight=1.5
|equipped=One-handed
<!--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
|name_colour=Weapon
|name_text_colour=Weapon
|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
|name_colour=Weapon
|name_text_colour=Weapon
|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
|name_colour=Weapon
|name_text_colour=Weapon
|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
|name_colour=Weapon
|name_text_colour=Weapon
|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
}}
</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