Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Adventure Mode Reactions Help  (Read 1264 times)

ToaHero92

  • Bay Watcher
    • View Profile
Adventure Mode Reactions Help
« on: July 20, 2010, 11:47:37 am »

Spoiler (click to show/hide)


I know I posted to shaosoul those adventure reactions, but I can't seem to get them to work at all, NOT even the stone knapping reaction that is in the Vanilla. Now can Someone Please Confirm that I have Coded these Properly.
Spoiler (click to show/hide)
I am 99.1% certain that my code is all right as rain handy dandy  she's my cherry pie good, but I need confirmation from someone who has had the adventure mode reactions work for them. Now I hate to be wrong and since I can't find out if I'm right OR wrong I am asking YOU, the coders, My peers to help me in this matter. If you would do so it would be greatly appreciated.
Spoiler (click to show/hide)
Logged

Miko19

  • Bay Watcher
    • View Profile
Re: Adventure Mode Reactions Help
« Reply #1 on: July 20, 2010, 11:56:01 am »

You've got to create a new world everytime you add some new reactions. That's the first thing.
Logged

ToaHero92

  • Bay Watcher
    • View Profile
Re: Adventure Mode Reactions Help
« Reply #2 on: July 20, 2010, 11:59:23 am »

did that already and did it every time (I've been modding for about 5 months now) I also tried putting them into various files (each and every time regening)
Logged

Deon

  • Bay Watcher
  • 💀 💀 💀 💀 💀
    • View Profile
Re: Adventure Mode Reactions Help
« Reply #3 on: July 20, 2010, 12:11:15 pm »

Does the first line of the reaction file have the same name as the file?
Logged
▬(ஜ۩۞۩ஜ)▬
✫ DF Wanderer ✫ - the adventure mode crafting and tweaks
✫ Cartographer's Lounge ✫ - a custom worldgen repository

JediaKyrol

  • Bay Watcher
  • I have no idea what I am doing...
    • View Profile
Re: Adventure Mode Reactions Help
« Reply #4 on: July 20, 2010, 12:19:36 pm »

I just copy-pasted them into the standard reactions file, genned a new world, and they work fine for me... 

Stupid question...you are using DF 31.10...right?
Logged

ToaHero92

  • Bay Watcher
    • View Profile
Re: Adventure Mode Reactions Help
« Reply #5 on: July 20, 2010, 12:26:21 pm »

Not currently, I have them in a file called reaction_adventure right now and i forgot to put in reaction_adventure into the top line, BUT I did have them in reaction_other which is formatted correctly, which would null you question but since I really need help i will try 2 things:
1: I will add reaction_adventure to the top line as is demonstrated in the other reaction files.

2: I will add the shown reactions to reaction_other as they are currently formatted (not erasing the contents of said file but rather, appending them to the end.

If either of them work and/or don't work I will post the results describing said clause.

@JediaKyrol
Yes I am using SDL 31.10
Logged

ToaHero92

  • Bay Watcher
    • View Profile
Re: Adventure Mode Reactions Help
« Reply #6 on: July 20, 2010, 12:38:07 pm »

OK this will show that even semi-experienced can be stupid sometimes.

1: reaction_other was missing this [OBJECT:REACTION]

this is probably why Mine and the Vanilla adventure reaction didn't work.
Logged

ToaHero92

  • Bay Watcher
    • View Profile
Re: Adventure Mode Reactions Help
« Reply #7 on: July 20, 2010, 12:57:21 pm »

adding [OBJECT:REACTION] to both reaction_other & reaction_adventure and adding reaction_adventure to the top of the file made it so it worked. thank you all who helped!
Logged