Crocodile
Server/NPC/Roles/Creature/Reptile/Crocodile.json, 1.7 KB
Fields
| Field | Type |
|---|---|
Type | string |
Reference | string |
Modify | object |
Parameters | object |
Source
{
"Type": "Variant",
"Reference": "Template_Predator",
"Modify": {
"Appearance": "Crocodile",
"AttitudeGroup": "PredatorsBig",
"WanderRadius": 4,
"ViewRange": 12,
"AlertedRange": 12,
"FleeRange": 15,
"HearingRange": 8,
"LeashDistance": 4,
"LeashMinPlayerDistance": 3,
"LeashTimer": [
2,
4
],
"Chase": false,
"DropList": "Drop_Crocodile",
"MaxSpeed": 4,
"Attack": "Root_NPC_Attack_Melee",
"AttackDistance": 3,
"TargetRange": 3,
"TimidDuringDay": false,
"AlwaysSleepAtNight": false,
"MaxHealth": 145,
"IsMemory": true,
"MemoriesCategory": "Reptile",
"_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": 48
},
"RandomPercentageModifier": 0.1
}
}
]
}
},
"NameTranslationKey": {
"Compute": "NameTranslationKey"
}
},
"Parameters": {
"NameTranslationKey": {
"Value": "server.npcRoles.Crocodile.name",
"Description": "Translation key for NPC name display"
}
}
}