Don't Starve Together

Don't Starve Together

Scythe
378 Comments
CCappu  [author] 13 Dec @ 3:04am 
@PINKVAN
动作不能改,我用的游戏自带的。但如果是贴图的某一帧有问题,例如镰刀消失了,比例不正常,这些能改,但我没发现问题。
PINKVAN 13 Dec @ 2:22am 
作者大大你可以更改一下镰刀的收割动画吗?就是暗影收割者的那个采集动画。
猫猫 12 Dec @ 12:20am 
非常感谢,非常感谢,非常感谢!
QAQ
CCappu  [author] 5 Dec @ 9:26pm 
@猫猫
抱歉,漏了点东西,应该改成这样
local res, loot = inst.components.pickable:oldpick(picker)
inst.components.pickable.onpickedfn = inst.components.pickable.oldonpickedfn
self.numtoharvest = oldnum
return res, loot
end

大概就是在我前面说的res后面再加点东西,最后改成res, loot
CCappu  [author] 5 Dec @ 9:17am 
@猫猫
找到那个mod的文件夹,打开modmain.lua,用微软自带的记事本打开就行,按ctrl+f打开搜索对话框,搜索:oldpick,注意最前面有个英文冒号不是我打错,会在第361行那,别动他,而是在那一行的最前面的inst前加这段
local res =
然后往下看2行,最后会是oldnum,别动他,在最后按回车新开一行,加这段
return res

最后成果大概会是:
local res = inst.components.pickable:oldpick(picker)
inst.components.pickable.onpickedfn = inst.components.pickable.oldonpickedfn
self.numtoharvest = oldnum
return res
end
猫猫 4 Dec @ 5:28pm 
https://steamproxy.net/sharedfiles/filedetails/?id=949808360
实际上,经过我的测试,貌似只有最原版会出现这种情况(笑哭)
如果您有空的话,只对照这个MOD修正就OK
嗯……我感觉大概率还是卡尼猫MOD的问题,只是我实在是不会改,只能求助大佬了
CCappu  [author] 4 Dec @ 8:48am 
@猫猫
同类mod太多,需要那个mod的链接。过几天如果有空我再看看 (其实一直有空,就是懒) 。有可能在我这边无法做任何事,如果需要在那个mod上修改的话我会告诉你如何修改的。

