Good morning! So guys, can anyone tell me how would i add an item to the animal.json… i would like him to drop one more item, how would i proceed? Ex: i have this frog critter, i would like him to drop an “eye” as well…
{
“type”: “entity”,
“mixins”: “stonehearth:mixins:critter”,
“components”: {
“render_info”: {
“animation_table”: “file(/data/rigs/entities/critters/frog)”
},
“model_variants”: {
“default”: {
“models”: [
“file(frog.qb)”
]
}
},
“stonehearth:resource_node”: {
“category”: “herding”,
“harvest_overlay_effect”: “stonehearth:effects:chop_overlay_effect”,
“harvester_effect”: “fiddle”,
“description”: “harvest_animal”,
“resource”: “animalz:frog_jerky”,
“harvestable_by_harvest_tool”: false,
“check_owner”: true,
“resource_loot_table”: {
“entries”: {
“pelt”: {
“items”: {
“pelt”: {
“uri”: “animalz:resources:frog_pelt”
}
}
}
}
}
}
},
“entity_data”: {
“animalz:species”: {
“id”: “frog”,
“display_name”: “i18n(animalz:entities.critters.frog.species)”
},
“stonehearth:entity_radius”: 0.3,
“stonehearth:bait_trap”: {
“can_trap”: true,
“catch_chance”: 0.4,
“trigger_trap_on_failure_chance”: 0.6
},
“stonehearth:harvest_beast_loot_table”: {
“entries”: {
“default”: {
“num_rolls”: {
“min”: 1,
“max”: 2
},
“items”: {
“jerky”: {
“uri”: “animalz:frog_jerky”
},
“pelt”: {
“uri”: “animalz:resources:frog_pelt”
}
}
}
}
},
“stonehearth:pasture_animal”: {
“added_equipment”: [
“stonehearth:pasture_equipment:adult_animal_collar”
],
“food_material”: “frog_feed_edible”,
“type”: “animalz:frog”
},
“stonehearth:calories”: {
“hungry_threshold”: 0,
“famished_threshold”: 0,
“malnourished_threshold”: -10,
“hourly_calorie_loss”: 0.5
},
“stonehearth:diet”: {
“food_material”: “vegetarian”
},
“stonehearth:portrait”: {
“portrait_types”: {
“headshot”: {
“camera”: {
“pos”: [
17,
0.8,
-27
],
“look_at”: [
0,
0.6,
0
],
“fov”: 45
}
}
}
},
“stonehearth:net_worth”: {
“value_in_gold”: 6,
“shop_info”: {
“buyable”: false,
“sellable”: false
}
},
“stonehearth:conversation_type”: “animal”,
“stonehearth:catalog”: {
“player_id”: “animals”,
“display_name”: “i18n(animalz:entities.critters.frog.display_name)”,
“description”: “i18n(animalz:entities.critters.frog.description)”,
“icon”: “file(frog.png)”
}
}
}