OpenXcom Forum
OpenXcom Forks => OpenXcom Extended (OXCE) => OXCE Suggestions DONE => Topic started by: skyhawk on December 01, 2019, 06:28:03 am
-
I'm considering having multiple research projects for a given alien weapon.
One project as a quick "How do I make the unfriendly end of this thing work?" project, followed later by a more demanding "How does this thing work and how do I build more of it?" project.
I would like to unlock one UFOPedia page upon initial research, then remove that page and replace it with another upon completion of the second project.
Can I ask for something like a "removedby" field, which will basically act as the inverse of "requires"?
Hrm. This might not be viable if "id" must match the actual item ID, and must be unique.
-
pedia pages depend on research... and research can be disabled and removed
-
Of course you're right Meridian, but it's just way too much trouble on the modder's part. There are hundreds of such items, the tech tree would be absolutely insane.
As a proponent of a similar solution (here (https://openxcom.org/forum/index.php/topic,4830.msg118114.html#msg118114), no. 3), I can only support this request. Well, as long as it's not too much trouble to code.
-
Without examining the underlying code, which is kinda-mostly outside my skillset, I offer the following suggestion as a way to possibly implement this without breaking things or requiring massive effort:
Give us these two fields with the following logic
replacementText: - An alternative UFOPEDIA blurb from the language file
replacementRequires: - Same logic as requires:
This might not be the most elegant solution, and it only allows for a single replacement [Adequate for my purposes, but I could see someone wanting more flexibility than this provides]
-
This use case has been implemented under: https://openxcom.org/forum/index.php/topic,11766.msg161280.html#msg161280