| 33 | } |
| 34 | |
| 35 | void BlueprintItem::fireTriggered() { |
| 36 | if (count()) |
| 37 | if (auto player = as<Player>(owner())) |
| 38 | if (player->addBlueprint(m_recipe, true)) |
| 39 | setCount(count() - 1); |
| 40 | } |
| 41 | |
| 42 | List<Drawable> BlueprintItem::iconDrawables() const { |
| 43 | List<Drawable> result; |
nothing calls this directly
no test coverage detected