Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Vampire Blood  (Read 2286 times)

Worryn

  • Bay Watcher
    • View Profile
Vampire Blood
« on: March 17, 2013, 12:58:45 am »

Im trying to create vampire blood with the dfhack script createitem i can create regular creature blood but i dont know whats suppose to come after CREATURE_MAT: for procedural creatures

Code: [Select]
in dfhack:
troll blood
createitem LIQUID_MISC CREATURE_MAT:TROLL:BLOOD

thats as far as ive gotten please tell me i dont have to regen with modded raw's :(
Logged

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: Vampire Blood
« Reply #1 on: March 17, 2013, 01:02:35 am »

NIGHT_CREATURE_X, but that won't work, because vampires are not creatures; they're existing creatures with an interaction applied.

Worryn

  • Bay Watcher
    • View Profile
Re: Vampire Blood
« Reply #2 on: March 17, 2013, 01:07:07 am »

Thx even though its not gonna help me in the end lmao

Any workarounds to reference them directly? or any other way to obtain a vampire without waiting for one to just show up?

*Cannot regen world*
« Last Edit: March 17, 2013, 01:26:10 am by Worryn »
Logged

IamanElfCollaborator

  • Bay Watcher
  • Resident Shipper God and Freyjapiller
    • View Profile
Re: Vampire Blood
« Reply #3 on: March 17, 2013, 05:19:06 am »

You could use Putnam's utility,mod in a blood with syndromes turning someone into a vampire, use the utility to turn that into a splatter on a weapon, stab someone with it, wait for the syndrome to complete, kill it and drink his blood.

Or use the utility to just make the weapon itself turn people into vampires on touch.

If that doesn't work, then try to find the various emperors and kings of modding.

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: Vampire Blood
« Reply #4 on: March 17, 2013, 01:40:43 pm »

You could use Putnam's utility,mod in a blood with syndromes turning someone into a vampire, use the utility to turn that into a splatter on a weapon, stab someone with it, wait for the syndrome to complete, kill it and drink his blood.

Or use the utility to just make the weapon itself turn people into vampires on touch.

If that doesn't work, then try to find the various emperors and kings of modding.

That would be add-spatter, another existing plugin, not my script :V

Worryn

  • Bay Watcher
    • View Profile
Re: Vampire Blood
« Reply #5 on: March 18, 2013, 12:38:39 am »

Confirmed completely possible without a world regen
Not sure if the interaction works without a world regen please somebody confirm for me

I modified ravens since I knew that i had a few caged, also changed a small number of the superfluous tags since im keeping the change for this world.

I also added an interaction which i'm still waiting to test, does anyone know if you can add a [INTERACTION:IDENTIFIER] without needing a world gen?, otherwise that part isnt going to work

Relevent tags:

in creature_birds_new.txt, used for ravens
Code: [Select]
[CREATURE:BIRD_RAVEN]
[DESCRIPTION:A small, foreboding black bird, it looks extremely old.]
[NAME:ancient raven:ancient ravens:ancient raven]
[CASTE_NAME:raven:ravens:raven]
[GENERAL_CHILD_NAME:raven hatchling:raven hatchlings]
[CREATURE_TILE:'r'][COLOR:0:0:1]
[PETVALUE:25][NATURAL][PET]
[BIOME:GRASSLAND_TEMPERATE]
[BIOME:SAVANNA_TEMPERATE]
[BIOME:SHRUBLAND_TEMPERATE]
[BIOME:FOREST_TAIGA]
[BIOME:ANY_TEMPERATE_FOREST]
[BIOME:ANY_TEMPERATE_WETLAND]
[BIOME:TUNDRA]
[BIOME:ANY_DESERT]
[LARGE_ROAMING][FREQUENCY:100]
[POPULATION_NUMBER:250:500]
[CLUSTER_NUMBER:2:10]
[SMALL_REMAINS]
[BENIGN][FLIER]
[CHILD:1]
[DIURNAL]
[HOMEOTHERM:10071]
[SWIMS_INNATE][SWIM_SPEED:2500]
[MUNDANE]
[NOT_BUTCHERABLE]
[SPEED:400]
[PREFSTRING:age]
[BODY:HUMANOID_ARMLESS:2WINGS:2EYES:2LUNGS:HEART:GUTS:ORGANS:GIZZARD:HUMANOID_JOINTS:THROAT:NECK:SPINE:BRAIN:SKULL:4TOES:BEAK:RIBCAGE]
[BODY_DETAIL_PLAN:STANDARD_MATERIALS]
[REMOVE_MATERIAL:HAIR]
[USE_MATERIAL_TEMPLATE:FEATHER:FEATHER_TEMPLATE]
[BODY_DETAIL_PLAN:STANDARD_TISSUES]
[REMOVE_TISSUE:HAIR]
[USE_TISSUE_TEMPLATE:FEATHER:FEATHER_TEMPLATE]
[BODY_DETAIL_PLAN:VERTEBRATE_TISSUE_LAYERS:SKIN:FAT:MUSCLE:BONE:CARTILAGE]
[BODY_DETAIL_PLAN:BODY_FEATHER_TISSUE_LAYERS:FEATHER]
[USE_MATERIAL_TEMPLATE:TALON:NAIL_TEMPLATE]
[USE_TISSUE_TEMPLATE:TALON:TALON_TEMPLATE]
[TISSUE_LAYER:BY_CATEGORY:TOE:TALON:FRONT]
[BODY_DETAIL_PLAN:EGG_MATERIALS]
[SELECT_TISSUE_LAYER:HEART:BY_CATEGORY:HEART]
[PLUS_TISSUE_LAYER:SKIN:BY_CATEGORY:THROAT]
[TL_MAJOR_ARTERIES]
[BODY_DETAIL_PLAN:STANDARD_HEAD_POSITIONS]
[BODY_DETAIL_PLAN:HUMANOID_RIBCAGE_POSITIONS]
[USE_MATERIAL_TEMPLATE:SINEW:SINEW_TEMPLATE]
[TENDONS:LOCAL_CREATURE_MAT:SINEW:200]
[LIGAMENTS:LOCAL_CREATURE_MAT:SINEW:200]
[HAS_NERVES]


