Template:Items/doc: Difference between revisions
Awsome2464 (talk | contribs) (Created page) |
Awsome2464 (talk | contribs) (Changed example item to Cup of Coffee) |
||
| (One intermediate revision by the same user not shown) | |||
| 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": { | ||
| Line 44: | Line 50: | ||
<pre> | <pre> | ||
{{Items | {{Items | ||
|image=[[File: | |image=[[File:Coffee.webp|180px]] | ||
|code= | |code=cup_of_coffee | ||
|investigate= | |investigate=Blackest of the black, darker than night. That's how I like both my coffee and my horror punk. | ||
|interact=[[ | |interact=They call it the black gold, but what about [[Pepelepsi]]? That's the real heavy metal of the beverage world. | ||
|obtain= | |consume=A bean-juice container. Sweet! | ||
|use= | |obtain=Interact with the coffee machine in the [[Cafeteria]] for the first time.<br>Use the item [[Coffee Cup]] on the coffee machine in the [[Cafeteria]]. | ||
|use=Used on the [[Guard]]’s window to acquire [[Mrs. L]]’s phone number.<br>Can be consumed. | |||
}} | }} | ||
</pre> | </pre> | ||
{{Items | {{Items | ||
|image=[[File: | |image=[[File:Coffee.webp|180px]] | ||
|obtain= | |obtain=Interact with the coffee machine in the [[Cafeteria]] for the first time.<br>Use the item [[Coffee Cup]] on the coffee machine in the [[Cafeteria]]. | ||
|use= | |use=Used on the [[Guard]]’s window to acquire [[Mrs. L]]’s phone number.<br>Can be consumed. | ||
|investigate= | |investigate=Blackest of the black, darker than night. That's how I like both my coffee and my horror punk. | ||
|interact=[[ | |interact=They call it the black gold, but what about [[Pepelepsi]]? That's the real heavy metal of the beverage world. | ||
|code= | |code=cup_of_coffee | ||
|consume=A bean-juice container. Sweet! | |||
}} | }} | ||
Latest revision as of 20:42, 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:Coffee.webp|180px]]
|code=cup_of_coffee
|investigate=Blackest of the black, darker than night. That's how I like both my coffee and my horror punk.
|interact=They call it the black gold, but what about [[Pepelepsi]]? That's the real heavy metal of the beverage world.
|consume=A bean-juice container. Sweet!
|obtain=Interact with the coffee machine in the [[Cafeteria]] for the first time.<br>Use the item [[Coffee Cup]] on the coffee machine in the [[Cafeteria]].
|use=Used on the [[Guard]]’s window to acquire [[Mrs. L]]’s phone number.<br>Can be consumed.
}}
| Code Name |
|---|
"cup_of_coffee"
|
| "Blackest of the black, darker than night. That's how I like both my coffee and my horror punk." |
| "They call it the black gold, but what about Pepelepsi? That's the real heavy metal of the beverage world."
|
| "A bean-juice container. Sweet!" |
| How to Obtain | Interact with the coffee machine in the Cafeteria for the first time. Use the item Coffee Cup on the coffee machine in the Cafeteria. |
| Use(s) | Used on the Guard’s window to acquire Mrs. L’s phone number. Can be consumed. |