Hello! I want to create my own Custom Skill, Culinary, which focuses in preparing and consuming food, but I need to level the player by consuming different food items (new ones gives more xp, repetitive ones much less) and by crafting food items in the cooking pot or oven. How did you manage to program your mod to level-up by consuming cheese? Can you help me with the scripting and dll files in order to create my mod? My modding knowlegde only approaches SSEedit. I would be profoundly grateful
You don't need DLL coding for that, Papyrus will work just fine. You can listen to OnObjectEquipped() event (this is called whenever you click something in your inventory, which includes eating food) and check whether it's a Potion form (foods are "Potion"s). Then you can adjust your CSF variables when that happens. Check the UpgradableWabbajack_PlayerScript script inside this mod. As for "new ones gives more xp", you can simply put the ones you've already given xp for into a FormList and check whether the food item is there or not to adjust the XP. Hope this helps!
i'd be a lot more interested in this if there wasn't ways to guarentee outcomes. Like, i get it for testing purposes, but i just feel like being able to guarentee effects - and powerful ones at that, runs anathema to the purpose of the wabbajack, and to the philosophy of Sheogorath
Also, how many cheeses do you need to eat to level up? cause if the answer isn't "a lot", i feel like the ability to replace enemies weapons with cooking utensils or get them to unequip everything is a bit too high a power for a relatively low price
10 to get 1 perk, and the two guaranteed effects are last in the perk tree. My thinking was Sheo would probably approve of the sheer hilarity that those two perks would ensue, but you're right, they may be a bit op. Will update.
19 comments
Hope this helps!
Would it be possible to do a Reliquary of Myth version? Or at least a patch for it?
Also, how many cheeses do you need to eat to level up? cause if the answer isn't "a lot", i feel like the ability to replace enemies weapons with cooking utensils or get them to unequip everything is a bit too high a power for a relatively low price
https://www.nexusmods.com/skyrimspecialedition/mods/131811