Jump to content
Hydromancerx

Hydrocraft Mod

Recommended Posts

@Hydromancerx You said the Hearing Aids and Glasses in your other post. I didn't find any glasses in the mod so I'm going to stand in the Googles for the time being.

 

I also got something to look in the CLASS files right now as well so maybe it can help with puzzling out the wallet idea?

Edited by Lobochi

Share this post


Link to post
Share on other sites
2 hours ago, Lobochi said:

@Hydromancerx You said the Hearing Aids and Glasses in your other post. I didn't find any glasses in the mod so I'm going to stand in the Googles for the time being.

 

I also got something to look in the CLASS files right now as well so maybe it can help with puzzling out the wallet idea?

Yeah you can use the items as long as i can use your mod in Hydrocraft if you get it to work.

Share this post


Link to post
Share on other sites

@Hydromancerx Alright then! I'll be sure to share the results with ya if I get it working. :)

 

EDIT: Poking around in the class files is giving me an idea about that wallet... If we can somehow make our own class file or make a lua version for the wallet and list the money a lot like the keys are listed in a 2nd class file, we might be able to make the wallet idea work. I'll keep poking around for what might help me with either of the 2 ideas.

Edited by Lobochi

Share this post


Link to post
Share on other sites
7 hours ago, Lobochi said:

@Hydromancerx You said the Hearing Aids and Glasses in your other post. I didn't find any glasses in the mod so I'm going to stand in the Googles for the time being.


Hearing Aids and Glasses spawn on zombie corpses pretty regularly.

Share this post


Link to post
Share on other sites
Hearing aid and tactical earphones are totally different things. Tactical headphones amplify ambient sounds and noise reduction a hundred meters with respect to the direction of the sound source. The army doesn't go in hearing AIDS. ;)

 

Share this post


Link to post
Share on other sites

@zomboid123  I was asking Hydro if I could mod things from his mod, not where to find stuff in game. On the other hand, if you could tell me where to find or send me the PNG. file(s) of the glasses and wallets, that would be a big help.

 

Thanks for trying to help me with that info but I'm been playing this game for quite some time already and it would be a bug if I couldn't find the items in question in game.

Share this post


Link to post
Share on other sites
8 hours ago, Lobochi said:

@zomboid123  I was asking Hydro if I could mod things from his mod, not where to find stuff in game. On the other hand, if you could tell me where to find or send me the PNG. file(s) of the glasses and wallets, that would be a big help.

 

Thanks for trying to help me with that info but I'm been playing this game for quite some time already and it would be a bug if I couldn't find the items in question in game.

They are in pack files in the base game files. You have to unpack them to get to them. However why do you need those? Can't use just use the base game items?

Share this post


Link to post
Share on other sites

Hydrocraft v6.3 has been released!

Which includes ...

 

- Fixed Poison Food (Again)

- Added More Items to Junkyard Results

- Can Craft Art Supplies

- Box of Clothe Pins hold 20 instead of 100 now.

- Can Recycle More Glassware

- Can Craft Axe

- Added Electric Bass Guitar

- Added Handcuffs

- Added Toy Unicorn, Toy Dog and Toy Saber

- Added Medical Skelleton

- Added Bag of Bird Food and Box of Bird Food

- Added Glass Balloon and Glass Connector

- Added Titanium Working Textbook and Titanium Ingot

- Added Boxes of Stuff which give random items of the theme of the Box (Ex. Box of Lab Equipment)

- Added Cotton Seeds, Cotton Seeds Packet, Potted Cotton Plant, Raw Cotton, Cotton, Cotton Thread, Cotton Cloth and Cotton Jin!

- Thanks to everyone who helped this week!

 

Enjoy!

Edited by Hydromancerx

Share this post


Link to post
Share on other sites

"Added More Items to Junkyard Results ..."

 

Is there a page where I could see the lists of items you could find from Searching Junk Yards

 

And Searching Metals from Metal detector??

Share this post


Link to post
Share on other sites

Just take a look to the Junkyardextra.lua.

 

Spoiler

