Skyrim Special Edition

Last Seed contains a number of keywords that have been injected into Update.esm, to allow for greater support for compatibility patches. These keywords can be used to add support for food items from other mods.

In order to integrate compatibility into your mod, there are a few steps you can do. This uses the same methods as mods such as Frostfall. This allows you to add Last Seed keywords to your mod, without requiring Last Seed as a master file.

You can find a practical example of how to implement keywords in the Last Seed Keywords Example file, which can be found under miscellaneous files in the Downloads section.

Adding Basic Keywords

1. Open Last Seed and your mod in XEdit.
2. Copy the Keywords from Last Seed to your mod as override. Since they have been injected into update.esm, you don’t need to make Last Seed a master file.
3. Add appropriate keywords to food items in the mod. These keywords are listed below.

* VendorItemFoodBread: Restores hunger (medium).
* VendorItemFoodMeat: Restores hunger (filling). Examples include Cooked Beef and Mammoth Steak.
* VendorItemFoodMeatSmall: Restores hunger (medium). Examples include Grilled Chicken Breast and Rabbit Haunch.
* VendorItemFoodFish: Restores hunger (medium).
* VendorItemFoodSeafood: Restores hunger (medium).
* VendorItemFoodVegetable: Restores hunger (light).
* VendorItemFoodFruit: Restores hunger (medium).
* VendorItemFoodCheese: Restores hunger (light).
* VendorItemFoodTreat: Restores hunger (medium). Examples include Sweet Rolls and Long Taffy Treats.
* VendorItemFoodPastrySmall: Restores hunger (filling). Examples include Apple Dumplings and Jazbay Crostatas.
* VendorItemFoodPastryLarge: Restores hunger (hearty). Examples include Apple Pies and Homecooked Meals.
* VendorItemFoodStewSimple: Restores hunger (filling). Examples include Cabbage Soup and Beef Stew.
* VendorItemFoodStewComplex: Restores hunger (hearty). Examples include Apple Cabbage Stew and Horker and Ash Yam Stew.
* VendorItemFoodCheeseBowl: Restores hunger (filling). Examples include Mammoth Cheese Bowls and Elsweyr Fondue.
* VendorItemDrinkMilk: Restores hunger (light) and thirst.
* VendorItemDrinkNonAlcohol: Restores thirst.
* VendorItemDrinkAlcoholWeak: Restores thirst and increases alcohol level. Examples include Ale and Mead.
* VendorItemDrinkAlcoholModerate: Restores thirst and increases alcohol level. Examples include Wine and Velvet LeChance.
* VendorItemDrinkAlcoholStrong: Restores thirst and increases alcohol level. Examples include Brandy and Flin.
* VendorItemDrinkSkoomaWeak: Increases Skooma level. Examples include Skooma and Balmora Blue.
* VendorItemDrinkSkoomaStrong: Increases Skooma level. Examples include Double-Distilled Skooma and Redwater Skooma.


What About Raw Meat?

There are four food types that also have a raw variant. These are Meat, Small Game, Fish and Seafood. If you would like to mark a food item as raw, all you need to do is also add the VendorItemFoodRaw keyword to it (which should be done anyway, as it allows the items to be bought or sold by hunters as well as normal food merchants).

Marking Food as Preserved
Food items in Last Seed will spoil over time by default. However, some foods are non-perishable, which means they are immune to food spoilage. To
make food non-perishable, you can add one of the following keywords to it:

* VendorItemFoodPreserved: These are inherently non-perishable, and do not increase thirst (e.g. Honey and Long Taffy Treats).
* VendorItemFoodSalted: These are preserved through a process like salting or pickling, and do increase thirst (e.g. Salted Beef).

Note: All drink items (except milk) are considered non-perishable, so you don't need to add these keywords to them.


Overriding The Default Hunger Amounts
Sometimes you may want to have a food item restore more or less hunger than the default for its type. For example, baked potatoes are classified as vegetables, but they should clearly restore more hunger than raw potatoes. You can do so by adding one of the following keywords to a food item:

* VendorItemFoodRestoreHungerLight
* VendorItemFoodRestoreHungerMedium
* VendorItemFoodRestoreHungerFilling
* VendorItemFoodRestoreHungerHearty

Adding Food With Multiple Portions

Some food items can be broken down into smaller pieces. Unfortunately, it isn't possible to add portions to food items through keywords alone, but you can add them using a magic effect. You can add your own food portions by following these steps:

Initial Setup
1. Download Last Seed - Keyword Example (you can find it under the Miscellaneous files section on the Downloads page).
2. Open Last Seed - Keyword Example and your own mod in XEdit.
3. Copy the  LastSeedRunning_KWCheck Global Variable as an override into your mod. This Global Variable is injected into Update.esm, so it doesn't require Last Seed as a master.
4. Copy the VendorItemFoodMultiPart Keyword as an override into your mod.

Add A Multi-Part Food
1. Add the VendorItemFoodMultiPart keyword to your food item.
2. Copy _Seed_AddMultiPartFood_Example as a new record into your mod. Rename it to something appropriate (e.g. _Seed_AddMultiPartFood_CheeseWheel)
3. Add the magic effect to your multi-part food item.
4. In the newly-copied Magic Effect, locate the _Seed_AddMultiPartFood script and edit the properties to match your food item:
* foodWhole: The food item you added the magic effect to in step 7, that you would like to be broken into portions. (e.g. Cheese Wheel).
* FoodPortion: The food item you would like to receive as portions. (E.g. Cheese Wedge).
* FoodPortionCount: the number of portions you would like to receive. (E.g. 7, for 7 cheese wedges).

Article information

Added on

Edited on

Written by

Aytrus