Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 17 18 [19] 20 21 ... 28

Author Topic: The Spellbook - Community Interaction Repository  (Read 140742 times)

Eric Blank

  • Bay Watcher
  • *Remain calm*
    • View Profile
Re: The Spellbook - Community Interaction Repository
« Reply #270 on: March 20, 2012, 02:10:27 am »

:o

Freakin' genius! Never again will we have an excuse to be bored just because there's not a whole lot to do in the particular world we generated!
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.

WillowLuman

  • Bay Watcher
  • They/Them Life is weird
    • View Profile
Re: The Spellbook - Community Interaction Repository
« Reply #271 on: March 20, 2012, 07:51:18 pm »

I figure I'd contribute by adding Corpse Explosion to the list

Spoiler (click to show/hide)

and for creature

Spoiler (click to show/hide)

Just putting it out there that this was adapted from one of my raws.
Apparently OPPOSED_TO_LIFE is invalid for targeting, but I am unable to test interactions in arena.
Here's my updated code:
Code: [Select]
interaction_chosen

[INTERACTION:CHOSEN_ONE]

[I_SOURCE:DEITY]
[IS_USAGE_HINT:MAJOR_CURSE]--Dunno what to change to, hoping to avoid 'profaning temple'
[IS_HIST_STRING_1: chosen ]
[IS_HIST_STRING_2: to seek out and destroy the powers of evil]

[I_TARGET:A:CREATURE]
[IT_LOCATION:CONTEXT_CREATURE]
[IT_REQUIRES:CAN_LEARN]
[IT_REQUIRES:CAN_SPEAK]
[IT_FORBIDDEN:NOT_LIVING]
[IT_FORBIDDEN:OPPOSED_TO_LIFE]
[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:Chosen One]
[SYNDROME]
[CE_DISPLAY_TILE:TILE:12:5:0:1:START:0]
[CE_DISPLAY_NAME:NAME:chosen one:chosen ones:heroic:START:0]
[CE_ADD_TAG:NO_SLEEP:NOFEAR:NOEXERT]--A hero is fearless and tireless!
[CE_CAN_DO_INTERACTION:START:0]
[CDI:ADV_NAME:Burn evil]
[CDI:INTERACTION:BURN EVIL]
[CDI:TARGET:A:LINE_OF_SIGHT]
[CDI:TARGET_RANGE:A:10]
[CDI:VERB:shine holy light:shines holy light:NA]
[CDI:TARGET_VERB:is set aflame:are set aflame]
[CDI:WAIT_PERIOD:10]

[INTERACTION:BURN_EVIL]
[I_TARGET:A:CREATURE]
[IT_LOCATION:CONTEXT_CREATURE]
IT_REQUIRES:OPPOSED_TO_LIFE
[IT_MANUAL_INPUT:target]
[I_EFFECT:ADD_SYNDROME]
[IE_TARGET:A]
[IE_IMMEDIATE]
[SYNDROME]
[CE_BODY_TRANSFORMATION:START:0]
[CE:CREATURE:FIRE_VICTIM_CREATURE:DEFAULT]
and
Code: [Select]
creature_reaction_custom

[OBJECT:CREATURE]

[CREATURE:FIRE_VICTIM_CREATURE]
[DESCRIPTION:The remains of a smitten evildoer]
[NAME:dying slag:dying slag:dying slag]
[CASTE_NAME:dying slag:dying slag:dying slag]
[CREATURE_TILE:'!'][COLOR:RED]
[BODY:BASIC_1PARTBODY_THOUGHT]
[MATERIAL:KINDLING]
[STATE_COLOR:ALL:RED]
[STATE_NAME_ADJ:ALL_SOLID:kindling]
[IGNITE_POINT:10000]
[BOILING_POINT:10000]
[HEATDAM_POINT:10000]
[MAT_FIXED_TEMP:10000]
[STATE_NAME:GAS:exploding gore]--Added after testing, to avoid "caught in burst of !"
[STATE_ADJ:GAS:exploding gore]
[TISSUE:KINDLING]
[TISSUE_NAME:kindling:NP]
[TISSUE_MATERIAL:LOCAL_CREATURE_MAT:KINDLING]
[TISSUE_MAT_STATE:SOLID]
[RELATIVE_THICKNESS:1]
[TISSUE_SHAPE:LAYER]
[TISSUE_LAYER:BY_CATEGORY:ALL:KINDLING]
[BODY_SIZE:0:0:70000]
[ITEMCORPSE:BAR:NO_SUBTYPE:ASH:NO_MATGLOSS]

EDIT: Spawning the victim creature on it's own has the following results:
-It bursts into flame immediately
-It explodes shortly after
Logged
Dwarf Souls: Prepare to Mine
Keep Me Safe - A Girl and Her Computer (Illustrated Game)
Darkest Garden - Illustrated game. - What mysteries lie in the abandoned dark?

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: The Spellbook - Community Interaction Repository
« Reply #272 on: March 20, 2012, 08:03:42 pm »

I think your target verbs should be "are set aflame:is set aflame", considering that, IIRC, it's 2nd person:3rd person.

narhiril

  • Bay Watcher
  • [DUTY_BOUND]
    • View Profile
Re: The Spellbook - Community Interaction Repository
« Reply #273 on: March 20, 2012, 08:39:13 pm »

I think your target verbs should be "are set aflame:is set aflame", considering that, IIRC, it's 2nd person:3rd person.

This is correct - the first argument is the message you receive if you are the target of the interaction, the second is the one you see if it hits someone else.


Also, I'm having some trouble getting this to show up in worlds...

Spoiler: Secret (click to show/hide)

Obviously this has a few dependencies, but even with everything present (the text file and the creature definitions needed), it stubbornly refuses to show up in any worlds I've generated, and I've generated over a dozen of them with different sizes, ages, and without any generated secrets present.  It works just fine in the arena, though.  What gives?
« Last Edit: March 21, 2012, 01:42:26 am by narhiril »
Logged

narhiril

  • Bay Watcher
  • [DUTY_BOUND]
    • View Profile
Re: The Spellbook - Community Interaction Repository
« Reply #274 on: March 21, 2012, 01:45:36 am »

Just putting it out there that this was adapted from one of my raws.


(massive wall of text and raws removed for brevity's sake)


I like that interaction a LOT.  Do you mind if I use it as a template for a similar feature in my mod?  Full credit where it is due, of course.  :)


I think your target verbs should be "are set aflame:is set aflame", considering that, IIRC, it's 2nd person:3rd person.

This is correct - the first argument is the message you receive if you are the target of the interaction, the second is the one you see if it hits someone else.


Also, I'm having some trouble getting this to show up in worlds...

Spoiler: Secret (click to show/hide)

Obviously this has a few dependencies, but even with everything present (the text file and the creature definitions needed), it stubbornly refuses to show up in any worlds I've generated, and I've generated over a dozen of them with different sizes, ages, and without any generated secrets present.  It works just fine in the arena, though.  What gives?

I fixed this.  Apparently the game does not like multiple IS_SPHERE tokens.
« Last Edit: March 21, 2012, 10:38:08 am by narhiril »
Logged

WillowLuman

  • Bay Watcher
  • They/Them Life is weird
    • View Profile
Re: The Spellbook - Community Interaction Repository
« Reply #275 on: March 21, 2012, 09:51:38 pm »

I like that interaction a LOT.  Do you mind if I use it as a template for a similar feature in my mod?  Full credit where it is due, of

Go ahead :D Dunno if mine shows up in the game either though.

EDIT: Further arena testing supports hypothesis of football argument. Any fight containing "caught in burst of exploding gore!" is immensely fun (but only Fun for the explodee).
« Last Edit: March 21, 2012, 09:57:26 pm by HugoLuman »
Logged
Dwarf Souls: Prepare to Mine
Keep Me Safe - A Girl and Her Computer (Illustrated Game)
Darkest Garden - Illustrated game. - What mysteries lie in the abandoned dark?

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: The Spellbook - Community Interaction Repository
« Reply #276 on: March 21, 2012, 10:44:40 pm »

Does EVERY SINGLE tissue modifier difference cause a crash when viewing the description of a transformed creature?

(hair length, eye color, etc.)

Lycaeon

  • Bay Watcher
    • View Profile
Re: The Spellbook - Community Interaction Repository
« Reply #277 on: March 21, 2012, 11:00:42 pm »

Does EVERY SINGLE tissue modifier difference cause a crash when viewing the description of a transformed creature?

(hair length, eye color, etc.)

Yes, having tissue modifiers including color in the transformation creature poses the risk of crashing. One potential option is to remove all description modifiers in the creature, which prevents crashing whatsoever. If you want your creature to have descriptions, I believe the other option would be to copy tissue modifier tokens into each individual caste of the transformation creature, though I have not yet experimented with this.
« Last Edit: March 21, 2012, 11:09:53 pm by Lycaeon »
Logged
“I want to calm the storm, but the war is in your eyes.
How can I shield you from the horror and the lies?
When all that once held meaning is shattered, ruined, bleeding
And the whispers in the darkness tell me we won’t survive?”

narhiril

  • Bay Watcher
  • [DUTY_BOUND]
    • View Profile
Re: The Spellbook - Community Interaction Repository
« Reply #278 on: March 21, 2012, 11:52:28 pm »

