Author Topic: Question about containers  (Read 368 times)

Offline Nitrotic

  • Zombie Food
  • *
  • Posts: 5
    • View Profile
Question about containers
« on: May 16, 2017, 09:54:10 AM »
Hi all.  I just have a quick question, and I'm sorry if it's been asked before, but what is the biggest container in the game?  I have an experiment I want to run.

Offline Solusphere

  • Survivor
  • ***
  • Posts: 310
    • View Profile
Re: Question about containers
« Reply #1 on: May 16, 2017, 10:09:35 AM »
In item form, I'm pretty sure it's the 200 liter steel drum. As far as I'm aware, the largest container in the game period is the constructable standing tank, with a capacity of 300 liters.

------------------------------------------------

Offline Nitrotic

  • Zombie Food
  • *
  • Posts: 5
    • View Profile
Re: Question about containers
« Reply #2 on: May 16, 2017, 01:54:26 PM »
Cool, thanks.  Quick follow up question, when using the debug menu, is it possible to specify WHAT a liquid is contained in, or does it always go for some sort of liquid-specific default?

Offline Szara

  • Zombie Food
  • *
  • Posts: 54
    • View Profile
Re: Question about containers
« Reply #3 on: May 18, 2017, 05:45:29 PM »
In my experience spawning liquids with the debug menu puts them in your inventory, but you can't load them into a container from there, and usually they then fall onto the ground.

But if you find a shallow/deep water square, you then have unlimited (salt)water to use for whatever purpose.
It's the end, the War has been lost,
Keeping them safe 'till the river's been crossed.
Not a battle, but a holding action!
Holding their ground to the final platoon,
Hurry Up! We're waiting for you!
Men of the 9th and civilians too.

Offline Azrad

  • Survivor
  • ***
  • Posts: 2184
    • View Profile
Re: Question about containers
« Reply #4 on: May 18, 2017, 07:26:25 PM »
In my experience spawning liquids with the debug menu puts them in your inventory, but you can't load them into a container from there, and usually they then fall onto the ground.

But if you find a shallow/deep water square, you then have unlimited (salt)water to use for whatever purpose.

You can have liquids spawn in a container via debug by pressing f in the wish for an item screen.

As I recall, they're usually contained in plastic bottles, but I'm not super sure on that.
Strawberry Surprise: it's a meal, drink, morale booster, painkiller, ethanol burner fuel, and coping mechanism in one gulp!

Offline wad67

  • Survivor
  • ***
  • Posts: 356
    • View Profile
Re: Question about containers
« Reply #5 on: May 19, 2017, 01:35:03 PM »
I think it may be item dependant, as spawning (contained) gasoline spawns it in a jerry can

Offline nick0010

  • Zombie Food
  • *
  • Posts: 46
    • View Profile
Re: Question about containers
« Reply #6 on: May 22, 2017, 04:47:08 PM »
It's item dependent. Items have a JSON value "container" which specifies the default container they would generate in. example:

Code: [Select]
        "type" : "COMESTIBLE",
        "id" : "oj",
        "name" : "orange juice",
        "weight" : 263,
        "color" : "yellow",
        "spoils_in" : 120,
        "container" : "bottle_plastic",  ********
        "comestible_type" : "DRINK",
        "symbol" : "~",
        "quench" : 35,
        "healthy" : 2,
        "nutrition" : 4,
        "description" : "Freshly-squeezed from real oranges!  Tasty and nutritious.",
        "price" : 90,
        "material" : "fruit",
        "volume" : 1,
        "phase" : "liquid",
        "flags" : ["EATEN_COLD"],
        "fun" : 3

Offline Nitrotic

  • Zombie Food
  • *
  • Posts: 5
    • View Profile
Re: Question about containers
« Reply #7 on: May 23, 2017, 01:05:43 AM »
Ah, thanks.  That was the answer I was looking for.  I guess I won't be making any 200L drums of mutagen for giggles then.