Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Can thought strings be edited in a mod?  (Read 475 times)

Laserhead

  • Bay Watcher
    • View Profile
Can thought strings be edited in a mod?
« on: December 06, 2013, 10:10:17 am »

I'm thinking of a mod that would remove the references to alcohol in the game but not change the associated gameplay element, and I'm wondering what to do about the "Needs alcohol to get through the working day" thought. I suppose I could patch string in the Dwarf_Fortress binary but that seems brittle (not that new versions of DF come out that often I suppose).

Also, I should ask if this is a mod that's already been done.
Logged

Haspen

  • Bay Watcher
  • Cthuwu
    • View Profile
Re: Can thought strings be edited in a mod?
« Reply #1 on: December 06, 2013, 10:30:38 am »

I believe that one thought and dependency on alcohol for living is actually governed by [ALCOHOL_DEPENDENT] tag or something like that. Check the dwarf entry in raws.
Logged
SigFlags!
Quote from: Draignean@Spamkingdom+
Truly, we have the most uniquely talented spy network in all existence.
Quote from: mightymushroom@Spamkingdom#
Please tell me the Royal Physician didn't go to the same college as the Spymaster.

Laserhead

  • Bay Watcher
    • View Profile
Re: Can thought strings be edited in a mod?
« Reply #2 on: December 06, 2013, 01:27:06 pm »

I had considered that, but it isn't really what I want to do. Like I said, I don't want to affect the gameplay.
Logged

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: Can thought strings be edited in a mod?
« Reply #3 on: December 06, 2013, 09:41:41 pm »

No. String patching only.

IndigoFenix

  • Bay Watcher
  • All things die, but nothing dies forever.
    • View Profile
    • Boundworlds: A Browser-Based Multiverse Creation and Exploration Game
Re: Can thought strings be edited in a mod?
« Reply #4 on: December 07, 2013, 05:45:20 pm »

Ah, is this for censorship purposes?

Check out the localization patch.  It lets you edit most of the strings in the game.  It'll probably be obselete by the next DF update but who knows when that'll happen?