边缘世界 RimWorld

边缘世界 RimWorld

33 个评价
Don't Cook Poison Food
   
奖励
收藏
已收藏
取消收藏
Mod, 1.5, 1.6
文件大小
发表于
更新日期
2.933 MB
5 月 2 日 下午 10:19
6 月 11 日 下午 1:03
2 项改动说明 ( 查看 )

订阅以下载
Don't Cook Poison Food

描述
This mod causes any "Food poison chance" below a certain threshold to be ignored.

In other words, colonists with a high enough cooking skill will no longer cause food poisoning due to being an "incompetent cook".

You can configure the minimum ignored "Food poison chance" via Options -> Mod Settings.
Depending on the setting, even colonists with a cooking skill of 0 will no longer be treated as an "incompetent cook".

Note: Food poisoning caused by "dangerous food type" or "dirty cooking area" will still occur as usual.

Disclaimer
Most of the assembly code in this mod was generated with the help of ChatGPT.
I do not currently have sufficient programming skills to write such code by myself.
As such, if bugs are found, please understand that I may not be able to fix them.

The source code is included in the mod package. Please refer to it if needed.

(This description was translated from Japanese to English by "ChatGPT".)

------------------------------------------------------------------------------------------

このMODを導入すると、閾値以下の「食中毒・発生率」が無視されるようになります。

言い換えれば、一定上の料理スキルを持つ入植者は、「下手なコック」による食中毒を引き起こさなくなります。

オプション→MODオプションから無視される「食中毒・発生率」の最小値を変更可能。
設定次第では、料理スキル0の入植者ですら、「下手なコック」と見做されなくなります。

尚、「毒を持った食べ物」や「不潔な調理場」による食中毒は引き続き発生します。


免責事項
このMODに含まれるアセンブリのソースコードの大部分は、ChatGPTによって生成されました。
私自身はこのプログラムを書くスキルを十分に有していません。
そのため、バグが見つかった場合でも、修正できない可能性がありますので、あらかじめご了承ください。

ソースコードを同梱しています。必要であればそちらをご確認下さい。
热门讨论 查看全部(1)
0
6 月 18 日 下午 7:59
Opening Mod Settings generates log spam
Nuker1110
6 条留言
Shinzou 9 月 4 日 下午 1:46 
Getting the same error as Salazar. Here is a link to the HugsLib log with only the essentials and XML Extensions enabled: https://gist.github.com/HugsLibRecordKeeper/7693e39a33f506b34372da4fe459b79f

Happy Bughunting :psi:
SalazarWindriver 8 月 31 日 上午 4:00 
I'm getting a blank menu when trying to load it
mmng  [作者] 5 月 7 日 上午 2:24 
@StR876
ChatGPTにRimworldの食中毒に関わるソースコードを見せた上で、具体的にコーディング内容を伝えることから始めました。

私と同じことをするには、まず、RimworldのWikiやC#のドキュメントを参考にして、基本的なMod制作の知識を得ておく必要があります。
StR876 5 月 6 日 下午 12:57 
how to use chat gpt to write code? are there any tutorials?
lostormisplaced 5 月 6 日 上午 5:24 
@Krazyfan1 Rude
Krazyfan1 5 月 3 日 下午 4:04 
"Most of the assembly code in this mod was generated with the help of ChatGPT." Eww