RimWorld

RimWorld

Animal Use Dispenser
51 Comments
GoldSheep 11 Aug @ 6:16pm 
@LotusLand Very Thanks!
Lotus Land  [author] 11 Aug @ 4:52pm 
@GoldSheep I just hid them, they are available now.
GoldSheep 11 Aug @ 8:27am 
Will the following two items be redistributed?
Fixed Pawn Generate & Characters - Blue Archive
Lotus Land  [author] 11 Aug @ 6:49am 
@soundsgoodz38 是的,因为最近很多恶意举报
soundsgoodz38 11 Aug @ 5:23am 
作者手动ce补丁是隐藏了吧
Lotus Land  [author] 30 Jul @ 10:56pm 
@横冲直撞小影子 报错修复了,动物只有饿了才会吃的,应该没问题的。
横冲直撞小影子 30 Jul @ 5:57am 
太阳耀斑的时候会报错。而且动物的取食好像过于频繁了。
Lotus Land  [author] 22 Jul @ 1:11am 
@Bat stealer Sorry, make them able to eat at table may cause a serious performance problem.

As for NP tiers, I think it may not work because the ThingDefs are different.
Bat stealer 21 Jul @ 1:50pm 
nutrient paste tiers
Bat stealer 21 Jul @ 1:50pm 
btw, does this work whit NP tiers?
Bat stealer 21 Jul @ 1:50pm 
make them be able to eat at a table, imagine you wake up and see a thrumbo just extracting comedic ammounts of nutrient paste, and when you get your share, you both eat at a table
Lotus Land  [author] 20 Jul @ 11:59pm 
@AY 试试看把这些动物的活动区包含整个营养膏合成机。
我发现只是合成机部分在活动区内时会报错,但是整个合成机都在活动区内就是正常的。
AY 20 Jul @ 3:47am 
大佬,大地懒,敲击兽之类的好像不会自己使用营养膏合成机,能不能加上或者有其他mod能实现,望告知,感谢大佬
Lotus Land  [author] 15 Jul @ 5:05am 
@time lapses 这个函数是更新后的函数,我测试的时候简单场景下只要1ms,而原来要30多。
要是还是感觉开销大的话我再加入缓存。
time lapses 15 Jul @ 3:02am 
GetClosestDispenser这个找营养膏合成机的方法可能开销太大了?
要不加个缓存?找到以后放在缓存里,每3600ticks更新一次。
每3600ticks里,动物只找一次营养膏合成机,其它都直接找缓存里的
MrSky 14 Jul @ 7:30pm 
@Lotus Land 太感谢了大佬 QAQ
Lotus Land  [author] 14 Jul @ 6:40am 
@MrSky 这么大?那看来确实得优化一下了
MrSky 14 Jul @ 5:39am 
这个mod对性能影响有点大啊,动物养的多tps能降一半,大佬能研究研究怎么能优化下吗?
crawling mice 14 Jul @ 3:22am 
清汤大老爷!
Lotus Land  [author] 14 Jul @ 12:42am 
好好,更新在做了
雾梦 13 Jul @ 9:21am 
1.6谢谢:steamsad:
13 Jul @ 2:04am 
1.6求求了
xsline 12 Jul @ 7:07am 
大佬,更新啊,这么好用的mod太可惜了
幸运星 3 Jul @ 10:52pm 
1.6不能用
Lotus Land  [author] 26 Jun @ 6:33am 
@法棍面包 看看是不是饮食限制了?看看有没有红字。
法棍面包 25 Jun @ 7:06am 
为啥我驯化的动物不会去拿营养膏啊
Lotus Land  [author] 10 May @ 8:18pm 
@C4K6 收到了,多谢反馈
C4K6 10 May @ 12:48am 
我没有营养膏机,动物饿了依旧会尝试搜索营养膏机导致mod一直在报错:lunar2019piginablanket:
Lotus Land  [author] 2 May @ 9:39pm 
没什么错误吧,我自己也用了一段时间。只是会有些性能问题还没解决
V 1 May @ 11:21am 
动物本来就应该会自己挤牙痒膏吃,现在合理多了,谢谢作者!:steamhappy:只不过,现在是还存在什么错误吗?
Lotus Land  [author] 20 Mar @ 9:57pm 
@晓山alreShan 没想到会导致这么大的性能问题,我试试优化一下
晓山alreShan 20 Mar @ 9:42pm 
困惑,用dubs性能分析器,测了很多次,发现和性能优化模组无关。
我用的牛来测试,基本每次吃膏机的食物都会消耗10ms左右,但普通殖民者限制活动区域内只有膏机,也就0.2到1.1ms内,数量级差异对不上啊
晓山alreShan 20 Mar @ 8:35pm 
对了,我还装了 原版膏机拓展(VNPE)Animal Gear