function hcjunksearchsmall(items, result, player)
    local metal = ZombRand(81);
        
    if metal == 80 then
        player:getInventory():AddItem("Base.Book");
    elseif metal == 79 then        
        player:getInventory():AddItem("Hydrocraft.HCPaintcan");
    elseif metal == 78 then        
        player:getInventory():AddItem("Hydrocraft.HCColoredwire");
    elseif metal == 77 then        
        player:getInventory():AddItem("Hydrocraft.HCElectronicparts04");
    elseif metal == 76 then        
        player:getInventory():AddItem("Hydrocraft.HCElectronicparts03");
    elseif metal == 75 then    
        player:getInventory():AddItem("Hydrocraft.HCElectronicparts02");
    elseif metal == 74 then    
        player:getInventory():AddItem("Hydrocraft.HCElectronicparts01");
    elseif metal == 73 then    
        player:getInventory():AddItem("Hydrocraft.HCCircuitboarduseless");
    elseif metal == 72 then    
    player:getInventory():AddItem("Hydrocraft.HCElectronicpartsbroken");
    elseif metal == 71 then
        player:getInventory():AddItem("Hydrocraft.HCMysteryseedspacket");
    elseif metal == 70 then
        player:getInventory():AddItem("Base.Glasses2");
    elseif metal == 69 then
        player:getInventory():AddItem("Base.Rainboots");
    elseif metal == 68 then
        player:getInventory():AddItem("Base.Needle");
    elseif metal == 67 then
        player:getInventory():AddItem("Base.CDplayer");
    elseif metal == 66 then
        player:getInventory():AddItem("Base.JarLid");
    elseif metal == 65 then
        player:getInventory():AddItem("Hydrocraft.HCDustpan");
    elseif metal == 64 then
        player:getInventory():AddItem("Hydrocraft.HCBinderclip");
    elseif metal == 63 then
        player:getInventory():AddItem("Hydrocraft.HCFolder");
    elseif metal == 62 then
        player:getInventory():AddItem("Hydrocraft.HCThumbtack");
    elseif metal == 61 then
        player:getInventory():AddItem("Hydrocraft.HCFilmcanister");
    elseif metal == 60 then    
        player:getInventory():AddItem("Hydrocraft.HCRubberhose");
    elseif metal == 59 then
        player:getInventory():AddItem("Hydrocraft.HCWeldinghose");
    elseif metal == 58 then
        player:getInventory():AddItem("Hydrocraft.HCBungeecord");
    elseif metal == 57 then
        player:getInventory():AddItem("Hydrocraft.HCBandanna");
    elseif metal == 56 then
        player:getInventory():AddItem("Hydrocraft.HCSewingpin");
    elseif metal == 55 then
        player:getInventory():AddItem("Hydrocraft.HCSafetypin");
    elseif metal == 54 then
        player:getInventory():AddItem("Hydrocraft.HCBathtoweldirty");
    elseif metal == 53 then
        player:getInventory():AddItem("Hydrocraft.HCClothespin");
    elseif metal == 52 then    
        player:getInventory():AddItem("Hydrocraft.HCWoodhanger");
    elseif metal == 51 then
        player:getInventory():AddItem("Hydrocraft.HCWirehanger");
    elseif metal == 50 then
        player:getInventory():AddItem("Hydrocraft.HCPlastichanger");
    elseif metal == 49 then
        player:getInventory():AddItem("Base.Headphones");
    elseif metal == 48 then
        player:getInventory():AddItem("Hydrocraft.HCBookcover");
    elseif metal == 47 then
        player:getInventory():AddItem("Hydrocraft.HCRazorblade");
    elseif metal == 46 then
        player:getInventory():AddItem("Hydrocraft.HCTampon");
    elseif metal == 45 then
        player:getInventory():AddItem("Hydrocraft.HCMenstrualpadDirty");
    elseif metal == 44 then
        player:getInventory():AddItem("Hydrocraft.HCDiaperDirty");
    elseif metal == 43 then
        player:getInventory():AddItem("Hydrocraft.HCDeodorantspray");
    elseif metal == 42 then    
        player:getInventory():AddItem("Hydrocraft.HCDeodorantstick");
    elseif metal == 41 then
        player:getInventory():AddItem("Hydrocraft.HCChapstick");
    elseif metal == 40 then
        player:getInventory():AddItem("Hydrocraft.HCWashclothwet");
    elseif metal == 39 then
        player:getInventory():AddItem("Hydrocraft.HCQtip");
    elseif metal == 38 then
        player:getInventory():AddItem("Hydrocraft.HCHairdryer");
    elseif metal == 37 then
        player:getInventory():AddItem("Hydrocraft.HCHubcap");
    elseif metal == 36 then
        player:getInventory():AddItem("Hydrocraft.HCSparkplug");
    elseif metal == 35 then
        player:getInventory():AddItem("Hydrocraft.HCAirfreshener");
    elseif metal == 34 then
        player:getInventory():AddItem("Hydrocraft.HCBatterylargedead");
    elseif metal == 33 then
        player:getInventory():AddItem("Hydrocraft.HCBatterymediumdead");
    elseif metal == 32 then
        player:getInventory():AddItem("Hydrocraft.HCBatteryempty");
    elseif metal == 31 then
        player:getInventory():AddItem("Hydrocraft.HCBatterysmalldead");
    elseif metal == 30 then
        player:getInventory():AddItem("Base.VideoGame");
    elseif metal == 29 then
        player:getInventory():AddItem("Base.KitchenKnife");
    elseif metal == 28 then
        player:getInventory():AddItem("Base.Hairspray");
    elseif metal == 27 then
        player:getInventory():AddItem("Base.CordlessPhone");
    elseif metal == 26 then
        player:getInventory():AddItem("Base.Hammer");
    elseif metal == 25 then
        player:getInventory():AddItem("Base.Aluminum");
    elseif metal == 24 then
        player:getInventory():AddItem("Base.Screws");
    elseif metal == 23 then
        player:getInventory():AddItem("Base.LetterOpener");
    elseif metal == 22 then
        player:getInventory():AddItem("Base.Sparklers");
    elseif metal == 21 then
        player:getInventory():AddItem("Base.Tissue");
    elseif metal == 20 then
        player:getInventory():AddItem("Base.ScrapMetal");
    elseif metal == 19 then
        player:getInventory():AddItem("Base.RubberBand");
    elseif metal == 18 then
        player:getInventory():AddItem("Base.ToyCar");
    elseif metal == 17 then
        player:getInventory():AddItem("Base.WeddingRing_Woman");
    elseif metal == 16 then
        player:getInventory():AddItem("Base.Coldpack");
    elseif metal == 15 then
        player:getInventory():AddItem("Base.Paperclip");
    elseif metal == 14 then
        player:getInventory():AddItem("Base.EmptySandbag");
    elseif metal == 13 then
        player:getInventory():AddItem("Base.BathTowelWet");
    elseif metal == 12 then
        player:getInventory():AddItem("Base.Fork");
    elseif metal == 11 then
        player:getInventory():AddItem("Base.TentPeg");
    elseif metal == 10 then
        player:getInventory():AddItem("Base.Spoon");
    elseif metal == 9 then
        player:getInventory():AddItem("Base.Button");
    elseif metal == 8 then
        player:getInventory():AddItem("Base.Newspaper");
    elseif metal == 7 then
        player:getInventory():AddItem("Hydrocraft.HCSyringeempty");
    elseif metal == 6 then
        player:getInventory():AddItem("Base.WhiskeyEmpty");
    elseif metal == 5 then
        player:getInventory():AddItem("Base.ElectronicsScrap");
    elseif metal == 4 then
        player:getInventory():AddItem("Base.Wire");
    elseif metal == 3 then
        player:getInventory():AddItem("Base.RippedSheetsDirty");
    elseif metal == 2 then
        player:getInventory():AddItem("Base.LightBulb");
    elseif metal == 1 then
        player:getInventory():AddItem("Base.SheetPaper");
    elseif metal == 0 then
        player:getInventory():AddItem("Base.Wire");
    end
end

function hcjunksearchmedium(items, result, player)
    local metal = ZombRand(25);
    
    if metal == 24 then
        player:getInventory():AddItem("Hydrocraft.HCTire");
    elseif metal == 23 then
        player:getInventory():AddItem("Hydrocraft.HCChain");
    elseif metal == 22 then
        player:getInventory():AddItem("Hydrocraft.HCDynamo");
    elseif metal == 21 then
        player:getInventory():AddItem("Hydrocraft.HCChickenwire");
    elseif metal == 20 then
        player:getInventory():AddItem("Base.Pipe");
    elseif metal == 19 then
        player:getInventory():AddItem("Hydrocraft.HCBubblewrap");
    elseif metal == 18 then
        player:getInventory():AddItem("Base.Speaker");
    elseif metal == 17 then
        player:getInventory():AddItem("Base.Kettle");
    elseif metal == 16 then
        player:getInventory():AddItem("Hydrocraft.HCMetalbox");
    elseif metal == 15 then
        player:getInventory():AddItem("Hydrocraft.UmbrellaClosed");
    elseif metal == 14 then
        player:getInventory():AddItem("Hydrocraft.HCCooler");
    elseif metal == 13 then
        player:getInventory():AddItem("Hydrocraft.HCMag");
    elseif metal == 12 then
        player:getInventory():AddItem("Base.Pot");
    elseif metal == 11 then
        player:getInventory():AddItem("Base.BakingPan");
    elseif metal == 10 then
        player:getInventory():AddItem("Hydrocraft.HCPowercord");
    elseif metal == 9 then
        player:getInventory():AddItem("Hydrocraft.HCTennisracket");
    elseif metal == 8 then
        player:getInventory():AddItem("Hydrocraft.HCJuicer2");
    elseif metal == 7 then
        player:getInventory():AddItem("Hydrocraft.HCToaster");
    elseif metal == 6 then
        player:getInventory():AddItem("Hydrocraft.HCBlenderdead");
    elseif metal == 5 then
        player:getInventory():AddItem("Hydrocraft.HCRicecookerdead");
    elseif metal == 4 then
        player:getInventory():AddItem("Hydrocraft.HCXmaslights");
    elseif metal == 3 then
        player:getInventory():AddItem("Hydrocraft.HCPlasticbin");
    elseif metal == 2 then
        player:getInventory():AddItem("Hydrocraft.HCPlasticbin2");
    elseif metal == 1 then
        player:getInventory():AddItem("Hydrocraft.HCRaccoonfemale");
    elseif metal == 0 then
        player:getInventory():AddItem("Hydrocraft.HCRaccoonmale");
    end
