diff --git a/src/models/inventoryModels/inventoryModel.ts b/src/models/inventoryModels/inventoryModel.ts index 58c57b93..678c47f5 100644 --- a/src/models/inventoryModels/inventoryModel.ts +++ b/src/models/inventoryModels/inventoryModel.ts @@ -1462,6 +1462,7 @@ const inventorySchema = new Schema( flawlessRelicsAlwaysGiveSilverReward: Boolean, radiantRelicsAlwaysGiveGoldReward: Boolean, disableDailyTribute: Boolean, + gainNoNegativeSyndicateStanding: Boolean, nemesisHenchmenKillsMultiplierGrineer: Number, nemesisHenchmenKillsMultiplierCorpus: Number, nemesisAntivirusGainMultiplier: Number, diff --git a/src/services/inventoryService.ts b/src/services/inventoryService.ts index eeb411f7..4279fb97 100644 --- a/src/services/inventoryService.ts +++ b/src/services/inventoryService.ts @@ -2181,6 +2181,10 @@ export const updateSyndicate = ( ): void => { syndicateUpdate?.forEach(affiliation => { const syndicate = inventory.Affiliations.find(x => x.Tag == affiliation.Tag); + if (inventory.gainNoNegativeSyndicateStanding) { + affiliation.Standing = Math.max(0, affiliation.Standing); + affiliation.Title = Math.max(0, affiliation.Title); + } if (syndicate !== undefined) { syndicate.Standing += affiliation.Standing; syndicate.Title = syndicate.Title === undefined ? affiliation.Title : syndicate.Title + affiliation.Title; diff --git a/src/types/inventoryTypes/inventoryTypes.ts b/src/types/inventoryTypes/inventoryTypes.ts index 83d00c1d..e4bcadc3 100644 --- a/src/types/inventoryTypes/inventoryTypes.ts +++ b/src/types/inventoryTypes/inventoryTypes.ts @@ -55,6 +55,7 @@ export interface IAccountCheats { flawlessRelicsAlwaysGiveSilverReward?: boolean; radiantRelicsAlwaysGiveGoldReward?: boolean; disableDailyTribute?: boolean; + gainNoNegativeSyndicateStanding?: boolean; nemesisHenchmenKillsMultiplierGrineer?: number; nemesisHenchmenKillsMultiplierCorpus?: number; nemesisAntivirusGainMultiplier?: number; diff --git a/static/webui/index.html b/static/webui/index.html index ba8e4b78..17dc0259 100644 --- a/static/webui/index.html +++ b/static/webui/index.html @@ -1015,6 +1015,10 @@ +
+ + +
diff --git a/static/webui/translations/de.js b/static/webui/translations/de.js index b642b800..c4b0db67 100644 --- a/static/webui/translations/de.js +++ b/static/webui/translations/de.js @@ -257,6 +257,7 @@ dict = { cheats_changeButton: `Ändern`, cheats_markAllAsRead: `Posteingang als gelesen markieren`, cheats_finishInvasionsInOneMission: `[UNTRANSLATED] Finish Invasions in One Mission`, + cheats_gainNoNegativeSyndicateStanding: `[UNTRANSLATED] Gain No Negative Syndicate Standing`, cheats_nemesisHenchmenKillsMultiplierGrineer: `[UNTRANSLATED] Rage Progess Multiplier (Grineer)`, cheats_nemesisHenchmenKillsMultiplierCorpus: `[UNTRANSLATED] Rage Progess Multiplier (Corpus)`, cheats_nemesisAntivirusGainMultiplier: `[UNTRANSLATED] Antivirus Progress Multiplier`, diff --git a/static/webui/translations/en.js b/static/webui/translations/en.js index 57a32595..4141bf2f 100644 --- a/static/webui/translations/en.js +++ b/static/webui/translations/en.js @@ -256,6 +256,7 @@ dict = { cheats_changeButton: `Change`, cheats_markAllAsRead: `Mark Inbox As Read`, cheats_finishInvasionsInOneMission: `Finish Invasions in One Mission`, + cheats_gainNoNegativeSyndicateStanding: `Gain No Negative Syndicate Standing`, cheats_nemesisHenchmenKillsMultiplierGrineer: `Rage Progess Multiplier (Grineer)`, cheats_nemesisHenchmenKillsMultiplierCorpus: `Rage Progess Multiplier (Corpus)`, cheats_nemesisAntivirusGainMultiplier: `Antivirus Progress Multiplier`, diff --git a/static/webui/translations/es.js b/static/webui/translations/es.js index 888f16da..4fd8dd5f 100644 --- a/static/webui/translations/es.js +++ b/static/webui/translations/es.js @@ -257,6 +257,7 @@ dict = { cheats_changeButton: `Cambiar`, cheats_markAllAsRead: `Marcar bandeja de entrada como leída`, cheats_finishInvasionsInOneMission: `Finaliza Invasión en una mision`, + cheats_gainNoNegativeSyndicateStanding: `[UNTRANSLATED] Gain No Negative Syndicate Standing`, cheats_nemesisHenchmenKillsMultiplierGrineer: `[UNTRANSLATED] Rage Progess Multiplier (Grineer)`, cheats_nemesisHenchmenKillsMultiplierCorpus: `[UNTRANSLATED] Rage Progess Multiplier (Corpus)`, cheats_nemesisAntivirusGainMultiplier: `[UNTRANSLATED] Antivirus Progress Multiplier`, diff --git a/static/webui/translations/fr.js b/static/webui/translations/fr.js index 66fbad3c..f7c42a2d 100644 --- a/static/webui/translations/fr.js +++ b/static/webui/translations/fr.js @@ -257,6 +257,7 @@ dict = { cheats_changeButton: `Changer`, cheats_markAllAsRead: `Marquer la boîte de réception comme lue`, cheats_finishInvasionsInOneMission: `Compléter les invasions en une mission.`, + cheats_gainNoNegativeSyndicateStanding: `[UNTRANSLATED] Gain No Negative Syndicate Standing`, cheats_nemesisHenchmenKillsMultiplierGrineer: `[UNTRANSLATED] Rage Progess Multiplier (Grineer)`, cheats_nemesisHenchmenKillsMultiplierCorpus: `[UNTRANSLATED] Rage Progess Multiplier (Corpus)`, cheats_nemesisAntivirusGainMultiplier: `[UNTRANSLATED] Antivirus Progress Multiplier`, diff --git a/static/webui/translations/ru.js b/static/webui/translations/ru.js index 4de12099..73a90f95 100644 --- a/static/webui/translations/ru.js +++ b/static/webui/translations/ru.js @@ -257,6 +257,7 @@ dict = { cheats_changeButton: `Изменить`, cheats_markAllAsRead: `Пометить все входящие как прочитанные`, cheats_finishInvasionsInOneMission: `Завершать вторжение за одну миссию`, + cheats_gainNoNegativeSyndicateStanding: `[UNTRANSLATED] Gain No Negative Syndicate Standing`, cheats_nemesisHenchmenKillsMultiplierGrineer: `Мультипликатор прогресса ярости (Гринир)`, cheats_nemesisHenchmenKillsMultiplierCorpus: `Мультипликатор прогресса ярости (Корпус)`, cheats_nemesisAntivirusGainMultiplier: `Мультипликатор прогресса антивируса`, diff --git a/static/webui/translations/uk.js b/static/webui/translations/uk.js index dcfdc95c..dc6273fb 100644 --- a/static/webui/translations/uk.js +++ b/static/webui/translations/uk.js @@ -257,6 +257,7 @@ dict = { cheats_changeButton: `Змінити`, cheats_markAllAsRead: `Помітити всі вхідні як прочитані`, cheats_finishInvasionsInOneMission: `Завершувати вторгнення за одну місію`, + cheats_gainNoNegativeSyndicateStanding: `[UNTRANSLATED] Gain No Negative Syndicate Standing`, cheats_nemesisHenchmenKillsMultiplierGrineer: `Множник прогресу люті (Ґрінери)`, cheats_nemesisHenchmenKillsMultiplierCorpus: `Множник прогресу люті (Корпус)`, cheats_nemesisAntivirusGainMultiplier: `Мультиплікатор прогресу антивіруса`, diff --git a/static/webui/translations/zh.js b/static/webui/translations/zh.js index 97a24244..bc971dbb 100644 --- a/static/webui/translations/zh.js +++ b/static/webui/translations/zh.js @@ -257,6 +257,7 @@ dict = { cheats_changeButton: `更改`, cheats_markAllAsRead: `收件箱全部标记为已读`, cheats_finishInvasionsInOneMission: `一场任务完成整场入侵`, + cheats_gainNoNegativeSyndicateStanding: `集团声望不倒扣不掉段`, cheats_nemesisHenchmenKillsMultiplierGrineer: `玄骸怒气倍率 (Grineer)`, cheats_nemesisHenchmenKillsMultiplierCorpus: `玄骸怒气倍率 (Corpus)`, cheats_nemesisAntivirusGainMultiplier: `杀毒进度倍率 (科腐者)`,