Mosshorn
Server/NPC/Roles/Creature/Mammal/Mosshorn.json, 1.5 KB
Fields
| Field | Type |
|---|---|
Type | string |
Reference | string |
Modify | object |
Parameters | object |
Source
{
"Type": "Variant",
"Reference": "Template_Animal_Neutral",
"Modify": {
"Appearance": "Mosshorn",
"AttitudeGroup": "PreyBig",
"AttractiveItemSet": [
"Plant_Crop_Potato_Item"
],
"AttractiveItemSetParticles": "Want_Food_Potato",
"DropList": "Drop_Mosshorn",
"Attack": "Root_NPC_Attack_Melee",
"MaxHealth": 124,
"IsTameable": true,
"TameRoleChange": "Tamed_Mosshorn",
"IsMemory": true,
"MemoriesCategory": "Livestock",
"MemoriesNameOverride": "Mosshorn",
"NameTranslationKey": {
"Compute": "NameTranslationKey"
},
"_InteractionVars": {
"Melee_Start": {
"Interactions": [
{
"Parent": "NPC_Attack_Melee_Simple",
"$Comment": "Sets animations and delay before hit",
"Effects": {
"ItemPlayerAnimationsId": "Crocodile_Default",
"ItemAnimationId": "Bite"
},
"RunTime": 0.333
}
]
},
"Melee_Damage": {
"Interactions": [
{
"Parent": "NPC_Attack_Melee_Damage",
"$Comment": "Sets damage and onhit effects",
"DamageCalculator": {
"Type": "Absolute",
"BaseDamage": {
"Physical": 12
},
"RandomPercentageModifier": 0.1
}
}
]
}
}
},
"Parameters": {
"NameTranslationKey": {
"Value": "server.npcRoles.Mosshorn.name",
"Description": "Translation key for NPC name display"
}
}
}