Console command to give yourself a talent tree

Any discussions regarding the spoilers present in ToME 4.x.x should be restricted to this forum

Moderator: Moderator

Post Reply
Message
Author
Vortex
Low Yeek
Posts: 5
Joined: Thu Mar 01, 2012 2:33 am

Console command to give yourself a talent tree

#1 Post by Vortex »

Debugging section in the wiki tells you how to access a talent, but not a tree. Can anyone help?

edge2054
Retired Ninja
Posts: 3756
Joined: Fri May 28, 2010 4:38 pm

Re: Console command to give yourself a talent tree

#2 Post by edge2054 »

game.player:learnTalentType("wild-gift/harmony", true) -- will set it as already learned
game.player:learnTalentType("wild-gift/harmony", false) -- not learned but known, costs a category point
game.player:setTalentTypeMastery("wild-gift/harmony", game.player:getTalentTypeMastery("wild-gift/harmony") + 0.1) -- increases talent mastery level by 0.1

Vortex
Low Yeek
Posts: 5
Joined: Thu Mar 01, 2012 2:33 am

Re: Console command to give yourself a talent tree

#3 Post by Vortex »

Thanks.

Avianpilot
Thalore
Posts: 148
Joined: Fri Aug 19, 2011 5:06 pm

Re: Console command to give yourself a talent tree

#4 Post by Avianpilot »

I've always done (for example):
game.player.talents_types["celestial/light"] = true/false/nil

Is the 'learnTalentType' way to do it preferred? As far as I can tell they do the same thing, but I don't know if there are any subtle differences that I'm overlooking.

Dude892
Cornac
Posts: 31
Joined: Wed Jan 18, 2012 9:29 pm

Re: Console command to give yourself a talent tree

#5 Post by Dude892 »

I've been trying to find the HOME/.t-egine/4.0/settings directory, but with no luck. I'm on a HP Mini 1000, with Linux Ubuntu 11.10. Someone help me find it please.

Avianpilot
Thalore
Posts: 148
Joined: Fri Aug 19, 2011 5:06 pm

Re: Console command to give yourself a talent tree

#6 Post by Avianpilot »

Finding it shouldn't be too hard, but perhaps you're not seeing it. Are you showing hidden files (hit ctrl+H to check)? By default they're not shown, and the /.t-engine directory is hidden because of it.

I must say that I've not used the Unity interface of Ubuntu 11.04+ (I'm on 10.04 myself); my instructions are based on looking for the folder through Nautilus. All I can say is that pre-Unity you can view the directory if you show hidden files in your home directory. I'm pretty sure that you can do that in Unity as well, but as I've mentioned I've not used it, so I am unfortunately unable to guide you.

Forgive me if sounds stupid -- I don't know your level of experience with the OS. You are looking in your /home/<username> folder, right? Not just /home?

Dude892
Cornac
Posts: 31
Joined: Wed Jan 18, 2012 9:29 pm

Re: Console command to give yourself a talent tree

#7 Post by Dude892 »

Hidden Files!!!! I don't know if you could here some thunder but that was my facepalming. Yeah I just found it thanks man.

Avianpilot
Thalore
Posts: 148
Joined: Fri Aug 19, 2011 5:06 pm

Re: Console command to give yourself a talent tree

#8 Post by Avianpilot »

Well I slept through the thunderstorm, but I'm glad that I could help all the same.

Post Reply