Hay mate,
I´ll ya help a little.
You have forgotten one thing...
All starts from
G:\SteamCMD\Servers\lif\sql
dump.sql
For example, you look to change recipe outcome from from plant fiber to rope:
You can change not recipe, but recipe requirement...
Around the line 2830 in dump.sql you can find the one you have been editing so far.
- Code: Select all
(872,'Simple Rope','',471,11,30,1356,50,1,1,0,'art\\2D\\Items\\rope.png'),
But dont touch this, just revert the recipe.xml changes back to default you had.
You need to look for an a line what contains the needed items to craft simple rope.
But mate, don´t ya worry, i got this...
FOUND IT...
The line you need to change is near 5237 and it contains following code:
(2946,872,471,0,50,10,0),
Let me explain what those all mean
(you can see them also in db editor like navicat or so.
2946 = Recipe_requirement id (Unique - never touch it)
872 = Recipe ID (This is the id you need to look if you wanna change some reciepes, as if you look above now and remember that i talked about forgetting the recipe.xml edit then you notice those two numbers are similar to each other, because this is what ya need to look for mate.
471 = Material id used in recipe
(
https://lifeisfeudal.gamepedia.com/Plant_fiber) down the img in wiki you can see that this is the item id here.
0 = quality (just leave it)
50 =influence (just leave it)
10 = QUANTITY (WE FOUND IT)
So, from here you can read that code:
(2946,872,471,0,50,10,0), ask 10 plant fiber to craft one simple rope.
Lets do a little magic here.. shall we?
Chaka Malaka CABOOM
(2946,872,471,0,50,1,0),
see what i have done?
I changed the need to make a simple rope to use only 1 plant fiber.
Long story short...
Just replace the line:
(2946,872,471,0,50,10,0),
with
(2946,872,471,0,50,1,0),
And save dump.sql
Now, when this is done, you need to edit one file more...
G:\SteamCMD\Servers\lif\data
there is file called recipe_requirement.cs
Open it mate, don't be afraid most is done.
Look for a ID: 2946
It looks like this:
<row>
<ID>2946</ID>
<RecipeID>872</RecipeID>
<MaterialObjectTypeID>471</MaterialObjectTypeID>
<Quality>0</Quality>
<Influence>50</Influence>
<Quantity>1</Quantity> <IsRegionItemRequired>0</IsRegionItemRequired>
</row>
I changed the red line already to 1, it was 10 before...
Now save the file and also copy it over to yo client folder...
Hurray mate... we done this...
Forgot to mention, take down server while doing this.
Dont feel scared mate, ya can call me when ya need some help
Arzin#4874