边缘世界 RimWorld

边缘世界 RimWorld

57 个评价
Just a ventolin
   
奖励
收藏
已收藏
取消收藏
Mod, 1.5
文件大小
发表于
更新日期
1.232 MB
2024 年 6 月 27 日 上午 6:41
2024 年 7 月 5 日 下午 3:11
3 项改动说明 ( 查看 )

订阅以下载
Just a ventolin

描述
This mod adds a ventolin item that helps pawns with asthma.

textures made by: neonoxia

16 条留言
crowbarcollective 8 月 3 日 下午 2:16 
please add an 1.6 tag i love the mod
Shepherd 6 月 15 日 上午 12:18 
i was looking for like an hour for a damned inhaler mod, tysm <33
PolyPoky 2024 年 9 月 26 日 下午 9:35 
nice
crowbarcollective 2024 年 9 月 6 日 上午 11:23 
fuck yeah :steamthumbsup::steamthumbsup::steamthumbsup:
Contrarion 2024 年 8 月 21 日 下午 11:58 
I will always have a respect for people who care about these
surefirecure 2024 年 8 月 15 日 下午 1:56 
Fucking THANK you. As a real-life pharmacist, the way meds work in this game pisses me off. Why do we have to wait for people to get hospitalized for asthma??
zip  [作者] 2024 年 7 月 2 日 下午 11:08 
Alright thanks, will check it out later and probably change it to a drug
Delmain 2024 年 7 月 2 日 下午 2:12 
Yeah, the Conditional hediff thing is cool, but the way this is applied is worrying from a performance perspective. If it were me, I would get rid of the JobGiver patch, the JobDriver, and the WorkGiver and just make this a normal drug that inherits from MakeableDrugBase and defines a non-addictive, Medical-type drug that is scheduled, the same way Penoxycyline works in vanilla.
Delmain 2024 年 7 月 2 日 下午 1:52 
uhhhh yeah I just took a look at this solution and I'm not sure it's the best way to do this. Every time any pawn goes to get food, it checks if it has Asthma, hasn't already treated it, and then if it's carrying a ventolin. That's a pretty hefty performance hit.

You might also want to look at setting up a DefOf class, because it is way more performant than using ThingDef.def.defName and doing a string comparison.
zip  [作者] 2024 年 7 月 1 日 下午 11:13 
@Delmain yeah,I added a jobGiver and i tested it a bit and they should still take one per day automatically