OpenXcom Forum
Modding => Work In Progress => Topic started by: ibanix on July 04, 2014, 12:14:59 pm
-
After being annoyed with my wounded Captain taking over a month to recover, I wanted to find a way to speed healing time up. Since that isn't currently exposed to Rulesets, I did the next best thing, and implemented and improved med-kit. It requires researching an alien autopsy first, for the nanotechnology.
The thing is, I can't seem to get this to work. The research topic isn't showing up for me. Can someone have a look and tell me what I did wrong? Thanks!
-
I've taken a quick look, and I can't see an error in the ruleset. does it work if you remove the dependencies and requirements?
-
If I remove the dependencies on the Improved Med-Kit research, I am able to find the research topic and manufacture the Med Kits w/o any issues.
So something must be wrong here:
# dependencies:
# - STR_ETHEREAL_CORPSE
# - STR_SNAKEMAN_CORPSE
# - STR_MUTON_CORPSE
# - STR_FLOATER_CORPSE
# - STR_SECTOID_CORPSE
# requires:
# - STR_MEDI_KIT
# - name: STR_FLOATER_CORPSE
# unlocks:
# - STR_MEDI_KIT_IMPROVED
# - name: STR_ETHEREAL_CORPSE
# unlocks:
# - STR_MEDI_KIT_IMPROVED
# - name: STR_SNAKEMAN_CORPSE
# unlocks:
# - STR_MEDI_KIT_IMPROVED
# - name: STR_MUTON_CORPSE
# unlocks:
# - STR_MEDI_KIT_IMPROVED
# - name: STR_FLOATER_CORPSE
# unlocks:
# - STR_MEDI_KIT_IMPROVED
-
In my game take time to research the vanilla Medi Kit, look what i did, maybe will help you:
research:
- name: STR_MEDI_KIT
dependencies:
- STR_SECTOID_MEDIC
- STR_FLOATER_MEDIC
- STR_EXAMINATION_ROOM
- name: STR_EXAMINATION_ROOM
unlocks:
- STR_MEDI_KIT
- name: STR_FLOATER_MEDIC
getOneFree:
- STR_MEDI_KIT
- name: STR_SECTOID_MEDIC
getOneFree:
- STR_MEDI_KIT
-
Is there a reason you use getOneFree: instead of unlocks: ?
-
If I read your ruleset correctly, the Medi-Kit research would become available to research after you researched the Exam Room; or you'd get the Medi-Kit research topic free if you research a Sectoid or Floater medic. Is that right?
-
Yes, work for me.