OpenXcom Forum

Modding => Help => Topic started by: wolf619 on April 01, 2018, 06:19:18 pm

Title: Crafting items with.. items??
Post by: wolf619 on April 01, 2018, 06:19:18 pm
I'm thinking about making a mod with several versions of the standard rifle, each one is unlocked via research.
(standard, extended clip, scope, lazer scope, forward grip, larger caliber ammo)
is it possible to make a recipe that would use rifle as an item required for manufacturing?
(my idea is that you would be upgrading the rifle with the highest possible mods.)
where should I be looking to edit the data?

Thanks for any help guys! :)

How hard would it to be to make my own research tree? Any good mods I can look at for this?
 8) Thanks!
Title: Re: Crafting items with.. items??
Post by: Meridian on April 01, 2018, 06:26:17 pm
is it possible to make a recipe that would use rifle as an item required for manufacturing?

Yes.

where should I be looking to edit the data?

under "manufacture:" ruleset section

Code: [Select]
manufacture:
  - name: STR_MY_MANUFACTURING_PROJECT
    requiredItems:
      STR_ITEM_A: 10
      STR_ITEM_B: 5
    producedItems:
      STR_ITEM_C: 1
      STR_ITEM_D: 3


How hard would it to be to make my own research tree?

Depends who you ask :)
In my opinion... easy.

Any good mods I can look at for this?

Final Mod Pack.
Title: Re: Crafting items with.. items??
Post by: wolf619 on April 01, 2018, 06:36:52 pm
Awesome! Thank you very much!  8)