Template:Items/doc: Difference between revisions
Awsome2464 (talk | contribs) (Created page) |
Awsome2464 (talk | contribs) No edit summary |
||
| Line 21: | Line 21: | ||
"required": true | "required": true | ||
}, | }, | ||
"interact": { | "interact": { | ||
"label": "Interaction Text", | "label": "Interaction Text", | ||
"description": "The text that appears when pressing the hand icon on the item in the inventory. Use \"N/A\" if it doesn't have one.", | "description": "The text that appears when pressing the hand icon on the item in the inventory. Use \"N/A\" if it doesn't have one.", | ||
"type": "string", | "type": "string", | ||
"required": true | "required": true | ||
}, | |||
"consume": { | |||
"label": "Consume Text", | |||
"description": "The text that appears when MC consumes the item from the inventory.", | |||
"type": "string", | |||
"required": false | |||
}, | }, | ||
"obtain": { | "obtain": { | ||
Revision as of 17:00, 21 November 2026
This template creates a table to give a brief overview and information on items collected in the game.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Image | image | A single 95x95 image or multiple 95x95 images used to represent the item. | String | required |
| Code Name | code | The name internally used when adding or removing the item from the inventory. | String | required |
| Investigation Text | investigate | The text that appears when pressing the magnifying glass icon on the item in the inventory. Use "N/A" if it doesn't have one. | String | required |
| Interaction Text | interact | The text that appears when pressing the hand icon on the item in the inventory. Use "N/A" if it doesn't have one. | String | required |
| Consume Text | consume | The text that appears when MC consumes the item from the inventory. | String | optional |
| How to Obtain | obtain | Describing all the ways that the item can be obtained in the game. Split multiple up using the <br> tag. | String | required |
| Use(s) | use | Describing all the ways that the item can be used in the game. Split multiple up using the <br> tag. | String | required |
{{Items
|image=[[File:Cake slice.webp|180px]]
|code=cake_slice
|investigate=This cocaine cake is more addictive than... well, cocaine.
|interact=[[Flora]] always finds her recipes on the dark web.
|obtain=Reward for completing [[Punked]].<br>Has a chance to be found in the rightmost locker in [[A Beautiful Motive]].
|use=Give to [[Flora]] during [[Tiny Thirsty Tree]].
}}
| Code Name |
|---|
"cake_slice"
|
| "This cocaine cake is more addictive than... well, cocaine." |
| "Flora always finds her recipes on the dark web." |
| How to Obtain | Reward for completing Punked. Has a chance to be found in the rightmost locker in A Beautiful Motive. |
| Use(s) | Give to Flora during Tiny Thirsty Tree. |