Project Zomboid

Project Zomboid

Secondhand Loots
51 Comments
✪ Tax 1 Oct, 2024 @ 7:52am 
Isn't this already in the game? I am talking about the weapon conditions being random when you find them
Jasdan 17 Dec, 2023 @ 12:04am 
Any alternative for this made for Build 41.78?
Captain Tofu 14 Nov, 2023 @ 9:26am 
I like it! Makes much more sense and makes the game slightly harder. I wish, that there were less broken pencils. That is really excessive right now ; )
UdderlyEvelyn 15 Jul, 2022 @ 3:24pm 
The icons from this are not in the vanilla implementation, would appreciate if someone would/could make a mod that makes partial stacks have a different icon, that'd be cool.
Axebeard 9 May, 2022 @ 12:57pm 
Throws errors when picking items off the floor.

@Posh Beard
Is that right? How did I miss that lol
Shot of Depresso 7 Jun, 2021 @ 9:50pm 
Obselete for B41, this happens by default
@madman_andre
Interlude 30 Mar, 2020 @ 12:25pm 
I think this mod might be causing a bug I am having. When ever I load up my server any items like tape or glue in storage containers in my base are all empty.
Totally Not An Illuminate Spy 10 Feb, 2020 @ 5:23pm 
@blindcoder Any Plans for B41?
Medicae_Clef 30 Apr, 2019 @ 7:53pm 
For Some Reason The Randomizer Only Randomizes 1 item In A Stack And Such
AvocadoGuy 28 Jan, 2018 @ 10:37am 
There was an error at the "RandomizeItem" function (something like that)
blindcoder  [author] 28 Jan, 2018 @ 10:35am 
There's no reason it shouldn't. Watch out for error messages in console.txt
AvocadoGuy 27 Jan, 2018 @ 8:21pm 
Does it work with the actual vehicle build?
blindcoder  [author] 11 Aug, 2017 @ 3:49am 
The feature in the game is very rudimentary compared to this mod. The base game doesn't take zombie density into account, doesn't have white/blacklists for modders, don't have min/max settings for objects and other details.
Lilly 11 Aug, 2017 @ 3:35am 
This was already implimented into the actual game wasn't it? Why exactly are people still wanting to run this in any capacity when it is already a feature in the game itsself?
blindcoder  [author] 15 Feb, 2017 @ 10:04am 
@Xeraphim
I'm still using it fine.
NCrypt1d 15 Feb, 2017 @ 6:25am 
Is this mod still compatible? Loved using it in my MP server back in the day.
Little Teddy Lamborghini 23 May, 2016 @ 1:08pm 
Something might be wrong with this mod. Ever since 34 was released items like wire and duck tape, if left in a container and then you close out the game, when you load your save the items are there but show zero remaining and when you transfer it they disappear.
Little Teddy Lamborghini 23 May, 2016 @ 1:08pm 
Something might be wrong with this mod. Ever since 34 was released items like wire and duck tape, if left in a container and then you close out the game, when you load your save the items are there but show zero remaining and when you transfer it they disappear.
Little Teddy Lamborghini 23 May, 2016 @ 1:07pm 
Something might be wrong with this mod. Ever since 34 was released items like wire and duck tape, if left in a container and then you close out the game, when you load your save the items are there but show zero remaining and when you transfer it they disappear.
DannerG 1 May, 2016 @ 1:28pm 
NOT FIRST :D
:steamhappy:
blindcoder  [author] 16 Mar, 2016 @ 11:05am 
I have updated the mod. It should now work again.
blindcoder  [author] 16 Mar, 2016 @ 2:19am 
Oh sh...

@Benno / @FatPileOfWombatCrap / @BenJamin':
Which PZ version are you playing? Look in the mainscreen in the bottom right corner.
BenJamin' 15 Mar, 2016 @ 10:08pm 
The latest update causes items to disappear when looting them, instead of combining them.
blindcoder  [author] 8 Mar, 2016 @ 12:05pm 
@FatPileOfWombatCrap
Ahh, that's so weird... I can't reproduce that here, it's probably the same issue B3NNO commented.
Do you happen to have a copy of your console.txt around where that issue appears? If so, can you upload it to vpaste or something similiar?
wombatvvv 8 Mar, 2016 @ 11:50am 
There is a bug in this mod that stops any type of wire (both the vanilla wire and hydro wire) from being added to the player's inventory. It's a pity, because it's such a great idea. :steamsad:
blindcoder  [author] 7 Mar, 2016 @ 2:22am 
If you could get me a full dump of the console.txt file when this happens, that would help a lot. I coul not verifiy this here, unfortunately.
Upload it to vpaste or something.
Bejasc 6 Mar, 2016 @ 4:15pm 
I tried it with both empty bags, almost full bags, and bags with not much in it. Also with equipping it to main/offhand, and placing on players body, I couldn't get it to work.

It might be worth noting, that with necroforge, I was able to spawn some in (full durability), which came successfully into my inventory.