end


function hcjunksearchlarge(items, result, player)
    local metal = ZombRand(25);
    
    if metal == 24 then
        player:getInventory():AddItem("Hydrocraft.HCBarrelblueempty");
    elseif metal == 23 then    
        player:getInventory():AddItem("Hydrocraft.HCSteelbeam");
    elseif metal == 22 then
        player:getInventory():AddItem("Hydrocraft.HCRaftrubber");
    elseif metal == 21 then
        player:getInventory():AddItem("Hydrocraft.HCJunkmicro");
    elseif metal == 20 then
        player:getInventory():AddItem("Hydrocraft.HCSteelpipe");
    elseif metal == 19 then
        player:getInventory():AddItem("Base.SheetMetal");
    elseif metal == 18 then
        player:getInventory():AddItem("Hydrocraft.HCLargesheetmetal");
    elseif metal == 17 then
        player:getInventory():AddItem("Hydrocraft.HCBarrelmetalempty");
    elseif metal == 16 then
        player:getInventory():AddItem("Hydrocraft.HCJunkbicycle");
    elseif metal == 15 then
        player:getInventory():AddItem("Hydrocraft.HCSteelsheet");
    elseif metal == 14 then
        player:getInventory():AddItem("Hydrocraft.HCSteelsheetlarge");
    elseif metal == 13 then
        player:getInventory():AddItem("Hydrocraft.HCJunkmicro");
    elseif metal == 12 then
        player:getInventory():AddItem("Hydrocraft.HCFishtank");
    elseif metal == 11 then
        player:getInventory():AddItem("Hydrocraft.HCVacuum");
    elseif metal == 10 then
        player:getInventory():AddItem("Hydrocraft.HCVac");
    elseif metal == 9 then
        player:getInventory():AddItem("Hydrocraft.HCShopvac");
    elseif metal == 8 then
        player:getInventory():AddItem("Hydrocraft.HCPrinter");
    elseif metal == 7 then
        player:getInventory():AddItem("Hydrocraft.HCComputermonitor");
    elseif metal == 6 then
        player:getInventory():AddItem("Hydrocraft.HCFaxmachine");
    elseif metal == 5 then
        player:getInventory():AddItem("Hydrocraft.HCScaner");
    elseif metal == 4 then
        player:getInventory():AddItem("Hydrocraft.HCShoppingcart");
    elseif metal == 3 then
        player:getInventory():AddItem("Hydrocraft.HCToywagon");
    elseif metal == 2 then
        player:getInventory():AddItem("Hydrocraft.HCIcechest");
    elseif metal == 1 then
        player:getInventory():AddItem("Hydrocraft.HCPropanetankempty");
    elseif metal == 0 then
        player:getInventory():AddItem("Base.EmptyPetrolCan");
    end
end

function hcjunksearchmagnet(items, result, player)
    local metal = ZombRand(7);
    
    if metal == 6 then
        player:getInventory():AddItem("Hydrocraft.HCJunkdryer");
    elseif metal == 5 then
        player:getInventory():AddItem("Hydrocraft.HCJunktv");
    elseif metal == 4 then
        player:getInventory():AddItem("Hydrocraft.HCJunkfridge");    
    elseif metal == 3 then
        player:getInventory():AddItem("Hydrocraft.HCJunktredmill");
    elseif metal == 2 then
        player:getInventory():AddItem("Hydrocraft.HCJunkwash");
    elseif metal == 1 then
        player:getInventory():AddItem("Hydrocraft.HCJunkbicycle");
    elseif metal == 0 then
        player:getInventory():AddItem("Hydrocraft.HCBarrelmetalempty");
    end
    
    local inv = player:getInventory();
    inv:AddItem("Hydrocraft.HCBatteryhugedead");

end

