mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 20:16:55 +01:00
Changes slot number defines from lowercase to all uppercase (#22297)
* undo all of it * flags * back * head/mask * left * right * Cuffs * other name changes * ID and PDA * idk about calling them SLOT_HUD now * glasses, gloves, and shoes, oh my! * the rest * comment
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
var/used = FALSE // only one form of shackles removed per use
|
||||
|
||||
if(user.handcuffed)
|
||||
var/obj/O = user.get_item_by_slot(slot_handcuffed)
|
||||
var/obj/O = user.get_item_by_slot(SLOT_HUD_HANDCUFFED)
|
||||
if(!istype(O))
|
||||
return FALSE
|
||||
user.visible_message("<span class='warning'>[user] vomits a glob of acid on [user.p_their()] [O.name]!</span>", \
|
||||
@@ -25,7 +25,7 @@
|
||||
used = TRUE
|
||||
|
||||
if(user.legcuffed)
|
||||
var/obj/O = user.get_item_by_slot(slot_legcuffed)
|
||||
var/obj/O = user.get_item_by_slot(SLOT_HUD_LEGCUFFED)
|
||||
if(!istype(O))
|
||||
return FALSE
|
||||
user.visible_message("<span class='warning'>[user] vomits a glob of acid on [user.p_their()] [O.name]!</span>", \
|
||||
@@ -34,7 +34,7 @@
|
||||
used = TRUE
|
||||
|
||||
if(user.wear_suit && user.wear_suit.breakouttime && !used)
|
||||
var/obj/item/clothing/suit/S = user.get_item_by_slot(slot_wear_suit)
|
||||
var/obj/item/clothing/suit/S = user.get_item_by_slot(SLOT_HUD_OUTER_SUIT)
|
||||
if(!istype(S))
|
||||
return FALSE
|
||||
user.visible_message("<span class='warning'>[user] vomits a glob of acid across the front of [user.p_their()] [S.name]!</span>", \
|
||||
|
||||
@@ -99,8 +99,8 @@
|
||||
user.unEquip(user.head)
|
||||
user.unEquip(user.wear_suit)
|
||||
|
||||
user.equip_to_slot_if_possible(new suit_type(user), slot_wear_suit, TRUE, TRUE)
|
||||
user.equip_to_slot_if_possible(new helmet_type(user), slot_head, TRUE, TRUE)
|
||||
user.equip_to_slot_if_possible(new suit_type(user), SLOT_HUD_OUTER_SUIT, TRUE, TRUE)
|
||||
user.equip_to_slot_if_possible(new helmet_type(user), SLOT_HUD_HEAD, TRUE, TRUE)
|
||||
|
||||
cling.chem_recharge_slowdown += recharge_slowdown
|
||||
return TRUE
|
||||
|
||||
@@ -31,11 +31,11 @@
|
||||
return
|
||||
|
||||
var/list/slots = list(
|
||||
"backpack" = slot_in_backpack,
|
||||
"left pocket" = slot_l_store,
|
||||
"right pocket" = slot_r_store,
|
||||
"left hand" = slot_l_hand,
|
||||
"right hand" = slot_r_hand,
|
||||
"backpack" = SLOT_HUD_IN_BACKPACK,
|
||||
"left pocket" = SLOT_HUD_LEFT_STORE,
|
||||
"right pocket" = SLOT_HUD_RIGHT_STORE,
|
||||
"left hand" = SLOT_HUD_LEFT_HAND,
|
||||
"right hand" = SLOT_HUD_RIGHT_HAND,
|
||||
)
|
||||
|
||||
var/flashloc_name
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
icon = 'icons/obj/device.dmi'
|
||||
icon_state = "contractor_uplink"
|
||||
w_class = WEIGHT_CLASS_SMALL
|
||||
slot_flags = SLOT_BELT
|
||||
slot_flags = SLOT_FLAG_BELT
|
||||
origin_tech = "programming=5;syndicate=4" // Hackerman encryption
|
||||
/// The Contractor Hub associated with this uplink.
|
||||
var/datum/contractor_hub/hub = null
|
||||
|
||||
Reference in New Issue
Block a user