The same thing happens with Fishing Line. I could spawn it in fine, and fix a fishing rod okay with it, but as soon as it had been used, if I went to use it again, or place it in a container, the line would disappear (I don't have a trace for this one sorry, but I think it was similar, at a different line number?)
blindcoder  [author] 5 Mar, 2016 @ 12:42am 
@B3NNO:
Strange, I thought I'd fixed that with the last update. Is your bag almost full by any chance? Say less than 1 unit of capacity left?
Bejasc 4 Mar, 2016 @ 4:59pm 
I get that each time I go to pick up thread.
Bejasc 4 Mar, 2016 @ 4:59pm 
-----------------------------------------
STACK TRACE
-----------------------------------------
Callframe at: se.krka.kahlua.integration.expose.MultiLuaJavaInvoker@56649e9f
function: perform -- file: bcRandomizedItems.lua line # 36
[ZNetJNI] ZNetFriends::OnPersonaStateChange
Bejasc 4 Mar, 2016 @ 4:55pm 
I'm having an issue from this mod about Thread. Every time I go to move it in to my inventory, or equip it, or move it to one of my backpacks, it just disappears. I can drop it do the ground fine, but I can't actually take it? I've tried this multiple times with all the thread I've found, and it simply disappears from the container
blindcoder  [author] 26 Feb, 2016 @ 11:40am 
New update that handles an edge case where you might lose all merged items. Whoops...
The Withered King 2 Feb, 2016 @ 1:56pm 
Thank you. Usually, some modders want you to ask before downloading :3
blindcoder  [author] 29 Jan, 2016 @ 2:16pm 
@witherkingbrony
Errm... sure? Just subscribe to it.
The Withered King 29 Jan, 2016 @ 1:36pm 
can i download this?
Glowth 16 Jan, 2016 @ 11:03am 
Pretty cool :epicstickman::balloon:
blindcoder  [author] 16 Jan, 2016 @ 11:02am 
While this does work as intended, it is not taking into consideration a lot of factors that this mod does:
- Zombie density
- rarity of items
- Lucky/Unlucky trait
- Min/Max conditions for items (currenty Axe and Huntingknife, extendable by other mods)

Also, I believe that items like charcoal, vitamins and such are not combined in vanilla PZ now, but don't nail me down on that.


So while there IS some functionality like this mod in vanilla PZ, it's nowhere near as sophisticated.

[2/2]
blindcoder  [author] 16 Jan, 2016 @ 11:01am 
I just checked and there's some very rudimentary condition / filllever code in vanilla PZ now:

-- randomized used delta
if instanceof(item, "DrainableComboItem") and ZombRand(100) < 40 then
local maxUse = 1 / item:getUseDelta();
item:setUsedDelta(ZombRand(1,maxUse-1)*item:getUseDelta());
end
-- randomize weapon condition
if instanceof(item, "HandWeapon") and ZombRand(100) < 40 then
item:setCondition(ZombRand(1, item:getConditionMax()));
end

[1/2]
Glowth 16 Jan, 2016 @ 10:53am 
The loot that I find is in random condition. Weapons, misc items and stuff in general that has a "condition" bar or "amount" bar of some kind is usually randomized in my games and this happened after build 33 came out.
blindcoder  [author] 16 Jan, 2016 @ 10:27am 
@Glowth:
I don't think so. While loot is now more random, it is IIRC not in random condition. Could you elaborate on that?
Glowth 16 Jan, 2016 @ 5:01am 
Isn't this mod obsolete now?
blindcoder  [author] 21 Nov, 2015 @ 4:12am 
You can add it in the middle of a game, but it will only apply to newly generated items, ie: areas you have not been in before.
Bullwinkle 20 Nov, 2015 @ 2:53pm 
Can this mod be added in the middle of a game or does it require a new start?
blindcoder  [author] 7 Nov, 2015 @ 8:22am 
@ThesandClan1997 I did? Where? That should definately be corrected.
TheSandClan1997 7 Nov, 2015 @ 7:32am 
you said half empty
blindcoder  [author] 3 Nov, 2015 @ 10:17am 
@Cethegus:
They will never spawn empty, but may have as little as 1 use.
CETHEGUS_drp 2 Nov, 2015 @ 11:57pm 
As I have found broken weapons (condition=0), i wonder if items with multiple use spawn empty? 'Cause i seem to find less loot.

Besides, thx for adding the autocombine. THX A LOT. Thats sth definitly missing! :steamhappy:
Doha 25 Oct, 2015 @ 11:11am 
gooood!!
blindcoder  [author] 24 Aug, 2015 @ 6:11am 
I have reuploaded the mods, they should all work fine now.
blindcoder  [author] 24 Aug, 2015 @ 4:13am 
There's a problem with steam uploads from my system at the moment.
Please use the download from http://theindiestone.com/forums/index.php/topic/16060-secondhand-loots-randomize-condition-and-fill-level-of-loot/ until this is fixed.

Sorry for the inconvenience :-(