-- Randomize findings for scavange.
function hcmetalsearch(items, result, player)
    local metal = ZombRand(101);

    if metal == 100 then
            player:getInventory():AddItem("Hydrocraft.HCPaintcan");
    elseif metal == 99 then    
            player:getInventory():AddItem("Base.Lighter");
    elseif metal == 98 then
            player:getInventory():AddItem("Base.Torch");
    elseif metal == 97 then
            player:getInventory():AddItem("Base.CDplayer");
    elseif metal == 96 then
            player:getInventory():AddItem("Base.DigitalWatch");
    elseif metal == 95 then
            player:getInventory():AddItem("Base.VideoGame");
    elseif metal == 94 then
            player:getInventory():AddItem("Hydrocraft.HCIronore");
    elseif metal == 93 then
            player:getInventory():AddItem("Hydrocraft.HCMeteorite");
    elseif metal == 92 then
            player:getInventory():AddItem("Hydrocraft.HCMagnetite");
    elseif metal == 91 then
            player:getInventory():AddItem("Base.ElectronicsScrap");
    elseif metal == 90 then
            player:getInventory():AddItem("Hydrocraft.HCChain");
    elseif metal == 89 then
        player:getInventory():AddItem("Hydrocraft.HCMeatcleaver");
    elseif metal == 88 then
        player:getInventory():AddItem("Base.Battery");
    elseif metal == 87 then
        player:getInventory():AddItem("Hydrocraft.HCBattery9volt");
    elseif metal == 86 then
        player:getInventory():AddItem("Hydrocraft.HCBatteryhuge");
    elseif metal == 85 then
        player:getInventory():AddItem("Hydrocraft.HCBatterylarge");
    elseif metal == 84 then
        player:getInventory():AddItem("Hydrocraft.HCBatterymedium");
    elseif metal == 83 then
        player:getInventory():AddItem("Hydrocraft.HCBatterysmall");
    elseif metal == 82 then
        player:getInventory():AddItem("Hydrocraft.HCCalculator");
    elseif metal == 81 then
        player:getInventory():AddItem("Hydrocraft.HCBoxcutter");
    elseif metal == 80 then
        player:getInventory():AddItem("Base.BlowTorch");
    elseif metal == 79 then
        player:getInventory():AddItem("Hydrocraft.HCWeldingmask");
    elseif metal == 78 then
        player:getInventory():AddItem("Hydrocraft.HCWeldingtank");
    elseif metal == 77 then
        player:getInventory():AddItem("Hydrocraft.HCFuelcanister");
    elseif metal == 76 then
        player:getInventory():AddItem("Hydrocraft.HCPickaxe");
    elseif metal == 75 then
        player:getInventory():AddItem("Hydrocraft.HCNailgunammo");
    elseif metal == 74 then
        player:getInventory():AddItem("Hydrocraft.HCPortableminingmachine");
    elseif metal == 73 then
        player:getInventory():AddItem("Hydrocraft.HCDrillhead");
    elseif metal == 72 then
        player:getInventory():AddItem("Hydrocraft.HCDogwhistle");
    elseif metal == 71 then    
        player:getInventory():AddItem("Base.Sledgehammer");
    elseif metal == 70 then
        player:getInventory():AddItem("Base.Padlock");
    elseif metal == 69 then
        player:getInventory():AddItem("Base.JarLid");
    elseif metal == 68 then
        player:getInventory():AddItem("Hydrocraft.UmbrellaClosed");
    elseif metal == 67 then
        player:getInventory():AddItem("Hydrocraft.HCChickenwire");
    elseif metal == 66 then
        player:getInventory():AddItem("Hydrocraft.HCTincan");
    elseif metal == 65 then
        player:getInventory():AddItem("Hydrocraft.HCShears");
    elseif metal == 64 then
        player:getInventory():AddItem("Hydrocraft.HCDustpan");
    elseif metal == 63 then
        player:getInventory():AddItem("Hydrocraft.HCCopperpipe");
    elseif metal == 62 then
        player:getInventory():AddItem("Hydrocraft.HCSteelpipe");
    elseif metal == 61 then    
        player:getInventory():AddItem("Hydrocraft.HCCombatknife");
    elseif metal == 60 then
        player:getInventory():AddItem("Hydrocraft.HCMachete");
    elseif metal == 59 then
        player:getInventory():AddItem("Hydrocraft.HCSurvivalaxe");
    elseif metal == 58 then
        player:getInventory():AddItem("Hydrocraft.HCMetalbox");
    elseif metal == 57 then
        player:getInventory():AddItem("Hydrocraft.HCLunchbox");
    elseif metal == 56 then
        player:getInventory():AddItem("Hydrocraft.HCMedicalbox");
    elseif metal == 55 then
        player:getInventory():AddItem("Hydrocraft.HCWirehanger");
    elseif metal == 54 then
        player:getInventory():AddItem("Hydrocraft.HCHarmonica");
    elseif metal == 53 then
        player:getInventory():AddItem("Hydrocraft.HCMonkeywrench");
    elseif metal == 52 then
        player:getInventory():AddItem("Hydrocraft.HCAuger");
    elseif metal == 51 then
        player:getInventory():AddItem("Hydrocraft.HCColander");
    elseif metal == 50 then    
        player:getInventory():AddItem("Hydrocraft.HCBottleopener");
    elseif metal == 49 then
        player:getInventory():AddItem("Hydrocraft.HCHedgetrimmer");
    elseif metal == 48 then    
        player:getInventory():AddItem("Hydrocraft.HCRake");
    elseif metal == 47 then        
        player:getInventory():AddItem("Hydrocraft.HCToolbox");
    elseif metal == 46 then        
        player:getInventory():AddItem("Hydrocraft.HCJackknife");
    elseif metal == 45 then        
        player:getInventory():AddItem("Hydrocraft.HCTireiron");
    elseif metal == 44 then        
        player:getInventory():AddItem("Hydrocraft.HCTennisracket");
    elseif metal == 43 then        
        player:getInventory():AddItem("Hydrocraft.HCAluminiumbat");
    elseif metal == 42 then        
        player:getInventory():AddItem("Hydrocraft.HCPliers");
    elseif metal == 41 then        
        player:getInventory():AddItem("Hydrocraft.HCTongs");
    elseif metal == 40 then            
        player:getInventory():AddItem("Hydrocraft.HCBatterysmalldead");
    elseif metal == 39 then        
        player:getInventory():AddItem("Hydrocraft.HCBatterymediumdead");
    elseif metal == 38 then        
        player:getInventory():AddItem("Hydrocraft.HCBatterylargedead");
    elseif metal == 37 then        
        player:getInventory():AddItem("Hydrocraft.HCBarrelmetalempty");
    elseif metal == 36 then        
        player:getInventory():AddItem("Hydrocraft.HCBrokenmicro");
    elseif metal == 35 then    
        player:getInventory():AddItem("Hydrocraft.HCJunkbicycle");
    elseif metal == 34 then    
        player:getInventory():AddItem("Hydrocraft.HCCablecopper");
    elseif metal == 33 then    
        player:getInventory():AddItem("Hydrocraft.HCWrench");
    elseif metal == 32 then    
        player:getInventory():AddItem("Base.Scissors");
    elseif metal == 31 then    
        player:getInventory():AddItem("Base.Axe");
    elseif metal == 30 then    
        player:getInventory():AddItem("Base.Golfclub");
    elseif metal == 29 then    
        player:getInventory():AddItem("Base.Crowbar");
    elseif metal == 28 then    
        player:getInventory():AddItem("Base.Tweezers");
    elseif metal == 27 then    
        player:getInventory():AddItem("farming.Shovel");
    elseif metal == 26 then    
         player:getInventory():AddItem("farming.HandShovel");
    elseif metal == 25 then
        player:getInventory():AddItem("farming.WateredCan");
    elseif metal == 24 then
        player:getInventory():AddItem("farming.GardeningSprayEmpty");         
    elseif metal == 23 then
        player:getInventory():AddItem("Base.HuntingKnife");
    elseif metal == 22 then
        player:getInventory():AddItem("Base.SheetMetal");
    elseif metal == 21 then
        player:getInventory():AddItem("Base.Pipe");
    elseif metal == 20 then
        player:getInventory():AddItem("Base.Earrings");
    elseif metal == 19 then
        player:getInventory():AddItem("Base.Ring");
    elseif metal == 18 then
        player:getInventory():AddItem("Base.WeddingRing_Man");
    elseif metal == 17 then
        player:getInventory():AddItem("Base.WeddingRing_Woman");
    elseif metal == 16 then
        player:getInventory():AddItem("Base.Extinguisher");
    elseif metal == 15 then
        player:getInventory():AddItem("Base.Doorknob");
    elseif metal == 14 then
        player:getInventory():AddItem("Base.Hinge");
    elseif metal == 13 then
        player:getInventory():AddItem("Base.Saw");
    elseif metal == 12 then
        player:getInventory():AddItem("Base.Hammer");
    elseif metal == 11 then
        player:getInventory():AddItem("Base.Screwdriver");
    elseif metal == 10 then
        player:getInventory():AddItem("Base.308Bullets");
    elseif metal == 9 then
        player:getInventory():AddItem("Base.223Bullets");
    elseif metal == 8 then
        player:getInventory():AddItem("Base.ShotgunShells");
    elseif metal == 7 then
        player:getInventory():AddItem("Base.Bullets9mm");
    elseif metal == 6 then
        player:getInventory():AddItem("Base.CombinationPadlock");
    elseif metal == 5 then
        player:getInventory():AddItem("Base.Needle");
    elseif metal == 4 then
        player:getInventory():AddItem("Base.Wire");
    elseif metal == 3 then
        player:getInventory():AddItem("Base.BarbedWire");
    elseif metal == 2 then
        player:getInventory():AddItem("Base.Screws");
    elseif metal == 1 then
        player:getInventory():AddItem("Base.Nails");
    elseif metal == 0 then
        player:getInventory():AddItem("Base.Paperclip");
    end
