User:Vaileasys/sandbox: Difference between revisions
mNo edit summary |
(incorporated max_units into capacity label, check for ammo category to add "rounds" to capacity) |
||
Line 4: | Line 4: | ||
*<s>add weapons# (1-5) and fetch image automatically</s> | *<s>add weapons# (1-5) and fetch image automatically</s> | ||
*add "type" parameter, and determine accent colour based on it | *add "type" parameter, and determine accent colour based on it | ||
**remove all instances of "type" during rollout | **remove all instances of "type" during rollout (weapons: replace "type" with "damage_type") | ||
*<s>add img filter:invert class</s> ''--changed mind'' | *<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 common icons to infobox, see [[weapons]] and other [[items]]</s> ''--changed mind'' | ||
Line 182: | Line 182: | ||
| data34 = {{{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|}}}}}} | ||
|{{#iferror: | |{{#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}} <!-- return max_units input --> | |||
}} | |||
|{{#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 --> | |||
}} | |||
}} | |||
}} | }} | ||
}} | }} | ||
Line 626: | Line 627: | ||
===9mm Round=== | ===9mm Round=== | ||
{{User:Vaileasys/sandbox | {{User:Vaileasys/sandbox | ||
|display_name=9mm | |display_name=9mm Round | ||
|name_colour=Weapons | |name_colour=Weapons | ||
|name_text_colour=Weapons | |name_text_colour=Weapons | ||
|image= | |image=9mmRounds_Model.png | ||
|alternate_image= | |alternate_image=40calAmmoBox.png | ||
|alternate_name= | |alternate_name=9mm Round | ||
|alternate_link= | |alternate_link= | ||
|alternate_image2=HandgunAmmoBox.png | |||
|alternate_name2=Box of 9mm Rounds | |||
|alternate_link2= | |||
|category=Ammo | |category=Ammo | ||
|weapon1=Pistol | |weapon1=Pistol | ||
Line 1,133: | Line 1,137: | ||
|attachment_type=Shovel | |attachment_type=Shovel | ||
<!--DAMAGE--> | <!--DAMAGE--> | ||
| | |damage_type=Blunt | ||
|skill_type=Blunt | |skill_type=Blunt | ||
|base_speed=1 | |base_speed=1 | ||
Line 1,163: | Line 1,167: | ||
|attachment_type=Knife | |attachment_type=Knife | ||
<!--DAMAGE--> | <!--DAMAGE--> | ||
| | |damage_type=Slash | ||
|skill_type=SmallBlade | |skill_type=SmallBlade | ||
|min_range=0.61 | |min_range=0.61 | ||
Line 1,200: | Line 1,204: | ||
|aiming_time=15 | |aiming_time=15 | ||
<!--DAMAGE--> | <!--DAMAGE--> | ||
| | |damage_type=Gunshot | ||
|skill_type=Firearm | |skill_type=Firearm | ||
|min_range=0.61 | |min_range=0.61 | ||
Line 1,254: | Line 1,258: | ||
|equipped=One-handed | |equipped=One-handed | ||
<!--DAMAGE--> | <!--DAMAGE--> | ||
| | |damage_type=Explosion | ||
|effect_power=70 | |effect_power=70 | ||
|effect_range=6 | |effect_range=6 |
Revision as of 11:12, 14 July 2023
Template:TOC leftTODO:
check weapon mods are working correctlyadd door and tree icons to damage--changed mindadd weapons# (1-5) and fetch image automatically- add "type" parameter, and determine accent colour based on it
- remove all instances of "type" during rollout (weapons: replace "type" with "damage_type")
add img filter:invert class--changed mindadd common icons to infobox, see weapons and other items--changed mindadd "Encumbrance (full)", use "weight_full" parameter, else calculate encumbrance when full based onweight
,capacity
andweight_reduction
add tooltip explaining "packaged"- hide unused headers
- add ammo examples
- fix ammo contents/capacity
- add traps?
Ammo
9mm Round
9mm Round | |||
---|---|---|---|
| |||
General | |||
Category | Ammo | ||
Encumbrance | 1 | ||
Used in | |||
Properties | |||
Box capacity | 30 rounds | ||
Performance | |||
Nutrition | |||
Effect | |||
Cooking | |||
Crafting | |||
Technical | |||
Item ID | Base.Bullets9mm |
Clothing
Firefighter Helmet
Firefighter Helmet | ||
---|---|---|
| ||
General | ||
Category | Clothing | |
Encumbrance | 1.5 | |
Equipped | Hat | |
Properties | ||
Scratch defence | 100 | |
Bite defence | 100 | |
Insulation | 0.65 | |
Wind resistance | 0.55 | |
Water resistance | 0.60 | |
Performance | ||
Nutrition | ||
Effect | ||
Cooking | ||
Crafting | ||
Technical | ||
Item ID | Base.Hat_Fireman |
Hazmat Suit
Hazmat Suit | ||
---|---|---|
| ||
General | ||
Category | Clothing | |
Encumbrance | 1.0 | |
Equipped | FullSuit | |
Properties | ||
Run speed | 75% (obsolete) | |
Scratch defence | 15 | |
Bite defence | 5 | |
Insulation | 0.65 | |
Wind resistance | 0.9 | |
Performance | ||
Nutrition | ||
Effect | ||
Cooking | ||
Crafting | ||
Technical | ||
Item ID | Base.HazmatSuit |
Container
School Bag
School Bag | ||||
---|---|---|---|---|
School Bag | ||||
| ||||
General | ||||
Category | Container | |||
Encumbrance | 1.0 | |||
Equipped | Back | |||
Properties | ||||
Capacity | 15 | |||
Weight reduction | 60% | |||
Run speed | 97% (obsolete) | |||
Performance | ||||
Nutrition | ||||
Effect | ||||
Cooking | ||||
Crafting | ||||
Technical | ||||
Item ID | Base.Bag_Schoolbag |
Large Backpack
Large Backpack | |||
---|---|---|---|
| |||
General | |||
Category | Container | ||
Encumbrance | 2 | ||
Equipped | Back | ||
Properties | |||
Capacity |
27 28 (Army) | ||
Weight reduction |
85% 87% (Army) | ||
Run speed | 94% (obsolete) | ||
Performance | |||
Nutrition | |||
Effect | |||
Cooking | |||
Crafting | |||
Technical | |||
Item ID |
Base.Bag_ALICEpack Base.Bag_ALICEpack_Army |
Drainable
Thread
Thread | ||
---|---|---|
| ||
General | ||
Category | Item | |
Encumbrance | 0.1 | |
Function |
Craft mattress Stitch deep wounds | |
Properties | ||
Performance | ||
Nutrition | ||
Effect | ||
Cooking | ||
Crafting | ||
Technical | ||
Item ID | Base.Thread |
Battery
Battery | |
---|---|
General | |
Category | Item |
Encumbrance | 0.6 |
Function | Power small items |
Properties | |
Contents | Electricity |
Capacity | 100,000 units |
Performance | |
Nutrition | |
Effect | |
Cooking | |
Crafting | |
Technical | |
Item ID | Base.Battery |
Vitamins
Vitamins | |
---|---|
General | |
Category | Item |
Encumbrance | 0.2 |
Function | Reduce tiredness |
Properties | |
Performance | |
Nutrition | |
Effect | |
Fatigue | -2 |
Cooking | |
Crafting | |
Technical | |
Item ID | Base.PillsVitamins |
Bucket
Bucket | |||
---|---|---|---|
| |||
General | |||
Category | Item | ||
Encumbrance |
1 (Empty) 4 (Full) | ||
Function | Cooking utensil | ||
Properties | |||
Contents | Water | ||
Capacity | 25 units | ||
Can boil water | True | ||
Rain factor | 1 | ||
Performance | |||
Nutrition | |||
Effect | |||
Cooking | |||
Crafting | |||
Technical | |||
Item ID |
Base.BucketEmpty Base.BucketWaterFull |
Food
Hot Cuppa
Hot Cuppa | ||
---|---|---|
| ||
General | ||
Category | Food | |
Encumbrance | 0.5 | |
Properties | ||
Can't be frozen | True | |
Performance | ||
Nutrition | ||
Hunger | -5 | |
Thirst | -50 | |
Calories | 4 | |
Carbohydrates | 0.75 | |
Proteins | 0.12 | |
Fat | 0 | |
Effect | ||
Unhappiness | -5 | |
Stress | -10 | |
Fatigue | -5 | |
Cooking | ||
Crafting | ||
Technical | ||
Item ID | Base.Mugfull |
Pot of Soup
Pot of Soup | ||
---|---|---|
| ||
General | ||
Category | Food | |
Encumbrance | 4 | |
Properties | ||
Days fresh | 3 days | |
Days until rotten | 5 days | |
Performance | ||
Nutrition | ||
Hunger | -30 | |
Thirst | -30 | |
Calories | 202 | |
Carbohydrates | 25 | |
Proteins | 14 | |
Fat | 4.5 | |
Effect | ||
Unhappiness | -20 | |
Cooking | ||
Time until cooked | 50 minutes | |
Time until burned | 100 minutes | |
Crafting | ||
Technical | ||
Item ID | Base.PotOfSoup |
Lollipop
Lollipop | |||
---|---|---|---|
| |||
General | |||
Category | Food | ||
Encumbrance | 0.1 | ||
Properties | |||
Performance | |||
Nutrition | |||
Hunger | -5 | ||
Calories | 40 | ||
Carbohydrates | 10 | ||
Proteins | 0 | ||
Fat | 0.5 | ||
Effect | |||
Unhappiness | -10 | ||
Cooking | |||
Crafting | |||
Technical | |||
Item ID | Base.Lollipop |
Meat Patty
Meat Patty | |||||
---|---|---|---|---|---|
| |||||
General | |||||
Category | Food | ||||
Encumbrance | 0.3 | ||||
Properties | |||||
Days fresh | 2 days | ||||
Days until rotten | 4 days | ||||
Performance | |||||
Nutrition | |||||
Hunger | -40 | ||||
Calories | 380 | ||||
Carbohydrates | 0 | ||||
Proteins | 26 | ||||
Fat | 30 | ||||
Effect | |||||
Cooking | |||||
Time until cooked | 50 minutes | ||||
Time until burned | 70 minutes | ||||
Bad microwaved | True | ||||
Good hot | True | ||||
Bad cold | True | ||||
Crafting | |||||
Technical | |||||
Item ID | Base.MeatPatty |
Bourbon
Bourbon | |||
---|---|---|---|
| |||
General | |||
Category | Food | ||
Encumbrance | 0.7 | ||
Properties | |||
Packaged | True | ||
Can't be frozen | True | ||
Performance | |||
Nutrition | |||
Hunger | -20 | ||
Thirst | -20 | ||
Calories | 1500 | ||
Carbohydrates | 0 | ||
Proteins | 0 | ||
Fat | 0 | ||
Effect | |||
Unhappiness | -10 | ||
Alcohol | True | ||
Sterilize power | 2 | ||
Cooking | |||
Crafting | |||
Technical | |||
Item ID | Base.WhiskeyFull |
Bleach
Bleach | |||
---|---|---|---|
| |||
General | |||
Category | Household | ||
Encumbrance |
0.3 Empty: 0.1 | ||
Properties | |||
Performance | |||
Nutrition | |||
Thirst | -60 | ||
Effect | |||
Unhappiness | 99 | ||
120 | |||
Cooking | |||
Crafting | |||
Technical | |||
Item ID | Base.Bleach |
Literature
Book
Book | |
---|---|
General | |
Category | Literature |
Encumbrance | 0.5 |
Properties | |
Consumed | True |
Performance | |
Nutrition | |
Effect | |
Unhappiness | -40 |
Boredom | -50 |
Stress | -40 |
Cooking | |
Crafting | |
Technical | |
Item ID | Base.Book |
Skill Book
Metalwork for Beginners | |
---|---|
General | |
Category | literature |
Encumbrance | 0.8 |
Properties | |
Total pages | 220 pages |
Performance | |
Nutrition | |
Effect | |
Cooking | |
Crafting | |
Technical | |
Item ID | Base.BookMetalWelding1 |
The Farming Magazine
The Farming Magazine | ||
---|---|---|
| ||
General | ||
Category | Literature | |
Encumbrance | 0.1 | |
Properties | ||
Consumed | False | |
Skills learned |
Make Mildew Cure Make Flies Cure | |
Total volumes | 1 volume | |
Performance | ||
Nutrition | ||
Effect | ||
Cooking | ||
Crafting | ||
Technical | ||
Item ID | Base.FarmingMag1 |
Map
March Ridge Map | |
---|---|
General | |
Category | Item |
Encumbrance | 0.1 |
Properties | |
Writable | True |
Performance | |
Nutrition | |
Effect | |
Cooking | |
Crafting | |
Technical | |
Item ID | Base.MarchRidgeMap |
Journal
Journal | |
---|---|
General | |
Category | Literature |
Encumbrance | 0.1 |
Properties | |
Writable | True |
Total pages | 20 pages |
Performance | |
Nutrition | |
Effect | |
Cooking | |
Crafting | |
Technical | |
Item ID | Base.Journal |
Normal
Eraser
Eraser | |
---|---|
General | |
Category | Item |
Encumbrance | 0.1 |
Function | Remove markings from an annotated map. |
Properties | |
Performance | |
Nutrition | |
Effect | |
Cooking | |
Crafting | |
Technical | |
Item ID | Base.Eraser |
Bowl
Bowl | ||
---|---|---|
| ||
General | ||
Category | Item | |
Encumbrance | 0.5 | |
Function |
Cooking utensil Water container | |
Properties | ||
Rain factor | 0.5 | |
Performance | ||
Nutrition | ||
Effect | ||
Cooking | ||
Crafting | ||
Technical | ||
Item ID | Base.Bowl |
Sterilized Rag
Sterilized Rag | ||
---|---|---|
| ||
General | ||
Category | Item | |
Encumbrance | 0.05 | |
Function | Bandage bleeding wounds | |
Properties | ||
Performance | ||
Nutrition | ||
Effect | ||
Alcohol | True | |
Bandage power | 2 | |
Cooking | ||
Crafting | ||
Technical | ||
Item ID | Base.AlcoholRippedSheets |
Bath Towel
Bath Towel | ||
---|---|---|
| ||
General | ||
Category | Item | |
Encumbrance |
Dry: 0.1 Wet: 0.5 | |
Function | Dry a wet player | |
Properties | ||
Capacity | 10 units | |
Wet cooldown | 208 seconds | |
Performance | ||
Nutrition | ||
Effect | ||
Wetness | -40% | |
Cooking | ||
Crafting | ||
Technical | ||
Item ID |
Dry: Base.BathTowel Wet: Base.BathTowelWet |
V1 Remote Controller
V1 Remote Controller | |
---|---|
General | |
Category | Item |
Encumbrance | 0.4 |
Function | Trigger traps remotely |
Properties | |
Sensor range | 7 tiles |
Performance | |
Nutrition | |
Effect | |
Cooking | |
Crafting | |
Technical | |
Item ID | Base.RemoteCraftedV1 |
Weapon
Baseball Bat
Baseball Bat | ||
---|---|---|
| ||
General | ||
Category | Sports | |
Encumbrance | 2 | |
Equipped | One-handed | |
Slot attached | Back | |
Skill | Long Blunt | |
Properties | ||
Condition max. | 15 | |
Performance | ||
Damage type | Blunt | |
Damage | 0.8–1.1 | |
Door damage | 5 | |
Tree damage | 1 | |
Range | 0.61–1.25 | |
Attack speed | 1 | |
Knockback | 0.5 | |
Knockdown | 2 | |
Nutrition | ||
Effect | ||
Cooking | ||
Crafting | ||
Technical | ||
Item ID | Base.BaseballBat |
Kitchen Knife
Kitchen Knife | ||
---|---|---|
| ||
General | ||
Category | Cooking | |
Encumbrance | 0.3 | |
Equipped | One-handed | |
Slot attached | Belt | |
Skill | Short Blade | |
Properties | ||
Condition max. | 10 | |
Performance | ||
Damage type | Slash | |
Damage | 0.3–0.7 | |
Door damage | 1 | |
Tree damage | 1 | |
Range | 0.61–0.9 | |
Knockback | 0.3 | |
Knockdown | 0 | |
Nutrition | ||
Effect | ||
Cooking | ||
Crafting | ||
Technical | ||
Item ID | Base.KitchenKnife |
M9 Pistol
M9 Pistol | ||
---|---|---|
| ||
General | ||
Category | Weapon | |
Encumbrance | 1.5 | |
Equipped | One-handed | |
Slot attached | Holster | |
Skill | Firearm | |
Ammunition | ||
Magazine size | 15 | |
Properties | ||
Condition max. | 10 | |
Performance | ||
Damage type | Gunshot | |
Damage | 0.6–1 | |
Door damage | 5 | |
Range | 0.61–7 | |
Accuracy | 50 | |
Recoil | 20 | |
Noise radius | 40 | |
Knockback | 0.3 | |
Knockdown | 2 | |
Aiming time | 15 | |
Reload time | 30 | |
Nutrition | ||
Effect | ||
Cooking | ||
Crafting | ||
Technical | ||
Item ID | Base.Pistol |
Molotov Cocktail
Molotov Cocktail | ||
---|---|---|
| ||
General | ||
Category | Devices | |
Encumbrance | 1.5 | |
Equipped | One-handed | |
Secondary | ||
Properties | ||
Performance | ||
Damage type | Fire | |
Damage | 0–0 | |
Range | 0–8 | |
Fire power | 90 | |
Fire range | 4 tiles | |
Nutrition | ||
Effect | ||
Cooking | ||
Crafting | ||
Technical | ||
Item ID | Base.Molotov |
Aerosol Bomb with Timer
Aerosol Bomb with Timer | ||
---|---|---|
| ||
General | ||
Category | Devices | |
Encumbrance | 1.5 | |
Equipped | One-handed | |
Properties | ||
Performance | ||
Damage type | Explosion | |
Damage | 0–0 | |
Range | 0–10 | |
Knockdown | 0 | |
Explosion power | 70 | |
Explosion range | 6 tiles | |
Explosion timer | 10 | |
Nutrition | ||
Effect | ||
Cooking | ||
Crafting | ||
Technical | ||
Item ID | Base.AerosolbombTriggered |
Weapon mod
Choke Tube - Full
Choke Tube - Full | |
---|---|
General | |
Category | Item |
Encumbrance | 0.1 |
Used in | |
Part type | Canon |
Properties | |
Performance | |
Damage | 0.5 |
Spread | 0.05 |
Encumbrance mod. | 0.1 |
Nutrition | |
Effect | |
Cooking | |
Crafting | |
Technical | |
Item ID | Base.ChokeTubeFull |
x2 Scope
x2 Scope | |
---|---|
General | |
Category | Item |
Encumbrance | 0.3 |
Used in | |
Part type | Scope |
Properties | |
Performance | |
Min. range | +6 |
Max. range | +7 |
Encumbrance mod. | +0.3 |
Nutrition | |
Effect | |
Cooking | |
Crafting | |
Technical | |
Item ID | Base.x2Scope |
Fiberglass Stock
Fiberglass Stock | |
---|---|
General | |
Category | Item |
Encumbrance | 1.0 |
Used in | |
Part type | Stock |
Properties | |
Performance | |
Accuracy | 8 |
Encumbrance mod. | -0.5 |
Nutrition | |
Effect | |
Cooking | |
Crafting | |
Technical | |
Item ID | Base.FiberglassStock |
Ammo Straps
Ammo Straps | |
---|---|
General | |
Category | Item |
Encumbrance | 0.5 |
Used in | |
Part type | Sling |
Properties | |
Performance | |
Reload time | -5 |
Encumbrance mod. | 0.5 |
Nutrition | |
Effect | |
Cooking | |
Crafting | |
Technical | |
Item ID | Base.AmmoStraps |
Misc
Home VHS: conspiracy crap???
Home VHS: conspiracy crap??? | ||
---|---|---|
| ||
General | ||
Category | Entertainment | |
Encumbrance | 0.1 | |
Properties | ||
Performance | ||
Nutrition | ||
Effect | ||
Boredom | -5 | |
Cooking | ||
Crafting | ||
Technical | ||
Item ID | Base.VHS_Home | |
Media ID | 2221f0f4-4937-4c35-81b3-6267c8b47bcf |