Apparently I misunderstood the way food/liquids are represented when held in containers.
For example this canned pineapple here…
"type" : "COMESTIBLE",
"id" : "can_pineapple",
"name" : "canned pineapple",
"weight" : 474,
"color" : "yellow",
"addiction_type" : "none",
"spoils_in" : 0,
"stim" : 0,
"container" : "can_food",
…has a can_food defined in “contaner”.
So I thought
- it needed a tile representing a labeled food can;
- when it’s activated it would produce an “opened can of canned pineapples” item.
- And if you’d pour the contents on the ground, it’d seperate into a can_food item and a (mythical) pineapple_slices item.
First testing revealed that almost any food/drink stored in a container uses default (empty) container tile, is titled "a of " and these constructions are not defined in json/items directly. As for items like can_pineapple - these are just contents of these containers.
So, you can imagine that to my dismay when I found a bar, picked up a glass bottle of tequila and emptied it on the floor, it produced… an actual bottle of tequila that I made.
Good thing it is relatively easy to redraw. Small puddles for liquids, chunks of edible matter for food.
[hr]
EDIT: Alcoholic beverages in question:
