I need an idea and help :-D

Place for sharing your game modifications for Life is Feudal: Your Own

Djimno
True Believer
 
Posts: 10
Joined: 25 Jan 2015, 20:20

I need an idea and help :-D

Post by Djimno » 31 Jan 2015, 10:23

Hello,

we want to do something like this on our server.

An account should only may to skill one trade. Like blacksmith.

For this the character should only may skill the blacksmith skills and the first skills for the rest of the skillpower.
--> Prospecting, Mining, Smelting, Forging, Armorshmithing, Terraforming, Nature Lore, Fishing, Farming, Forestry

Is this possible?

Thx


RudgerWolvram
 
Posts: 37
Joined: 01 Jan 2015, 22:27

Re: I need an idea and help :-D

Post by RudgerWolvram » 06 Feb 2015, 00:24

Possible, but one hell of a hairy SQL trigger. It would have to trigger on skill updates and skill inserts. With a nasty case statement to check the tree that it belongs to. I'm estimating over 200 lines of SQL code to get some semblance of a locked tree. It may just be easier to drop the server skill cap.


SKuDD3r
 
Posts: 15
Joined: 01 Feb 2015, 19:41

Re: I need an idea and help :-D

Post by SKuDD3r » 06 Feb 2015, 03:22

You could always set the skills cap to a low number in the cfg, let the player pick their primary trait in the character creation screen, then have a trigger on new character creation that strips everything but the largest skill the player selected, and then gives them all parent --> child skills in that line.

Return to Game mods