Don't Starve Together

Don't Starve Together

Scythe
348 Comments
EldVarg Jun 9 @ 4:32am 
Aha yeah looks like that, did not get any more of them. Thank you for the change.
CCappu  [author] Jun 6 @ 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)/ Jun 6 @ 10:28pm 
好像采集模式设置只对普通镰刀管用,对黄金的不管用,我设置了同种类,普通的生效,黄金的不生效,大佬修复一下吧
EldVarg Jun 3 @ 10:40am 
Hm "Grass Gekko Inhibitor" enabled still created 2 gekkos.
CCappu  [author] Jun 3 @ 12:47am 
[@风叶] 抱歉,我前面的测试有问题。再测试了一遍发现设置确实无法禁用。还好你发现了,我反复测试了几次才发现这个问题。
风叶 Jun 2 @ 11:10pm 
OKOK感谢佬解释 我纯小白不懂代码,都是问的AI:steamhappy:
CCappu  [author] Jun 2 @ 10:34pm 
[@风叶]
感谢回报。我测试的时候并不是保存时出问题,大概说一下就是,变异保护倒计时结束了,镰刀尝试去暂停那个倒计时,但因为倒计时的end_time为nil所以出问题了。另外,设置里的那个选项亲测能禁用,如果你只是单纯搜"FN_GRASSGEKKO",那你是搜不到任何东西的,解释起来比较麻烦,如果你能看懂而且还想了解的话可以搜"FN_",然后一层一层往下缕就能发现如何应用的了,不过现在能用了也没必要去看懂了。
风叶 Jun 2 @ 9:49pm 
禁用功能都没用吗。。我看传的设置项modmain里都没用到。把相关代码注释了才行。。
风叶 Jun 2 @ 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 Jun 2 @ 10:46am 
Cool, never noticed that tab before.
CCappu  [author] Jun 2 @ 9:48am 
[@EldVarg] basically add new feature you mentioned. And fixed a bug. You can refer to the "Change Note" tab above
EldVarg Jun 2 @ 8:19am 
A new update cool. Whats changed? :)
EldVarg May 17 @ 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] May 11 @ 3:32am 
[@EldVarg] It sounds good. I will make it next update. Remind me if I forget.
EldVarg May 11 @ 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] May 9 @ 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 May 9 @ 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] May 2 @ 6:16am 
[@惊鸿] 我测试能正常使用,需要更详细的信息,比如说改动过哪些模组设置、无法收割什么作物、收割时是用鼠标点的还是轻按空格键还是长按空格键还是用手柄。
惊鸿 May 2 @ 3:11am 
为啥做出来没用
CCappu  [author] Apr 8 @ 5:51am 
[@大帅哥]
不推荐改成无限耐久,最多只建议调整TUNING的数值,因为不容易出bug。如果你真的想改无限耐久的话:
打开scrips/prefabs/scythe.lua,按ctrl+f,搜索finiteuses,把带finiuses的那几行,在每一行最前面加上--,也就是2个减号。
或者(跟上面任选其一就好):
打开modmain.lua,按ctrl+f,搜索CommonPostInit,在下面2行的空白位置加上
inst:RemoveComponent("finiteuses")

我无法保证上面2个不会出问题,如果真的出现问题了可以重新下载这个mod。
大帅哥 Apr 8 @ 3:31am 
怎么改成无限耐久呀,试了半天还给游戏整崩溃了
riley_ Mar 23 @ 1:43pm 
suggestion: a follow-up mod to this that adds machetes from shipwrecked and hamlet. they can harvest twice as many resources from grass and reeds, and attack 25% faster than normal weapons
多放点孜然 Feb 2 @ 1:21am 
同问, 地下靠近蘑菇崩溃, 报错的是黑化排队论RB3汉化版和镰刀mod
Kiyo Feb 1 @ 10:38pm 
同下面的野蘑菇崩溃,关掉对蘑菇生效可以暂时避免,但开启后只要接近蘑菇就会崩
一穷二白的鹅 Jan 31 @ 6:42am 
[string "-/mods/workshop-2328604820/modmain.lua"]:106: attempt to index field 'pickable' (a nil value)
LUA ERROR stack traceback:
_./mods/workshop-2328604820/modmain.lua:106 in () ? (Lua) <105-107>
=(tail call):-1 in () (tail) <-1--1>
mods/workshop-2328604820/modmain.lua:173 in (local) collector (Lua) <172-176>
scripts/componentactions.lua:2737 in (method) CollectActions (Lua)<2716-2743>
scripts/components/playeractionpicker.lua:206 in (method) GetEquippedltemActions (Lua) ≤203-209>scripts/components/playeractionpicker.lua:296 in (method) GetLeftClickActions (Lua) <244-324>scripts/components/playeractionpicker.lua:490 in (method) DoGetMouseActions (Lua) <430-494?scripts/components/playercontroller.lua:2337 in () ? (Lua)<2145-2676>
=(tail call):-1 in () (tail) <-1--1>

