饥荒
忍野忍 Shinobu Oshino
516 条留言
第807个新手 6 月 24 日 上午 11:48 
就喜欢这种比较简单的人物,其它人物一大堆介绍看着头疼,也记不住debuff之类的
老黄233 2023 年 9 月 14 日 下午 8:22 
模组设置有中文的吗?(不可名状的学渣尖啸)
motcge 2022 年 11 月 19 日 下午 10:17 
烹饪锅再原点生成同样食物的问题,是由于作者用临时变量生成实体然后用完没移除。
修改workshop-1543901440\scripts\components下的stewer.lua下
function Stewer:Harvest( harvester )函数找到local loot = nil 这条语句
下面有两个同级的if-end,再两个if后面加一个loot:Remove()即可解决问题
最后的结构
local loot = nil
if
...
else
...
end

if
...
end
loot:Remove()
虽然不是很清楚作者前面做的判断和最后食物获取有啥关系不过还是先留着吧
bechjkjen 2022 年 4 月 4 日 下午 12:06 
I cant build Goggle (run crash) maybe you can delete it somehow :v
冰雪长霜 2022 年 3 月 1 日 上午 2:43 
专家难度只能一直是虚弱的吸血鬼嘛?上面说的没有科技加成指的是这个?
123 2021 年 8 月 2 日 上午 12:23 
删了之后烹饪蜗做不了啊,一做就崩溃
ughfhhyg4555786 2021 年 6 月 26 日 下午 7:00 
end

if loot then
loot.targetMoisture = 0
loot:DoTaskInTime(2*FRAMES, function()
if loot.components.moisturelistener then
loot.components.moisturelistener.moisture = loot.targetMoisture
loot.targetMoisture = nil
loot.components.moisturelistener:DoUpdate()
end
end)

end
删除这些代码可以解决烹饪食物在地图上刷新的问题。
ughfhhyg4555786 2021 年 6 月 26 日 下午 7:00 
关于烹饪锅的bug@小草丿,在路径Steam\steamapps\common\dont_starve\mods\workshop-1543901440\scripts\components,里有一个叫stewer的脚本有一段不知道是干什么用的代码:

local loot = nil
if self.product ~= "spoiledfood" then
loot = SpawnPrefab(self.product) -- 大概是造成bug的元凶

