Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Reaction not showing up  (Read 653 times)

dree12

  • Bay Watcher
    • View Profile
Reaction not showing up
« on: July 28, 2010, 09:36:49 pm »

I'm in the middle of an Elf Forest mod, and I figure I'd give them free wood in the most cheesy way possible. But the weaponmaking reaction isn't showing up...

Code: [Select]
creature_item

[OBJECT:CREATURE]

[CREATURE:GET_SOME_WOOD_WEAPONS]
[DESCRIPTION:A wooden weapon.]
[NAME:weapon:weapons:weapon]
[CASTE_NAME:weapon:weapons:weapon]
[CREATURE_TILE:250][COLOR:0:0:1]
[NATURAL]
[VERMIN_MICRO][VERMIN_ROTTER][VERMIN_GROUNDER][FREQUENCY:100][VERMIN_HATEABLE]
[VERMIN_NOTRAP]
[POPULATION_NUMBER:0:0]
[CLUSTER_NUMBER:0:0]
[SMALL_REMAINS]
[SPEED:2900]
[PREFSTRING:ability to attack]
[FLIER]
[DIURNAL]
[NO_SLEEP]
[HOMEOTHERM:9571]
[SWIMS_INNATE][SWIM_SPEED:2500]
[MUNDANE]
[NOT_BUTCHERABLE]
[NOBONES]
[BODY:INSECT:2EYES:HEART:GUTS:BRAIN:MOUTH:2WINGS]
[BODY_DETAIL_PLAN:CHITIN_MATERIALS]
[BODY_DETAIL_PLAN:CHITIN_TISSUES]
[BODY_DETAIL_PLAN:EXOSKELETON_TISSUE_LAYERS:CHITIN:FAT:MUSCLE]
[BODY_DETAIL_PLAN:STANDARD_HEAD_POSITIONS]
[USE_MATERIAL_TEMPLATE:SINEW:SINEW_TEMPLATE]
[TENDONS:LOCAL_CREATURE_MAT:SINEW:200]
[LIGAMENTS:LOCAL_CREATURE_MAT:SINEW:200]
[HAS_NERVES]
[USE_MATERIAL_TEMPLATE:ICHOR:ICHOR_TEMPLATE]
[BLOOD:LOCAL_CREATURE_MAT:ICHOR: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:1]
[MAXAGE:1:1]
[CASTE:FEMALE]
[FEMALE]
[CASTE:MALE]
[MALE]
[SELECT_CASTE:ALL]
[SET_TL_GROUP:BY_CATEGORY:ALL:CHITIN]
[TL_COLOR_MODIFIER:BLACK:1]
[TLCM_NOUN:chitin:SINGULAR]
[SET_TL_GROUP:BY_CATEGORY:EYE:EYE]
[TL_COLOR_MODIFIER:BLACK:1]
[TLCM_NOUN:eyes:PLURAL]
[ITEMCORPSE:WEAPON:NONE:WOOD:NONE]
[ITEMCORPSE_QUALITY:5]

reaction_other

[OBJECT:REACTION]

[REACTION:SUMMON_TREE]
[NAME:summon from the tree gods]
[BUILDING:IMMORTAL_TREE:CUSTOM_W]
[PRODUCT:100:1:WOOD:NO_SUBTYPE:PLANT_MAT:MAGIC:WOOD]
[SKILL:WOODCUTTING]

[REACTION:MAGIC_TO_WOOD]
[NAME:transmute magical logs to wooden weapon]
[BUILDING:IMMORTAL_TREE:CUSTOM_T]
[REAGENT:A:1:WOOD:NO_SUBTYPE:PLANT_MAT:MAGIC:WOOD]
[PRODUCT:100:1:VERMIN:NO_SUBTYPE:CREATURE_MAT:GET_SOME_WOOD_WEAPONS]
[SKILL:WOODCUTTING]
The first reaction works, but the second one never shows up. Any suggestions?
Logged

dree12

  • Bay Watcher
    • View Profile
Re: Reaction not showing up
« Reply #1 on: August 01, 2010, 11:56:53 am »

Sorry for the double-post, but nobody's answered my question yet, and it's fallen way too far. Does anyone know what's going on?
Logged

Shaostoul

  • Bay Watcher
  • Expanding your universe.
    • View Profile
    • Shaostoul Patreon
Re: Reaction not showing up
« Reply #2 on: August 01, 2010, 02:16:54 pm »

My guess...

[REACTION:MAGIC_TO_WOOD]
   [NAME:transmute magical logs to wooden weapon]
   [BUILDING:IMMORTAL_TREE:CUSTOM_T]
   [REAGENT:A:1:WOOD:NO_SUBTYPE:PLANT_MAT:MAGIC:WOOD]
   [PRODUCT:100:1:VERMIN:NO_SUBTYPE:CREATURE_MAT:GET_SOME_WOOD_WEAPONS]
   [SKILL:WOODCUTTING]

That... Try removing it, see if it works then. If it works without the reagent, your reagent is wrong some how.

[REAGENT:A:1:WOOD:NONE:NONE:MAGIC]

Maybe?
Logged
I mod games and educate others how to do so as well, if you'd like to learn join my Discord and you can join a bunch of like minded individuals. (Presently modding Space Engineers and No Man's Sky.)

Looking into modding DF? This forum guide & wiki guide may still be a good start!

dree12

  • Bay Watcher
    • View Profile
Re: Reaction not showing up
« Reply #3 on: August 01, 2010, 03:07:55 pm »

Oh, thanks. That works. While producing vermin though, where does it go? I haven't seen the vermin at all.
Logged

Shaostoul

  • Bay Watcher
  • Expanding your universe.
    • View Profile
    • Shaostoul Patreon
Re: Reaction not showing up
« Reply #4 on: August 01, 2010, 04:39:27 pm »

It's producing vermin or whatever the hell it is you're asking for, because of...

[PRODUCT:100:1:VERMIN:NO_SUBTYPE:CREATURE_MAT:GET_SOME_WOOD_WEAPONS]

What on earth is it you are wanting it to make?

With VERMIN, it's going to make vermin, like turtles and rats and bats and etc.

CREATURE_MAT:GET_SOME_WOOD_WEAPONS

I have no idea where you got that.
Logged
I mod games and educate others how to do so as well, if you'd like to learn join my Discord and you can join a bunch of like minded individuals. (Presently modding Space Engineers and No Man's Sky.)

Looking into modding DF? This forum guide & wiki guide may still be a good start!