end

 

Share this post


Link to post
Share on other sites
47 minutes ago, Cyrrent Eiledoll said:

Just take a look to the Junkyardextra.lua.

 

  Reveal hidden contents

function hcjunksearchsmall(items, result, player)
    local metal = ZombRand(81);
        
    if metal == 80 then
        player:getInventory():AddItem("Base.Book");
    elseif metal == 79 then        
        player:getInventory():AddItem("Hydrocraft.HCPaintcan");
    elseif metal == 78 then        
        player:getInventory():AddItem("Hydrocraft.HCColoredwire");
    elseif metal == 77 then        
        player:getInventory():AddItem("Hydrocraft.HCElectronicparts04");
    elseif metal == 76 then        
        player:getInventory():AddItem("Hydrocraft.HCElectronicparts03");
    elseif metal == 75 then    
        player:getInventory():AddItem("Hydrocraft.HCElectronicparts02");
    elseif metal == 74 then    
        player:getInventory():AddItem("Hydrocraft.HCElectronicparts01");
    elseif metal == 73 then    
        player:getInventory():AddItem("Hydrocraft.HCCircuitboarduseless");
    elseif metal == 72 then    
    player:getInventory():AddItem("Hydrocraft.HCElectronicpartsbroken");
    elseif metal == 71 then
        player:getInventory():AddItem("Hydrocraft.HCMysteryseedspacket");
    elseif metal == 70 then
        player:getInventory():AddItem("Base.Glasses2");
    elseif metal == 69 then
        player:getInventory():AddItem("Base.Rainboots");
    elseif metal == 68 then
        player:getInventory():AddItem("Base.Needle");
    elseif metal == 67 then
        player:getInventory():AddItem("Base.CDplayer");
    elseif metal == 66 then
        player:getInventory():AddItem("Base.JarLid");
    elseif metal == 65 then
        player:getInventory():AddItem("Hydrocraft.HCDustpan");
    elseif metal == 64 then
        player:getInventory():AddItem("Hydrocraft.HCBinderclip");
    elseif metal == 63 then
        player:getInventory():AddItem("Hydrocraft.HCFolder");
    elseif metal == 62 then
        player:getInventory():AddItem("Hydrocraft.HCThumbtack");
    elseif metal == 61 then
        player:getInventory():AddItem("Hydrocraft.HCFilmcanister");
    elseif metal == 60 then    
        player:getInventory():AddItem("Hydrocraft.HCRubberhose");
    elseif metal == 59 then
        player:getInventory():AddItem("Hydrocraft.HCWeldinghose");
    elseif metal == 58 then
        player:getInventory():AddItem("Hydrocraft.HCBungeecord");
    elseif metal == 57 then
        player:getInventory():AddItem("Hydrocraft.HCBandanna");
    elseif metal == 56 then
        player:getInventory():AddItem("Hydrocraft.HCSewingpin");
    elseif metal == 55 then
        player:getInventory():AddItem("Hydrocraft.HCSafetypin");
    elseif metal == 54 then
        player:getInventory():AddItem("Hydrocraft.HCBathtoweldirty");
    elseif metal == 53 then
        player:getInventory():AddItem("Hydrocraft.HCClothespin");
    elseif metal == 52 then    
        player:getInventory():AddItem("Hydrocraft.HCWoodhanger");
    elseif metal == 51 then
        player:getInventory():AddItem("Hydrocraft.HCWirehanger");
    elseif metal == 50 then
        player:getInventory():AddItem("Hydrocraft.HCPlastichanger");
    elseif metal == 49 then
        player:getInventory():AddItem("Base.Headphones");
    elseif metal == 48 then
        player:getInventory():AddItem("Hydrocraft.HCBookcover");
    elseif metal == 47 then
        player:getInventory():AddItem("Hydrocraft.HCRazorblade");
    elseif metal == 46 then
        player:getInventory():AddItem("Hydrocraft.HCTampon");
    elseif metal == 45 then
        player:getInventory():AddItem("Hydrocraft.HCMenstrualpadDirty");
    elseif metal == 44 then
        player:getInventory():AddItem("Hydrocraft.HCDiaperDirty");
    elseif metal == 43 then
        player:getInventory():AddItem("Hydrocraft.HCDeodorantspray");
    elseif metal == 42 then    
        player:getInventory():AddItem("Hydrocraft.HCDeodorantstick");
    elseif metal == 41 then
        player:getInventory():AddItem("Hydrocraft.HCChapstick");
    elseif metal == 40 then
        player:getInventory():AddItem("Hydrocraft.HCWashclothwet");
    elseif metal == 39 then
        player:getInventory():AddItem("Hydrocraft.HCQtip");
    elseif metal == 38 then
        player:getInventory():AddItem("Hydrocraft.HCHairdryer");
    elseif metal == 37 then
        player:getInventory():AddItem("Hydrocraft.HCHubcap");
    elseif metal == 36 then
        player:getInventory():AddItem("Hydrocraft.HCSparkplug");
    elseif metal == 35 then
        player:getInventory():AddItem("Hydrocraft.HCAirfreshener");
    elseif metal == 34 then
        player:getInventory():AddItem("Hydrocraft.HCBatterylargedead");
    elseif metal == 33 then
        player:getInventory():AddItem("Hydrocraft.HCBatterymediumdead");
    elseif metal == 32 then
        player:getInventory():AddItem("Hydrocraft.HCBatteryempty");
    elseif metal == 31 then
        player:getInventory():AddItem("Hydrocraft.HCBatterysmalldead");
    elseif metal == 30 then
        player:getInventory():AddItem("Base.VideoGame");
    elseif metal == 29 then
        player:getInventory():AddItem("Base.KitchenKnife");
    elseif metal == 28 then
        player:getInventory():AddItem("Base.Hairspray");
    elseif metal == 27 then
        player:getInventory():AddItem("Base.CordlessPhone");
    elseif metal == 26 then
        player:getInventory():AddItem("Base.Hammer");
    elseif metal == 25 then
        player:getInventory():AddItem("Base.Aluminum");
    elseif metal == 24 then
        player:getInventory():AddItem("Base.Screws");
    elseif metal == 23 then
        player:getInventory():AddItem("Base.LetterOpener");
    elseif metal == 22 then
        player:getInventory():AddItem("Base.Sparklers");
    elseif metal == 21 then
        player:getInventory():AddItem("Base.Tissue");
    elseif metal == 20 then
        player:getInventory():AddItem("Base.ScrapMetal");
    elseif metal == 19 then
        player:getInventory():AddItem("Base.RubberBand");
    elseif metal == 18 then
        player:getInventory():AddItem("Base.ToyCar");
    elseif metal == 17 then
        player:getInventory():AddItem("Base.WeddingRing_Woman");
    elseif metal == 16 then
        player:getInventory():AddItem("Base.Coldpack");
    elseif metal == 15 then
        player:getInventory():AddItem("Base.Paperclip");
    elseif metal == 14 then
        player:getInventory():AddItem("Base.EmptySandbag");
    elseif metal == 13 then
        player:getInventory():AddItem("Base.BathTowelWet");
    elseif metal == 12 then
        player:getInventory():AddItem("Base.Fork");
    elseif metal == 11 then
        player:getInventory():AddItem("Base.TentPeg");
    elseif metal == 10 then
        player:getInventory():AddItem("Base.Spoon");
    elseif metal == 9 then
        player:getInventory():AddItem("Base.Button");
    elseif metal == 8 then
        player:getInventory():AddItem("Base.Newspaper");
    elseif metal == 7 then
        player:getInventory():AddItem("Hydrocraft.HCSyringeempty");
    elseif metal == 6 then
        player:getInventory():AddItem("Base.WhiskeyEmpty");
    elseif metal == 5 then
        player:getInventory():AddItem("Base.ElectronicsScrap");
    elseif metal == 4 then
        player:getInventory():AddItem("Base.Wire");
    elseif metal == 3 then
        player:getInventory():AddItem("Base.RippedSheetsDirty");
    elseif metal == 2 then
        player:getInventory():AddItem("Base.LightBulb");
    elseif metal == 1 then
        player:getInventory():AddItem("Base.SheetPaper");
    elseif metal == 0 then
        player:getInventory():AddItem("Base.Wire");
    end
end

function hcjunksearchmedium(items, result, player)
    local metal = ZombRand(25);
    
    if metal == 24 then
        player:getInventory():AddItem("Hydrocraft.HCTire");
    elseif metal == 23 then
        player:getInventory():AddItem("Hydrocraft.HCChain");
    elseif metal == 22 then
        player:getInventory():AddItem("Hydrocraft.HCDynamo");
    elseif metal == 21 then
        player:getInventory():AddItem("Hydrocraft.HCChickenwire");
    elseif metal == 20 then
        player:getInventory():AddItem("Base.Pipe");
    elseif metal == 19 then
        player:getInventory():AddItem("Hydrocraft.HCBubblewrap");
    elseif metal == 18 then
        player:getInventory():AddItem("Base.Speaker");
    elseif metal == 17 then
        player:getInventory():AddItem("Base.Kettle");
    elseif metal == 16 then
        player:getInventory():AddItem("Hydrocraft.HCMetalbox");
    elseif metal == 15 then
        player:getInventory():AddItem("Hydrocraft.UmbrellaClosed");
    elseif metal == 14 then
        player:getInventory():AddItem("Hydrocraft.HCCooler");
    elseif metal == 13 then
        player:getInventory():AddItem("Hydrocraft.HCMag");
    elseif metal == 12 then
        player:getInventory():AddItem("Base.Pot");
    elseif metal == 11 then
        player:getInventory():AddItem("Base.BakingPan");
    elseif metal == 10 then
        player:getInventory():AddItem("Hydrocraft.HCPowercord");
    elseif metal == 9 then
        player:getInventory():AddItem("Hydrocraft.HCTennisracket");
    elseif metal == 8 then
        player:getInventory():AddItem("Hydrocraft.HCJuicer2");
    elseif metal == 7 then
        player:getInventory():AddItem("Hydrocraft.HCToaster");
    elseif metal == 6 then
        player:getInventory():AddItem("Hydrocraft.HCBlenderdead");
    elseif metal == 5 then
        player:getInventory():AddItem("Hydrocraft.HCRicecookerdead");
    elseif metal == 4 then
        player:getInventory():AddItem("Hydrocraft.HCXmaslights");
    elseif metal == 3 then
        player:getInventory():AddItem("Hydrocraft.HCPlasticbin");
    elseif metal == 2 then
        player:getInventory():AddItem("Hydrocraft.HCPlasticbin2");
    elseif metal == 1 then
        player:getInventory():AddItem("Hydrocraft.HCRaccoonfemale");
    elseif metal == 0 then
        player:getInventory():AddItem("Hydrocraft.HCRaccoonmale");
    end
end


function hcjunksearchlarge(items, result, player)
    local metal = ZombRand(25);
    
    if metal == 24 then
        player:getInventory():AddItem("Hydrocraft.HCBarrelblueempty");
    elseif metal == 23 then    
        player:getInventory():AddItem("Hydrocraft.HCSteelbeam");
    elseif metal == 22 then
        player:getInventory():AddItem("Hydrocraft.HCRaftrubber");
    elseif metal == 21 then
        player:getInventory():AddItem("Hydrocraft.HCJunkmicro");
    elseif metal == 20 then
        player:getInventory():AddItem("Hydrocraft.HCSteelpipe");
    elseif metal == 19 then
        player:getInventory():AddItem("Base.SheetMetal");
    elseif metal == 18 then
        player:getInventory():AddItem("Hydrocraft.HCLargesheetmetal");
    elseif metal == 17 then
        player:getInventory():AddItem("Hydrocraft.HCBarrelmetalempty");
    elseif metal == 16 then
        player:getInventory():AddItem("Hydrocraft.HCJunkbicycle");
    elseif metal == 15 then
        player:getInventory():AddItem("Hydrocraft.HCSteelsheet");
    elseif metal == 14 then
        player:getInventory():AddItem("Hydrocraft.HCSteelsheetlarge");
    elseif metal == 13 then
        player:getInventory():AddItem("Hydrocraft.HCJunkmicro");
    elseif metal == 12 then
        player:getInventory():AddItem("Hydrocraft.HCFishtank");
    elseif metal == 11 then
        player:getInventory():AddItem("Hydrocraft.HCVacuum");
    elseif metal == 10 then
        player:getInventory():AddItem("Hydrocraft.HCVac");
    elseif metal == 9 then
        player:getInventory():AddItem("Hydrocraft.HCShopvac");
    elseif metal == 8 then
        player:getInventory():AddItem("Hydrocraft.HCPrinter");
    elseif metal == 7 then
        player:getInventory():AddItem("Hydrocraft.HCComputermonitor");
    elseif metal == 6 then
        player:getInventory():AddItem("Hydrocraft.HCFaxmachine");
    elseif metal == 5 then
        player:getInventory():AddItem("Hydrocraft.HCScaner");
    elseif metal == 4 then
        player:getInventory():AddItem("Hydrocraft.HCShoppingcart");
    elseif metal == 3 then
        player:getInventory():AddItem("Hydrocraft.HCToywagon");
    elseif metal == 2 then
        player:getInventory():AddItem("Hydrocraft.HCIcechest");
    elseif metal == 1 then
        player:getInventory():AddItem("Hydrocraft.HCPropanetankempty");
    elseif metal == 0 then
        player:getInventory():AddItem("Base.EmptyPetrolCan");
    end
end

