Sims4 Tutorial: Making Custom Food Vampire Friendly

When living as long as you do off blood, why wouldn't you come up with more creative ways of consuming? This tutorial will demonstrate what to change in your custom food to make it fit for vampires and make humans sick.

Pre-Requisites: You need to have the Add-On Vampires for Sims 4
Sims4 Studio
Basic Knowledge of Object tuning
How to clone and make a custom food item. (I like using the Foodchemistry one)
(optional) Custom Buffs

You can complete this step once you have all your servings set up. On the single serving, you will want to edit the Object Tuning of your food item. You want to find the line < u n="_components" > that comes after any utensil blocks.

This looks different between recipes, fyi. Everything I'm about to tell you to paste in goes AFTER this component line.

Copy and paste the code snippet after component line. Now let's break down what parts of this code mean.

The first yellow highlighted line is the stat this food affects, in this case Vampire Thirst instead of "hunger".  This stat number 149541 is going to be the THING that satisfies this need.

The next yellow line puts in the negative buff for non-vampire characters. Also important if you want to make sure that humans get wrecked trying to eat this stuff.

The last line is a positive buff for a vampire that they just had a delicious salad. This line can be removed or changed with your own buffs. Or replaced with a different one.

Now there's one little bit to change within the object tuning.


The placement of this is hard to explain. So this affects the rate of increase for Vampire thirst and whitelist the item for vampire characters.
There will be a list of "generic consume food (toddler, dog, cat, etc)"
Then you will see a long list of how the food affects each sub-set from gluttons, to cats and dogs that eat human food and toddlers. It will still affect hunger for these characters. But because of the negative buff above they will get sick.
You may also see "blacklist" for Plantsims which don't need to eat food at all.
Scroll past all these until you get to PetTraits_Actor_Whitelist_Glutton. Just after the last /V tag, paste in the code snippet.
However, some foods don't have this list so you may want to look for the consumption_turns tag and paste it before that. (These are the markers I look for.)

That is the bare bones on making food vampire friendly. You can adjust the other things about the recipe as normal.


Comments

Popular posts from this blog

Busy Busy and Art Exchange

Game Whining: Kingdom Hearts

August Begins