Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: DFHack lua-script to change skill level  (Read 1544 times)

cythev

  • Bay Watcher
    • View Profile
DFHack lua-script to change skill level
« on: March 10, 2018, 04:41:53 pm »

Hi,

I'm currently playing some adventure-mode and looked for a way to get a bit of training without the stupid animal-bashing and without overpowering my char.
I took the make-legendary script and changed it to accept a second argument to set a specific skilllevel.
Maybe you find it useful, too...

Spoiler (click to show/hide)
Logged

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: DFHack lua-script to change skill level
« Reply #1 on: March 10, 2018, 05:49:53 pm »

You ever try modtools/skill-change?

cythev

  • Bay Watcher
    • View Profile
Re: DFHack lua-script to change skill level
« Reply #2 on: March 11, 2018, 07:46:10 am »

obviously not. but thanks... :-\

[Edit:] okay, after looking up the skript... that's a bit over the top since you even have to specify the exact unit id by parameter and such, so i'm still happy with my script. Furthermore skill-change is anything but self-explaining since the help-output is pretty minimal.
« Last Edit: March 11, 2018, 08:16:18 am by cythev »
Logged

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: DFHack lua-script to change skill level
« Reply #3 on: March 11, 2018, 08:10:47 am »

I guess I might be responsible for that, so that's fair.

...Or am I? I can't remember if it was me or expwnent who made the docs lol