SphereCommunity
understanding new sfk_gather'ing - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: General Help (/Forum-General-Help)
+--- Thread: understanding new sfk_gather'ing (/Thread-understanding-new-sfk-gather-ing)



understanding new sfk_gather'ing - kn4tseb - 08-01-2014 07:46 AM

Ok, i have updated to latest revision and i can see some changes in mining, lumberjacking and fishing scripts/behavior..

would you please explain to me the usescur as charges for items? now its neccesary to add this variable to items like pickaxes, fishing pools and axes...

and i think you might want to remove the console debug message everytime a stroke is done.
18:55:DEBUG:bla 5
18:55:DEBUG:bla 4
18:55:DEBUG:bla 3
18:55:DEBUG:bla 2
18:55:DEBUG:bla 1

thank you very much.


RE: understanding new sfk_gather'ing - XuN - 08-01-2014 03:58 PM

It is simple, leaving sphere_skills.scp as it was (without SKF_GATHER) will make no difference and these skills will work as always, changes will not affect them.

Adding SKF_GATHER will make them use the features described in the changelog.

UsesCur is NOT mandatory ... it's just how it must work but you can comment/remove the lines with these checks to avoid using them. Same for self-damage for the tools ... etc. The point on adding this was to make these skills fully customizable and this is what you can do right now.

I forgot this debug msg, thanks for telling, it will be removed in my next commit.


RE: understanding new sfk_gather'ing - kn4tseb - 08-02-2014 03:23 AM

Thank you ^^