Don't Starve Together

Don't Starve Together

Loot Pump
400 Komentar
小兆蝉衣 12 Jul @ 11:44pm 
--再续2
if not item.components.projectile then
item:AddComponent("projectile")
end
item.components.projectile:SetSpeed(LOOT_SPEED)
item.components.projectile:SetOnMissFn(ItemMiss)
item.components.projectile:SetOnHitFn(ItemHit)
item.components.projectile:SetHitDist(0.2)
item.components.projectile:Throw(container, inst, item)
if inst.isfiring==false then
inst.AnimState:PlayAnimation("aspiration")
end
end
end
end
end
小兆蝉衣 12 Jul @ 11:42pm 
--续2只能发表1000个字符,2、剩下的部分只能分开发
local container
if LOOT_PUMP_TWOZN then
container=LookForContainers(inst, item, INNER_SCALE*OUTER_RANGE, OUTER_RANGE)
else
container=LookForContainers(inst, item, 0, OUTER_RANGE)
end
if container ~= nil then
item:AddTag("noclick")
item:AddTag("lootpump_oncatch")
item.loot_pump_oldphysics=item.Physics:GetCollisionMask()
if inst.loot_through_walls then
item.Physics:ClearCollisionMask()
item.Physics:CollidesWith(COLLISION.WORLD)
item.Physics:CollidesWith(COLLISION.SMALLOBSTACLES)
end
小兆蝉衣 12 Jul @ 11:40pm 
2.local function DoUpdate(inst)
if inst:HasTag("burnt") then
return
end

if inst.components.machine.ison == true then

local item
if LOOT_PUMP_TWOZN then
item = LookForItems(inst, INNER_SCALE*OUTER_RANGE)
else
item = LookForItems(inst,OUTER_RANGE)
end
if item ~= nil then
小兆蝉衣 12 Jul @ 11:39pm 
1.local ITEM_BLACKLIST = {
["lantern"]=true,
["chester_eyebone"]=true,
["hutch_fishbowl"]=true,
["heatrock"]=true,
["tallbirdegg"]=true,
["trap"]=true,
["birdtrap"]=true,
["glommerflower"]=true,
["redlantern"]=true,
["trap_teeth"]=true,
["beemine"]=true,
["trap_bramble"]=true,
["moonrockseed"]=true,
["amulet"]=true,
["storage_robot"]=true,
["pumpkin_lantern"]=true,
}
小兆蝉衣 12 Jul @ 11:38pm 
我修改了一份,排除了瓦器人和一次拾去一整组的,但是我不会上传mod,我修改了这两个部分。有需要的可以自己对文件进行修改文件路径::steamapps\workshop\content\322330\2208128427\scripts\prefabs\loot_pump.lua
wherethesunnoshine 26 Mei @ 10:00am 
seems to work but please can you make it so Nautopilot won't be looted anymore?
also in case you haven't also make bull kelp not lootable otherwise it may cause a crash with a full chest.
EldVarg 8 Mei @ 1:25am 
Does this still works?
Compatible with Large Chest (HD) & Storeroom (New)?
1526406665 4 Mar @ 12:02am 
我回来了,将【loot_pump.lua】文件的这一行【aux=TUNING.PERISH_FRIDGE_MULT】改为【aux=tonumber(TUNING.PERISH_FRIDGE_MULT)】,即可解决问题
1526406665 3 Mar @ 10:23pm 
我用怪物肉喂鸟换蛋,直接崩溃,必定崩溃

错误代码:

