Suit Cycler now applies suit stats

Suit Cycler now applies the proper armor, descriptions, and temperature protection stats to all of the engineering and medical suits.
This commit is contained in:
Razgriz
2019-05-26 23:15:29 -07:00
committed by GitHub
parent 72eee4d639
commit c5c329af4f
+44
View File
@@ -979,12 +979,19 @@
helmet.name = "engineering voidsuit helmet"
helmet.icon_state = "rig0-engineering"
helmet.item_state = "rig0-engineering"
helmet.max_heat_protection_temperature = HELMET_MAX_HEAT_PROTECTION_TEMPERATURE
helmet.armor = list(melee = 40, bullet = 5, laser = 20, energy = 5, bomb = 35, bio = 100, rad = 80)
helmet.desc = "A special helmet designed for work in a hazardous, low-pressure environment. Has radiation shielding."
if(suit)
suit.name = "engineering voidsuit"
suit.icon_state = "rig-engineering"
suit.item_state = "rig-engineering"
suit.item_state_slots[slot_r_hand_str] = "eng_voidsuit"
suit.item_state_slots[slot_l_hand_str] = "eng_voidsuit"
suit.max_heat_protection_temperature = SPACE_SUIT_MAX_HEAT_PROTECTION_TEMPERATURE
suit.armor = list(melee = 40, bullet = 5, laser = 20, energy = 5, bomb = 35, bio = 100, rad = 80)
suit.desc = "A special suit that protects against hazardous, low pressure environments. Has radiation shielding."
if("Mining")
if(helmet)
helmet.name = "mining voidsuit helmet"
@@ -1001,12 +1008,16 @@
helmet.name = "medical voidsuit helmet"
helmet.icon_state = "rig0-medical"
helmet.item_state = "rig0-medical"
helmet.armor = list(melee = 30, bullet = 5, laser = 20, energy = 5, bomb = 25, bio = 100, rad = 50)
helmet.desc = "A special helmet that protects against hazardous, low pressure environments. Has minor radiation shielding."
if(suit)
suit.name = "medical voidsuit"
suit.icon_state = "rig-medical"
suit.item_state = "rig-medical"
suit.item_state_slots[slot_r_hand_str] = "medical_voidsuit"
suit.item_state_slots[slot_l_hand_str] = "medical_voidsuit"
suit.armor = list(melee = 30, bullet = 5, laser = 20, energy = 5, bomb = 25, bio = 100, rad = 50)
suit.desc = "A special suit that protects against hazardous, low pressure environments. Has minor radiation shielding."
if("Security")
if(helmet)
helmet.name = "security voidsuit helmet"
@@ -1034,56 +1045,89 @@
helmet.name = "atmospherics voidsuit helmet"
helmet.icon_state = "rig0-atmos"
helmet.item_state = "rig0-atmos"
helmet.max_heat_protection_temperature = FIRE_HELMET_MAX_HEAT_PROTECTION_TEMPERATURE
helmet.armor = list(melee = 40, bullet = 5, laser = 20, energy = 5, bomb = 35, bio = 100, rad = 50)
helmet.desc = "A special helmet designed for work in a hazardous, low pressure environments. Has improved thermal protection and minor radiation shielding."
if(suit)
suit.name = "atmospherics voidsuit"
suit.icon_state = "rig-atmos"
suit.item_state = "rig-atmos"
suit.item_state_slots[slot_r_hand_str] = "atmos_voidsuit"
suit.item_state_slots[slot_l_hand_str] = "atmos_voidsuit"
suit.max_heat_protection_temperature = FIRESUIT_MAX_HEAT_PROTECTION_TEMPERATURE
suit.armor = list(melee = 40, bullet = 5, laser = 20, energy = 5, bomb = 35, bio = 100, rad = 50)
suit.desc = "A special suit that protects against hazardous, low pressure environments. Has improved thermal protection and minor radiation shielding."
if("HAZMAT")
if(helmet)
helmet.name = "HAZMAT voidsuit helmet"
helmet.icon_state = "rig0-engineering_rad"
helmet.item_state = "rig0-engineering_rad"
helmet.max_heat_protection_temperature = HELMET_MAX_HEAT_PROTECTION_TEMPERATURE
helmet.armor = list(melee = 30, bullet = 5, laser = 20, energy = 5, bomb = 50, bio = 100, rad = 100)
helmet.desc = "A engineering helmet designed for work in a low-pressure environment. Extra radiation shielding appears to have been installed at the price of comfort."
if(suit)
suit.name = "HAZMAT voidsuit"
suit.icon_state = "rig-engineering_rad"
suit.item_state = "rig-engineering_rad"
suit.item_state_slots[slot_r_hand_str] = "eng_voidsuit_rad"
suit.item_state_slots[slot_l_hand_str] = "eng_voidsuit_rad"
suit.max_heat_protection_temperature = SPACE_SUIT_MAX_HEAT_PROTECTION_TEMPERATURE
suit.armor = list(melee = 30, bullet = 5, laser = 20, energy = 5, bomb = 50, bio = 100, rad = 100)
suit.desc = "A engineering voidsuit that protects against hazardous, low pressure environments. Has enhanced radiation shielding compared to regular engineering voidsuits."
if("Construction")
if(helmet)
helmet.name = "Construction voidsuit helmet"
helmet.icon_state = "rig0-engineering_con"
helmet.item_state = "rig0-engineering_con"
helmet.max_heat_protection_temperature = HELMET_MAX_HEAT_PROTECTION_TEMPERATURE
helmet.armor = list(melee = 40, bullet = 5, laser = 20, energy = 5, bomb = 35, bio = 100, rad = 80)
helmet.desc = "A special helmet designed for work in a hazardous, low-pressure environment. Has radiation shielding."
if(suit)
suit.name = "Construction voidsuit"
suit.icon_state = "rig-engineering_con"
suit.item_state = "rig-engineering_con"
suit.item_state_slots[slot_r_hand_str] = "eng_voidsuit_con"
suit.item_state_slots[slot_l_hand_str] = "eng_voidsuit_con"
suit.max_heat_protection_temperature = SPACE_SUIT_MAX_HEAT_PROTECTION_TEMPERATURE
suit.armor = list(melee = 40, bullet = 5, laser = 20, energy = 5, bomb = 35, bio = 100, rad = 80)
suit.desc = "A special suit designed for work in a hazardous, low-pressure environment. Has radiation shielding."
if("Biohazard")
if(helmet)
helmet.name = "Biohazard voidsuit helmet"
helmet.icon_state = "rig0-medical_bio"
helmet.item_state = "rig0-medical_bio"
helmet.armor = list(melee = 45, bullet = 5, laser = 20, energy = 5, bomb = 15, bio = 100, rad = 75)
helmet.desc = "A special helmet that protects against hazardous environments. Has minor radiation shielding."
if(suit)
suit.name = "Biohazard voidsuit"
suit.icon_state = "rig-medical_bio"
suit.item_state = "rig-medical_bio"
suit.item_state_slots[slot_r_hand_str] = "medical_voidsuit_bio"
suit.item_state_slots[slot_l_hand_str] = "medical_voidsuit_bio"
suit.armor = list(melee = 45, bullet = 5, laser = 20, energy = 5, bomb = 15, bio = 100, rad = 75)
suit.desc = "A special suit that protects against hazardous, environments. It feels heavier than the standard suit with extra protection around the joints."
if("Emergency Medical Response")
if(helmet)
helmet.name = "emergency medical response voidsuit helmet"
helmet.icon_state = "rig0-medical_emt"
helmet.item_state = "rig0-medical_emt"
helmetarmor = list(melee = 30, bullet = 5, laser = 20, energy = 5, bomb = 25, bio = 100, rad = 50)
helmet.desc = "A special helmet that protects against hazardous, low pressure environments. Has minor radiation shielding."
if(suit)
suit.name = "emergency medical response voidsuit"
suit.icon_state = "rig-medical_emt"
suit.item_state = "rig-medical_emt"
suit.item_state_slots[slot_r_hand_str] = "medical_voidsuit_emt"
suit.item_state_slots[slot_l_hand_str] = "medical_voidsuit_emt"
suit.armor = list(melee = 30, bullet = 5, laser = 20, energy = 5, bomb = 25, bio = 100, rad = 50)
suit.desc = "A special suit that protects against hazardous, low pressure environments. Has minor radiation shielding."
if("^%###^%$" || "Mercenary")
if(helmet)
helmet.name = "blood-red voidsuit helmet"