添加MOD后采集蘑菇崩溃,没有使用镰刀但是报的是镰刀的错
Yashical Jan 23 @ 7:13am 
开启额外掉落后,使用镰刀鼠标点击收割蘑菇(缩地没出来或者已经被采摘过的),可以凭空获得蘑菇
季灾 Jan 16 @ 10:24am 
与自动堆叠不兼容,谢谢回复,镰刀很好用👍
CCappu  [author] Jan 16 @ 4:36am 
@反向抽烟刘某人
试试重新下载这个mod。只需要取消订阅,然后隔一段时间后重新订阅就会自动重新下载了。具体情况我也不清楚,如果还是不行那我就没办法了
CCappu  [author] Jan 16 @ 4:33am 
@季灾
无法复现,想知道你使用的模组设置
季灾 Jan 16 @ 3:58am 
镰刀收割完干草芦苇没有任何掉落物也没有进背包
反向抽烟刘某人 Jan 14 @ 7:34am 
请问一下我启动服务器时出现Mod had no modmain.lua. Skipping.最后加载进去就不会有镰刀怎么解决,镰刀真的很好用,没有玩着很难受
玖小白 Jan 14 @ 7:05am 
[string "../mods/workshop-2328604820/scripts/scythe_fn..."]:32: attempt to index field 'pickable' (a nil value)
#LUA ERROR stack traceback:
@scripts/bufferedaction.lua:26 in (method) Do (Lua) <22-36>
self (valid:true) =
action = table: 0x351b7730
doer = 126947 - taizhen (valid:true)
onfail = table: 0x9109e180
doerownsobject = true
options = table: 0x9109e418
rotation = 0
onsuccess = table: 0x9109e138
invobject = 127008 - scythe(LIMBO) (valid:true)
target = 104422 - berrybush (valid:true)
CCappu  [author] Jan 12 @ 7:20am 
@YunX
想知道是在收割什么的时候不消耗耐久。
需要注意的是金镰刀,或者"耐久"设置比较高的话,只收割1个作物可能在游戏里显示成百分比的话会比较不明显,如果多收割几个作物可能才会看到百分比值下降
YunX Jan 10 @ 11:31pm 
为什么我的镰刀使用不掉耐久
不可食用 Jan 8 @ 9:36pm 
特别好的mod,感谢老大!
CCappu  [author] Jan 2 @ 9:05pm 
@火车叨位去
那个是默认开启的,我测试时用的就是默认设置,并没发现类似问题。如果可以,希望你能帮忙测试一下与其他模组共用的情况下,包括本地模组,检查一下在开启"对植物增伤"时是否与其他模组冲突。
火车叨位去 Jan 2 @ 9:06am 
已经解决了,是对植物伤害倍率的问题,关闭选项就可以了
CCappu  [author] Jan 2 @ 6:30am 
@火车叨位去
开个测试档,只开这个mod,用预设设置,看看有没有类似的问题,然后告诉我你用了什么mod或者修改过哪些设置。
火车叨位去 Jan 2 @ 5:13am 
作者大大,为什么做不了镰刀了,找遍了都没有
祝您大辩通畅 Dec 14, 2024 @ 12:21am 
没有镰刀,开启mod后我把工具,武器,mod物品这几栏全找遍了,搜索框搜索“镰刀”也没有,
重启游戏也没用
CCappu  [author] Dec 11, 2024 @ 1:21am 
@󰀢沐沐󰀡
找到一个问题,不知道是不是你遇到的情况。当你开启"额外掉落"功能时,如果触发额外掉落功能,那么游戏就会卡死。如果你没开启那个功能的话再留言一下,我只修了这一个错误。

