@screeps/engine
Version:
This is a module for Screeps standalone server. See [main repository](https://github.com/screeps/screeps) for more info.
15 lines (10 loc) • 526 B
JavaScript
module.exports = function(object, objectIntents, scope) {
if(objectIntents.boostCreep)
require('./boost-creep')(object, objectIntents.boostCreep, scope);
if(objectIntents.unboostCreep)
require('./unboost-creep')(object, objectIntents.unboostCreep, scope);
if(objectIntents.runReaction)
require('./run-reaction')(object, objectIntents.runReaction, scope);
else if(objectIntents.reverseReaction)
require('./reverse-reaction')(object, objectIntents.reverseReaction, scope);
};