[00:04:01]: [string "../mods/workshop-2208128427/scripts/prefabs..."]:232: attempt to compare string with number
LUA ERROR stack traceback:
../mods/workshop-2208128427/scripts/prefabs/loot_pump.lua:232 in (upvalue) LookForContainers (Lua) <183-255>
inst = 111872 - loot_pump (valid:true)
item = 128241 - bird_egg (valid:true)
inner_range = 0
outer_range = 15
pos = (511.83, 0.00, 539.18)
ent = table: 0000000023ED30D0
cnt = table: 0000000023ED21D0
perish_rate = 1
best_preserver = nil
aux = 0.2
k = 11
v = 110573 - icebox (valid:true)
Mio iris 8 Jan @ 5:37am 
tomato seed and corn seed not work
Mio iris 8 Jan @ 5:36am 
Root Pump not work ice box
Varrgas 2.0 2 Jan @ 2:30pm 
@nanananana
Learn how to use a mod, it work fine
an 23 Des 2024 @ 2:05pm 
doesn't work
MEXAH 18 Agu 2024 @ 3:37pm 
It try to send my W.O.B.O.T. to nowhere, fix it please.
Username 4 Jul 2024 @ 7:40am 
lol this animation is so funny i can sit and watch for dAySSS
Username 4 Jul 2024 @ 3:08am 
Hey do you think you can add the Furnace to the Container Blacklist
Droider 24 Feb 2024 @ 1:26pm 
no longer able to config
憨崽可乐 21 Des 2023 @ 8:57pm 
为什么会崩啊,一收集就崩了
destructorzk1 8 Des 2023 @ 10:08am 
cara valeu dms, isso facilitou muito a minha vida tmj
青羽化霖 29 Nov 2023 @ 6:43pm 
good
Leonardpio 12 Okt 2023 @ 5:59am 
broken mod
3GuB 20 Sep 2023 @ 9:16am 
game crashed when it tried to pick up pig skin
iTcT 28 Apr 2023 @ 8:18pm 
箱子里面没有的物品不知道收集到哪里了,消失了
TheLostEnderman 27 Apr 2023 @ 11:13am 
@Gleenus or @Jesz or @Catherine this dosent work anymore bye
qsnbcm 3 Apr 2023 @ 3:52am 
我需要中文,对此我可以提供帮助
I need Chinese, and I can help with this
远行 26 Mar 2023 @ 10:32pm 
可以添加一组一组拾取物品吗,一个一个的太慢
Valoneu 26 Mar 2023 @ 2:15am 
i have it and it works fine with like 30+ more mods
Willardy 24 Feb 2023 @ 6:37pm 
@Gleenus
Mod atualmente nao funciona, gostei bastante da ideia e utilidade dele, porem sempre que utilizo vem o crash no servidor.

Mod currently doesn't work, I really liked the idea and use it, but whenever I use it, the server crashes.
29 Jan 2023 @ 8:18am 
这个版本基本是什么都往箱子里放,不会只拣箱子里有的
宿嚣 28 Jan 2023 @ 2:28am 
可以设置成比如 我范围内的箱子里没有黄金 它就不会去拾取黄金给我分配到空箱子里
18 Jan 2023 @ 9:21am 
不能用了吗,会导致游戏崩溃
樱花妖月 14 Jan 2023 @ 5:15am 
The author greatly, hello, can add some new features, such as can now be a one-time absorption of a group of items, many will open the stack limit 999, but it was done one by one, the efficiency is very slow, thank you.
The D&D Dolphin 9 Jan 2023 @ 9:59am 
i have reason to believe this mod caused an area of my world to become a memory leak zone,
a spot of land near my oasis sees it's awake entity count rapidly skyrocket which starts eating the framerate, this only occurred after enabling this mod and using the loot pump for a bit, i have since disabled this mod but the issue still remains.
红尘仙人掌 27 Des 2022 @ 8:13pm 
在哪个工具栏建造呀
biu 19 Des 2022 @ 10:07am 
can disable picking up super packbox?
KyritoW 11 Des 2022 @ 10:24pm 
Testando aq para ver como será :3
RamRod 10 Okt 2022 @ 3:20pm 
It is no longer compatible with Tropical experience. I just tested it.
TrHeo 31 Jul 2022 @ 5:10am 
disconnect when loot
BelzebuB 26 Jul 2022 @ 12:44am 
Mod drop the game
whjlinux 24 Mei 2022 @ 7:40pm 
The author is great, can you make a single player, I love your mod so much, it seems that there is also a single player
Paulistana 20 Mei 2022 @ 4:56pm 
ATUALIZA O MOD GARAIO
kuluopai󰀍 14 Mei 2022 @ 9:38pm 
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=1275167632
它会尝试给宠物身上的物品栏塞东西,
It will try to stuff the pet's inventory
「」 6 Mei 2022 @ 4:17am 
Crashing with archery mod ... be careful :)
欲言又止的大佬 1 Mei 2022 @ 5:21am 
Sometimes it's not picked up in range
󰀃墨白 30 Apr 2022 @ 10:27pm 
模组崩溃了是什么情况?
kevin 28 Apr 2022 @ 3:19pm 
@Gleenus can you please add an option to set the radius to a square would be pretty nice if so
朋也 19 Apr 2022 @ 10:34pm 
Can you add an option to control that if there are no same items in the container, they will not be picked up until the player puts one in the container
DONG LE 6 Apr 2022 @ 2:33am 
Why can't I find the predator after I add mod
朋也 11 Mar 2022 @ 6:19pm 
Can you support pick up whole stack at a time?