| 537 | |
| 538 | private: |
| 539 | bool IsEditableItem(const ScriptConfigItem &config_item) const |
| 540 | { |
| 541 | return _game_mode == GM_MENU |
| 542 | || _game_mode == GM_EDITOR |
| 543 | || ((this->slot != OWNER_DEITY) && !Company::IsValidID(this->slot)) |
| 544 | || config_item.flags.Test(ScriptConfigFlag::InGame) |
| 545 | || _settings_client.gui.ai_developer_tools; |
| 546 | } |
| 547 | |
| 548 | void SetValue(int value) |
| 549 | { |
no test coverage detected