Jump to content

smallwaterbottle object is empty

Closed 1.0.4 1.0.5

When setting

      "smallwaterbottle": {
        "probability": 21,
        "maxStack": 1,
        "minStack": 1,
        "blueprintChancePercent": 0,
        "skins": []

I do get a Small Water Bottle in the foodbox, however it is empty.

I suspect the object to inject is more complex and need to provide the quantity of liquid that is to be put inside.

Found this info the the Oxide forum if it helps...

private Item BuildItem(int itemid, int amount, ulong skin) { if (amount < 1) amount = 1; Item item = ItemManager.CreateByItemID(itemid, amount, skin); if (itemid == 927253046) // water bottle item.contents.AddItem(ItemManager.FindItemDefinition(112903447), 250); if (itemid == 547302405) // water jug item.contents.AddItem(ItemManager.FindItemDefinition(112903447), 500); return item; }


Share this comment

Link to comment


Thanks for the info. I've actually added this to CustomLoot already so it'll be in the next update.
I've added a config option per container type for water fill percentage.

  • Love 1

Share this comment

Link to comment


Total number of downloads.



Total customers served.


Files Sold

Total number of files sold.


Payments Processed

Total payments processed.

  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.