Dwarf Fortress

Dwarf Fortress

117 ratings
Cave Spider Syndrome Recovery
   
Award
Favorite
Favorited
Unfavorite
Tags: mod
File Size
Posted
Updated
39.865 KB
6 Dec, 2022 @ 9:15am
1 Jul, 2023 @ 10:24pm
7 Change Notes ( view )

Subscribe to download
Cave Spider Syndrome Recovery

Description
Modifies (vermin) cave spiders to assign a max duration to the illness their bites inflict, instead of it being a lifelong affliction.
Popular Discussions View All (1)
3
1 Jan, 2023 @ 3:30am
Bug Reports
mayonnaise on an escalator
28 Comments
orcaman98  [author] 1 Jul, 2023 @ 10:32pm 
Sorry for the long delay. Life got in the way. Finally made the change to the convert tag method for better compatibility with other mods. I tested upgrading this in an active game and found no problems, but there's also no reason to upgrade a world. Unfortunately, the compatibility checking system is still broken, so there's no way to keep everyone from being prompted. If someone does get crashes or something from the upgrade, let me know. I can either show you how to revert yourself, or if it's bad enough, I may revert everyone, and then make the new version as a separate mod. The plan, though, is that this will be the final revision.
orcaman98  [author] 4 Mar, 2023 @ 7:09pm 
Thanks! I haven't gotten to play in a few weeks, so I'm going to sit down and enjoy the game for an hour or so, and then next time I'm going to start testing this. Last time I wanted to do an update, it was a breaking change, and the 'earliest compatible version' tag didn't seem to work correctly, so I'll be giving that some testing. If it still doesn't, I may have to create a separate version so people don't unknowingly 'upgrade' to a version that will cause crashes.
Mr. T-XP x64 Crosby Edition 28 Feb, 2023 @ 8:26am 
BTW, if you want to know how I ran tests to confirm it worked (requires latest V of DF Hack)

1. Load up arena mode with just this mod active.
2. Spawn a single dwarf (side doesent matter)
3. in DFHack use the following command:
modtools/add-syndrome --target 0 --syndrome "cave spider bite"
4. Enter the next command:
gui/unit-syndromes
5. A window will pop-up and from there select: All Units - Dwarf 1
6. You should see something like this: https://i.imgur.com/RG0pAUj.png

You may need to pause the game first to see the syndrome and make sure it doesen't disapear by the time you open the window (I think 200 ticks go by fast). Also ignore the warning when using the modtools/add-syndrome command, it works fine. Finally, as long as the Dwarf is the first and only unit you spawn after loading Arena, it is guaranteed to have the unit-id as 0, saving you time from having to look it up with other DFhack tools.
Mr. T-XP x64 Crosby Edition 27 Feb, 2023 @ 5:42am 
It actually took me a fair bit of attempts to figure it out lol, but a lot of different posts on the forums and experimentation is basically what led me to this, and yeah, most of my attempts did what you said and added a second syndrome. This link was probably the most helpful of all: https://dwarffortresswiki.org/index.php/Creature_variation_token

One thing I noticed during my messing around was that these functions seem to have been in the game for a while, it's just not very well documented or known about as I saw many posts saying that doing this wasn't possible.
orcaman98  [author] 26 Feb, 2023 @ 6:30pm 
What I was trying on Day 0 was SELECT_TAG, btw, the only thing of that sort documented at the time.
orcaman98  [author] 26 Feb, 2023 @ 6:27pm 
Hot dang! That's what I wanted to do from the start, but experiments showed that what I was trying just created a second syndrome instead of replacing the first. CV_CONVERT_TAG is news to me. Where did you find that info? Has more finally been posted on the wiki or forums?
Mr. T-XP x64 Crosby Edition 25 Feb, 2023 @ 5:08am 
Hey! I have been learning about DF modding and how to make minimal edits to improve compatibility, increase load times, reduce bugs and so forth, and managed to compress your mod down to just a few lines of code that alter the Dizzyness syndrome line without touching anything else from the vanilla raw. This way the mod will basically never need to be maintained, and it can coexist with other mods that change the cave spider in other ways or replace vanilla creatures or basically just about anything that doesen't specifically change the exact thing this mod does!

https://pastebin.com/y1ZCigEM

You can use this code to update your mod if you'd be so inclined, and in fact, I would appreciate it too since I'm subbed to this lol. Also I can explain further what the code does but basically it just does a "search and replace" function in the original raw instead of cutting and replacing the whole creature.

:D
orcaman98  [author] 18 Jan, 2023 @ 9:38am 
Link removed. Sad. But, at least you got me to make something.
Kasa 17 Jan, 2023 @ 6:32pm 
Fair!
I was mostly going for goofy as to not trigger arachnophobia (something you pointed out might be a problem).

The joke wasn't really intended to imply what your mod actually DOES so much as to just give a chuckle and draw attention to it.

Here is a stock image you could use, it has the same joke but it's a little more applicable.

{LINK REMOVED}
orcaman98  [author] 17 Jan, 2023 @ 6:25pm 
LOL That's great! But for me to use it would be both theft, unless I obtained permission, and also deceptive, since that's not what I changed the syndrome to do. Fun idea for a different mod, though. Change cave spider bites to give dwarves super-powers. Bit cheaty for my way of playing, but certainly funny.