看过那个mod的描述,可能是额外掉落物的功能导致这种情况。如果可以关闭该功能,你可以先试试。如果你需要该功能,作为替代,也可以把镰刀的额外掉落开启,虽然掉落率低,也聊胜于无。
猫猫 3 Dec @ 3:55am 
大佬大佬,是这样的,我用卡尼猫模组的时候,卡尼猫使用镰刀会说:“我做不到”
但实际上不影响使用,只是看着难受。
卡尼猫作者已经处于半断更状态哩,只能来求求您了。
如果能解决,那就再好不过了。
当然,兼容其他模组并不是MOD制作者的任务,我只是来请求您一下QWQ。
CCappu  [author] 1 Dec @ 7:20pm 
@爱玩答辩 检查一下模组是否正常选用。如果你在用专用服务器,可能会需要额外的设置。
爱玩答辩 1 Dec @ 12:56am 
请问为什么订阅了后没有生效?制作栏里没有
CCappu  [author] 30 Nov @ 2:16am 
@旅途的华章
稍微看了一下,有部分东西做成掉到地上会比较麻烦,具体来说是上面简介里说的,"可配置"那些。只有草树枝等"不可配置"的,可以轻松做成掉落形式。
CCappu  [author] 30 Nov @ 1:47am 
@旅途的华章
可以暂时先把设置里"暗影镰刀"改成"原版",模组镰刀会使用暗影镰刀的收割机制,东西会扔到地上。新功能的话,暂时没动力去做。
旅途的华章 29 Nov @ 9:41pm 
可以不可以加一个收获的时候收获物掉地上的配置,我想用薇机人收收获它们
NEW CRASH IN BUG REPORT
EldVarg 25 Nov @ 5:56am 
Great job :)
好个秋 19 Nov @ 7:40am 
请问一下使用镰刀时显示无法收获怎么办,没有开其它显示信息的模组
omg23310 19 Nov @ 6:40am 
镰刀使用右键人物会卡死.
ME-Mei 12 Nov @ 7:19pm 
新版晾肉架不能收
CCappu  [author] 6 Nov @ 12:52am 
@gft123 抱歉,你的留言我看了,然后忘了,过几天修
@隔壁老王 跟手动采集一样,没特别调整过。但我应该可以在加个禁止/调整火鸡出现概率的"额外功能",不过我需要看一下出火鸡的代码,那个概率未必允许动态调整,也就是说,未必能做出来
隔壁老王 4 Nov @ 11:59pm 
请问下作者 收割浆果丛会出火鸡吗
gft123 19 Oct @ 7:32am 
反馈bug
原版用薇克巴顿的园艺学,应用造林学书籍催熟部分作物或部分mod作物会使作物减少一次可收获数
这样用书籍催熟后再用镰刀收割,循环几次后会让作物的可收获数卡在0但依然可收获的状态,此时这种状态的作物就没法用此mod的镰刀收获了,只能手动收集
CCappu  [author] 3 Sep @ 3:40am 
@容垣
可以那么理解。
具体来说,举个例子,当你用采集干草时,有概率额外掉落1个,预设是0.1也就是10%;如果你把概率设置成1,那么就会是必定额外掉落1个;如果设置成2,那就会是必定掉落2个。如果采集的是农作物,则掉落种子;巨大作物掉落对应小作物。
或许还有更多机制,但我只记得这么多。
容垣 2 Sep @ 1:18pm 
额外掉落物几率代码,指的是双倍掉落物吗,还是什么
EXO-Jin 4 Aug @ 2:17am 
设计的非常严谨且合理,在提供便捷的同时功能没有显得过于强大从而间接缩短游戏寿命,就喜欢你这种作者
1216998640 2 Aug @ 8:00am 
种的藤蔓不能用镰刀
:steambored:
DehakaPrime 1 Aug @ 5:26am 
Since the newest update, the scythe can no longer be used on drying racks
CCappu  [author] 12 Jul @ 7:52pm 
@Nsk do you have any info mod enabled? If yes, go mod config and disable "Extra Damage to Plant", and test again.
shaolin matador de porco 12 Jul @ 7:33pm 
i actually dont know, but everytime i craft a scythe my game crashes
CCappu  [author] 10 Jul @ 8:13pm 
[@Nsk] works on my test. I may need to know what configs you have modified.
shaolin matador de porco 10 Jul @ 7:02pm 
not working after the updates
EldVarg 9 Jun @ 4:32am 
Aha yeah looks like that, did not get any more of them. Thank you for the change.
CCappu  [author] 6 Jun @ 11:19pm 
[@EldVarg] it can only act on the grass that had harvested by scythe. Those grass that haven't harvested by scythe before have chance to morph. After you collect all of them once, they should no longer morph.