两个截图:
截图1 截图2
晓山alreShan 20 Mar @ 8:20pm 
发现个性能问题,
AnimalUseDispenser.JobGiver_AnimalUseDispenser:TryGiveJob
这条,每次call的时候巨卡,从134ms到250ms不等,
也不知道是不是因为我用了这两个模组: Animal ControlsAllow Animal Areas (No Pens)
我的CPU是2020年的Ryzen 7 4800h 睿频4.2GHz,笔记本电脑。

看了作者你的最后一条评论,我觉得可能关联,就补充一下,不管动物的活动区(或者说可以到达的区域)内没有桌椅,都是这么卡。
Lotus Land  [author] 8 Mar @ 8:20pm 
@黑暗中的233 这个错误应该不是这个mod导致的,而是因为你的鸡太多而农场太小,这个错误原版也是有的。因为动物吃饭也需要找个地方坐着,然后同一时间吃饭的鸡太多了然后空间不够导致的报错。

这些措施可以防止这种错误产生:
1、营养膏合成机出料口附近尽量弄得空间大一些。动物实在多的话,最好建造多台营养膏合成机,多台合成机要间隔尽量远。
2、因为这个mod会让动物在餐桌上吃饭,所以可以在离营养膏合成机尽量远的地方造一些桌椅。动物们会优先上桌吃饭,而不是蹲在合成机附近。
Lotus Land  [author] 8 Mar @ 4:05pm 
@黑暗中的233 太强了,居然敢养鸡。我会试试修复这个bug
黑暗中的233 7 Mar @ 4:39pm 
会有报错哦,养了太多鸡总是报下面这个错误
Could not reserve (162, 0, 121) (layer: null) for Chicken2337174 for job Ingest (Job_35276129) A = Thing_MealNutrientPaste2337220 Giver = JobGiver_AnimalUseDispenser [workGiverDef: null] (now doing job Ingest (Job_35276129) A = Thing_MealNutrientPaste2337220 Giver = JobGiver_AnimalUseDispenser [workGiverDef: null](curToil=2)) for maxPawns 1 and stackCount -1.
两只鸡(Chicken2337174 和 Chicken2337170)试图在相同的地图坐标 (162, 0, 121) 执行进食任务(Ingest),但该位置已被第一只鸡保留(ReservationManager 限制 maxPawns=1)
Lotus Land  [author] 3 Mar @ 9:37pm 
@Whuh 哈哈哈,意料之外的bug。不过感觉这样也挺有意思的
Whuh 3 Mar @ 12:17am 
温馨提示: 您可以在畜栏里摆上桌子和板凳 这样子您的雪牛和爆炸鼠会在餐桌上共进晚餐:scDragon:
神之剧院 18 Feb @ 9:58pm 
手搓营养膏 不会腐坏的营养膏 动物能自己吃的营养膏 无敌了
Pos 4/5 17 Feb @ 7:57am 
动物不是本来就自己拿营养膏吃的吗?难道我记错了?
健太郎大冒险 17 Feb @ 4:14am 
VE的那个出料口有个很大的问题是它出的营养膏不能锁定防止小人去拿,导致如果同时养了动物还有囚犯的话,小人会跑去拿动物的营养膏给囚犯吃,而不让卧床的囚犯自己吃床头机给的营养膏
路过的萝莉控S 15 Feb @ 8:13am 
这牛就差上桌吃饭了:meephappy:
铁男 14 Feb @ 9:09pm 
真是好用感谢,VE那个出料口用着很不方便
铁男 14 Feb @ 9:08pm 
我试了下是兼容VE的,不过我养的是海星
Lotus Land  [author] 13 Feb @ 7:12pm 
@sharkcrisp049 不兼容,不过有了VE的营养膏机扩展也没必要打这个mod的吧
晓山alreShan 13 Feb @ 3:39pm 
动物“拿在手里”吃,就,挺生草的bruh:steammocking:
LarsSvengard 13 Feb @ 11:41am 
@Cibo, make sure that closet aint that hot (so the boomalopes dont explode)
sharkcrisp049 13 Feb @ 3:14am 
兼容ve膏机的营养膏嘴嘛
lunker 13 Feb @ 1:08am 
爱了:steammocking: