1
DF Modding / [MODDING] Possible work around for Tame Megabeasts
« on: October 01, 2023, 02:02:52 am »
So I was watching some of Kruggsmash's videos and generally thinking about Dwarf Fortress, when this thought occurred to me. Now the game has coding in it for switching creatures from one thing to another due to many different circumstances. Werebeasts swtich back and forth between forms, living creatures can become vampires by drinking the blood of other vampires or being cursed, intelligent undead raised by other undead, etc.
The thought is, would it be possible to set up a way to make the captured megabeast turn into something else to work around the "always hostile" tag? Say by being trapped, a dragon is set to be turned into a Captured Dragon for lack of a better name. Different ID tags and all that, but same stat lines save for the ones that cause them to be always hostile to your military dwarves. From what I read this is because of world gen history and them getting set to no quarter by your Civ. If the change "kills" it and spawns a different creature, wouldn't that creature with absolutely no history be perfectly fine to work with?
These are just the ramblings of a green beard, I know very little of doing major stuff with the DF code besides trying to make mods compatable with each other, but I thought I'd share said ramblings. Is this possible?
The thought is, would it be possible to set up a way to make the captured megabeast turn into something else to work around the "always hostile" tag? Say by being trapped, a dragon is set to be turned into a Captured Dragon for lack of a better name. Different ID tags and all that, but same stat lines save for the ones that cause them to be always hostile to your military dwarves. From what I read this is because of world gen history and them getting set to no quarter by your Civ. If the change "kills" it and spawns a different creature, wouldn't that creature with absolutely no history be perfectly fine to work with?
These are just the ramblings of a green beard, I know very little of doing major stuff with the DF code besides trying to make mods compatable with each other, but I thought I'd share said ramblings. Is this possible?