Adds framework for equip delays and adds it to the straight jacket

This commit is contained in:
CitadelStationBot
2017-06-19 22:06:18 -05:00
parent f97540247f
commit 989b991b05
21 changed files with 72 additions and 60 deletions
+7 -7
View File
@@ -197,7 +197,7 @@
icon_state = "earmuffs"
item_state = "earmuffs"
strip_delay = 15
put_on_delay = 25
equip_delay_other = 25
resistance_flags = FLAMMABLE
/obj/item/clothing/ears/earmuffs/Initialize(mapload)
@@ -221,7 +221,7 @@
var/list/icon/current = list() //the current hud icons
var/vision_correction = 0 //does wearing these glasses correct some of our vision defects?
strip_delay = 20
put_on_delay = 25
equip_delay_other = 25
resistance_flags = 0
/*
SEE_SELF // can see self, no matter what
@@ -246,7 +246,7 @@ BLIND // can't see anything
attack_verb = list("challenged")
var/transfer_prints = FALSE
strip_delay = 20
put_on_delay = 40
equip_delay_other = 40
/obj/item/clothing/gloves/worn_overlays(isinhands = FALSE)
@@ -301,7 +301,7 @@ BLIND // can't see anything
body_parts_covered = NECK
slot_flags = SLOT_NECK
strip_delay = 40
put_on_delay = 40
equip_delay_other = 40
/obj/item/clothing/neck/worn_overlays(isinhands = FALSE)
. = list()
@@ -320,7 +320,7 @@ BLIND // can't see anything
body_parts_covered = HEAD
slot_flags = SLOT_MASK
strip_delay = 40
put_on_delay = 40
equip_delay_other = 40
var/mask_adjusted = 0
var/adjusted_flags = null
@@ -487,7 +487,7 @@ BLIND // can't see anything
max_heat_protection_temperature = SPACE_HELM_MAX_TEMP_PROTECT
flash_protect = 2
strip_delay = 50
put_on_delay = 50
equip_delay_other = 50
flags_cover = HEADCOVERSEYES | HEADCOVERSMOUTH
resistance_flags = 0
@@ -510,7 +510,7 @@ BLIND // can't see anything
heat_protection = CHEST|GROIN|LEGS|FEET|ARMS|HANDS
max_heat_protection_temperature = SPACE_SUIT_MAX_TEMP_PROTECT
strip_delay = 80
put_on_delay = 80
equip_delay_other = 80
resistance_flags = 0
//Under clothing
+1 -1
View File
@@ -3,7 +3,7 @@
desc = "Because you really needed another excuse to punch your crewmates."
icon_state = "boxing"
item_state = "boxing"
put_on_delay = 60
equip_delay_other = 60
species_exception = list(/datum/species/golem) // now you too can be a golem boxing champion
/obj/item/clothing/gloves/boxing/green
@@ -7,7 +7,7 @@
item_color = null //So they don't wash.
transfer_prints = TRUE
strip_delay = 40
put_on_delay = 20
equip_delay_other = 20
cold_protection = HANDS
min_cold_protection_temperature = GLOVES_MIN_TEMP_PROTECT
@@ -48,7 +48,7 @@
item_color = null //So they don't wash.
transfer_prints = TRUE
strip_delay = 40
put_on_delay = 20
equip_delay_other = 20
body_parts_covered = ARMS
cold_protection = ARMS
min_cold_protection_temperature = GLOVES_MIN_TEMP_PROTECT
+1 -1
View File
@@ -6,7 +6,7 @@
icon_state = "chef"
desc = "The commander in chef's head wear."
strip_delay = 10
put_on_delay = 10
equip_delay_other = 10
dog_fashion = /datum/dog_fashion/head/chef
/obj/item/clothing/head/chefhat/suicide_act(mob/user)
+1 -1
View File
@@ -35,4 +35,4 @@
icon_state = "medical"
item_state = "m_mask"
permeability_coefficient = 0.01
put_on_delay = 10
equip_delay_other = 10
+1 -1
View File
@@ -6,7 +6,7 @@
flags_cover = MASKCOVERSMOUTH
w_class = WEIGHT_CLASS_SMALL
gas_transfer_coefficient = 0.90
put_on_delay = 20
equip_delay_other = 20
/obj/item/clothing/mask/muzzle/attack_paw(mob/user)
if(iscarbon(user))
+1 -1
View File
@@ -7,7 +7,7 @@
var/slowdown_active = 2
actions_types = list(/datum/action/item_action/toggle)
strip_delay = 70
put_on_delay = 70
equip_delay_other = 70
resistance_flags = FIRE_PROOF
origin_tech = "materials=3;magnets=4;engineering=4"
+8 -8
View File
@@ -34,7 +34,7 @@
name = "sandals"
icon_state = "wizard"
strip_delay = 50
put_on_delay = 50
equip_delay_other = 50
/obj/item/clothing/shoes/sandal/marisa
desc = "A pair of magic black shoes."
@@ -55,7 +55,7 @@
flags = NOSLIP
slowdown = SHOES_SLOWDOWN+1
strip_delay = 50
put_on_delay = 50
equip_delay_other = 50
resistance_flags = 0
armor = list(melee = 0, bullet = 0, laser = 0, energy = 0, bomb = 0, bio = 0, rad = 0, fire = 40, acid = 75)
@@ -94,7 +94,7 @@
item_state = "jackboots"
item_color = "hosred"
strip_delay = 50
put_on_delay = 50
equip_delay_other = 50
resistance_flags = 0
pockets = /obj/item/weapon/storage/internal/pocket/shoes
@@ -118,7 +118,7 @@
icon_state = "workboots"
item_state = "jackboots"
strip_delay = 40
put_on_delay = 40
equip_delay_other = 40
pockets = /obj/item/weapon/storage/internal/pocket/shoes
/obj/item/clothing/shoes/workboots/mining
@@ -154,7 +154,7 @@
name = "laceup shoes"
desc = "The height of fashion, and they're pre-polished!"
icon_state = "laceups"
put_on_delay = 50
equip_delay_other = 50
/obj/item/clothing/shoes/roman
name = "roman sandals"
@@ -162,7 +162,7 @@
icon_state = "roman"
item_state = "roman"
strip_delay = 100
put_on_delay = 100
equip_delay_other = 100
/obj/item/clothing/shoes/griffin
name = "griffon boots"
@@ -212,10 +212,10 @@
name = "yellow performer's boots"
desc = "These boots were made for dancing."
icon_state = "ysing"
put_on_delay = 50
equip_delay_other = 50
/obj/item/clothing/shoes/singerb
name = "blue performer's boots"
desc = "These boots were made for dancing."
icon_state = "bsing"
put_on_delay = 50
equip_delay_other = 50
@@ -124,7 +124,7 @@ Contains:
armor = list(melee = 30, bullet = 50, laser = 30,energy = 15, bomb = 30, bio = 30, rad = 30, fire = 60, acid = 75)
flags = STOPSPRESSUREDMAGE
strip_delay = 40
put_on_delay = 20
equip_delay_other = 20
flags_cover = HEADCOVERSEYES
/obj/item/clothing/suit/space/pirate
@@ -138,7 +138,7 @@ Contains:
slowdown = 0
armor = list(melee = 30, bullet = 50, laser = 30,energy = 15, bomb = 30, bio = 30, rad = 30, fire = 60, acid = 75)
strip_delay = 40
put_on_delay = 20
equip_delay_other = 20
//Emergency Response Team suits
/obj/item/clothing/head/helmet/space/hardsuit/ert
+3 -3
View File
@@ -6,7 +6,7 @@
heat_protection = CHEST|GROIN
max_heat_protection_temperature = ARMOR_MAX_TEMP_PROTECT
strip_delay = 60
put_on_delay = 40
equip_delay_other = 40
obj_integrity = 250
max_integrity = 250
resistance_flags = 0
@@ -107,7 +107,7 @@
heat_protection = CHEST|GROIN|LEGS|FEET|ARMS|HANDS
armor = list(melee = 50, bullet = 10, laser = 10, energy = 10, bomb = 0, bio = 0, rad = 0, fire = 80, acid = 80)
strip_delay = 80
put_on_delay = 60
equip_delay_other = 60
/obj/item/clothing/suit/armor/bone
name = "bone armor"
@@ -126,7 +126,7 @@
blood_overlay_type = "armor"
armor = list(melee = 15, bullet = 60, laser = 10, energy = 10, bomb = 40, bio = 0, rad = 0, fire = 50, acid = 50)
strip_delay = 70
put_on_delay = 50
equip_delay_other = 50
/obj/item/clothing/suit/armor/laserproof
name = "reflector vest"
+2 -2
View File
@@ -25,7 +25,7 @@
armor = list(melee = 0, bullet = 0, laser = 0,energy = 0, bomb = 0, bio = 100, rad = 20, fire = 30, acid = 100)
flags_inv = HIDEGLOVES|HIDESHOES|HIDEJUMPSUIT
strip_delay = 70
put_on_delay = 70
equip_delay_other = 70
resistance_flags = ACID_PROOF
//Standard biosuit, orange stripe
@@ -85,4 +85,4 @@
icon_state = "plaguedoctor"
item_state = "bio_suit"
strip_delay = 40
put_on_delay = 20
equip_delay_other = 20
@@ -317,6 +317,7 @@
item_state = "straight_jacket"
body_parts_covered = CHEST|GROIN|LEGS|ARMS|HANDS
flags_inv = HIDEGLOVES|HIDESHOES|HIDEJUMPSUIT
equip_delay_self = 50
strip_delay = 60
breakouttime = 3000
+5 -5
View File
@@ -27,7 +27,7 @@
cold_protection = CHEST|GROIN|LEGS|FEET|ARMS|HANDS
min_cold_protection_temperature = FIRE_SUIT_MIN_TEMP_PROTECT
strip_delay = 60
put_on_delay = 60
equip_delay_other = 60
resistance_flags = FIRE_PROOF
/obj/item/clothing/suit/fire/firefighter
@@ -64,7 +64,7 @@
heat_protection = HEAD
max_heat_protection_temperature = HELMET_MAX_TEMP_PROTECT
strip_delay = 70
put_on_delay = 70
equip_delay_other = 70
flags_cover = HEADCOVERSEYES | HEADCOVERSMOUTH
resistance_flags = 0
@@ -87,7 +87,7 @@
cold_protection = CHEST|GROIN|LEGS|FEET|ARMS|HANDS
min_cold_protection_temperature = ARMOR_MIN_TEMP_PROTECT
strip_delay = 70
put_on_delay = 70
equip_delay_other = 70
resistance_flags = 0
@@ -112,7 +112,7 @@
flags_inv = HIDEMASK|HIDEEARS|HIDEFACE|HIDEEYES|HIDEHAIR|HIDEFACIALHAIR
armor = list(melee = 0, bullet = 0, laser = 0,energy = 0, bomb = 0, bio = 60, rad = 100, fire = 30, acid = 30)
strip_delay = 60
put_on_delay = 60
equip_delay_other = 60
flags_cover = HEADCOVERSEYES | HEADCOVERSMOUTH
resistance_flags = 0
@@ -130,6 +130,6 @@
slowdown = 1.5
armor = list(melee = 0, bullet = 0, laser = 0,energy = 0, bomb = 0, bio = 60, rad = 100, fire = 30, acid = 30)
strip_delay = 60
put_on_delay = 60
equip_delay_other = 60
flags_inv = HIDEJUMPSUIT
resistance_flags = 0
+2 -2
View File
@@ -6,7 +6,7 @@
permeability_coefficient = 0.01
armor = list(melee = 30, bullet = 20, laser = 20, energy = 20, bomb = 20, bio = 20, rad = 20, fire = 100, acid = 100)
strip_delay = 50
put_on_delay = 50
equip_delay_other = 50
resistance_flags = FIRE_PROOF | ACID_PROOF
dog_fashion = /datum/dog_fashion/head/blue_wizard
@@ -70,7 +70,7 @@
allowed = list(/obj/item/weapon/teleportation_scroll)
flags_inv = HIDEJUMPSUIT
strip_delay = 50
put_on_delay = 50
equip_delay_other = 50
resistance_flags = FIRE_PROOF | ACID_PROOF
/obj/item/clothing/suit/wizrobe/red