Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 2 [3]

Author Topic: Create a new workshop able item?  (Read 4967 times)

Hugo_The_Dwarf

  • Bay Watcher
  • Modding Mentor
    • View Profile
    • Regeneration: Forced Evolution
Re: Create a new workshop able item?
« Reply #30 on: July 13, 2012, 12:08:58 pm »

You want to add them so that you still have the option for normal wood logs.

What you might be missing and not realizing is that you need the building WOOD_REGEN or WOOD_PROCESSOR

[REACTION:MAKE_WOOD_PLANKS]
   [NAME:cut logs into 6 planks]
   [BUILDING:CRAFTSMAN:CUSTOM_SHIFT_B]
   [REAGENT:A:1:WOOD:NONE:NONE:NONE][HAS_MATERIAL_REACTION_PRODUCT:PLANK_MAT]
   [PRODUCT:100:6:BLOCKS:NONE:GET_MATERIAL_FROM_REAGENT:A:PLANK_MAT]
   [SKILL:CARPENTRY]

So if you add those buildings then the reaction to cut a log into the planks will appear in that building.

Oh dear another one of my mistakes lol I fixed the bolded part. and for a generic building I bolded that too. And "coded" the entire reaction for easy copying.

Also thanks Roses lol seems I've been on repeat of late.
Logged

supified

  • Bay Watcher
    • View Profile
Re: Create a new workshop able item?
« Reply #31 on: July 13, 2012, 12:56:59 pm »

I think I understand it now. 

Thanks.
Logged

Hugo_The_Dwarf

  • Bay Watcher
  • Modding Mentor
    • View Profile
    • Regeneration: Forced Evolution
Re: Create a new workshop able item?
« Reply #32 on: July 13, 2012, 02:00:36 pm »

You're welcome
Logged
Pages: 1 2 [3]