Money Cheat 钱作弊

If you liked this item, please rate it up on Steam Workshop page.

Author: SlayZeKyriarchy

Last revision: 19 Sep, 2020 at 22:28 UTC

File size: 10.51 KB

On Steam Workshop

Description:

Gives +15 million coins to the human player at the start of a new campaign on easy difficulty. Will keep working even if "out-of-date". 在容易难度的新战役开始时向人类玩家提供1500万枚硬币。即使“过期”也将继续工作。

This mod has two main features: extremely high compatibility, and it can be disabled in-game while still being activated in the mod manager.
这个mod有两个主要功能:极高的兼容性,可以在游戏中禁用,而仍可以在mod管理器中激活。

Disclaimer: All Chinese translations were copy-pasted in and out of Google Translate, paragraph-by-paragraph.
免责声明:所有中文翻译均逐段复制粘贴到Google翻译中。

Main Features 主要特点
1) Extremely High Compatibility 极高的兼容性

This database mod modifies a single little line in a single table. The implication is that if another mods modifies a bunch of other things, including this line, you can use my mod to override this line, and only this line.

Furhermore, since this is a database mod instead of a script mod, you won’t be exposed to out-of-date issues inherent to script mods. Script mods have many advantages, but they have the trade-off that they can sometimes break new content. Not gonna happen here.

This is also why I (probably) won’t bother to update it after every new DLC. Because the only benefit would be a green checkmark in the mod manager instead of a yellow warning sign.

该数据库修改了单个表中的单个小行。含义是,如果另一个mod修改了一堆其他东西,包括此行,则可以使用我的mod覆盖此行,并且仅覆盖此行。

此外,由于这是数据库Mod而不是脚本Mod,因此您不会遇到脚本Mod固有的过时问题。脚本模块具有许多优点,但它们之间存在折衷,即有时会破坏新内容。这里不会发生。

这也是为什么我(大概)不会在每次新的DLC之后都去更新它的原因。因为唯一的好处是mod管理器中的绿色复选标记,而不是黄色的警告标志。

2) In-game Disable 游戏中禁用

Since the 15 millions bonus only happens on easy difficulty, you can start a campaign at any other difficulty to "disable" the cheat, so to speak. You can also start a campaign on easy to get the 15M, and then immediately switch to another difficulty (excepted Legendary difficulty).

因为这1500万奖金仅发生在简单难度下,所以可以说,您可以以其他任何难度开始运动以“禁用”作弊。您还可以轻松获得1500万来开始战役,然后立即切换到另一个难度(传奇难度除外)。

Nitty-gritty details 细腻的细节

In vanilla, at all difficulties, the human player starts with 2000 in their treasury. Additionally, if the new campaign was set to easy difficulty, the human gets a +6000 bonus. If normal difficulty, that bonus is +1000. On other difficulties, no bonus.

This mod changes the easy bonus of +6000 to +15,000,000. This is why you’ll have 15,002,000 in your treasury at the start. Because it’s a 15M bonus on top of a baseline of 2000.

在香草中,无论遇到什么困难,人类玩家的库房都是从2000开始。此外,如果将新战役设置为轻松难度,那么人类将获得+6000的奖励。如果是普通难度,则该奖励为+1000。在其他困难上,没有奖金。

该mod将易难度加成从+6000改为+15,000,000。这就是为什么一开始您的国库中有15,002,000的原因。因为这是在2000年基准之上的1500万奖金。

FAQ 常问问题

Q: If we only get 15M at the start, don’t we risk to run out eventually?
A: So, initially, I wanted to calculate a bunch of stats to convince you that no, you won’t run out, but… Look, just try to run out, lol. 15 millions means that you need to spend 75,000 every turn for 200 turns to run out. Or 150,000 per turn for 100 turns if you’re less patient 🙃. Anywayz, this is so much money it may as well be infinite.

问:如果我们一开始只获得1500万,那么我们最终是否会冒险用光?
答:因此,最初,我想计算一堆统计数据以说服您不,您不会用完,但是…看,只是尝试用尽,哈哈。 1500万意味着您需要每转花费75,000,才能运行200转。如果您的病人🙃少,则每转150,000转100转。无论如何,这笔钱太多了,它可能是无限的。

(Because this translation looks really bad when re-translated from Chinese to English: )
(因为从中文翻译成英文时,此翻译看起来真的很糟糕:)
15,000,000💰 / 200⌛ = 75,000💸/⌛

Q: Why not make it 999M to be *really* sure we won’t run out?
A: Because internally, your treasury is stored in a 32-bit float variable, meaning that numbers greater than 16,777,216 can only be even. So you can have 17,000,000 or 17,000,002, but you will never get 17,000,001, because there just isn’t enough bits to store that information.

I am someone who does a lot of theorycrafting and income calculations, so staying in a range where I would get exact numbers from the in-game UI was important to me. So I put the number at 15M to give some margin before the 16.7M threshold.

问:为什么不让它“真的”确保我们不会用完就需要999百万?
答:因为在内部,您的库存资金存储在32位浮点变量中,这意味着大于16,777,216的数字只能是偶数。因此,您可以拥有17,000,000或17,000,002,但是您永远不会获得17,000,001,因为没有足够的位数来存储该信息。

我是一个需要进行大量理论计算和收入计算的人,因此,保持在一个可以从游戏界面获得确切数字的范围内,这对我来说很重要。所以我把这个数字设为1500万,以便在1670万阈值之前提供一些余量。

Q: Can you please make this for legendary difficulty too?
A: No.

问:你也可以因为传奇般的困难而使它吗?
答:不可以。

Q: But why ☹?
A: Because the database only has facilities to give a bonus when starting an easy or normal difficulty campaign. To make this work on any difficulty, you’ll need a scripting mod, and these kind of mods are outside of my current skillset, and I’m not really interested in developing those skills.

问:但是为什么☹?
答:因为数据库只有在进行简单或正常难度的战役时可以提供奖励的设施。为了使这项工作顺利进行,您需要一个脚本mod,而这些mod不在我当前的技能范围内,我对发展这些技能并不真正感兴趣。

Q: What about also giving huge money to the AI?
A: Same answer as above.

问:向AI投入巨额资金怎么办?
答:同上。

Q: Does it work in multiplayer?
A: I don’t know. Please let me know in the comments if you’ve tried it.

问:可以在多人游戏中使用吗?
答:不知道。如果您尝试过,请在评论中让我知道。

Before you comment 发表评论之前

Please do not ask my to update the mod, unless it’s actually not working, or breaking something after a game update. I created too many mods at the launch of the game that I now have to maintain, and this one was specifically designed to be extremely resilient to future updates. I have been using it for months now, across many updates, it has always kept working, and will likely keep working in the future.

请不要要求我更新mod,除非它实际上不起作用,否则在游戏更新后会破坏某些东西。我在游戏发布时创建了太多的mod,现在必须维护,而这个mod是专门为对将来的更新具有极强的适应性而设计的。我已经使用它几个月了,在许多更新中,它一直都在工作,并且将来可能会继续工作。

Have fun 😊
玩得开心 😊