Tamed_Ram
Server/NPC/Roles/Creature/Livestock/Tamed/Tamed_Ram.json, 3.4 KB
Fields
| Field | Type |
|---|---|
Type | string |
Reference | string |
Modify | object |
Parameters | object |
Source
{
"Type": "Variant",
"Reference": "Template_Livestock",
"Modify": {
"Appearance": "Ram",
"AttitudeGroup": "PreyBig",
"FlockArray": [
"Ram",
"Ram_Lamb"
],
"AttractiveItemSet": [
"Tool_Feedbag",
"Plant_Fruit_Apple"
],
"DropList": "Drop_Ram",
"MaxHealth": 124,
"ViewRange": 15,
"ViewSector": 320,
"HearingRange": 6,
"AlertedRange": 11,
"AlertedActionRange": 3,
"AbsoluteDetectionRange": 1,
"AttackWhenStartled": true,
"Attack": "Root_NPC_Attack_Melee",
"ProduceItem": "Ingredient_Poop",
"IsMemory": true,
"IsMountable": true,
"MountAnchorX": 0,
"MountAnchorY": 1.3,
"MountAnchorZ": 0,
"MemoriesNameOverride": "Ram",
"NameTranslationKey": { "Compute": "NameTranslationKey" },
"_InteractionVars": {
"Melee_Start": {
"Interactions": [
{
"Parent": "NPC_Attack_Melee_Simple",
"$Comment": "Sets animations and delay before hit",
"Effects": {
"ItemPlayerAnimationsId": "Cow_Default",
"ItemAnimationId": "Kick"
},
"RunTime": 0.167
}
]
},
"Melee_Selector": {
"Interactions": [
{
"Parent": "NPC_Attack_Selector_Left",
"$Comment": "Sets Hit shape and padding to allow effect to play and wait till animation is over",
"RunTime": 0.083,
"Selector": {
"Id": "Stab",
"TestLineOfSight": true,
"ExtendTop": 0,
"ExtendBottom": 1,
"ExtendLeft": 0.5,
"ExtendRight": 0.5,
"StartDistance": 0.25,
"EndDistance": 2,
"YawOffset": 180
},
"Next": {
"Type": "Simple",
"$Comment": "Pad the interaction length",
"RunTime": 0.167
}
}
]
},
"Melee_Damage": {
"Interactions": [
{
"$Comment": "When NPC overrides the InteractionVars, this info in Template not applicable anymore",
"Parent": "NPC_Livestock_Kick_Damage",
"DamageCalculator": {
"Type": "Absolute",
"BaseDamage": {
"Physical": 15
},
"RandomPercentageModifier": 0.1
},
"DamageEffects": {
"Knockback": {
"Type": "Force",
"VelocityConfig": {
"AirResistance": 0.97,
"AirResistanceMax": 0.96,
"GroundResistance": 0.94,
"GroundResistanceMax": 0.3,
"Threshold": 3,
"Style": "Exp"
},
"Direction": {
"X": 0,
"Y": 1,
"Z": 2
},
"Force": 8,
"VelocityType": "Set"
},
"WorldSoundEventId": "SFX_Unarmed_Impact",
"LocalSoundEventId": "SFX_Unarmed_Impact",
"WorldParticles": [
{
"SystemId": "Impact_Sword_Basic"
}
]
}
}
]
}
}
},
"Parameters": {
"NameTranslationKey": {
"Value": "server.npcRoles.Ram.name",
"Description": "Translation key for NPC name display"
}
}
}