if loot and loot.components.perishable then
--loot.components.perishable:SetPercent( self.product_spoilage)
--loot.components.perishable:LongUpdate(GetTime() - self.targettime)
--loot.components.perishable:StartPerishing()
end
else
--loot = SpawnPrefab("spoiled_food") -- 大概是造成bug的元凶
747465273 2021 年 3 月 11 日 上午 5:49 
只开这一个mod,第二天进入夜晚的瞬间会崩溃
747465273 2021 年 3 月 11 日 上午 2:21 
好是好,就是太容易崩溃了
bort 2021 年 3 月 10 日 上午 4:47 
game crashes after the first night
YAXeair 2021 年 3 月 5 日 下午 10:34 
好喜欢您做的这个mod啊我不会做mod但是会画画,大佬还打算再更新的话可以找我私聊下我能帮的地方尽量帮忙。
Asamiyui 2021 年 2 月 23 日 上午 6:29 
大佬还能更新一下吗:steamthumbsup:
烛影 2021 年 2 月 22 日 下午 8:34 
如果还能更新就太好了
StrokeTermination 2021 年 2 月 5 日 上午 6:51 
另外还有下面这段,只需要第二行,第一行第三行都可以删掉。不删的话应该只会影响到没有swDLC的玩家。
if IsDLCEnabled(CAPY_DLC) then
inst.components.combat.damagemultiplier = 0.75
end
StrokeTermination 2021 年 2 月 5 日 上午 6:47 
首先感谢下@iceamei冰糖 在大佬的帮助下我修复了关于san值影响攻击系数的部分,攻速部分还在研究,搞完也发评论区。攻击系数修复部分如下:
先找到local function onsanitychange(inst,data)和local function onpreload(inst)之间的部分删掉{local function onpreload(inst)不删!!!}然后把下面的代码复制粘贴到删除的位置。
StrokeTermination 2021 年 2 月 5 日 上午 6:47 
local function onsanitychange(inst,data)
--重新计算
local percent = inst.components.sanity:GetPercent()
if percent >= 0.75 then
inst.components.combat.damagemultiplier = 1.75--随san变化,越低越高
elseif percent >= 0.5 and percent < 0.75 then
inst.components.combat.damagemultiplier = 2.25
elseif percent >= 0.25 and percent < 0.5 then
inst.components.combat.damagemultiplier = 2.5
else
inst.components.combat.damagemultiplier = 3
end
if IsDLCEnabled(CAPY_DLC) then
if percent >= 0.75 then
StrokeTermination 2021 年 2 月 5 日 上午 6:47 
inst.components.combat:AddDamageModifier("shinobu", 0.75 )--随san变化,越低越高
elseif percent >= 0.5 and percent < 0.75 then
inst.components.combat:AddDamageModifier("shinobu", 1.25)
elseif percent >= 0.25 and percent < 0.5 then
inst.components.combat:AddDamageModifier("shinobu", 1.5 )
else
inst.components.combat:AddDamageModifier("shinobu", 2.0)
end
end
if IsDLCEnabled(PORKLAND_DLC) then
if percent >= 0.75 then
inst.components.combat:AddDamageModifier("shinobu", 0.75)--随san变化,越低越高
elseif percent >= 0.5 and percent < 0.75 then
inst.components.combat:AddDamageModifier("shinobu", 1.25)
elseif percent >= 0.25 and percent < 0.5 then
inst.components.combat:AddDamageModifier("shinobu", 1.5 )
else
inst.components.combat:AddDamageModifier("shinobu", 2.0)
end
end
end
ZZ 2021 年 1 月 14 日 上午 5:22 
十分期待呢
ZZ 2021 年 1 月 14 日 上午 5:22 
大佬还要更吗
一只脚 2020 年 9 月 28 日 下午 6:42 
东西,换武器,装备丢失
颂唱诗歌 2020 年 9 月 6 日 下午 5:18 
模式选海难没办法做妖刀啊
tysb 2020 年 6 月 6 日 下午 11:14 
可以给设置个衣服啊有点太脆了
渡渡鸟 2020 年 5 月 13 日 下午 10:43 
准备什么时候更新啊?
韶华轶 2020 年 5 月 7 日 上午 4:37 
妖刀升级没效果了,什么属性都不加。
另外,可以在mod配置界面加妖刀照明亮度和范围选项吗,拜谢。
丰收的狼神 2020 年 5 月 1 日 下午 10:20 
hamlet没有bug,因为进不去
花が散る 2020 年 3 月 23 日 上午 5:54 
小忍吃腐烂的食物会干嘛?
三千世界鸦杀尽 2020 年 3 月 3 日 下午 9:15 
goggle护目镜太贵了。。。三个蓝宝石而且还不能修。每次我下一次洞穴要费一个护目镜,实在消费不起啊
哈哈咖咖啦啦咔 2020 年 2 月 17 日 下午 2:47 
作者大大能否加一个移动速度和饱食度不挂勾的选项
这里是小殇鸭(´-ω-`) 2020 年 2 月 17 日 上午 8:36 
我210级没有找到妖刀的制作项目(3个世界都去看了一下制作栏,连全物品可制作都开了),是什么原因啊?
呦兎白 2020 年 2 月 12 日 下午 3:46 
护目镜太贵了
Sky 2020 年 1 月 31 日 上午 11:27 
选的船难 兼容哈姆雷特 ....做太刀的时候要花茎手杖 这个怎么解决
小草丿 2020 年 1 月 16 日 上午 7:33 
报告一个Bug:做好的食物吃完之后会在地上刷一半出来。比如吃了俩4个肉丸之后在地图某个地方又会刷两个0.0
棒打今日橙 2019 年 12 月 22 日 上午 4:36 
感jio太容易饿是我的错觉吗(||๐_๐)
冯大侠 2019 年 11 月 6 日 上午 8:24 
SAN值越低,攻击倍数越高,多少级才能触发。
你干嘛哎呦 2019 年 10 月 23 日 上午 6:02 
读书之后草没长
xiaoxiaolibra 2019 年 10 月 20 日 下午 8:21 
护目镜是不是不能修
Russiag 2019 年 10 月 17 日 上午 7:50 
华夫饼应该是最高了吧,目前我会做的种类里面最高是华夫饼,一个加2000经验
KNYuuki 2019 年 10 月 11 日 上午 7:04 
小刃吃什么经验多啊 我到现在没弄明白
冰雪长霜 2019 年 10 月 7 日 上午 3:55 
专家模式没有特殊能力啊,100级还是弱小吸血鬼
机长佐巴扬 2019 年 10 月 6 日 上午 7:42 
好的没事了 是另一个mod冲突的关系 谢谢啦
机长佐巴扬 2019 年 10 月 6 日 上午 7:20 
能不能修复一下哈姆雷特的啊。。。不管怎么尝试 只要一开哈姆雷特就不能做妖刀了
冰雪长霜 2019 年 9 月 22 日 上午 4:21 
猪人商店有个致命bug 在洞穴刷新商店,造成死循环(崩溃)。
所以在哈姆雷特里,如果要想进洞穴,遗迹,就把猪人商店关了。
76561198101718859 2019 年 9 月 20 日 下午 10:52 
妖刀怎么做?
半夏微暖半夏凉 2019 年 9 月 17 日 上午 12:03 
哈姆雷特里放下二本时崩溃
墨衡 2019 年 9 月 16 日 下午 8:31 
你的采集代码和卡尼猫冲突,同时开2个mod,采集草树枝之类必崩,关掉一个mod则没事
LanSiLuo 2019 年 9 月 5 日 上午 4:03 
我想问下这个人物只能单DLC用吗 不能三个地图一起用吗 我看设置那里有选择DLC 刚订阅完 还没开始使用
呦兎白 2019 年 8 月 29 日 上午 7:20 
很好玩的角色,想来问问为嘛都60多级了还是一只虚弱的吸血鬼。前排提示:这角色下一次地洞二就天下无敌了。
月恋 2019 年 8 月 26 日 下午 6:22 
太刀好像不能砍竹子,是我的问题么
我要成为MHW糕手 2019 年 8 月 24 日 下午 11:49 
希望护目镜goggle可以修复耐久:steamhappy: