Jump to content

Recommended Posts

Posted

Feature Idea... Alternate Slot Auto Breastfeeding

 

Put the Baby in the Alternate Slot, and it strips off all top clothing when it's hungry, and starts Breastfeeding.

 

Not Realistic, but fun...

Posted (edited)
On 5/25/2026 at 8:43 AM, IcepersonYT said:

Any chance we can get some sandbox options to tweak the spawn rate of the mod items? I find them in basically every medicine cabinet and drawer and it's a bit overwhelming.

 

If you're desperate, you can edit 'ZomboLust.Being.Female-1.12.1\42\media\lua\server\ZLBFDistributions.lua' with your notepad editor of choice.

 

In lines 16-38 you can find and edit which game containers are included as possible target locations for the new items globally. These are being grouped in the code here for easier referencing later in the code. Removing entries from these groups will eliminate the possibility of that specific game container ever getting the new ZLBF items, but it's a heavy-handed way to reduce your encounters with the items.

local TABLE_GROUPS = {
    bathroom = {"BathroomCabinet", "BathroomCounter", "BathroomShelf"},
    bedroomSideTables = {"BedroomSidetable", "BedroomSidetableClassy", "BedroomSidetableRedneck"},
    bedroomDressers = {"BedroomDresser", "BedroomDresserClassy", "BedroomDresserRedneck"},
    hospital = {"HospitalRoomCounter", "HospitalRoomShelves", "MedicalClinicDrugs"},
    hospitalRoom = {"HospitalRoomCounter", "HospitalRoomShelves"},
    store = {"GigamartHousewares"},
    trashBins = {
        "BinBar",
        "BinBathroom",
        "BinCrepe",
        "BinDumpster",
        "BinFireStation",
        "BinGeneric",
        "BinHospital",
        "BinJays",
        "BinSpiffos",
        "SafehouseBin",
        "SafehouseBin_Mid",
        "SafehouseBin_Late"
    },
    drugLocations = {"DrugShackDrugs", "DerelictHouseDrugs"}
}

 

Instead, I would recommend simply adjusting the perecentage chance for individual items to populate to those container groups. You'll find these in lines 48-87. Changes to 'chance = x' will raise or lower the chance of that item spawning for that aforementioned container group.

local ____array_2 = __TS__SparseArrayNew({tableNames = TABLE_GROUPS.bathroom, items = {
    {itemType = "ZLBF.Contraceptive", chance = 21},
    {itemType = "ZLBF.Lactaid", chance = 14},
    {itemType = "ZLBF.Condom", chance = 28},
    {itemType = "ZLBF.CondomBox", chance = 26},
    {itemType = "ZLBF.VaginalDouche", chance = 10}
}}, {tableNames = TABLE_GROUPS.bedroomSideTables, items = {{itemType = "ZLBF.Contraceptive", chance = 14}, {itemType = "ZLBF.Lactaid", chance = 7}}})
local ____array_0 = __TS__SparseArrayNew(__TS__Unpack(TABLE_GROUPS.bedroomDressers))
__TS__SparseArrayPush(
    ____array_0,
    __TS__Unpack(TABLE_GROUPS.bedroomSideTables)
)
__TS__SparseArrayPush(
    ____array_2,
    {
        tableNames = {__TS__SparseArraySpread(____array_0)},
        items = {{itemType = "ZLBF.Condom", chance = 28}, {itemType = "ZLBF.CondomBox", chance = 14}}
    }
)
local ____array_1 = __TS__SparseArrayNew(__TS__Unpack(TABLE_GROUPS.bedroomSideTables))
__TS__SparseArrayPush(____array_1, "BedroomDresserChild")
__TS__SparseArrayPush(
    ____array_2,
    {
        tableNames = {__TS__SparseArraySpread(____array_1)},
        items = {{itemType = "ZLBF.BreastPump", chance = 14}}
    },
    {tableNames = TABLE_GROUPS.hospital, items = {{itemType = "ZLBF.Contraceptive", chance = 21}, {itemType = "ZLBF.Lactaid", chance = 18}, {itemType = "ZLBF.Condom", chance = 18}}},
    {tableNames = TABLE_GROUPS.hospitalRoom, items = {{itemType = "ZLBF.CondomBox", chance = 14}, {itemType = "ZLBF.BreastPump", chance = 18}, {itemType = "ZLBF.VaginalDouche", chance = 14}}},
    {tableNames = TABLE_GROUPS.store, items = {
        {itemType = "ZLBF.Contraceptive", chance = 18},
        {itemType = "ZLBF.Lactaid", chance = 14},
        {itemType = "ZLBF.Condom", chance = 21},
        {itemType = "ZLBF.CondomBox", chance = 28},
        {itemType = "ZLBF.BreastPump", chance = 14},
        {itemType = "ZLBF.VaginalDouche", chance = 10}
    }},
    {tableNames = TABLE_GROUPS.trashBins, items = {{itemType = "ZLBF.CondomUsed", chance = 28}}},
    {tableNames = TABLE_GROUPS.drugLocations, items = {{itemType = "ZLBF.Contraceptive", chance = 10}, {itemType = "ZLBF.Lactaid", chance = 7}, {itemType = "ZLBF.Condom", chance = 18}}}
)
Edited by SlicedBread

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...