饑荒聯機版

饑荒聯機版

鐮刀
357 則留言
CCappu  [作者] 9 月 3 日 上午 3:40 
@容垣
可以那么理解。
具体来说,举个例子,当你用采集干草时,有概率额外掉落1个,预设是0.1也就是10%;如果你把概率设置成1,那么就会是必定额外掉落1个;如果设置成2,那就会是必定掉落2个。如果采集的是农作物,则掉落种子;巨大作物掉落对应小作物。
或许还有更多机制,但我只记得这么多。
容垣 9 月 2 日 下午 1:18 
额外掉落物几率代码,指的是双倍掉落物吗,还是什么
EXO-Jin 8 月 4 日 上午 2:17 
设计的非常严谨且合理,在提供便捷的同时功能没有显得过于强大从而间接缩短游戏寿命,就喜欢你这种作者
1216998640 8 月 2 日 上午 8:00 
种的藤蔓不能用镰刀
:steambored:
DehakaPrime 8 月 1 日 上午 5:26 
Since the newest update, the scythe can no longer be used on drying racks
CCappu  [作者] 7 月 12 日 下午 7:52 
@Nsk do you have any info mod enabled? If yes, go mod config and disable "Extra Damage to Plant", and test again.
Nsk 7 月 12 日 下午 7:33 
i actually dont know, but everytime i craft a scythe my game crashes
CCappu  [作者] 7 月 10 日 下午 8:13 
[@Nsk] works on my test. I may need to know what configs you have modified.
Nsk 7 月 10 日 下午 7:02 
not working after the updates
EldVarg 6 月 9 日 上午 4:32 
Aha yeah looks like that, did not get any more of them. Thank you for the change.
CCappu  [作者] 6 月 6 日 下午 11:19 
[@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 月 6 日 下午 10:28 
好像采集模式设置只对普通镰刀管用,对黄金的不管用,我设置了同种类,普通的生效,黄金的不生效,大佬修复一下吧
EldVarg 6 月 3 日 上午 10:40 
Hm "Grass Gekko Inhibitor" enabled still created 2 gekkos.
CCappu  [作者] 6 月 3 日 上午 12:47 
[@风叶] 抱歉,我前面的测试有问题。再测试了一遍发现设置确实无法禁用。还好你发现了,我反复测试了几次才发现这个问题。
风叶 6 月 2 日 下午 11:10 
OKOK感谢佬解释 我纯小白不懂代码,都是问的AI:steamhappy:
CCappu  [作者] 6 月 2 日 下午 10:34 
[@风叶]
感谢回报。我测试的时候并不是保存时出问题,大概说一下就是,变异保护倒计时结束了,镰刀尝试去暂停那个倒计时,但因为倒计时的end_time为nil所以出问题了。另外,设置里的那个选项亲测能禁用,如果你只是单纯搜"FN_GRASSGEKKO",那你是搜不到任何东西的,解释起来比较麻烦,如果你能看懂而且还想了解的话可以搜"FN_",然后一层一层往下缕就能发现如何应用的了,不过现在能用了也没必要去看懂了。
风叶 6 月 2 日 下午 9:49 
禁用功能都没用吗。。我看传的设置项modmain里都没用到。把相关代码注释了才行。。
风叶 6 月 2 日 下午 6:52 
佬,更新之后的新功能“防止草蜥蜴变形”可能导致游戏崩溃。[00:19:44]: [string "scripts/components/worldsettingstimer.lua"]:133: attempt to perform arithmetic on field 'end_time' (a nil value). 报错喂AI分析说是在保存grass实体数据时,尝试计算名为morpgdelay的计时器剩余时间但该值为空导致运算失败引发崩溃。
EldVarg 6 月 2 日 上午 10:46 
Cool, never noticed that tab before.
CCappu  [作者] 6 月 2 日 上午 9:48 
[@EldVarg] basically add new feature you mentioned. And fixed a bug. You can refer to the "Change Note" tab above
EldVarg 6 月 2 日 上午 8:19 
A new update cool. Whats changed? :)
EldVarg 5 月 17 日 上午 8:06 
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  [作者] 5 月 11 日 上午 3:32 
[@EldVarg] It sounds good. I will make it next update. Remind me if I forget.
EldVarg 5 月 11 日 上午 3:20 
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  [作者] 5 月 9 日 上午 9:30 
[@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 5 月 9 日 上午 4:40 
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  [作者] 5 月 2 日 上午 6:16 
[@惊鸿] 我测试能正常使用,需要更详细的信息,比如说改动过哪些模组设置、无法收割什么作物、收割时是用鼠标点的还是轻按空格键还是长按空格键还是用手柄。
惊鸿 5 月 2 日 上午 3:11 
为啥做出来没用
CCappu  [作者] 4 月 8 日 上午 5:51 
[@大帅哥]
不推荐改成无限耐久,最多只建议调整TUNING的数值,因为不容易出bug。如果你真的想改无限耐久的话:
打开scrips/prefabs/scythe.lua,按ctrl+f,搜索finiteuses,把带finiuses的那几行,在每一行最前面加上--,也就是2个减号。
或者(跟上面任选其一就好):
打开modmain.lua,按ctrl+f,搜索CommonPostInit,在下面2行的空白位置加上
inst:RemoveComponent("finiteuses")

我无法保证上面2个不会出问题,如果真的出现问题了可以重新下载这个mod。
大帅哥 4 月 8 日 上午 3:31 
怎么改成无限耐久呀,试了半天还给游戏整崩溃了
riley_ 3 月 23 日 下午 1:43 
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
多放点孜然 2 月 2 日 上午 1:21 
同问, 地下靠近蘑菇崩溃, 报错的是黑化排队论RB3汉化版和镰刀mod
Kiyo 2 月 1 日 下午 10:38 
同下面的野蘑菇崩溃,关掉对蘑菇生效可以暂时避免,但开启后只要接近蘑菇就会崩
一穷二白的鹅 1 月 31 日 上午 6:42 
[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 1 月 23 日 上午 7:13 
开启额外掉落后,使用镰刀鼠标点击收割蘑菇(缩地没出来或者已经被采摘过的),可以凭空获得蘑菇
季灾 1 月 16 日 上午 10:24 
与自动堆叠不兼容,谢谢回复,镰刀很好用👍
CCappu  [作者] 1 月 16 日 上午 4:36 
@反向抽烟刘某人
试试重新下载这个mod。只需要取消订阅,然后隔一段时间后重新订阅就会自动重新下载了。具体情况我也不清楚,如果还是不行那我就没办法了
CCappu  [作者] 1 月 16 日 上午 4:33 
@季灾
无法复现,想知道你使用的模组设置
季灾 1 月 16 日 上午 3:58 
镰刀收割完干草芦苇没有任何掉落物也没有进背包
反向抽烟刘某人 1 月 14 日 上午 7:34 
请问一下我启动服务器时出现Mod had no modmain.lua. Skipping.最后加载进去就不会有镰刀怎么解决,镰刀真的很好用,没有玩着很难受
玖小白 1 月 14 日 上午 7:05 
[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  [作者] 1 月 12 日 上午 7:20 
@YunX
想知道是在收割什么的时候不消耗耐久。
需要注意的是金镰刀,或者"耐久"设置比较高的话,只收割1个作物可能在游戏里显示成百分比的话会比较不明显,如果多收割几个作物可能才会看到百分比值下降
YunX 1 月 10 日 下午 11:31 
为什么我的镰刀使用不掉耐久
不可食用 1 月 8 日 下午 9:36 
特别好的mod,感谢老大!
CCappu  [作者] 1 月 2 日 下午 9:05 
@火车叨位去
那个是默认开启的,我测试时用的就是默认设置,并没发现类似问题。如果可以,希望你能帮忙测试一下与其他模组共用的情况下,包括本地模组,检查一下在开启"对植物增伤"时是否与其他模组冲突。
火车叨位去 1 月 2 日 上午 9:06 
已经解决了,是对植物伤害倍率的问题,关闭选项就可以了
CCappu  [作者] 1 月 2 日 上午 6:30 
@火车叨位去
开个测试档,只开这个mod,用预设设置,看看有没有类似的问题,然后告诉我你用了什么mod或者修改过哪些设置。
火车叨位去 1 月 2 日 上午 5:13 
作者大大,为什么做不了镰刀了,找遍了都没有
祝您大辩通畅 2024 年 12 月 14 日 上午 12:21 
没有镰刀,开启mod后我把工具,武器,mod物品这几栏全找遍了,搜索框搜索“镰刀”也没有,
重启游戏也没用
CCappu  [作者] 2024 年 12 月 11 日 上午 1:21 
@󰀢沐沐󰀡
找到一个问题,不知道是不是你遇到的情况。当你开启"额外掉落"功能时,如果触发额外掉落功能,那么游戏就会卡死。如果你没开启那个功能的话再留言一下,我只修了这一个错误。

难崩的是我去年10月更新的,测试时一直开启该功能,10%概率额外掉落,有人反馈会崩溃我都会测试一下,然而我那运气居然一次都没触发问题,我也没意识到那里出问题了,看到你说有时候会触发,直接把概率改成100%,才发现问题。。。