[\(n_n)/] 普通跟金镰刀的采集模式是共用同一个代码的,你再测试一次看看
\(n_n)/ 6 Jun @ 10:28pm 
好像采集模式设置只对普通镰刀管用,对黄金的不管用,我设置了同种类,普通的生效,黄金的不生效,大佬修复一下吧
EldVarg 3 Jun @ 10:40am 
Hm "Grass Gekko Inhibitor" enabled still created 2 gekkos.
CCappu  [author] 3 Jun @ 12:47am 
[@风叶] 抱歉,我前面的测试有问题。再测试了一遍发现设置确实无法禁用。还好你发现了,我反复测试了几次才发现这个问题。
风叶 2 Jun @ 11:10pm 
OKOK感谢佬解释 我纯小白不懂代码,都是问的AI:steamhappy:
CCappu  [author] 2 Jun @ 10:34pm 
[@风叶]
感谢回报。我测试的时候并不是保存时出问题,大概说一下就是,变异保护倒计时结束了,镰刀尝试去暂停那个倒计时,但因为倒计时的end_time为nil所以出问题了。另外,设置里的那个选项亲测能禁用,如果你只是单纯搜"FN_GRASSGEKKO",那你是搜不到任何东西的,解释起来比较麻烦,如果你能看懂而且还想了解的话可以搜"FN_",然后一层一层往下缕就能发现如何应用的了,不过现在能用了也没必要去看懂了。
风叶 2 Jun @ 9:49pm 
禁用功能都没用吗。。我看传的设置项modmain里都没用到。把相关代码注释了才行。。
风叶 2 Jun @ 6:52pm 
佬,更新之后的新功能“防止草蜥蜴变形”可能导致游戏崩溃。[00:19:44]: [string "scripts/components/worldsettingstimer.lua"]:133: attempt to perform arithmetic on field 'end_time' (a nil value). 报错喂AI分析说是在保存grass实体数据时,尝试计算名为morpgdelay的计时器剩余时间但该值为空导致运算失败引发崩溃。
EldVarg 2 Jun @ 10:46am 
Cool, never noticed that tab before.
CCappu  [author] 2 Jun @ 9:48am 
[@EldVarg] basically add new feature you mentioned. And fixed a bug. You can refer to the "Change Note" tab above
EldVarg 2 Jun @ 8:19am 
A new update cool. Whats changed? :)
EldVarg 17 May @ 8:06am 
Another idea, would be great to have option for the scythe to not spawn Grass Gekkos when used. It's sad when they spawn and you made a nice lawn :).
CCappu  [author] 11 May @ 3:32am 
[@EldVarg] It sounds good. I will make it next update. Remind me if I forget.
EldVarg 11 May @ 3:20am 
I know I can alter each mod myself locally. But that was not what I meant. If I alter and you make a new update that will be removed.

I just noticed that if you remove multiple items the same time the durability is still lowered as you would do it separately. Maybe have option to lessen the durability loss per each extra items affected. Like: 0/25/50/75/90/95% less per extra item.
CCappu  [author] 9 May @ 9:30am 
[@EldVarg]
you can use the console command:
TUNING.SCYTHE.USES = (any number you want)
This will change the durability of scythe crafted afterwards.

or you can change the mod's modmain file, the 3rd line:
USES = GetModConfigData("USES"),
to
USES = (any number you want),--remember comma at the end
you can open the file simply by notepad, that should have installed by Windows.

No faster motion will be config-able. The animation I used is the same as harvesting juicy berries. I don't want to change the frame of the official game animation.
EldVarg 9 May @ 4:40am 
Great mod. Could you add option for even more durability?

Also option for faster swing? (Like in the Scythes[Re-Fixed] mod, with this option that mod can be completely replaced).

Note: If you have this and Scythes[Re-Fixed] the same time, the sprite for the scythe is not visible on the character (also this scythe takes over the other mod, so you can't build the other one).
CCappu  [author] 2 May @ 6:16am 
[@惊鸿] 我测试能正常使用,需要更详细的信息,比如说改动过哪些模组设置、无法收割什么作物、收割时是用鼠标点的还是轻按空格键还是长按空格键还是用手柄。
惊鸿 2 May @ 3:11am 
为啥做出来没用
CCappu  [author] 8 Apr @ 5:51am 
[@大帅哥]
不推荐改成无限耐久,最多只建议调整TUNING的数值,因为不容易出bug。如果你真的想改无限耐久的话:
打开scrips/prefabs/scythe.lua,按ctrl+f,搜索finiteuses,把带finiuses的那几行,在每一行最前面加上--,也就是2个减号。
或者(跟上面任选其一就好):
打开modmain.lua,按ctrl+f,搜索CommonPostInit,在下面2行的空白位置加上
inst:RemoveComponent("finiteuses")

我无法保证上面2个不会出问题,如果真的出现问题了可以重新下载这个mod。