Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Syndrome Inducing Alchol/Food  (Read 1131 times)

abahaty

  • Escaped Lunatic
    • View Profile
Syndrome Inducing Alchol/Food
« on: March 07, 2012, 06:07:27 pm »

Hello people, I wanted to ask for some help on makeing Syndrome inducing food or alchol (as the title suggests), but i've had a serious probem makeing the effects appear. Speciffically ive managed to make a basic werewolf syndrome alchol, but i also wanted to include a vampire syndrome drink and im trying to invent temporary helpful drink based syndromes.
However, although the forums have provided an immense amount of information, i still cant get the vampire syndrome to work at all, with even the error-log showing that no error has occured so I assume that in my typical dorfiness, i've done something really easy to do, wrong. Any help/idea's would be welcome if you have the time, or even a link to page with a working drink would also be greatly appreciated. Thanksies :3 (Sorry for my amazing immaturity)
Logged

RadHazard

  • Bay Watcher
  • Beware their adorable guns!
    • View Profile
Re: Syndrome Inducing Alchol/Food
« Reply #1 on: March 07, 2012, 06:11:53 pm »

Would you mind posting your vampire alcohol raws?  I might be able to figure out what the problem is.
Logged
To make magma-proof, set melting/boiling temperature higher than 12000. To make magma proof, set magma to be brewable.

Custom transformations got you down?
Here, have some ‼Science‼

abahaty

  • Escaped Lunatic
    • View Profile
Re: Syndrome Inducing Alchol/Food
« Reply #2 on: March 07, 2012, 06:23:07 pm »

this is what i've been using, and also a variant without the [I_EFFECT:ADD_SYNDROME][IE_TARGET:A][IE_IMMEDIATE][IE_ARENA_NAME:Vampire] as that was the stuff that did appear as an error, however this didnt seem to solve the problem, i also removed bloodsucker and sterile as i thought this might be causing but it had no effect the same with attribute rust and gains tags.

[PLANT:MUSHROOM_HELMET_VAMPIRE]
    [NAME:vampire helmet][NAME_PLURAL:vampire helmets][ADJ:vampire helmet]
    [USE_MATERIAL_TEMPLATE:STRUCTURAL:STRUCTURAL_PLANT_TEMPLATE]
    [MATERIAL_VALUE:2]
    [BASIC_MAT:LOCAL_PLANT_MAT:STRUCTURAL]
    [PICKED_TILE:6][PICKED_COLOR:2:0:0]
    [GROWDUR:300][VALUE:2]
    [USE_MATERIAL_TEMPLATE:SEED:SEED_TEMPLATE]
       [MATERIAL_VALUE:1]
    [SEED:vampire helmet spawn:vampire helmet spawn:4:0:1:LOCAL_PLANT_MAT:SEED]
    [SPRING][SUMMER][AUTUMN][WINTER]
    [FREQUENCY:100]
    [CLUSTERSIZE:5]
    [PREFSTRING:vampiric visiage]
    [WET][DRY]
    [BIOME:SUBTERRANEAN_WATER]
    [USE_MATERIAL_TEMPLATE:DRINK:PLANT_ALCOHOL_TEMPLATE]
       [STATE_NAME_ADJ:ALL_SOLID:frozen vampire juice]
       [STATE_NAME_ADJ:LIQUID:vampire juice]
       [STATE_NAME_ADJ:GAS:boiling vampire juice]
       [MATERIAL_VALUE:2]
       [DISPLAY_COLOR:7:0:0]
       [EDIBLE_RAW]
       [PREFIX:NONE]
[I_EFFECT:ADD_SYNDROME]
    [IE_TARGET:A]
    [IE_IMMEDIATE]
    [IE_ARENA_NAME:Vampire]
    [SYNDROME]
       [SYN_CLASS:VAMPCURSE]
[CE_ADD_TAG:NO_AGING: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_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]
    [DRINK:LOCAL_PLANT_MAT:DRINK]
    [UNDERGROUND_DEPTH:1:3]
    [SHRUB_TILE:58]
    [DEAD_SHRUB_TILE:58]
    [SHRUB_COLOR:5:0:0]
    [DEAD_SHRUB_COLOR:0:0:1]

Thanks for having btw, im hoping to try and create a mod for people soon but im still quite new
Logged

Trapezohedron

  • Bay Watcher
  • No longer exists here.
    • View Profile
Re: Syndrome Inducing Alchol/Food
« Reply #3 on: March 07, 2012, 06:28:09 pm »

I advise you to download this and analyze how syndrome inducing food/potions are done.

Should point you straight on the right track.
Logged
Thank you for all the fish. It was a good run.

Thelogman

  • Bay Watcher
    • View Profile
Re: Syndrome Inducing Alchol/Food
« Reply #4 on: March 07, 2012, 06:32:42 pm »

EDIT: As I was typing this you posted your raws and I found the problem. You're missing the [SYN_INGESTED] tag under your primary syndrome tag. Right now, should someone drink the blood of a vampire created with your raw, they would get the syndrome, but you don't have a tag that moves the syndrome onto patient zero. You need the [SYN_INGESTED] tag for that. Below are raws for that that should work.

Spoiler (click to show/hide)
   
You also don't need the
Code: [Select]
[I_EFFECT:ADD_SYNDROME]
    [IE_TARGET:A]
    [IE_IMMEDIATE]
    [IE_ARENA_NAME:Vampire]

tags, since those are for defining an interaction and yours is a syndrome not derived from an interaction.
« Last Edit: March 07, 2012, 06:42:09 pm by Thelogman »
Logged

abahaty

  • Escaped Lunatic
    • View Profile
Re: Syndrome Inducing Alchol/Food
« Reply #5 on: March 07, 2012, 06:47:10 pm »

Thank you Thelogman, imma try and test these now, although it does seem like the [SYN_INGESTED] is the most likely option and thank you also New Guy as this seems very helpful
Logged

abahaty

  • Escaped Lunatic
    • View Profile
Re: Syndrome Inducing Alchol/Food
« Reply #6 on: March 07, 2012, 07:13:43 pm »

yes it seems to work now, which is very good for my dwarves who must be tired of being re-genned, thanks alot as i can now start aot more securely on mod and try to see it coem to fruition much more quickly
Logged