blindcoder Posted August 14, 2015 Share Posted August 14, 2015 Image created by Onkeen! Thanks! Do you like that everything you find is in mint condition?Do you think it's realistic that all pills you find are completely full? Then this mod is not for you! Everyone else, keep reading! What is Secondhand Loots? SL is a mod that randomizes the condition of weapons you find as well as the fill levels of pills, charcoal, lighters, everything with a "Remaining" bar in the tooltip! How does it do that? By hooking into the loot-generation code of the game. It also handles Lucky/Unlucky in a way that you get more items in perfect or broken condition. Cool! Where can I get this? Download it directly from github: https://github.com/blind-coder/pz-bcRandomizedItems/releasesOr subscribe to it on Spiffos Workshop: http://steamcommunity.com/sharedfiles/filedetails/?id=501895986 I'm a modder and don't want my items to automerge! What do I do? To achieve this, add these lines into a .lua file in media/lua/client:if not BCGT then BCGT = {} endif not BCGT.MergeIgnore then BCGT.MergeIgnore = {} endBCGT.MergeIgnore["Module.Item"] = 1;Please make sure to include both if not lines so you don't overwrite other mods' ignore lists. Replace Module.Item with the full type of the item that you don't want auto-merged. Anything else I need to know? Yes: When you transfer items that have a fill level (pills, charcoal, etc) into a container where another one of these items is, they will be combined!That means that two half-empty packs of charcoal will become one full pack automatically.This does not apply to anything that leaves behind an "empty" version of itself like Water Bottles, Pots and the like. Anything you need help with? Yes! The mod can set lower/upper limits of condition for items. For example, an axe will always be at least 25% and a Hunting Knife 33%, no matter what. This is meant so that players don't find a rare item after days of scavenging only to find it's broken and unusable.This is where I need help: Post suggestions of lower/upper limits of condition as well as chances that an item should be broken or in perfect condition! Default chance for either is 2.5%If you have a suggestion for something, please post it here. Please make it a nice "balanced" suggestion, not a "but I want this to be perfect ALLLWWAAAYS" suggestion, thanks! Oneline, Svarog, Footmuffin and 5 others 8 Link to comment Share on other sites More sharing options...
thrandisher Posted August 14, 2015 Share Posted August 14, 2015 Nice idea. Does it only work on stock items or does it hook into everything, including other mods? Link to comment Share on other sites More sharing options...
blindcoder Posted August 14, 2015 Author Share Posted August 14, 2015 Nice idea. Does it only work on stock items or does it hook into everything, including other mods? It hooks into anything that is of Type HandWeapon, Drainable or DrainableComboItem. Link to comment Share on other sites More sharing options...
Svarog Posted August 14, 2015 Share Posted August 14, 2015 I didn't even know how much I needed this... LeoIvanov and blindcoder 2 Link to comment Share on other sites More sharing options...
thrandisher Posted August 14, 2015 Share Posted August 14, 2015 Im not sure on, plank (broken). I can see it in my head, grabbing a plank that is broken. Im not sure if it would be a worthless item in game or not tho. Thought id mention it, well, because i can Link to comment Share on other sites More sharing options...
Geras Posted August 17, 2015 Share Posted August 17, 2015 Thanks for that, blindcoder! I vaguely remember suggesting something similar ages ago.Suggestion: maybe items found in shops (hardware stores, pharmacies etc.) would have a higher chance of being in mint condition? blindcoder 1 Link to comment Share on other sites More sharing options...
blindcoder Posted August 17, 2015 Author Share Posted August 17, 2015 Thanks for that, blindcoder! I vaguely remember suggesting something similar ages ago.Suggestion: maybe items found in shops (hardware stores, pharmacies etc.) would have a higher chance of being in mint condition?That's a good idea. Let's say a general minimum Condition og 50% percent?I'll see how to implement that. Geras 1 Link to comment Share on other sites More sharing options...
Teesee Posted August 17, 2015 Share Posted August 17, 2015 Why do I feel this is another feature that will get implemented into the vanilla game? Link to comment Share on other sites More sharing options...
False_Meridian Posted August 21, 2015 Share Posted August 21, 2015 The steam workshop version of this mod didn't upload properly. The download is filled with empty folders (a .git and a media folder both with empty subfolders). Ditto with your hotbar mod, so it may be the same on your other mods as well. Link to comment Share on other sites More sharing options...
Geras Posted August 22, 2015 Share Posted August 22, 2015 I get an exception when picking up a thread .The red exception rectangle appears after that in main menu.It didn't happen before, just after installing secondhand loots. EDIT: Picking up a flashlight crashes my game as well. Link to comment Share on other sites More sharing options...
kibuza Posted August 23, 2015 Share Posted August 23, 2015 I also crash when picking up a flashlight. I crashed also when picking up a thread. Sucks because this mod sounds is awesome and makes so much sense. Link to comment Share on other sites More sharing options...
blindcoder Posted August 24, 2015 Author Share Posted August 24, 2015 The steam workshop version of this mod didn't upload properly. The download is filled with empty folders (a .git and a media folder both with empty subfolders). Ditto with your hotbar mod, so it may be the same on your other mods as well. Oh crap.... thanks for the notification, I'll get on that ASAP. Link to comment Share on other sites More sharing options...
False_Meridian Posted August 24, 2015 Share Posted August 24, 2015 It's possible that it's a Steam issue. I've seen a few complaints of mods that I could download not showing up for some users. Though all your mods that I've tried have the empty folders issue. The reupload you just didn't fix it unfortunatly. Does it download fine from your end? Link to comment Share on other sites More sharing options...
blindcoder Posted August 24, 2015 Author Share Posted August 24, 2015 It's possible that it's a Steam issue. I've seen a few complaints of mods that I could download not showing up for some users. Though all your mods that I've tried have the empty folders issue. The reupload you just didn't fix it unfortunatly. Does it download fine from your end? I've just tried before my reply and I have the same issue after downloading. It's probably an issue with my upload and/or the Linux version of PZ. I've opened a ticket on the bugtracker now and will try to upload from Windows in the evening. Link to comment Share on other sites More sharing options...
fluffe9911 Posted August 24, 2015 Share Posted August 24, 2015 Don't forget your other mods lol Link to comment Share on other sites More sharing options...
blindcoder Posted August 24, 2015 Author Share Posted August 24, 2015 I have now uploaded all my mods to the workshop using Windows. They seem fine now. Link to comment Share on other sites More sharing options...
fluffe9911 Posted August 24, 2015 Share Posted August 24, 2015 K theres still a problem with the game crashing if you pick up certain Items look above a couple posts lol Link to comment Share on other sites More sharing options...
blindcoder Posted August 24, 2015 Author Share Posted August 24, 2015 K theres still a problem with the game crashing if you pick up certain Items look above a couple posts lolOne issue at a time Link to comment Share on other sites More sharing options...
blindcoder Posted August 24, 2015 Author Share Posted August 24, 2015 UPDATE There's an update that fixes three things:- No longer merges flashlights- fixes a crash when merging thread- does no longer merge items when they are dropped to the ground to prevent vanishing of items Geras 1 Link to comment Share on other sites More sharing options...
Geras Posted August 24, 2015 Share Posted August 24, 2015 Thanks for a quick fix. Link to comment Share on other sites More sharing options...
thrandisher Posted August 24, 2015 Share Posted August 24, 2015 oi! Ran into that crash bug with flashlights just before ya fixed it, while at the mall. Anyway, i know this is stretching it but, would it be possible to have a separate file for overrides? The reason for a separate one is.I think i found a item from a mod that is crashing due to this. So id like to add it to a exception list so it wont be randomized. Now with it being froma different mod, it should be me, the user, who keeps it on a exception. But with steam integration or even standard d/l and install, said exception list file would have a very high chance of being over written. Im hoping that makes sence. I have to go back and test to see if it was, but i think it was the blowtorch from hydrocraft mod. I really am loving this so far. I use ORMtnMan's real guns mod, and its great finding alot of them broken. It makes sence, in a RP fashion i guess, that those ppl are zeds now, Its because there gun broke on them! EDIT: It looks like its THREAD that is causing a crash when moving things. This is after the hotfix that you just released. EDIT #2: Ignore the midget controlling Thrandisher. It apears steam didnt update it untill i restarted my client. so it was using the old version. Link to comment Share on other sites More sharing options...
blindcoder Posted August 25, 2015 Author Share Posted August 25, 2015 It's possible for other modders to extend on the don't-merge blacklist. I'll update the OP with details. Link to comment Share on other sites More sharing options...
Geras Posted August 31, 2015 Share Posted August 31, 2015 There seems to be a bug in your mod, blindcoder. Whatever consumable I find it _always_ has 1 use left. Weapons are randomized allright, but medicine, disinfectants etc. are always at a minimum. EDIT: And that's with Lucky trait. Link to comment Share on other sites More sharing options...
blindcoder Posted September 1, 2015 Author Share Posted September 1, 2015 There seems to be a bug in your mod, blindcoder. Whatever consumable I find it _always_ has 1 use left. Weapons are randomized allright, but medicine, disinfectants etc. are always at a minimum. EDIT: And that's with Lucky trait.I'll check that, thanks for mentioning! Link to comment Share on other sites More sharing options...
blindcoder Posted September 1, 2015 Author Share Posted September 1, 2015 There seems to be a bug in your mod, blindcoder. Whatever consumable I find it _always_ has 1 use left. Weapons are randomized allright, but medicine, disinfectants etc. are always at a minimum. EDIT: And that's with Lucky trait. Can you please test this version:https://github.com/blind-coder/pz-bcRandomizedItems/archive/v0.8.2.zip It should fix it, at least it did here, but before I release it it would be cool if you could check that it works Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now