При использовании этого дополнения, по другому себя ведёт `OoCheat`.
В обычном варианте в дополнении `OoCheat` при добавлении денег, они добавляются и ты тут же можешь добавить ещё.
Если же установить `Interface Reordering` при добавлении денег, денги добавляются, но автоматом происходит выход из `OoCheat`. И чтоб снова что то изменить, надо снова входить в `OoCheat`.
Interface Reordering OXP
Moderators: another_commander, winston
- Wildeblood
- ---- E L I T E ----

- Posts: 2944
- Joined: Sat Jun 11, 2011 6:07 am
- Location: Nova Hollandia
- Contact:
Re: Interface Reordering OXP
What Google translate says Krager said:
Here's the relevant code from ooCheat, it's nothing fanciful. So this unfortunate side-effect could be happening on lots of mission screens?OoCheat behaves differently when using this add-on.
In the standard OoCheat add-on, when you add money, it's added, and you can immediately add more.
However, if you install Interface Reordering, when you add money, the money is added, but OoCheat automatically exits. To change anything again, you have to re-enter OoCheat.
Code: Select all
this.displayMenu = function()
{
mission.runScreen({title:"Cheat Menu", choicesKey:"ooCheat_choices"}, this.choice);
...
}
this.choice = function(choice)
{
switch(choice)
{
case "OOCHEAT_1_CREDITS":
{
player.credits += 1000;
this.displayMenu();
break;
}
case "OOCHEAT_2_RANK":
{
this.increaseRank();
this.displayMenu();
break;
}
...
}
}R.I.P. John Lodge, 1943-2025.