v50 Steam/Premium information for editors
  • v50 information can now be added to pages in the main namespace. v0.47 information can still be found in the DF2014 namespace. See here for more details on the new versioning policy.
  • Use this page to report any issues related to the migration.
This notice may be cached—the current version can be found here.

User:Button/ModestMod/raw/objects/c variation modest

From Dwarf Fortress Wiki
Jump to navigation Jump to search
c_variation_modest

[OBJECT:CREATURE_VARIATION]

[CREATURE_VARIATION:NONPERSON_INTO_LADIES]
	[CV_REMOVE_TAG:ORIENTATION]
	[CV_NEW_TAG:ORIENTATION:FEMALE:5:0:95]
	[CV_NEW_TAG:ORIENTATION:MALE:95:0:5]

[CREATURE_VARIATION:NONPERSON_INTO_DUDES]
	[CV_REMOVE_TAG:ORIENTATION]
	[CV_NEW_TAG:ORIENTATION:FEMALE:95:0:5]
	[CV_NEW_TAG:ORIENTATION:MALE:5:0:95]

The "Vampire Fodder" variation modifies the blood of applicable creatures to remove [NO_DRINK] from anything that drinks their blood. This will cause vampires to get thirsty and drink alcohol (if available) in fortress mode, alleviating the effects of sobriety.
NB. Vampires will drink from any sleeping creature, 
ARG1 is the (already fully-defined; any modifications made afterwards won't be retained) blood liquid of the critter in question. Call it like this: 
		APPLY_CREATURE_VARIATION:VAMPIRE_FODDER:BLOOD 
			or 
		APPLY_CREATURE_VARIATION:VAMPIRE_FODDER:ICHOR
[CREATURE_VARIATION:VAMPIRE_FODDER]
	[CV_NEW_TAG:USE_MATERIAL:VAMPDRINK:!ARG1]
		[CV_NEW_TAG:SYNDROME]
		[CV_NEW_TAG:SYN_NAME:Thirst]		this tag for debugging only
		[CV_NEW_TAG:CE_REMOVE_TAG:NO_DRINK:START:0:END:70000]
		[CV_NEW_TAG:SYN_INGESTED]
	[CV_CONVERT_TAG]
		[CVCT_MASTER:BLOOD]
		[CVCT_TARGET:LOCAL_CREATURE_MAT:!ARG1]
		[CVCT_REPLACEMENT:LOCAL_CREATURE_MAT:VAMPDRINK]