Don't Starve Together

Don't Starve Together

Loot Pump
400 comentarios
小兆蝉衣 12 JUL a las 23:44 
--再续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 a las 23:42 
--续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 a las 23:40 
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 a las 23:39 
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 a las 23:38 
我修改了一份,排除了瓦器人和一次拾去一整组的,但是我不会上传mod,我修改了这两个部分。有需要的可以自己对文件进行修改文件路径::steamapps\workshop\content\322330\2208128427\scripts\prefabs\loot_pump.lua
wherethesunnoshine 26 MAY a las 10:00 
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 MAY a las 1:25 
Does this still works?
Compatible with Large Chest (HD) & Storeroom (New)?
1526406665 4 MAR a las 0:02 
我回来了,将【loot_pump.lua】文件的这一行【aux=TUNING.PERISH_FRIDGE_MULT】改为【aux=tonumber(TUNING.PERISH_FRIDGE_MULT)】,即可解决问题
1526406665 3 MAR a las 22:23 
我用怪物肉喂鸟换蛋,直接崩溃,必定崩溃

错误代码:

[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 ENE a las 5:37 
tomato seed and corn seed not work
Mio iris 8 ENE a las 5:36 
Root Pump not work ice box
Varrgas 2.0 2 ENE a las 14:30 
@nanananana
Learn how to use a mod, it work fine
an 23 DIC 2024 a las 14:05 
doesn't work
MEXAH 18 AGO 2024 a las 15:37 
It try to send my W.O.B.O.T. to nowhere, fix it please.
Username 4 JUL 2024 a las 7:40 
lol this animation is so funny i can sit and watch for dAySSS
Username 4 JUL 2024 a las 3:08 
Hey do you think you can add the Furnace to the Container Blacklist
Droider 24 FEB 2024 a las 13:26 
no longer able to config
憨崽可乐 21 DIC 2023 a las 20:57 
为什么会崩啊,一收集就崩了
destructorzk1 8 DIC 2023 a las 10:08 
cara valeu dms, isso facilitou muito a minha vida tmj
青羽化霖 29 NOV 2023 a las 18:43 
good
Leonardpio 12 OCT 2023 a las 5:59 
broken mod
3GuB 20 SEP 2023 a las 9:16 
game crashed when it tried to pick up pig skin
iTcT 28 ABR 2023 a las 20:18 
箱子里面没有的物品不知道收集到哪里了,消失了
TheLostEnderman 27 ABR 2023 a las 11:13 
@Gleenus or @Jesz or @Catherine this dosent work anymore bye
qsnbcm 3 ABR 2023 a las 3:52 
我需要中文,对此我可以提供帮助
I need Chinese, and I can help with this
远行 26 MAR 2023 a las 22:32 
可以添加一组一组拾取物品吗,一个一个的太慢
Valoneu 26 MAR 2023 a las 2:15 
i have it and it works fine with like 30+ more mods
Willardy 24 FEB 2023 a las 18:37 
@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 ENE 2023 a las 8:18 
这个版本基本是什么都往箱子里放,不会只拣箱子里有的
宿嚣 28 ENE 2023 a las 2:28 
可以设置成比如 我范围内的箱子里没有黄金 它就不会去拾取黄金给我分配到空箱子里
18 ENE 2023 a las 9:21 
不能用了吗,会导致游戏崩溃
樱花妖月 14 ENE 2023 a las 5:15 
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 ENE 2023 a las 9:59 
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 DIC 2022 a las 20:13 
在哪个工具栏建造呀
biu 19 DIC 2022 a las 10:07 
can disable picking up super packbox?
KyritoW 11 DIC 2022 a las 22:24 
Testando aq para ver como será :3
RamRod 10 OCT 2022 a las 15:20 
It is no longer compatible with Tropical experience. I just tested it.
TrHeo 31 JUL 2022 a las 5:10 
disconnect when loot
BelzebuB 26 JUL 2022 a las 0:44 
Mod drop the game
whjlinux 24 MAY 2022 a las 19:40 
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 MAY 2022 a las 16:56 
ATUALIZA O MOD GARAIO
kuluopai󰀍 14 MAY 2022 a las 21:38 
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=1275167632
它会尝试给宠物身上的物品栏塞东西,
It will try to stuff the pet's inventory
「」 6 MAY 2022 a las 4:17 
Crashing with archery mod ... be careful :)
欲言又止的大佬 1 MAY 2022 a las 5:21 
Sometimes it's not picked up in range
󰀃墨白 30 ABR 2022 a las 22:27 
模组崩溃了是什么情况?
kevin 28 ABR 2022 a las 15:19 
@Gleenus can you please add an option to set the radius to a square would be pretty nice if so
朋也 19 ABR 2022 a las 22:34 
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 ABR 2022 a las 2:33 
Why can't I find the predator after I add mod
朋也 11 MAR 2022 a las 18:19 
Can you support pick up whole stack at a time?