Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: elf diplomat  (Read 779 times)

BinaryBeast1010011010

  • Bay Watcher
    • View Profile
elf diplomat
« on: March 16, 2012, 03:14:41 am »

What do I have to do to enable them?
Logged
cant stop playing DF?
 : (){ :|:& };:

RabblerouserGT

  • Bay Watcher
  • ETHIC:NONBELIEVER:SHUN
    • View Profile
Re: elf diplomat
« Reply #1 on: March 16, 2012, 05:18:07 am »

I believe you can do that with DFhack.
Logged

..and then the child Praiseincest shall be dipped in the river of Pregnantjuices! Rejoice! The son of Armok has been born!
My dwarf worships the goddess of suicide. This can only bode well.

Sphalerite

  • Bay Watcher
    • View Profile
    • Drew's Robots and stuff
Re: elf diplomat
« Reply #2 on: March 16, 2012, 07:42:59 am »

Open your DF install folder.  Go to the raws->objects subfolder within that.  Open the file entity_default.txt

Find the line [ENTITY:FOREST].  This is the definition for the elven civilization.  Scroll down to the end of the entry, where you will see a blank line followed by [ENTITY:PLAINS], which is the entry for the humans.

To the end of the elven entity entry, add the following lines:

Code: [Select]
[POSITION:DIPLOMAT]
[NAME:Diplomat:Diplomats]
[NUMBER:1]
[RESPONSIBILITY:MAKE_INTRODUCTIONS]
[RESPONSIBILITY:MAKE_PEACE_AGREEMENTS]
[RESPONSIBILITY:MAKE_TOPIC_AGREEMENTS]
[APPOINTED_BY:DRUID]
[PRECEDENCE:70]
[DO_NOT_CULL]
[COLOR:7:0:1]
[MENIAL_WORK_EXEMPTION]
[SLEEP_PRETENSION]
[PUNISHMENT_EXEMPTION]
[ACCOUNT_EXEMPT]
[DUTY_BOUND]

Save the file.  You will then need to generate a new world - this can't be done to an existing save.
Logged
Any intelligent fool can make things bigger and more complex... It takes a touch of genius --- and a lot of courage to move in the opposite direction.

Quietust

  • Bay Watcher
  • Does not suffer fools gladly
    • View Profile
    • QMT Productions
Re: elf diplomat
« Reply #3 on: March 16, 2012, 09:32:05 am »

I believe you can do that with DFhack.
Specifically, the "fixdiplomats" command. It does the exact same thing as the raw modding Sphalerite just described, but it has the advantage of not having to generate a new world.
Logged
P.S. If you don't get this note, let me know and I'll write you another.
It's amazing how dwarves can make a stack of bones completely waterproof and magmaproof.
It's amazing how they can make an entire floodgate out of the bones of 2 cats.