Old Starchy
Nicholas Sorokin
Australia
Information may or may not have been given.
Information may or may not have been given.
当前正在游戏
Spelunky 2
最喜爱的游戏
37
已游戏的小时数
16
已达成的成就数
成就进度   16 / 32
最新动态
总时数 95 小时
当前正在游戏
总时数 173 小时
最后运行日期:4 月 15 日
总时数 77 小时
最后运行日期:4 月 12 日
成就进度   0 / 83
留言
Rhetticus 2021 年 2 月 24 日 下午 3:18 
Celeste, the best a boy can get
Old Starchy 2015 年 7 月 25 日 下午 8:30 
haha no worries, you want the third one. see here http://pastebin.com/diqEajVQ
Gonz008 2015 年 7 月 25 日 下午 7:48 
Alrite, so should it be like:
self.task = nil
end
if (fertilizer.components.stackable ~= nil) then
fertilizer.components.stackable:Get(1):Remove()
end
fertilizer.components.stackable:Get(1):Remove()
return true
else
return old(self, fertilizer)
end
end

Or like:

self.task = nil
end
if (fertilizer.components.stackable ~= nil) then
fertilizer.components.stackable:Get(1):Remove()
fertilizer.components.stackable:Get(1):Remove()
return true
else
return old(self, fertilizer)
end
end

Or like:
self.task = nil
end
if (fertilizer.components.stackable ~= nil) then
fertilizer.components.stackable:Get(1):Remove()
end
return true
else
return old(self, fertilizer)
end
end

Thanks for the swift response and sorry for blowing up your comments!
Old Starchy 2015 年 7 月 25 日 下午 5:12 
Yes, mostly, but you've doubled up on the "end"

if (fertilizer.components.stackable ~= nil) then
fertilizer.components.stackable:Get(1):Remove()
endfertilizer.components.stackable:Get(1):Remove()

should be

if (fertilizer.components.stackable ~= nil) then
fertilizer.components.stackable:Get(1):Remove()
end
Gonz008 2015 年 7 月 25 日 上午 5:29 
Hey, I saw your comment on the Walter Character mod for DST and I wish to also fix the crash on my server. Just double checking what the script looked like... is this how it looked after you added the code?

if self.growthpercent >=1 then
self.inst.AnimState:PlayAnimation("grow_pst")
self:Mature()
self.task:Cancel()
self.task = nil
end
if (fertilizer.components.stackable ~= nil) then
fertilizer.components.stackable:Get(1):Remove()
endfertilizer.components.stackable:Get(1):Remove()
return true
else
return old(self, fertilizer)
end
end
end)

I know this is time consuming, but I would really appreciate it :)