function hcjunksearchmagnet(items, result, player)
    local metal = ZombRand(7);
    
    if metal == 6 then
        player:getInventory():AddItem("Hydrocraft.HCJunkdryer");
    elseif metal == 5 then
        player:getInventory():AddItem("Hydrocraft.HCJunktv");
    elseif metal == 4 then
        player:getInventory():AddItem("Hydrocraft.HCJunkfridge");    
    elseif metal == 3 then
        player:getInventory():AddItem("Hydrocraft.HCJunktredmill");
    elseif metal == 2 then
        player:getInventory():AddItem("Hydrocraft.HCJunkwash");
    elseif metal == 1 then
        player:getInventory():AddItem("Hydrocraft.HCJunkbicycle");
    elseif metal == 0 then
        player:getInventory():AddItem("Hydrocraft.HCBarrelmetalempty");
    end
    
    local inv = player:getInventory();
    inv:AddItem("Hydrocraft.HCBatteryhugedead");

end

-- Randomize findings for scavange.
function hcmetalsearch(items, result, player)
    local metal = ZombRand(101);

    if metal == 100 then
            player:getInventory():AddItem("Hydrocraft.HCPaintcan");
    elseif metal == 99 then    
            player:getInventory():AddItem("Base.Lighter");
    elseif metal == 98 then
            player:getInventory():AddItem("Base.Torch");
    elseif metal == 97 then
            player:getInventory():AddItem("Base.CDplayer");
    elseif metal == 96 then
            player:getInventory():AddItem("Base.DigitalWatch");
    elseif metal == 95 then
            player:getInventory():AddItem("Base.VideoGame");
    elseif metal == 94 then
            player:getInventory():AddItem("Hydrocraft.HCIronore");
    elseif metal == 93 then
            player:getInventory():AddItem("Hydrocraft.HCMeteorite");
    elseif metal == 92 then
            player:getInventory():AddItem("Hydrocraft.HCMagnetite");
    elseif metal == 91 then
            player:getInventory():AddItem("Base.ElectronicsScrap");
    elseif metal == 90 then
            player:getInventory():AddItem("Hydrocraft.HCChain");
    elseif metal == 89 then
        player:getInventory():AddItem("Hydrocraft.HCMeatcleaver");
    elseif metal == 88 then
        player:getInventory():AddItem("Base.Battery");
    elseif metal == 87 then
        player:getInventory():AddItem("Hydrocraft.HCBattery9volt");
    elseif metal == 86 then
        player:getInventory():AddItem("Hydrocraft.HCBatteryhuge");
    elseif metal == 85 then
        player:getInventory():AddItem("Hydrocraft.HCBatterylarge");
    elseif metal == 84 then
        player:getInventory():AddItem("Hydrocraft.HCBatterymedium");
    elseif metal == 83 then
        player:getInventory():AddItem("Hydrocraft.HCBatterysmall");
    elseif metal == 82 then
        player:getInventory():AddItem("Hydrocraft.HCCalculator");
    elseif metal == 81 then
        player:getInventory():AddItem("Hydrocraft.HCBoxcutter");
    elseif metal == 80 then
        player:getInventory():AddItem("Base.BlowTorch");
    elseif metal == 79 then
        player:getInventory():AddItem("Hydrocraft.HCWeldingmask");
    elseif metal == 78 then
        player:getInventory():AddItem("Hydrocraft.HCWeldingtank");
    elseif metal == 77 then
        player:getInventory():AddItem("Hydrocraft.HCFuelcanister");
    elseif metal == 76 then
        player:getInventory():AddItem("Hydrocraft.HCPickaxe");
    elseif metal == 75 then
        player:getInventory():AddItem("Hydrocraft.HCNailgunammo");
    elseif metal == 74 then
        player:getInventory():AddItem("Hydrocraft.HCPortableminingmachine");
    elseif metal == 73 then
        player:getInventory():AddItem("Hydrocraft.HCDrillhead");
    elseif metal == 72 then
        player:getInventory():AddItem("Hydrocraft.HCDogwhistle");
    elseif metal == 71 then    
        player:getInventory():AddItem("Base.Sledgehammer");
    elseif metal == 70 then
        player:getInventory():AddItem("Base.Padlock");
    elseif metal == 69 then
        player:getInventory():AddItem("Base.JarLid");
    elseif metal == 68 then
        player:getInventory():AddItem("Hydrocraft.UmbrellaClosed");
    elseif metal == 67 then
        player:getInventory():AddItem("Hydrocraft.HCChickenwire");
    elseif metal == 66 then
        player:getInventory():AddItem("Hydrocraft.HCTincan");
    elseif metal == 65 then
        player:getInventory():AddItem("Hydrocraft.HCShears");
    elseif metal == 64 then
        player:getInventory():AddItem("Hydrocraft.HCDustpan");
    elseif metal == 63 then
        player:getInventory():AddItem("Hydrocraft.HCCopperpipe");
    elseif metal == 62 then
        player:getInventory():AddItem("Hydrocraft.HCSteelpipe");
    elseif metal == 61 then    
        player:getInventory():AddItem("Hydrocraft.HCCombatknife");
    elseif metal == 60 then
        player:getInventory():AddItem("Hydrocraft.HCMachete");
    elseif metal == 59 then
        player:getInventory():AddItem("Hydrocraft.HCSurvivalaxe");
    elseif metal == 58 then
        player:getInventory():AddItem("Hydrocraft.HCMetalbox");
    elseif metal == 57 then
        player:getInventory():AddItem("Hydrocraft.HCLunchbox");
    elseif metal == 56 then
        player:getInventory():AddItem("Hydrocraft.HCMedicalbox");
    elseif metal == 55 then
        player:getInventory():AddItem("Hydrocraft.HCWirehanger");
    elseif metal == 54 then
        player:getInventory():AddItem("Hydrocraft.HCHarmonica");
    elseif metal == 53 then
        player:getInventory():AddItem("Hydrocraft.HCMonkeywrench");
    elseif metal == 52 then
        player:getInventory():AddItem("Hydrocraft.HCAuger");
    elseif metal == 51 then
        player:getInventory():AddItem("Hydrocraft.HCColander");
    elseif metal == 50 then    
        player:getInventory():AddItem("Hydrocraft.HCBottleopener");
    elseif metal == 49 then
        player:getInventory():AddItem("Hydrocraft.HCHedgetrimmer");
    elseif metal == 48 then    
        player:getInventory():AddItem("Hydrocraft.HCRake");
    elseif metal == 47 then        
        player:getInventory():AddItem("Hydrocraft.HCToolbox");
    elseif metal == 46 then        
        player:getInventory():AddItem("Hydrocraft.HCJackknife");
    elseif metal == 45 then        
        player:getInventory():AddItem("Hydrocraft.HCTireiron");
    elseif metal == 44 then        
        player:getInventory():AddItem("Hydrocraft.HCTennisracket");
    elseif metal == 43 then        
        player:getInventory():AddItem("Hydrocraft.HCAluminiumbat");
    elseif metal == 42 then        
        player:getInventory():AddItem("Hydrocraft.HCPliers");
    elseif metal == 41 then        
        player:getInventory():AddItem("Hydrocraft.HCTongs");
    elseif metal == 40 then            
        player:getInventory():AddItem("Hydrocraft.HCBatterysmalldead");
    elseif metal == 39 then        
        player:getInventory():AddItem("Hydrocraft.HCBatterymediumdead");
    elseif metal == 38 then        
        player:getInventory():AddItem("Hydrocraft.HCBatterylargedead");
    elseif metal == 37 then        
        player:getInventory():AddItem("Hydrocraft.HCBarrelmetalempty");
    elseif metal == 36 then        
        player:getInventory():AddItem("Hydrocraft.HCBrokenmicro");
    elseif metal == 35 then    
        player:getInventory():AddItem("Hydrocraft.HCJunkbicycle");
    elseif metal == 34 then    
        player:getInventory():AddItem("Hydrocraft.HCCablecopper");
    elseif metal == 33 then    
        player:getInventory():AddItem("Hydrocraft.HCWrench");
    elseif metal == 32 then    
        player:getInventory():AddItem("Base.Scissors");
    elseif metal == 31 then    
        player:getInventory():AddItem("Base.Axe");
    elseif metal == 30 then    
        player:getInventory():AddItem("Base.Golfclub");
    elseif metal == 29 then    
        player:getInventory():AddItem("Base.Crowbar");
    elseif metal == 28 then    
        player:getInventory():AddItem("Base.Tweezers");
    elseif metal == 27 then    
        player:getInventory():AddItem("farming.Shovel");
    elseif metal == 26 then    
         player:getInventory():AddItem("farming.HandShovel");
    elseif metal == 25 then
        player:getInventory():AddItem("farming.WateredCan");
    elseif metal == 24 then
        player:getInventory():AddItem("farming.GardeningSprayEmpty");         
    elseif metal == 23 then
        player:getInventory():AddItem("Base.HuntingKnife");
    elseif metal == 22 then
        player:getInventory():AddItem("Base.SheetMetal");
    elseif metal == 21 then
        player:getInventory():AddItem("Base.Pipe");
    elseif metal == 20 then
        player:getInventory():AddItem("Base.Earrings");
    elseif metal == 19 then
        player:getInventory():AddItem("Base.Ring");
    elseif metal == 18 then
        player:getInventory():AddItem("Base.WeddingRing_Man");
    elseif metal == 17 then
        player:getInventory():AddItem("Base.WeddingRing_Woman");
    elseif metal == 16 then
        player:getInventory():AddItem("Base.Extinguisher");
    elseif metal == 15 then
        player:getInventory():AddItem("Base.Doorknob");
    elseif metal == 14 then
        player:getInventory():AddItem("Base.Hinge");
    elseif metal == 13 then
        player:getInventory():AddItem("Base.Saw");
    elseif metal == 12 then
        player:getInventory():AddItem("Base.Hammer");
    elseif metal == 11 then
        player:getInventory():AddItem("Base.Screwdriver");
    elseif metal == 10 then
        player:getInventory():AddItem("Base.308Bullets");
    elseif metal == 9 then
        player:getInventory():AddItem("Base.223Bullets");
    elseif metal == 8 then
        player:getInventory():AddItem("Base.ShotgunShells");
    elseif metal == 7 then
        player:getInventory():AddItem("Base.Bullets9mm");
    elseif metal == 6 then
        player:getInventory():AddItem("Base.CombinationPadlock");
    elseif metal == 5 then
        player:getInventory():AddItem("Base.Needle");
    elseif metal == 4 then
        player:getInventory():AddItem("Base.Wire");
    elseif metal == 3 then
        player:getInventory():AddItem("Base.BarbedWire");
    elseif metal == 2 then
        player:getInventory():AddItem("Base.Screws");
    elseif metal == 1 then
        player:getInventory():AddItem("Base.Nails");
    elseif metal == 0 then
        player:getInventory():AddItem("Base.Paperclip");
    end
