Concordia-Modding-Community / moloch

Moloch Mod
0 stars 1 forks source link

There should be a way to aggregate actions #12

Open ramou opened 3 years ago

ramou commented 3 years ago

Currently, actions need to be run singly, but it makes sense to group them to do more complex specific tasks, like summon a hoglin at nearby pigs, then killing the nearby pigs. A mechanism to support sub-actions like this would be useful. sub-actions could skip many action fields (start/end/doInitial/doCount/utterance/etc) and just do the business end of things. This should be done in such a way that new types of actions could just as readily be made into sub-actions.