Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: modding special nobles - feedback on raw set-up please?  (Read 529 times)

Dame de la Licorne

  • Bay Watcher
  • Cats? Check. FPS? Uh-oh...
    • View Profile
modding special nobles - feedback on raw set-up please?
« on: June 30, 2023, 12:57:03 pm »

Hi all,

I haven't played DF since pre-pandemic, but am looking to get back into the game now that some things have settled down.  My question is this: Is it possible to mod in noble positions such as priests for the various deities and/or labor group leaders in the 47.05 version?  I'm looking at that one because I have a Mac and none of the 50.## versions seem to have a Mac port yet...

I do realize that this is pure flavor with no current in-game purpose or value.

- Dame de la Licorne
« Last Edit: July 01, 2023, 03:22:26 pm by Dame de la Licorne »
Logged
If software was real world, then it'd be something equivalent of hitting a nail with a hammer and having a building collapse on the other side of town.

Don't worry people, sometimes -moments occur

Timeless Bob

  • Bay Watcher
    • View Profile
Re: modding special nobles - possible?
« Reply #1 on: June 30, 2023, 09:40:54 pm »

I've definitely mucked around in the RAWS and made a Preist class.  I just copied the "General/Commander/Captain" RAWS and added them is as Priest/Acolyte/Monk.  Had to study the RAWS for the Human civs to see how they got them associated with the various Gods, then applied that code to them as well. Copied their ability to be cried on like the Mayor, so that they could have a positive social affect on the Fortress, and added room requirements to each level of clergy (bedrooms, offices and libraries for each plus a certain level of worship-area (Shrine/Temple/Cathedral). Since they shared some of the copied code from General/Commander/Captain, it let me set up congregations (militia) of believers to worship (train) in the various shrines/temples/cathedrals.  That way, squads of "true believers" could potentially be sent off as "missionaries" to "convert the heathens" in a most Dwarvenly manner.  Pretty much I just figured that the deities of whomever was the current King or Queen were the officially sanctioned priesthoods, and that everyone else only got simple shrines.
Logged
L33tsp34k does to English what Picasso did to faces.

Dwarfopoly
The Luckiest Tourist EVER
Bloodlines of the Forii

Dame de la Licorne

  • Bay Watcher
  • Cats? Check. FPS? Uh-oh...
    • View Profile
Re: modding special nobles - possible?
« Reply #2 on: July 01, 2023, 02:15:07 pm »

Hi!

That's more information than I had hoped for, thanks for saving me some searching around!

- Dame de la Licorne
Logged
If software was real world, then it'd be something equivalent of hitting a nail with a hammer and having a building collapse on the other side of town.

Don't worry people, sometimes -moments occur

Dame de la Licorne

  • Bay Watcher
  • Cats? Check. FPS? Uh-oh...
    • View Profile
Re: modding special nobles - feedback on raw set-up please?
« Reply #3 on: July 01, 2023, 03:16:58 pm »

Hi!

So I've put together the following raws for high priest, priest, and acolyte positions, using combinations of the military, land holder, and druid position raws.  Could someone take a look and give me an idea if they'll actually work (I'm not asking for anyone to generate a world, just to let me know if there are any glaring errors that I've missed)?

High Priest:
Code: [Select]
[POSITION:HIGH_PRIEST]
[NAME:high priest;high priests]
[SITE]
[NUMBER:1]
[SQUAD:10:acolyte:acolytes]
[REQUIRES_POPULATION:50]
[REQUIRES_MARKET]
[PRECEDENCE:20]
[SPECIAL_BURIAL]
[RESPONSIBILITY:MEET WORKERS]
[RESPONSIBILITY:BUILD_MORALE]
[RESPONSIBILITY:RELIGION]
[MENIAL_WORK_EXEMPTION]
[MENIAL_WORK_EXEMPTION_SPOUSE]
[SLEEP_PRETENSION]
[PUNISHMENT_EXEMPTION]
[FLASHES]
[BRAG_ON_KILL]
[CHAT_WORTHY]
[DO_NOT_CULL]
[KILL_QUEST]
[ACCOUNT_EXEMPT]
[EXPORTED_IN_LEGENDS]
[DUTY_BOUND]
[DEMAND_MAX:5]
[MANDATE_MAX:3]
[REQUIRED_BOXES:5]
[REQUIRED_CABINETS:3]
[REQUIRED_RACKS:3]
[REQUIRED_STANDS:3]
[REQUIRED_OFFICE:2500]
[REQUIRED_BEDROOM:2500]
[REQUIRED_DINING:2500]
[REQUIRED_TOMB:2500]

