XFE Git
XFE Studio Git
Git 首页 全局搜索
XFE 主站 文档 NuGet

XFESpaceNinjaServer

A simple server for a small space ninja game

公开
关注 0 Fork 0 Star 0
返回提交历史

XFEstudio/XFESpaceNinjaServer

feat: noNodeEntryFees cheat (#3585)

For Index, Rathuum & Ambulas Assassination Reviewed-on: https://onlyg.it/OpenWF/SpaceNinjaServer/pulls/3585 Reviewed-by: Sainan <63328889+sainan@users.noreply.github.com> Co-authored-by: Animan8000 <187183497+Veniman8000@users.noreply.github.com> Co-committed-by: Animan8000 <187183497+Veniman8000@users.noreply.github.com>

3230c138
Animan8000 <187183497+Veniman8000@users.noreply.github.com>
提交于

代码差异

11 个文件 +17 -2
Modified src/models/inventoryModels/inventoryModel.ts +1 -0
@@ -1574,6 +1574,7 @@ const inventorySchema = new Schema<IInventoryDatabase, InventoryDocumentProps>(
1574 1574 noArgonCrystalDecay: Boolean,
1575 1575 noMasteryRankUpCooldown: Boolean,
1576 1576 noVendorPurchaseLimits: Boolean,
1577 noNodeEntryFees: Boolean,
1577 1578 noDeathMarks: Boolean,
1578 1579 noKimCooldowns: Boolean,
1579 1580 noBlessingCooldown: Boolean,
Modified src/services/missionInventoryUpdateService.ts +4 -2
@@ -219,7 +219,7 @@ export const addMissionInventoryUpdates = async (
219 219 if (inventoryUpdates.EndOfMatchUpload) {
220 220 if (inventoryUpdates.Missions && inventoryUpdates.Missions.Tag in ExportRegions) {
221 221 const node = ExportRegions[inventoryUpdates.Missions.Tag];
222 if (node.miscItemFee) {
222 if (node.miscItemFee && !inventory.noNodeEntryFees) {
223 223 addMiscItems(inventory, [
224 224 {
225 225 ItemType: node.miscItemFee.ItemType,
@@ -701,7 +701,9 @@ export const addMissionInventoryUpdates = async (
701 701 break;
702 702 }
703 703 case "creditsFee": {
704 updateCurrency(inventory, value, CurrencyType.CREDITS, inventoryChanges);
704 if (!inventory.noNodeEntryFees) {
705 updateCurrency(inventory, value, CurrencyType.CREDITS, inventoryChanges);
706 }
705 707 break;
706 708 }
707 709 case "GoalProgress": {
Modified src/types/inventoryTypes/inventoryTypes.ts +1 -0
@@ -57,6 +57,7 @@ export const accountCheatBooleans = [
57 57 "noArgonCrystalDecay",
58 58 "noMasteryRankUpCooldown",
59 59 "noVendorPurchaseLimits",
60 "noNodeEntryFees",
60 61 "noDeathMarks",
61 62 "noKimCooldowns",
62 63 "noBlessingCooldown",
Modified static/webui/index.html +4 -0
@@ -1031,6 +1031,10 @@
1031 1031 <input class="form-check-input" type="checkbox" id="noVendorPurchaseLimits" />
1032 1032 <label class="form-check-label" for="noVendorPurchaseLimits" data-loc="cheats_noVendorPurchaseLimits"></label>
1033 1033 </div>
1034 <div class="form-check">
1035 <input class="form-check-input" type="checkbox" id="noNodeEntryFees" />
1036 <label class="form-check-label" for="noNodeEntryFees" data-loc="cheats_noNodeEntryFees"></label>
1037 </div>
1034 1038 <div class="form-check">
1035 1039 <input class="form-check-input" type="checkbox" id="noDeathMarks" />
1036 1040 <label class="form-check-label" for="noDeathMarks" data-loc="cheats_noDeathMarks"></label>
Modified static/webui/translations/de.js +1 -0
@@ -251,6 +251,7 @@ dict = {
251 251 cheats_noArgonCrystalDecay: `Argon-Kristalle verschwinden niemals`,
252 252 cheats_noMasteryRankUpCooldown: `Keine Wartezeit beim Meisterschaftsrangaufstieg`,
253 253 cheats_noVendorPurchaseLimits: `Keine Kaufbeschränkungen bei Händlern`,
254 cheats_noNodeEntryFees: `Keine Node Kosten`,
254 255 cheats_noDeathMarks: `Keine Todesmarkierungen`,
255 256 cheats_noKimCooldowns: `Keine Wartezeit bei KIM`,
256 257 cheats_noBlessingCooldown: `Keine Wartezeit für Gaben`,
Modified static/webui/translations/en.js +1 -0
@@ -250,6 +250,7 @@ dict = {
250 250 cheats_noArgonCrystalDecay: `No Argon Crystal Decay`,
251 251 cheats_noMasteryRankUpCooldown: `No Mastery Rank Up Cooldown`,
252 252 cheats_noVendorPurchaseLimits: `No Vendor Purchase Limits`,
253 cheats_noNodeEntryFees: `No Node Entry Fees`,
253 254 cheats_noDeathMarks: `No Death Marks`,
254 255 cheats_noKimCooldowns: `No KIM Cooldowns`,
255 256 cheats_noBlessingCooldown: `No Blessing Cooldown`,
Modified static/webui/translations/es.js +1 -0
@@ -251,6 +251,7 @@ dict = {
251 251 cheats_noArgonCrystalDecay: `Sin descomposición de cristal de Argón`,
252 252 cheats_noMasteryRankUpCooldown: `Sin tiempo de espera para rango de maestría`,
253 253 cheats_noVendorPurchaseLimits: `Sin límite de compras de vendedores`,
254 cheats_noNodeEntryFees: `[UNTRANSLATED] No Node Entry Fees`,
254 255 cheats_noDeathMarks: `Sin marcas de muerte`,
255 256 cheats_noKimCooldowns: `Sin tiempo de espera para conversaciones KIM`,
256 257 cheats_noBlessingCooldown: `[UNTRANSLATED] No Blessing Cooldown`,
Modified static/webui/translations/fr.js +1 -0
@@ -251,6 +251,7 @@ dict = {
251 251 cheats_noArgonCrystalDecay: `Aucune désintégration des Cristaux d'Argon`,
252 252 cheats_noMasteryRankUpCooldown: `Aucune attente pour la montée de rang de maîtrise`,
253 253 cheats_noVendorPurchaseLimits: `Aucune limite d'achat chez les PNJ`,
254 cheats_noNodeEntryFees: `[UNTRANSLATED] No Node Entry Fees`,
254 255 cheats_noDeathMarks: `Aucune marque d'assassin`,
255 256 cheats_noKimCooldowns: `Aucun cooldown sur le KIM`,
256 257 cheats_noBlessingCooldown: `Pas de temps de recharge pour les bénédictions`,
Modified static/webui/translations/ru.js +1 -0
@@ -251,6 +251,7 @@ dict = {
251 251 cheats_noArgonCrystalDecay: `Без распада Аргоновых кристаллов`,
252 252 cheats_noMasteryRankUpCooldown: `Повышение ранга мастерства без кулдауна`,
253 253 cheats_noVendorPurchaseLimits: `Отсутствие лимитов на покупки у торговцев`,
254 cheats_noNodeEntryFees: `[UNTRANSLATED] No Node Entry Fees`,
254 255 cheats_noDeathMarks: `Без меток смерти`,
255 256 cheats_noKimCooldowns: `Чаты KIM без кулдауна`,
256 257 cheats_noBlessingCooldown: `Благословения без кулдауна`,
Modified static/webui/translations/uk.js +1 -0
@@ -251,6 +251,7 @@ dict = {
251 251 cheats_noArgonCrystalDecay: `Без розпаду Аргонових кристалів`,
252 252 cheats_noMasteryRankUpCooldown: `Підвищення ранга майстерності без очікування`,
253 253 cheats_noVendorPurchaseLimits: `Відсутність лімітів на купівлю у продавців`,
254 cheats_noNodeEntryFees: `[UNTRANSLATED] No Node Entry Fees`,
254 255 cheats_noDeathMarks: `Без позначок смерті`,
255 256 cheats_noKimCooldowns: `Чати KIM без очікування`,
256 257 cheats_noBlessingCooldown: `Благословіння без очікування`,
Modified static/webui/translations/zh.js +1 -0
@@ -251,6 +251,7 @@ dict = {
251 251 cheats_noArgonCrystalDecay: `氩结晶无衰变`,
252 252 cheats_noMasteryRankUpCooldown: `段位考核无冷却时间`,
253 253 cheats_noVendorPurchaseLimits: `商城或商人无购买限制`,
254 cheats_noNodeEntryFees: `[UNTRANSLATED] No Node Entry Fees`,
254 255 cheats_noDeathMarks: `无死亡标记(不会被 Stalker/Grustrag 三霸/Zanuka 猎人等标记)`,
255 256 cheats_noKimCooldowns: `即时通无冷却时间`,
256 257 cheats_noBlessingCooldown: `祝福无冷却时间`,