[USE_MATERIAL_TEMPLATE:BLOOD:BLOOD_TEMPLATE]
[PREFIX:NONE]
[ENTERS_BLOOD]
[SYNDROME]
[SYN_CLASS:VAMPCURSE]
[SYN_IMMUNE_CLASS:WERECURSE]
[SYN_IMMUNE_CLASS:VAMPCURSE]
[SYN_IMMUNE_CLASS:DISTURBANCE_CURSE]
[CE_ADD_TAG:BLOODSUCKER:NO_AGING:STERILE:NOT_LIVING:NOEXERT:NOPAIN:NOBREATHE:NOSTUN:NONAUSEA:NO_DIZZINESS:NO_FEVERS:PARALYZEIMMUNE:NO_EAT:NO_DRINK:NO_SLEEP:NO_PHYS_ATT_RUST:START:0]
[CE_PHYS_ATT_CHANGE:STRENGTH:200:0:AGILITY:200:0:TOUGHNESS:200:0:START:0]
[CE_MATERIAL_FORCE_MULTIPLIER:MAT_MULT:NONE:NONE:1:4]
[SYN_INGESTED]
[SYN_INJECTED]
[CE_BODY_MAT_INTERACTION:MAT_TOKEN:RESERVED_BLOOD:START:0]
[CE:INTERACTION:VAMPIRE_CUSTOM_CURSE]
[CE:SYNDROME_TAG:SYN_INGESTED]
[CE:SYNDROME_TAG:SYN_INJECTED]
[CE_DISPLAY_TILE:TILE:165:4:0:0:START:0:CAN_BE_HIDDEN]
[CE_DISPLAY_NAME:NAME:vampire:vampires:vampiric:START:0:CAN_BE_HIDDEN]
[CE_BP_APPEARANCE_MODIFIER:START:0:BP:BY_CATEGORY:TOOTH:APPEARANCE_MODIFIER:LENGTH:150]
[CE:COUNTER_TRIGGER:DRINKING_BLOOD:1:NONE:REQUIRED]


