OpenXcom Forum
Modding => Work In Progress => Topic started by: robotcanine on September 25, 2014, 10:31:50 pm
-
has anyone tried this?
i was wondering if anyone tried to make 2 manufacture lists to produce the same item.
-
tried it and works fine
so making "2 manufacture lists entries" is possible
-
You can also do this.
- name: STR_HUMAN_PLASMA_PISTOL
category: STR_WEAPON
requires:
- STR_HUMAN_PLASMA_PISTOL
space: 3
time: 600
cost: 56000
requiredItems:
STR_ALIEN_ALLOYS: 1
STR_WEAPON_COMPONENT: 1
listOrder: 1402
- name: STR_HUMAN_PLASMA_PISTOL2
category: STR_WEAPON_REFURBISHED
requires:
- STR_ALIEN_PLASMA_PISTOL
space: 3
time: 600
cost: 56000
requiredItems:
STR_ALIEN_PLASMA_PISTOL: 1
producedItems:
STR_HUMAN_PLASMA_PISTOL: 1
listOrder: 1465
This produces the same item but has two different entries. One requires Alien Alloys, the other requires a captured alien weapon. With both requiredItems and producedItems allow a modder to basically make a crafting system.