I'm trying to use the items->name property but I'm stuck.
latest nightly used: openxcom_git_master_2015_03_08_1940.zip
What I want to achieve is blind capture:
translate STR_SECTOID_SOLDIER, STR_SECTOID_MEDIC, STR_SECTOID_LEADER... simply as "Sectoid Alien".
This way in the battlescape you cannot know if you have a leader or a simple soldier.
Back at base, you should be able to identify the prisoners and have the right ranks.
items->name seems to do just that
pedia say:
String ID of the displayed item name, for cases where it's different from the internal name. If omitted, type is used.
so I end up with something like
items:
- type: STR_SECTOID_SOLDIER
name: STR_CAPTURED_SECTOID_SOLDIER
but the name property seem to be just ignored. Only type get used.
Someone can help me plese :'(
below a simple rule for testing
extraStrings:
- type: en-GB
strings:
STR_SECTOID_SOLDIER: "generic sectoid"
STR_CAPTURED_SECTOID_SOLDIER: "ranked sectoid"
items:
- type: STR_SECTOID_SOLDIER
name: STR_CAPTURED_SECTOID_SOLDIER
size: 0.0
recover: true
liveAlien: true
costSell: 0
- type: STR_CAPTURED_SECTOID_SOLDIER
size: 1
costSell: 40000
liveAlien: true
recover: true
# only corpse uses "name"
# - type: REAPER_CORPSE_1
# name: STR_REAPER_CORPSE
# floorSprite: 52
# invWidth: 0
# invHeight: 0
# battleType: 11
# recoveryPoints: 3
# - type: STR_REAPER_CORPSE
# size: 1
# costSell: 20000
# battleType: 11
# start a new game with stun launcher
- type: STR_SMALL_LAUNCHER
requires: []
- type: STR_STUN_BOMB
requires: []
startingBase:
crafts:
- type: STR_SKYRANGER
id: 1
items:
STR_SMALL_LAUNCHER: 10
STR_STUN_BOMB: 50
items:
STR_SECTOID_SOLDIER: 1
STR_CAPTURED_SECTOID_SOLDIER: 1
facilities:
- type: STR_ALIEN_CONTAINMENT
x: 1
y: 2
- type: STR_ACCESS_LIFT
x: 2
y: 2
- type: STR_HANGAR
x: 2
y: 0
- type: STR_HANGAR
x: 0
y: 4
- type: STR_HANGAR
x: 4
y: 4
- type: STR_LIVING_QUARTERS
x: 3
y: 2
- type: STR_GENERAL_STORES
x: 2
y: 3
- type: STR_LABORATORY
x: 3
y: 3
- type: STR_WORKSHOP
x: 4
y: 3
- type: STR_SMALL_RADAR_SYSTEM
Thanks in advance :)