OpenXcom Forum
OpenXcom Forks => OpenXcom Extended (OXCE) => OXCE Suggestions DONE => Topic started by: MontyDrake on October 15, 2020, 08:27:28 pm
-
I've been looking around and only show an old post about something similar, and didn't want to resurrect it.
I'm developing a mod that makes the UFO campaing a little bit more lore-focused, and I had in mind the posibility of having to research alien weapons as a general concept first, kind of what you initially do with laser weapons. I added an ufopaedia article about laser tech, and I wanted to do the same thing with plasma weapons. I was thinking on make recovered plasma weapons trigger the "Alien weapon technology" before having the chance to research the weapons themselves. But I found out OXCE only allows for a research to be dependant on the item it shares ID with. I couldn't think on an alternative, right now, maybe I'm missing something.
Is it possible to include the possibility of researching any topic in base to having an item with a different ID?
Thank you in advance.
-
Is it possible to include the possibility of researching any topic in base to having an item with a different ID?
Currently it is not possible.
-
Too bad, I'll have to rethink my approach. Thank you anyway, and great work with OXCE, I'm having a lot of fun modding.
-
Done.
Sample ruleset:
research:
- name: STR_MOTION_SCANNER
cost: 180
points: 20
needItem: true
destroyItem: false
neededItem: STR_ELECTRO_FLARE
- name: STR_MEDI_KIT
cost: 210
points: 20
needItem: true
destroyItem: true
neededItem: STR_ELECTRO_FLARE
https://github.com/MeridianOXC/OpenXcom/commit/bfaf3ee36f31eaeefa1c9bcfb17a979ffb6c47fe