aliens

Author Topic: [DONE] [Suggestion] Prison types  (Read 3162 times)

Online Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9105
    • View Profile
[DONE] [Suggestion] Prison types
« on: February 19, 2019, 03:37:46 pm »
Split from here: https://openxcom.org/forum/index.php/topic,4830.msg69933.html#msg69933

And here it is... the stupidest-est feature I've ever implemented!
(At least I was not bored while traveling.)

Anyway, facilities can now have "prisonType".
0 is default and is reserved for alien containment... only these facilities will show up in "Alien Containment" bar in Base Info GUI.
1, 2, 3, 4, 5, ... can be used for all your pervert needs.

Code: [Select]
facilities:
  - type: STR_ALIEN_CONTAINMENT
    aliens: 15
    prisonType: 0 # default
  - type: STR_PRISON
    aliens: 30
    prisonType: 1
  - type: STR_ANIMAL_CAGES
    aliens: 100
    prisonType: 2
  - type: STR_HAREM
    aliens: 10
    prisonType: 3

Items also have "prisonType".
0 is default.

Code: [Select]
items:
  - type: STR_CHRYSSALID_TERRORIST
    liveAlien: true
    prisonType: 0 # default
  - type: STR_GUILD_NAVIGATOR
    liveAlien: true
    prisonType: 1
  - type: STR_BLOOD_DOG_TERRORIST
    liveAlien: true
    prisonType: 2
  - type: STR_MAGICAL_GIRL
    liveAlien: true
    prisonType: 3

Translations (the ones without a suffix are for prisonType = 0):

Quote
# 0 = alien containment
# 1 = prison
# 2 = animal cages
# 3 = harem

#Debriefing
      STR_CONTAINMENT_EXCEEDED: "ALIEN CONTAINMENT LIMITS EXCEEDED!{SMALLLINE}Insufficient containment space at {0}. You must remove excess aliens from containment (who will then die)."
      STR_CONTAINMENT_EXCEEDED_1: "NO MORE ROOM IN PRISON!{SMALLLINE}Ran out of cells in {0}. We must throw excess prisoners out!"
      STR_CONTAINMENT_EXCEEDED_2: "NO MORE SPACE IN THE CAGES!{SMALLLINE}If you don't tidy up in {0}, the animals will start killing each other!"
      STR_CONTAINMENT_EXCEEDED_3: "HAREM IS FULL!{SMALLLINE}Not enough space at {0}. What are you waiting for?"

#Transfer
      STR_NO_ALIEN_CONTAINMENT_FOR_TRANSFER: "NO ALIEN CONTAINMENT FOR TRANSFER!{SMALLLINE}Live aliens need an alien containment facility in order to survive."
      STR_NO_ALIEN_CONTAINMENT_FOR_TRANSFER_1: "THIS IS MADNESS!{SMALLLINE}There are no prison cells at that hideout, Cap'n!"
      STR_NO_ALIEN_CONTAINMENT_FOR_TRANSFER_2: "HOLD YOUR HORSES!{SMALLLINE}There are no animal cages there..."
      STR_NO_ALIEN_CONTAINMENT_FOR_TRANSFER_3: "WHAT?!{SMALLLINE}My virgins are going nowhere!"

#No Containment
      STR_ALIEN_DIES_NO_ALIEN_CONTAINMENT_FACILITY: "Alien dies as there is no alien containment facility"
      STR_ALIEN_DIES_NO_ALIEN_CONTAINMENT_FACILITY_1: "No free prison cells. Hostages were looted and kicked out!"
      STR_ALIEN_DIES_NO_ALIEN_CONTAINMENT_FACILITY_2: "There's no animal cages, we have let them free"
      STR_ALIEN_DIES_NO_ALIEN_CONTAINMENT_FACILITY_3: "The virgins have been deflowered prematurely"

#Manage Containment
      STR_REMOVE_SELECTED: "Remove Selected"
      STR_REMOVE_SELECTED_1: "Ransom!"
      STR_REMOVE_SELECTED_2: "Put to sleep"
      STR_REMOVE_SELECTED_3: "Not a virgin? Sell at slave market!"

      STR_MANAGE_CONTAINMENT: "Manage Alien Containment"
      STR_MANAGE_CONTAINMENT_1: "Manage Prison"
      STR_MANAGE_CONTAINMENT_2: "Manage Animal Cages"
      STR_MANAGE_CONTAINMENT_3: "Manage Harem"

      STR_ALIEN: "Alien"
      STR_ALIEN_1: "Hostage"
      STR_ALIEN_2: "Animal"
      STR_ALIEN_3: "Virgin"

      STR_LIVE_ALIENS: "Live{NEWLINE}Specimens"
      STR_LIVE_ALIENS_1: "Keep"
      STR_LIVE_ALIENS_2: "How{NEWLINE}cute!"
      STR_LIVE_ALIENS_3: "Keep{NEWLINE}for later"

      STR_DEAD_ALIENS: "Rejected{NEWLINE}Specimens"
      STR_DEAD_ALIENS_1: "Ransom"
      STR_DEAD_ALIENS_2: "Ugh,{NEWLINE}ugly!"
      STR_DEAD_ALIENS_3: "Deflower{NEWLINE}now!"

      STR_UNDER_INTERROGATION: "Being{NEWLINE}Studied"
      STR_UNDER_INTERROGATION_1: "Being{NEWLINE}interrogated"
      STR_UNDER_INTERROGATION_2: "In Lab"
      STR_UNDER_INTERROGATION_3: "Being{NEWLINE}deflowered"

Online Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9105
    • View Profile
Re: [DONE] [Suggestion] Prison types
« Reply #1 on: February 22, 2019, 12:10:46 pm »
Prison checks are now done also when purchasing... stuff.

Code: [Select]
# 0 = alien containment
# 1 = prison
# 2 = animal cages
# 3 = harem

#Purchase
      STR_NOT_ENOUGH_PRISON_SPACE: "NOT ENOUGH ALIEN CONTAINMENT!{SMALLLINE}Build new alien containment or transfer aliens to other bases."
      STR_NOT_ENOUGH_PRISON_SPACE_1: "NOT ENOUGH ROOM IN THE PRISON!{SMALLLINE}Build a new prison or transfer prisoners to other bases."
      STR_NOT_ENOUGH_PRISON_SPACE_2: "NOT ENOUGH ROOM IN KENNELS!{SMALLLINE}Build new ones or we WILL call PETA!"
      STR_NOT_ENOUGH_PRISON_SPACE_3: "HAREM IS ALREADY FULL!{SMALLLINE} Stop hoarding, start enjoying?"