Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Self-transformation interaction  (Read 632 times)

Dunamisdeos

  • Bay Watcher
  • Duggin was the hero we needed.
    • View Profile
Self-transformation interaction
« on: May 30, 2016, 06:53:07 pm »

Hello! I would like to create an interaction that allows a creature to transform into another creature at-will. I'm having trouble finding documentation on this specific effect.

I'm trying to go it alone using the wiki, but I'm having a slow time of it. Forum search is bringing up non-relevant results. Any assistance would be appreciated.
Logged
FACT I: Post note art is best art.
FACT II: Dunamisdeos is a forum-certified wordsmith.
FACT III: "All life begins with Post-it notes and ends with Post-it notes. This is the truth! This is my belief!...At least for now."
FACT IV: SPEECHO THE TRUSTWORM IS YOUR FRIEND or BEHOLD: THE FRUIT ENGINE 3.0

Repseki

  • Bay Watcher
    • View Profile
Re: Self-transformation interaction
« Reply #1 on: May 31, 2016, 08:02:32 am »

Like this?
Code: [Select]
[INTERACTION:WEREBEAR_TRANSFORM]
[I_SOURCE:CREATURE_ACTION]
[I_TARGET:A:CREATURE]
[IT_LOCATION:CONTEXT_CREATURE]
[I_EFFECT:ADD_SYNDROME]
[IE_TARGET:A]
[IE_IMMEDIATE]
[SYNDROME]
[CE_BODY_TRANSFORMATION:START:0:END:1200]
[CE:CREATURE:WEREBEAR:DEFAULT]
With this given through a syndrome, or having a creature with the CAN_DO_INTERACTION stuff that should be easy to find on the wiki.
Code: [Select]
[CE_CAN_DO_INTERACTION:START:0]
[CDI:ADV_NAME:Transform into a Werebear]
[CDI:USAGE_HINT:FLEEING]
[CDI:INTERACTION:WEREBEAR_TRANSFORM]
[CDI:TARGET:A:SELF_ONLY]
[CDI:VERB:begin to transform:begins to transform:NA]
[CDI:WAIT_PERIOD:2000]
Logged

Dunamisdeos

  • Bay Watcher
  • Duggin was the hero we needed.
    • View Profile
Re: Self-transformation interaction
« Reply #2 on: May 31, 2016, 05:29:41 pm »

Aha! That did it!

I was calling the interaction incorrectly in the creature raw. I'm pleased (and pleasantly surprised) to say that I got the rest of it correct on my own.

Thanks very much for your time!!!
Logged
FACT I: Post note art is best art.
FACT II: Dunamisdeos is a forum-certified wordsmith.
FACT III: "All life begins with Post-it notes and ends with Post-it notes. This is the truth! This is my belief!...At least for now."
FACT IV: SPEECHO THE TRUSTWORM IS YOUR FRIEND or BEHOLD: THE FRUIT ENGINE 3.0

Dunamisdeos

  • Bay Watcher
  • Duggin was the hero we needed.
    • View Profile
Re: Self-transformation interaction
« Reply #3 on: June 03, 2016, 04:10:36 pm »

Hey, quick question.

I want it to say something other than "So and so transforms into a so and so" upon completion. VERB and TARGET_VERB don't seem to work. Is that something we can affect?
Logged
FACT I: Post note art is best art.
FACT II: Dunamisdeos is a forum-certified wordsmith.
FACT III: "All life begins with Post-it notes and ends with Post-it notes. This is the truth! This is my belief!...At least for now."
FACT IV: SPEECHO THE TRUSTWORM IS YOUR FRIEND or BEHOLD: THE FRUIT ENGINE 3.0

Eric Blank

  • Bay Watcher
  • *Remain calm*
    • View Profile
Re: Self-transformation interaction
« Reply #4 on: June 04, 2016, 07:09:42 pm »

I don't think so, no. The verbage can add an accompanying description, but that message will be shown regardless.
Logged
I make Spellcrafts!
I have no idea where anything is. I have no idea what anything does. This is not merely a madhouse designed by a madman, but a madhouse designed by many madmen, each with an intense hatred for the previous madman's unique flavour of madness.