Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Editing individual Dwarfs?  (Read 3039 times)

Zharg

  • Escaped Lunatic
    • View Profile
Editing individual Dwarfs?
« on: August 06, 2017, 03:23:52 pm »

My fort was recently attacked by a Gorgon and 4 of my dwarfs remain paralyzed ( No injury on their body, just the magical paralysis ). Is there any way to edit dwarves individually? I've been reading on the wiki under "Cheating", but i've only found ways to modify dwarves in general.
A Season has gone by and no one even bothered to bring them to the hospital. So I'm wondering if i can just alter their status or something.

I'm using Masterworks ( if it matters )

Thanks in advance
Logged

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: Editing individual Dwarfs?
« Reply #1 on: August 06, 2017, 08:25:16 pm »

DFHack should come with your install. I don't particularly remember if there was something to force units to be taken to the hospital, but I'm pretty sure there is. If you can't find it with ls, use ls -a.

Zharg

  • Escaped Lunatic
    • View Profile
Re: Editing individual Dwarfs?
« Reply #2 on: August 06, 2017, 09:18:26 pm »

DFHack should come with your install. I don't particularly remember if there was something to force units to be taken to the hospital, but I'm pretty sure there is. If you can't find it with ls, use ls -a.

Thanks dude, I think Full Heal command might work

Spoiler (click to show/hide)
Logged

Zharg

  • Escaped Lunatic
    • View Profile
Re: Editing individual Dwarfs?
« Reply #3 on: August 06, 2017, 09:42:53 pm »

Ok, that didnt work.
The paralysis was gone, but when I unpause the game it comes back, I just noticed their name is "... "Dwarf Cook Statue"

http://imgur.com/a/rl7Fb
« Last Edit: August 06, 2017, 09:50:41 pm by Zharg »
Logged

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: Editing individual Dwarfs?
« Reply #4 on: August 06, 2017, 11:02:52 pm »

You'll want to remove the syndromes... I don't know precisely how in this case, never really bothered there

Prester

  • Bay Watcher
    • View Profile
Re: Editing individual Dwarfs?
« Reply #5 on: August 14, 2017, 06:43:53 am »

for the reviving stuff: how do you find out unitIDs for dead dwarfs or goblins or creatures in general? you can no longer click on them so how do i list all IDs?
Logged

lethosor

  • Bay Watcher
    • View Profile
Re: Editing individual Dwarfs?
« Reply #6 on: August 14, 2017, 01:11:12 pm »

If you can select them in the units list, you can run "lua print(dfhack.gui.getSelectedUnit().id)".
Logged
DFHack - Dwarf Manipulator (Lua) - DF Wiki talk

There was a typo in the siegers' campfire code. When the fires went out, so did the game.

Prester

  • Bay Watcher
    • View Profile
Re: Editing individual Dwarfs?
« Reply #7 on: August 14, 2017, 01:47:37 pm »

but thats the thing, how do i find out unit ids if i CANNOT select them? thanks
Logged

lethosor

  • Bay Watcher
    • View Profile
Re: Editing individual Dwarfs?
« Reply #8 on: August 14, 2017, 02:09:05 pm »

Logged
DFHack - Dwarf Manipulator (Lua) - DF Wiki talk

There was a typo in the siegers' campfire code. When the fires went out, so did the game.