Potion_Template
Server/Item/Items/Potion/Potion_Template.json, 2.9 KB
Fields
| Field | Type |
|---|---|
TranslationProperties | object |
Quality | string |
PlayerAnimationsId | object |
Categories | array[1] |
Icon | string |
IconProperties | object |
Interactions | object |
InteractionVars | object |
Utility | object |
BlockType | object |
Consumable | boolean |
Tags | object |
Scale | number |
MaxStack | number |
Source
{
"TranslationProperties": {
"Name": "server.items.Potion_Template.name"
},
"Quality": "Template",
"PlayerAnimationsId": {
"Parent": "Item",
"Animations": {
"Consume": {
"FirstPerson": "Characters/Animations/Items/Main_Handed/Item/Attacks/Drink/Drink_FPS.blockyanim",
"ThirdPerson": "Characters/Animations/Items/Main_Handed/Item/Attacks/Drink/Drink.blockyanim",
"Speed": 1,
"Looping": true
}
}
},
"Categories": [
"Items.Potions"
],
"Icon": "Icons/ItemsGenerated/Potion_Template.png",
"IconProperties": {
"Scale": 0.9,
"Rotation": [
22.5,
45,
22.5
],
"Translation": [
0,
-9
]
},
"Interactions": {
"Secondary": "Root_Secondary_Consume_Potion"
},
"InteractionVars": {
"RemoveEffect": {
"Interactions": [
{
"Type": "Simple"
}
]
},
"Effect": {
"Interactions": [
{
"Type": "EffectCondition",
"EntityEffectIds": [
"Potion_Health_Regen_Greater"
],
"Match": "None",
"Next": {
"Type": "Serial",
"Interactions": [
{
"Type": "ApplyEffect",
"EffectId": "Potion_Health_Instant_Lesser"
},
{
"Type": "ApplyEffect",
"EffectId": "Potion_Health_Regen_Lesser"
}
]
},
"Failed": {
"Type": "Simple"
}
}
]
},
"ConsumeSFX": {
"Interactions": [
{
"Parent": "Consume_SFX",
"Effects": {
"LocalSoundEventId": "SFX_Health_Potion_Low_Drink"
}
}
]
},
"ConsumedSFX": {
"Interactions": [
{
"Parent": "Consumed_SFX",
"Effects": {
"LocalSoundEventId": "SFX_Potion_Drink_Success"
}
}
]
}
},
"Utility": {
"Compatible": false
},
"BlockType": {
"InteractionHint": "server.interactionHints.pickup",
"BlockParticleSetId": "GlassMagic",
"BlockSoundSetId": "Glass",
"PhysicalMaterialId": "Glass",
"CustomModel": "Items/Consumables/Potions/Potion.blockymodel",
"CustomModelTexture": [
{
"Texture": "Items/Consumables/Potions/Potion_Textures/Red.png",
"Weight": 1
}
],
"CustomModelScale": 0.5,
"DrawType": "Model",
"Flags": {
"IsUsable": true
},
"Gathering": {
"Harvest": {},
"Soft": {}
},
"HitboxType": "Potion",
"Material": "Empty",
"RandomRotation": "YawStep1",
"Opacity": "Transparent",
"Support": {
"Down": [
{
"FaceType": "Full"
}
]
},
"ParticleColor": "#ff3730",
"Light": {
"Color": "#522"
}
},
"Consumable": true,
"Tags": {
"Type": [
"Potion"
]
},
"Scale": 2,
"MaxStack": 10
}