[BLOOD:LOCAL_CREATURE_MAT:BLOOD:LIQUID]
[CREATURE_CLASS:GENERAL_POISON]
[GETS_WOUND_INFECTIONS]
[GETS_INFECTIONS_FROM_ROT]
[USE_MATERIAL_TEMPLATE:PUS:PUS_TEMPLATE]
[PUS:LOCAL_CREATURE_MAT:PUS:LIQUID]
[BODY_SIZE:0:0:50]
[BODY_SIZE:1:0:1200]
[BODY_APPEARANCE_MODIFIER:LENGTH:90:95:98:100:102:105:110]
[BODY_APPEARANCE_MODIFIER:HEIGHT:90:95:98:100:102:105:110]
[BODY_APPEARANCE_MODIFIER:BROADNESS:90:95:98:100:102:105:110]
[MAXAGE:20:40]
[ATTACK:BITE:BODYPART:BY_CATEGORY:BEAK]
[ATTACK_SKILL:BITE]
[ATTACK_VERB:bite:bites]
[ATTACK_CONTACT_PERC:100]
[ATTACK_PENETRATION_PERC:100]
[ATTACK_FLAG_EDGE]
[ATTACK_PRIORITY:MAIN]
[ATTACK_FLAG_CANLATCH]
[ATTACK:SCRATCH:CHILD_TISSUE_LAYER_GROUP:BY_TYPE:STANCE:BY_CATEGORY:ALL:TALON]
[ATTACK_SKILL:STANCE_STRIKE]
[ATTACK_VERB:snatch at:snatches at]
[ATTACK_CONTACT_PERC:100]
[ATTACK_PENETRATION_PERC:100]
[ATTACK_FLAG_EDGE]
[ATTACK_PRIORITY:SECOND]
[ATTACK_FLAG_WITH]
[CASTE:FEMALE]
[FEMALE]
[LAYS_EGGS]
[EGG_MATERIAL:LOCAL_CREATURE_MAT:EGGSHELL:SOLID]
[EGG_MATERIAL:LOCAL_CREATURE_MAT:EGG_WHITE:LIQUID]
[EGG_MATERIAL:LOCAL_CREATURE_MAT:EGG_YOLK:LIQUID]
[EGG_SIZE:52]
[CLUTCH_SIZE:3:7]
[CASTE:MALE]
[MALE]
[SELECT_CASTE:ALL]
[SET_TL_GROUP:BY_CATEGORY:ALL:FEATHER]
[TL_COLOR_MODIFIER:BLACK:1]
[TLCM_NOUN:feathers:PLURAL]
[SET_TL_GROUP:BY_CATEGORY:ALL:SKIN]
[TL_COLOR_MODIFIER:BROWN:1:BURNT_UMBER:1:CINNAMON:1:COPPER:1:DARK_BROWN:1:DARK_PEACH:1:DARK_TAN:1:ECRU:1:PALE_BROWN:1:PALE_CHESTNUT:1:PALE_PINK:1:PEACH:1:PINK:1:RAW_UMBER:1:SEPIA:1:TAN:1:TAUPE_PALE:1:TAUPE_SANDY:1]
[TLCM_NOUN:skin:SINGULAR]
[SET_TL_GROUP:BY_CATEGORY:EYE:EYE]
[TL_COLOR_MODIFIER:BLACK:1]
[TLCM_NOUN:eyes:PLURAL]

In interaction_standard.txt
Code: [Select]
[INTERACTION:VAMPIRE_CUSTOM_CURSE]

[I_SOURCE:INGESTION]
[IS_HIST_STRING_1: consumed the tainted blood of ]
[IS_HIST_STRING_2: and was cursed]

[I_TARGET:A:CREATURE]
[IT_LOCATION:CONTEXT_CREATURE]
[IT_REQUIRES:CAN_LEARN]
[IT_REQUIRES:HAS_BLOOD]
[IT_FORBIDDEN:NOT_LIVING]
[IT_FORBIDDEN:SUPERNATURAL]
[IT_CANNOT_HAVE_SYNDROME_CLASS:WERECURSE]
[IT_CANNOT_HAVE_SYNDROME_CLASS:VAMPCURSE]
[IT_CANNOT_HAVE_SYNDROME_CLASS:DISTURBANCE_CURSE]

[I_EFFECT:ADD_SYNDROME]
[IE_TARGET:A]
[IE_IMMEDIATE]
[IE_ARENA_NAME:Vampire]
[SYNDROME]
[SYN_CLASS:VAMPCURSE]
[CE_ADD_TAG:BLOODSUCKER:NO_AGING:STERILE:NOT_LIVING:NOEXERT:NOPAIN:NOBREATHE:NOSTUN:NONAUSEA:NO_DIZZINESS:NO_FEVERS:PARALYZEIMMUNE:NO_EAT:NO_DRINK:NO_SLEEP:NO_PHYS_ATT_RUST:START:0]
[CE_PHYS_ATT_CHANGE:STRENGTH:200:0:AGILITY:200:0:TOUGHNESS:200:0:START:0]
[CE_MATERIAL_FORCE_MULTIPLIER:MAT_MULT:NONE:NONE:1:2]
[CE_BODY_MAT_INTERACTION:MAT_TOKEN:RESERVED_BLOOD:START:0]
[CE:INTERACTION:VAMPIRE_CUSTOM_CURSE]
[CE:SYNDROME_TAG:SYN_INGESTED]
[CE:SYNDROME_TAG:SYN_INJECTED]
[CE_DISPLAY_TILE:TILE:165:4:0:0:START:0:CAN_BE_HIDDEN]
[CE_DISPLAY_NAME:NAME:vampire:vampires:vampiric:START:0:CAN_BE_HIDDEN]
[CE_BP_APPEARANCE_MODIFIER:START:0:BP:BY_CATEGORY:TOOTH:APPEARANCE_MODIFIER:LENGTH:150]
[CE:COUNTER_TRIGGER:DRINKING_BLOOD:1:NONE:REQUIRED]

Logged