难崩的是我去年10月更新的,测试时一直开启该功能,10%概率额外掉落,有人反馈会崩溃我都会测试一下,然而我那运气居然一次都没触发问题,我也没意识到那里出问题了,看到你说有时候会触发,直接把概率改成100%,才发现问题。。。
󰀢沐沐󰀡 Dec 10, 2024 @ 2:05am 
作者大大你好,我再次做了测试,用镰刀同时收割到傲来作物和棱镜作物的时候就会触发服务器崩溃,但是不是每次都触发,很奇怪,昨天玩的时候没有崩溃,今天玩的时候一收割就崩溃了。我把这俩模组的作物种植在一起的。今天试了3次,崩溃了3次。可以看看是什么原因吗?:steamhappy:
陈冬冬 Nov 15, 2024 @ 6:05pm 
开启MOD游戏没有显示制造镰刀的选项
CCappu  [author] Nov 10, 2024 @ 1:32am 
@Thousandwindows
I failed to reproduce the issue. I am not sure if it is related to some config settings in this mod, or maybe a conflict with other mod. If you can reproduce it, I may want to know what mods you have, your config(non-default options), and the skills you choose for Wormwood may affect(I have test some of it and still work as normal).

I may not able to locate the issue if we can't reproduce it. You may backup your saved files before you clicking "exit game" or "disable mods" when you meet the issue again, it may help you recovering your lost game process. You can also screen cap the crashed info. That would be enough to help me figure out the issue.
Thousandwindows Nov 8, 2024 @ 2:35pm 
P/s: I was harvesting honey on bee boxes.
Thousandwindows Nov 8, 2024 @ 2:35pm 
@CCapu
The 1st time, I was harvesting honey.
The 2nd time, I was harvesting dried meats. There's one meat left on the rack, I used the scythe again and it crashed.
A message said a mod was causing issues. Exit game or remove mod?
I picked exit game and was logged out. When logging back in, my 150s day world reset back to day 1 with the character avatar appearing as unknown character. When I launched the world again, it led me to the character choosing screen and started the game over. All rollback info was erased. No saved files left in the saved folder.
The 2nd time, I chose remove mod. The game was frozen. I waited about 30 mins then forced stop. Same things happened with the world and character.
Both time I was playing as Wormwood.
This only happened to me last week.
Before that, this is my fav mod. I used it in all servers with other characters such as Wickerbottom, Willow, Wendy...
I hope this is detailed enough to give you some clues. Thanks for the mod. I really love it.
CCappu  [author] Nov 5, 2024 @ 2:51am 
@Thousandwindows
can you provide more information, like what are you doing when you were encountering the issue
Thousandwindows Nov 4, 2024 @ 11:39pm 
There is a bug that make the world reset to day 1 and lost on progress.
CCappu  [author] Oct 14, 2024 @ 8:00am 
@LapislazuliStern 当然设置需要开启蘑菇可收割,其他选项可以使用预设设置
CCappu  [author] Oct 14, 2024 @ 7:52am 
@LapislazuliStern
无法复现。试试开一个测试档,使用预设设置,仅开启这一个mod,测试一下是否正常。如果问题解决,可以告诉我你游玩的档修改了哪些设置。

下面是你可能需要用到的指令,注意,如果控制台左边显示"本地"字样,则需要先按一下ctrl,移除“本地”字样,如果没有则不需要
生成一个蘑菇农场:c_spawn("mushroom_farm")
获得镰刀:c_give("scythe")
获得金镰刀:c_give("goldenscythe")
获得10个孢子:c_give("spore_medium",10)
获得10个活木:c_give("livinglog",10)
使蘑菇农场马上长到最大:c_findnext("mushroom_farm",10).components.harvestable:DoMagicGrowth(ThePlayer)