Priest:
Code: [Select]
[POSITION:PRIEST]
[NAME:priest:priests]
[SITE]
[NUMBER:AS_NEEDED]
[SQUAD:10:acolyte:acolytes]
[RESPONSIBILITY:MEET WORKERS]
[RESPONSIBILITY:BUILD_MORALE]
[RESPONSIBILITY:RELIGION]
[APPOINTED_BY:HIGH_PRIEST]
[COMMANDER:ACOLYTE:ALL]
[PRECEDENCE:50]
[SPECIAL_BURIAL]
[MENIAL_WORK_EXEMPTION]
[MENIAL_WORK_EXEMPTION_SPOUSE]
[SLEEP_PRETENSION]
[PUNISHMENT_EXEMPTION]
[FLASHES]
[BRAG_ON_KILL]
[CHAT_WORTHY]
[DO_NOT_CULL]
[KILL_QUEST]
[ACCOUNT_EXEMPT]
[EXPORTED_IN_LEGENDS]
[DUTY_BOUND]
[DEMAND_MAX:2]
[REQUIRED_BOXES:3]
[REQUIRED_CABINETS:2]
[REQUIRED_RACKS:2]
[REQUIRED_STANDS:2]
[REQUIRED_OFFICE:1500]
[REQUIRED_BEDROOM:1500]
[REQUIRED_DINING:1500]
[REQUIRED_TOMB:1500]

Acolyte:
Code: [Select]
[POSITION:ACOLYTE]
[NAME:acolyte:acolytes]
[SITE]
[NUMBER:AS_NEEDED]
[SQUAD:10:soldier:soldiers]
[APPOINTED_BY:PRIEST]
[PRECEDENCE:100]
[MENIAL_WORK_EXEMPTION]
[FLASHES]
[BRAG_ON_KILL]
[CHAT_WORTHY]
[DO_NOT_CULL]
[KILL_QUEST]
[EXPORTED_IN_LEGENDS]
[DUTY_BOUND]
[DEMAND_MAX:1]
[REQUIRED_BOXES:2]
[REQUIRED_CABINETS:1]
[REQUIRED_RACKS:1]
[REQUIRED_STANDS:1]
[REQUIRED_OFFICE:500]
[REQUIRED_BEDROOM:500]
[REQUIRED_DINING:500]
[REQUIRED_TOMB:50]
« Last Edit: July 01, 2023, 09:12:40 pm by Dame de la Licorne »
Logged
If software was real world, then it'd be something equivalent of hitting a nail with a hammer and having a building collapse on the other side of town.

Don't worry people, sometimes -moments occur

Dame de la Licorne

  • Bay Watcher
  • Cats? Check. FPS? Uh-oh...
    • View Profile
Re: modding special nobles - feedback on raw set-up please?
« Reply #4 on: July 07, 2023, 07:33:13 am »

Hi!

Upon generation, that attempt causes a crash-to-desktop every time I try to embark.  Any ideas on what might be going wrong?

- Dame de la Licorne
Logged
If software was real world, then it'd be something equivalent of hitting a nail with a hammer and having a building collapse on the other side of town.

Don't worry people, sometimes -moments occur

joostheger

  • Bay Watcher
    • View Profile
Re: modding special nobles - feedback on raw set-up please?
« Reply #5 on: July 28, 2023, 03:00:21 pm »

Hi!

Upon generation, that attempt causes a crash-to-desktop every time I try to embark.  Any ideas on what might be going wrong?

- Dame de la Licorne
Hi Dame,

There are 3 things wrong
1. MEET_WORKERS is with an underscore _ , at two places in your code
2. The high priest has a ; instead of a :.

When your game crashes, an error log is generated somewhere in the base folder, telling you exactly whats wrong
Logged