Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: [47.04] Living Chesspieces  (Read 873 times)

Seraphim

  • Bay Watcher
    • View Profile
[47.04] Living Chesspieces
« on: March 03, 2021, 04:39:07 pm »

Introduces living chess to the game! They spawn in the underground caverns in groups of twenty, with a white set made of marble and black set made of obsidian.

Naturally, they will will quite happily fight against the other set and your dwarves. Some types have special attributes, and they can be tamed to act as guards as well!

Chess pieces:
>Pawns
Spoiler (click to show/hide)
>Bishop
Spoiler (click to show/hide)
>Knight
Spoiler (click to show/hide)
>Rook
Spoiler (click to show/hide)
>Queen
Spoiler (click to show/hide)
>King
Spoiler (click to show/hide)

https://dffd.bay12games.com/file.php?id=15451
« Last Edit: March 03, 2021, 07:18:33 pm by Seraphim »
Logged

chipathingy

  • Bay Watcher
    • View Profile
Re: [47.04] Living Chesspieces
« Reply #1 on: March 05, 2021, 09:21:51 pm »

Super cool idea!
Just a heads up, theres no MELEE_FIGHTER skill, I think you mean MELEE_COMBAT. I think it might have been on the queen

squamous

  • Bay Watcher
    • View Profile
Re: [47.04] Living Chesspieces
« Reply #2 on: March 06, 2021, 12:30:22 am »

Cute idea, however you should test if the pop ratio system actually works. If I recall correctly, DF ignores pop ratio when spawning wild animals, so there's an equal chance of every caste spawning. However, you can work around this by creating additional duplicate castes. So for example, PAWN1, PAWN2, PAWN3, and so on until PAWN10, and then BISHOP1 and BISHOP2, and so on for the knights and rooks, and you can leave the king and queen as is.
Logged
So I've got a Patreon now if you wanna get in on that: https://www.patreon.com/themodsmith
Have questions? Need to report bugs? Post them in the discord:  https://discord.gg/dGzGr5svS2

Seraphim

  • Bay Watcher
    • View Profile
Re: [47.04] Living Chesspieces
« Reply #3 on: March 08, 2021, 06:29:09 pm »

Super cool idea!
Just a heads up, theres no MELEE_FIGHTER skill, I think you mean MELEE_COMBAT. I think it might have been on the queen

Thank you for pointing this out! I'll take a look and fix it, it must have slipped me by!

Cute idea, however you should test if the pop ratio system actually works. If I recall correctly, DF ignores pop ratio when spawning wild animals, so there's an equal chance of every caste spawning. However, you can work around this by creating additional duplicate castes. So for example, PAWN1, PAWN2, PAWN3, and so on until PAWN10, and then BISHOP1 and BISHOP2, and so on for the knights and rooks, and you can leave the king and queen as is.

I once had them spawn but with an odd number about but I presumed that was due to individuals being killed by the friendly beasties in the caverns and a new group spawning only to also loose members. Admittedly pop_ratio has always somewhat confused me so I shall take a look and see whats going on. Thanks for the feedback!
Logged

squamous

  • Bay Watcher
    • View Profile
Re: [47.04] Living Chesspieces
« Reply #4 on: March 11, 2021, 01:25:57 am »

Super cool idea!
Just a heads up, theres no MELEE_FIGHTER skill, I think you mean MELEE_COMBAT. I think it might have been on the queen

Thank you for pointing this out! I'll take a look and fix it, it must have slipped me by!

Cute idea, however you should test if the pop ratio system actually works. If I recall correctly, DF ignores pop ratio when spawning wild animals, so there's an equal chance of every caste spawning. However, you can work around this by creating additional duplicate castes. So for example, PAWN1, PAWN2, PAWN3, and so on until PAWN10, and then BISHOP1 and BISHOP2, and so on for the knights and rooks, and you can leave the king and queen as is.

I once had them spawn but with an odd number about but I presumed that was due to individuals being killed by the friendly beasties in the caverns and a new group spawning only to also loose members. Admittedly pop_ratio has always somewhat confused me so I shall take a look and see whats going on. Thanks for the feedback!

No problem. Pop ratio works for civilized creatures like dwarves and for domesticated creatures, but not for wild spawns.
Logged
So I've got a Patreon now if you wanna get in on that: https://www.patreon.com/themodsmith
Have questions? Need to report bugs? Post them in the discord:  https://discord.gg/dGzGr5svS2