# Taking Questions about Mixintos and Overrides

**URL:** <https://discourse.stonehearth.net/t/taking-questions-about-mixintos-and-overrides/5229>\
**Category:** Modding\
**Created:** [February 7, 2014, 8:01pm UTC](https://discourse.stonehearth.net/t/taking-questions-about-mixintos-and-overrides/5229 "2014-02-07T20:01:39Z")\
**Posts on this page:** 1\
**Showing post:** 203

<div class="post-metadata">

**Author:** ![Miturion](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/miturion/32/43498_2.png) [@Miturion](https://discourse.stonehearth.net/u/Miturion)\
**Post date:** [June 9, 2014, 4:34pm UTC](https://discourse.stonehearth.net/t/taking-questions-about-mixintos-and-overrides/5229/203 "2014-06-09T16:34:06Z")

</div>

@sdee @RepeatPan  
Is it with the current alpha-version possible to give an entity 2 different commands? For example renewable resource and chopping. It used to be possible, as I used it in one of my mods. They might have changed it since then. As it might conflicted with mass gathering command.

In the stonehearth/call\_handlers/resource\_call\_handler.lua it says this:

```
function ResourceCallHandler:harvest_entity(session, response, entity)
  local town = stonehearth.town:get_town(session.player_id)
  if entity:get_component("stonehearth:renewable_resource_node") then
    town:harvest_renewable_resource_node(entity)
  elseif entity:get_component("stonehearth:resource_node") then
    town:harvest_resource_node(entity)
  elseif entity:get_component("stonehearth:crop") then
    town:harvest_crop(entity, "/stonehearth/data/effects/chop_overlay_effect")
  end 

```

With my non-existing code knowledge it seems it only can choose 1. And renewable resource as first priority?

---

_[View the full topic](https://discourse.stonehearth.net/t/taking-questions-about-mixintos-and-overrides/5229)._
