OpenXcom Forum

Modding => Work In Progress => Topic started by: Ran on April 04, 2014, 10:48:34 pm

Title: Manufacturing several items from one piece of material?
Post by: Ran on April 04, 2014, 10:48:34 pm
Is it possible to build several items from one piece of prerequisite material?
Let's say I want to manufacture nails from Alien Alloys, Can I make 100 nails from one piece of alloy or is the minimum manufacture ratio 1:1?
If so is it possible to manufacture packs of 10 or 100?

I have some neat ideas but they would be slightly absurd if you only get 1:1 from the target material. :-\
Title: Re: Manufacturing several items from one piece of material?
Post by: SupSuper on April 05, 2014, 01:23:01 am
Yes you can use producedItems and requiredItems to customize the ratios: https://www.ufopaedia.org/index.php?title=Ruleset_Reference_(OpenXcom)#Manufacture
Title: Re: Manufacturing several items from one piece of material?
Post by: Ran on April 05, 2014, 01:38:44 am
Ah, perfect! :)
Is it possible to use values below 1 for requiredItems, or is increasing producedItems the only way?

One more question - is it possible to use OR in combination with requiredItems (requires A or B or C)?
Title: Re: Manufacturing several items from one piece of material?
Post by: Falko on April 27, 2014, 10:33:42 am
Ah, perfect! :)
Is it possible to use values below 1 for requiredItems, or is increasing producedItems the only way?

One more question - is it possible to use OR in combination with requiredItems (requires A or B or C)?
you can increase the consumable /produced e.g. you need 1 alien alloy for 2 [new item] => each new item consumed 1/2 alien alloy
you cant use OR but it is possible to create more then one manufacture entry
[new item](mad out of X)
[new item](mad out of Y)
[new item](mad out of Z)
or something like that