(team = 'humans')
| 571 | } |
| 572 | |
| 573 | getProgrammablePlan (team = 'humans') { |
| 574 | const heroThangID = team === 'ogres' ? 'Hero Placeholder 1' : 'Hero Placeholder' |
| 575 | const hero = _.find(this.get('thangs') || [], { id: heroThangID }) |
| 576 | return _.find(hero?.components || [], comp => comp.config?.programmableMethods?.plan)?.config.programmableMethods.plan |
| 577 | } |
| 578 | |
| 579 | getCodeContext (plan) { |
| 580 | if (!plan) return {} |
no test coverage detected