Jump to content

I don't get jars back when I cook.


Wittusus

Recommended Posts

No you don't.

 

Recipes can only give you ONE item as a product of all the stuff you put in.

 

That's why you don't get the jars back when you cook eggs. Drink is slightly different, because making boiled water, goldenrod tea or red tea puts the liquid in a jar, and you get the jar back when you drink it.

Link to comment
Share on other sites

only way would be to edit the the xml of both the boiled egg and boiled meat, in the items.xml

 

make an image of the jar of water with egg/meat in it, and then when thats consumed leaves an empty jar

 

 

mmmm ill see if i can do it

 

yep, easy done, i created a new icon for my custom icon folder, edited the boiled egg and boiled meat items.xml to point towards my icon,

 

interestingly there was already a ghosted "<property name="Create_item" value="emptyJar"/>" there, so unghosted it

 

now when i eat a boiled egg/meat, it leaves an empty jar, and as its a jar with water in aswell as the egg/meat, i made the "Gain_water" to 10

 

ill do the same for the boiled meat perhaps

 

as ive edited an xml, itll flare up as a "cheat" with EAC, so i made a small script to copy either my modified xmls of items/recipes/blocks to the main folder or the vanilla versions

 

zYAuuII.png.5b79652d9c460219b4434dbc0621eedf.png

 

or even better, i could make it so it leaves a jar of boiled water, which you drink after

 

yes thats what ill do

 

and done

 

edited the gain water back to 0 on the meat/egg as it leaves jar boiled water

 

also changed the icons, slanted angle for both

 

2ICMs4M.png.42336bc50b062d21ae41fc8c4082a031.png

 

 

 

[video=youtube;pHo-B2FlP7c]

 

unfortunatley, this wont help you, so sorry about that, its just you gave me an idea and wanted to see if i could do it

 

unless you know what your doing in changing/replacing files in the install folder

 

and now that ive kind of worked it out, im going to make some more custom foods

 

any for bacon egg and chips?

 

some nice pies?

 

cornish pastie ? (if from the uk you'd know what that is)

 

popcorn?

 

ive got a few ideas

Link to comment
Share on other sites

only way would be to edit the the xml of both the boiled egg and boiled meat, in the items.xml

 

make an image of the jar of water with egg/meat in it, and then when thats consumed leaves an empty jar

 

 

mmmm ill see if i can do it

 

yep, easy done, i created a new icon for my custom icon folder, edited the boiled egg and boiled meat items.xml to point towards my icon,

 

interestingly there was already a ghosted "<property name="Create_item" value="emptyJar"/>" there, so unghosted it

 

now when i eat a boiled egg/meat, it leaves an empty jar, and as its a jar with water in aswell as the egg/meat, i made the "Gain_water" to 10

 

ill do the same for the boiled meat perhaps

 

as ive edited an xml, itll flare up as a "cheat" with EAC, so i made a small script to copy either my modified xmls of items/recipes/blocks to the main folder or the vanilla versions

 

[ATTACH=CONFIG]24696[/ATTACH]

 

or even better, i could make it so it leaves a jar of boiled water, which you drink after

 

yes thats what ill do

 

and done

 

edited the gain water back to 0 on the meat/egg as it leaves jar boiled water

 

also changed the icons, slanted angle for both

 

[ATTACH=CONFIG]24697[/ATTACH]

 

 

 

[video=youtube;pHo-B2FlP7c]

 

Can you give me images without numbers? Thanks in andvance.

Link to comment
Share on other sites

There are a couple ways to get sand or glass from wood or small stones, involving crafting, placing, and harvesting. You would still need a forge and clay to make jars.

 

thats not what the op was asking

 

he was saying as it takes a jar of water and raw egg to make boiled egg/meat where does the jar of water go, when its cooked?

 

what i did is kind of combine them both, and still having the "leave item" intact but change to jar of water

Link to comment
Share on other sites

  • 3 months later...

You could circumvent all of this if you had a reservoir of liquid (probably one, maybe way to add oil or whatever). Put any number of glass jars worth of water into the reservoir, you get mason jars back. Then water is taken from the reservoir instead of using up an item.

Link to comment
Share on other sites

Easy work around as i said before, think of it in a reverse way as in, make it so when eating boiled meat or boiled eggs it gives you a jar of drinkable water

 

Have a look at this i made

 

I thought a visual instruction would help more than just trying to explain in words

 

Ly5hFsgt.png

 

Icons here if needed

 

HERE

 

 

 

mod info to save

 

 

 

<?xml version="1.0" encoding="UTF-8" ?>

<xml>

<ModInfo>

<Name value="Datas Icons" />

<Description value="Custom item icons" />

<Author value="Mat 'Data'" />

<Version value="1" />

<Website value="http://7daystodie.com/forums/" />

</ModInfo>

</xml>

 

 

 

eggs

 

 

<item id="753" name="eggboiled">

<property name="CustomIcon" value="EGGbottledWater"/>

<property name="Meshfile" value="Items/Food/eggPrefab"/>

<property name="Material" value="organic"/>

<property name="HoldType" value="23"/>

<property name="Stacknumber" value="50"/> <!-- STK food -->

<property name="EconomicValue" value="30"/>

<property class="Action1">

<property name="Class" value="Eat"/>

<property name="Delay" value="2.0"/>

<property name="Use_time" value="..."/>

<property name="Gain_health" value="0"/>

<property name="Gain_food" value="4"/>

<property name="Buff" value="eatFood_3_Trigger"/>

<property name="Gain_water" value="0"/>

<property name="Gain_stamina" value="0"/>

<property name="Gain_wellness" value="0.32"/>

<property name="Sound_start" value="player_eating"/>

<property name="Create_item" value="bottledWater"/>

</property>

<property name="Group" value="Food/Cooking"/>

</item>

 

 

 

meat

 

 

 

<item id="739" name="boiledMeat">

<property name="CustomIcon" value="MEATbottledWater"/>

<property name="Meshfile" value="Items/Misc/parcelPrefab"/>

<property name="DropMeshfile" value="Items/Misc/sack_droppedPrefab"/>

<property name="HoldType" value="31"/>

<property name="Material" value="organic"/>

<property name="Stacknumber" value="50"/> <!-- STK food -->

<property name="EconomicValue" value="52"/>

<property class="Action1">

<property name="Class" value="Eat"/>

<property name="Delay" value="2.1"/>

<property name="Use_time" value="..."/>

<property name="Gain_health" value="0"/>

<property name="Gain_food" value="12"/>

<property name="Buff" value="eatFood_9_Trigger"/>

<property name="Gain_water" value="0"/>

<property name="Gain_wellness" value="0.675"/>

<property name="Sound_start" value="player_eating"/>

<property name="Create_item" value="bottledWater"/>

</property>

<property name="Smell" value="smallSmell"/>

<property name="Group" value="Food/Cooking"/>

</item>

 

 

This should help, just ask if any issues

 

best easy free text editor is notepad++ HERE

Link to comment
Share on other sites

That is a better way than I use to do it. Don't know why I thought getting back an empty jar was correct. If you bolled egg or meat in a jar of water you should still have the water too when you ate the egg or meat. Will have to remember that next time.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...