Because of a lack of weather effects around the community, I thought I'd contribute one.  Here's the raw data for dust storms from the upcoming version of LFR...

Spoiler: Interaction (click to show/hide)

Spoiler: Material (click to show/hide)

Dust storms kick up on desert maps (non-good ones at least) and impair the vision of anything whose eyes the dust gets into.
« Last Edit: March 22, 2012, 02:09:05 pm by narhiril »
Logged

Trapezohedron

  • Bay Watcher
  • No longer exists here.
    • View Profile
Re: The Spellbook - Community Interaction Repository
« Reply #279 on: March 22, 2012, 04:35:54 am »

Because of a lack of weather effects around the community, I thought I'd contribute one.  Here's the raw data for dust storms from the upcoming version of LFR...

Spoiler: Interaction (click to show/hide)

Spoiler: Material (click to show/hide)

Dust storms kick up on desert maps (non-good ones at least) and impair the vision of anything whose eyes the dust gets into.

Isn't END:3000 very long from an adventure mode gameplay standpoint? I think it'll last long enough till you get to one village, sleep and venture into another village?
Logged
Thank you for all the fish. It was a good run.

narhiril

  • Bay Watcher
  • [DUTY_BOUND]
    • View Profile
Re: The Spellbook - Community Interaction Repository
« Reply #280 on: March 22, 2012, 02:07:43 pm »

Because of a lack of weather effects around the community, I thought I'd contribute one.  Here's the raw data for dust storms from the upcoming version of LFR...

Spoiler: Interaction (click to show/hide)

Spoiler: Material (click to show/hide)

Dust storms kick up on desert maps (non-good ones at least) and impair the vision of anything whose eyes the dust gets into.

Isn't END:3000 very long from an adventure mode gameplay standpoint? I think it'll last long enough till you get to one village, sleep and venture into another village?

My bad, should be 300.  It takes a little time for the eye to stop being irritated.

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: The Spellbook - Community Interaction Repository
« Reply #281 on: March 22, 2012, 05:24:19 pm »

Why does it seem like START times for CE_CAN_DO_INTERACTION effects are completely ignored in adventurer?

For example, my Super Saiyan interaction has this:

      [CE_CAN_DO_INTERACTION:START:1296000]

This is completely ignored when fast travel is initiated. When I go one step, then leave fast travel, I can instantly transform into a Super Saiyan 2.

This really shouldn't be happening.

Honalululand

  • Bay Watcher
    • View Profile
Re: The Spellbook - Community Interaction Repository
« Reply #282 on: March 22, 2012, 05:34:22 pm »

Why does it seem like START times for CE_CAN_DO_INTERACTION effects are completely ignored in adventurer?

For example, my Super Saiyan interaction has this:

      [CE_CAN_DO_INTERACTION:START:1296000]

This is completely ignored when fast travel is initiated. When I go one step, then leave fast travel, I can instantly transform into a Super Saiyan 2.

This really shouldn't be happening.
Given that my delay times for infectious syndromes don't seem to work right when I sleep, wait, or fast travel in adventure mode, I think that it might just be that whatever method Toady's using to calculate how much time passes by when an adventurer fast travels or waits/rests doesn't play nice with the time delays in interactions at all.
Logged

i2amroy

  • Bay Watcher
  • Cats, ruling the world one dwarf at a time
    • View Profile
Re: The Spellbook - Community Interaction Repository
« Reply #283 on: March 22, 2012, 05:58:35 pm »

Just a bit of a question here. I've been working on my own version of the paralyzing stare mentioned earlier in the thread, however I keep accidentally killing smaller creatures when their lungs stop working. So I was wondering, what if instead of paralyzing the infected creature, I simply had [CE_SPEED_CHANGE:SPEED_PERC:0:START:0:END:10000]? Would this freeze the creature in a time-lock until the 10000 ticks had passed?
Logged
Quote from: PTTG
It would be brutally difficult and probably won't work. In other words, it's absolutely dwarven!
Cataclysm: Dark Days Ahead - A fun zombie survival rougelike that I'm dev-ing for.

Spiderking50

  • Bay Watcher
  • Lumberjack of Hearts
    • View Profile
    • Pik-Pik Fortress: A Pikmin Mod
Re: The Spellbook - Community Interaction Repository
« Reply #284 on: March 22, 2012, 06:28:55 pm »

So i've been trying to keep up with this thread, but failed miserably. Has someone consolidated all of these into a mod with a little tidbit of information (accurately) describing what it does and maybe even the magic behind it? Because that would be really awesome and fantastic.
Logged
Currently on vacation. I have internet, but will update sporadically due to vacation.
Pages: 1 ... 17 18 [19] 20 21 ... 28