end

 

Hi, this could be a very newbie question but I can't seem to find Junkyardextra.lua in my Zomboid folder ... 

Could you give me the directory address for such file? When I looked into each folder, workshop folder in Users --> zomboid ,  all I saw was a example mods.. not hydrocraft... 

Share this post


Link to post
Share on other sites

 

 

You must look under Programms//Steam/Steamapps/Workshop/Content/Folder with Number/ Folder with Hydrocraft Mod/Media/Lua/Server

 

Or User/User PC/Zomboid/Mods

 

Or just Download the Mod again and make a Copy on your Desktop ;)

 

(On this way i can fast look a few Recipes in the Script Folder or Spawnpoints for Items in HCloading.lua At least i have changed a few textures for my personal use ;) )

 

 

Edited by Cyrrent Eiledoll

Share this post


Link to post
Share on other sites
Just now, Cyrrent Eiledoll said:

 

 

You must look under Programms//Steam/Steamapps/Workshop/Content/Folder with Number/ Folder with Hydrocraft Mod/Media/Lua/Server

 

Or User/User PC/Zomboid/Mods

 

 

 found it under "folder with number" xD thanks ^^ you were great help

Share this post


Link to post
Share on other sites
1 hour ago, _Goiano_ said:

Hey Hydro,

 

The Biogas is not working :?.

 

You need to pick it up near the end. Otherwise it will end up like all other drinkable items placed on the floor. Such as empty charcoal bags.

Share this post


Link to post
Share on other sites

Item List pages updated to 6.2:

Link to New Items

Link to New Recipies / Crafts

 

@Hydromancerx I dont see anymore problems with the poison or anything else, thanks. but for the last thing can you change the credits from nolanri to just "www.AggressiveGaming.org" or "Aggressive Gaming" or "Nolan @ AggressiveGaming.org" if you want a spesific name to be mentioned. thanks

 

Share this post


Link to post
Share on other sites

Hi there, is there a way to modify the time I can spend mining before my guy gets the massive penalty from getting tired? shouldn't a decently fed human being be able to work mining for at least 4 to 6 hours before feeling the need to fall unconscious? especially after you upgrade it and you have a pulley system aiding you :-/

 

Please and thanks!

Share this post


Link to post
Share on other sites
16 hours ago, a.bashinskiy@yahoo.com said:

Anyone know the best Melee weapon to use in the game? I have Steel Bastard sword (after a few months I finally got the furnaces and tools necessary to even make this). It seems the amount of work I put in to get it and it seems like its even worse than the fire axe. 

It's usually best to start with the knife or any 1 stab hit weapon since it lets you level up that skill fast. After that go with whatever sharp blade works for you.

 

I seem to recall seeing something about spears working like the knives, only you could 1 hit zeds from farther away but it could've been some of the newer updated stuff that's coming in vanilla. 

 

Hi there, is there a way to modify the time I can spend mining before my guy gets the massive penalty from getting tired? shouldn't a decently fed human being be able to work mining for at least 4 to 6 hours before feeling the need to fall unconscious? especially after you upgrade it and you have a pulley system aiding you :-/

 

Please and thanks!

What tools are you using? if you mine with the drill it should go a lot faster. 

Edited by asval

Share this post


Link to post
Share on other sites
8 minutes ago, a.bashinskiy@yahoo.com said:

Why is there no way to get the chain? You can't make a flail without the chain. 

I think you have to find the chain while you're looting or through the medium junkyard. 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...