Template_Food
Server/Item/Items/Food/Template_Food.json, 2.0 KB
Fields
| Field | Type |
|---|---|
TranslationProperties | object |
Quality | string |
Icon | string |
Categories | array[1] |
BlockType | object |
ItemLevel | number |
ResourceTypes | array[1] |
Utility | object |
PlayerAnimationsId | string |
IconProperties | object |
Scale | number |
Interactions | object |
InteractionVars | object |
InteractionConfig | object |
Consumable | boolean |
Tags | object |
MaxStack | number |
Source
{
"TranslationProperties": {
"Name": "server.items.Template_Food.name"
},
"Quality": "Template",
"Icon": "Icons/ItemsGenerated/Plant_Crop_Corn.png",
"Categories": [
"Items.Foods"
],
"BlockType": {
"Material": "Empty",
"DrawType": "Model",
"HitboxType": "Food_Large",
"CustomModel": "Resources/Ingredients/Corn.blockymodel",
"CustomModelTexture": [
{
"Texture": "Resources/Ingredients/Corn_Texture.png",
"Weight": 1
}
],
"ParticleColor": "#cabc3f",
"RandomRotation": "YawStep1",
"Gathering": {
"Harvest": {},
"Soft": {}
},
"TextureComputedColor": "#82992C"
},
"ItemLevel": 10,
"ResourceTypes": [
{
"Id": "Foods"
}
],
"Utility": {
"Compatible": true
},
"PlayerAnimationsId": "Item",
"IconProperties": {
"Rotation": [
0,
250,
320
],
"Scale": 0.65,
"Translation": [
0,
-5.4
]
},
"Scale": 1.2,
"Interactions": {
"Secondary": "Root_Secondary_Consume_Food_T1"
},
"InteractionVars": {
"Consume_Charge": {
"Interactions": [
{
"Parent": "Consume_Charge_Food_T1_Inner",
"Effects": {
"ItemAnimationId": "Consume"
}
}
]
},
"Effect": {
"Interactions": [
{
"Type": "ApplyEffect",
"EffectId": "Food_Health_Regen_Small"
}
]
},
"ConsumeSFX": {
"Interactions": [
{
"Parent": "Consume_SFX",
"Effects": {
"LocalSoundEventId": "SFX_Consume_Bread_Local"
}
}
]
},
"ConsumedSFX": {
"Interactions": [
{
"Parent": "Consumed_SFX",
"Effects": {
"LocalSoundEventId": "SFX_Consume_Bread_Local"
}
}
]
}
},
"InteractionConfig": {
"Priorities": {
"Secondary": 1
}
},
"Consumable": true,
"Tags": {
"Type": [
"Food"
]
},
"MaxStack": 25
}