How do I use the lua console to add runes and inscriptions?

Have a really dumb question? Ask it here to get help from the experts (or those with too much time on their hands)

Moderator: Moderator

Post Reply
Message
Author
overzero6
Posts: 4
Joined: Fri May 11, 2018 6:35 am

How do I use the lua console to add runes and inscriptions?

#1 Post by overzero6 »

How do I use the lua console to add runes and inscriptions? the "game.player:learnTalent(game.player.T_INFUSION:_REGENERATION_6, true, 1)" and anything related to T_RUNE and T_INFUSION doesn't work. it says "function argument expected near ',' " help please.

HousePet
Perspiring Physicist
Posts: 6215
Joined: Sun Sep 09, 2012 7:43 am

Re: How do I use the lua console to add runes and inscriptio

#2 Post by HousePet »

I really don't recommend doing this as it won't work without some other carefully inserted commands and might still implode but...

"game.player:learnTalent(game.player["T_INFUSION:_REGENERATION_6"], true, 1)"
My feedback meter decays into coding. Give me feedback and I make mods.

overzero6
Posts: 4
Joined: Fri May 11, 2018 6:35 am

Re: How do I use the lua console to add runes and inscriptio

#3 Post by overzero6 »

HousePet wrote:I really don't recommend doing this as it won't work without some other carefully inserted commands and might still implode but...

"game.player:learnTalent(game.player["T_INFUSION:_REGENERATION_6"], true, 1)"
Thanks for replying, really appreciated! The command worked (didn't give an error) but if i open the talents menu it gives an error along the lines of "inscription doesn't exist" & it makes the talent menu impossible to open but it's alright since i unlearned the regenration_6 through game.player:unlearnTalent(game.player["T_INFUSION:_REGENERATION_6"], false, 1)
Also the [""] thing is interesting, i didn't know it existed.
Anyway thanks for helping! I wonder about what other carefully inserted commands?

Lokean
Halfling
Posts: 88
Joined: Sun Dec 10, 2017 12:27 am

Re: How do I use the lua console to add runes and inscriptio

#4 Post by Lokean »

You'd need to modify your known inscriptions and your inscriptions_data

Post Reply