Jump to content

please, make / compile this mod for me


virginharvester

Recommended Posts

first, sorry for my bad english.
i need new spell to cook food,
but my programing level is very low,
this is my first script after 10 years,
please understand,

my idea is create copy of transmute,
then edit it to like this :

var done = 0
// vegetable_soup
while( current_mana >= require_mana AND cabbage >= 1 AND leek >= 1 AND potato >= 1 AND tomato >= 1 )
{
player.removeItem cabbage 1
player.removeItem leek 1
player.removeItem potato 1
player.removeItem tomato 1
player.additem vegetable_soup 1
current_mana = current_mana - require_mana
var_done = var_done + 1
}
// cabbage_potato_soup
while( current_mana >= require_mana AND cabbage >= 1 AND leek >= 1 AND potato >= 1 )
{
player.removeItem cabbage 1
player.removeItem leek 1
player.removeItem potato 1
player.additem cabbage_potato_soup 1
current_mana = current_mana - require_mana
var_done = var_done + 1
}
// venison_stew
while( current_mana >= require_mana AND venison >= 1 AND leek >= 1 AND potato >= 1 )
{
player.removeItem venison 1
player.removeItem leek 1
player.removeItem potato 1
player.additem veniso_stew 1
current_mana = current_mana - require_mana
var_done = var_done + 1
}
// apple_cabbage_stew
while( current_mana >= require_mana AND cabbage >= 1 AND red apple >= 1 )
{
player.removeItem cabbage 1
player.removeItem red_apple 1
player.additem apple_cabbage_stew 1
current_mana = current_mana - require_mana
var_done = var_done + 1
}
// Elsweyr_Fondue
while( current_mana >= require_mana AND ale >= 1 AND Eidar Cheese Wheel >= 1 )
{
player.removeItem ale 1
player.removeItem Eidar_Cheese_Wheel 1
player.additem Elsweyr_Fondue 1
current_mana = current_mana - require_mana
var_done = var_done + 1
}
// beef_stew
while( current_mana >= require_mana AND raw beef >= 1 AND carrot >= 1 )
{
player.removeItem raw_beef 1
player.removeItem carrot 1
player.additem beef_stew 1
current_mana = current_mana - require_mana
var_done = var_done + 1
}
// horker_stew
while( current_mana >= require_mana AND horker >= 1 AND tomato >= 1 )
{
player.removeItem horker 1
player.removeItem tomato 1
player.additem horker_stew 1
current_mana = current_mana - require_mana
var_done = var_done + 1
}
// tomato_soup
while( current_mana >= require_mana AND leek >= 1 AND tomato >= 1 )
{
player.removeItem leek 1
player.removeItem tomato 1
player.additem tomato_soup 1
current_mana = current_mana - require_mana
var_done = var_done + 1
}
// grilled_chiken_breast
while( current_mana >= require_mana AND chiken Breast >= 1 )
{
player.removeItem chiken_Breast 1
player.additem grilled_chiken_breast 1
current_mana = current_mana - require_mana
var_done = var_done + 1
}
// hooker_loaf
while( current_mana >= require_mana AND horker >= 1 )
{
player.removeItem horker 1
player.additem hooker_loaf 1
current_mana = current_mana - require_mana
var_done = var_done + 1
}
// horse_haunch
while( current_mana >= require_mana AND horse meat >= 1 )
{
player.removeItem horse_meat 1
player.additem horse_haunch 1
current_mana = current_mana - require_mana
var_done = var_done + 1
}
// Grilled_Leeks
while( current_mana >= require_mana AND leek >= 1 )
{
player.removeItem leek 1
player.additem Grilled_Leeks 1
current_mana = current_mana - require_mana
var_done = var_done + 1
}
// leg_of_goat_roast
while( current_mana >= require_mana AND leg of goat >= 1 )
{
player.removeItem leg_of_goat 1
player.additem leg_of_goat_roast 1
current_mana = current_mana - require_mana
var_done = var_done + 1
}
// mammoth_steak
while( current_mana >= require_mana AND mammoth snout >= 1 )
{
player.removeItem mammoth_snout 1
player.additem mammoth_steak 1
current_mana = current_mana - require_mana
var_done = var_done + 1
}
// Pheasant_roast
while( current_mana >= require_mana AND Pheasant breast >= 1 )
{
player.removeItem Pheasant_breast 1
player.additem Pheasant_roast 1
current_mana = current_mana - require_mana
var_done = var_done + 1
}
// Baked_Potatoes
while( current_mana >= require_mana AND potato >= 1 )
{
player.removeItem potato 1
player.additem Baked_Potatoes 1
current_mana = current_mana - require_mana
var_done = var_done + 1
}
// cooked_beef
while( current_mana >= require_mana AND raw beef >= 1 )
{
player.removeItem raw_beef 1
player.additem cooked_beef 1
current_mana = current_mana - require_mana
var_done = var_done + 1
}
// rabit_haunch
while( current_mana >= require_mana AND raw rabit leg >= 1 )
{
player.removeItem raw_rabit_leg 1
player.additem rabit_haunch 1
current_mana = current_mana - require_mana
var_done = var_done + 1
}
// salmon_steak
while( current_mana >= require_mana AND salmon meat >= 1 )
{
player.removeItem salmon_meat 1
player.additem salmon_steak 1
current_mana = current_mana - require_mana
var_done = var_done + 1
}
// venison_chop
while( current_mana >= require_mana AND venison >= 1 )
{
player.removeItem venison 1
player.additem venison_chop 1
current_mana = current_mana - require_mana
var_done = var_done + 1
}

// cabbage_soup
while( current_mana >= require_mana AND venison >= 1 )
{
player.removeItem cabbage 1
player.additem cabbage_soup 1
current_mana = current_mana - require_mana
var_done = var_done + 1
}
if var_done = 0
print "no ingredient to cook"
else
skilladvance = skilladvance + var_done

 

note :

-default require_mana = 10,
if player wearing 2x 25% reduce alteration spell,
require_mana = 5, and so on.
-all alchemy ingredient like salt, garlic, etc is removed in this mod
-only non-dlc recipes
-for skyrim non special edition
-i need copy of transmute spell, not replace it.

i know my programing is not good,
i have try to compile it,
but too hard for me,
can someone compile it?
i dont need the spell tome for this mod,
but if you want to make it,
i will appreciate it

thanks again for reading,
have a good day.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...