mirror of
https://github.com/SPLURT-Station/S.P.L.U.R.T-Station-13.git
synced 2026-08-31 08:37:14 +01:00
Merge branch 'master' into pr/560
This commit is contained in:
@@ -11,3 +11,19 @@
|
||||
name = "Vampire ID"
|
||||
desc = "An ID made to easily recognize vampires without needing to do tests"
|
||||
icon_state = "vampire"
|
||||
|
||||
/obj/item/card/id/away/hotel/splurt
|
||||
name = "Staff ID"
|
||||
assignment = "Hotel Staff"
|
||||
desc = "A staff ID used to access the hotel's doors."
|
||||
access = list(ACCESS_AWAY_GENERAL, ACCESS_AWAY_MAINT, ACCESS_AWAY_ENGINE)
|
||||
|
||||
/obj/item/card/id/away/hotel/splurt/security
|
||||
name = "Officer ID"
|
||||
assignment = "Hotel Security"
|
||||
access = list(ACCESS_AWAY_GENERAL, ACCESS_AWAY_MAINT, ACCESS_AWAY_SEC, ACCESS_AWAY_ENGINE)
|
||||
|
||||
/obj/item/card/id/away/hotel/manager
|
||||
name = "Manager ID"
|
||||
assignment = "Hotel Manager"
|
||||
access = list(ACCESS_AWAY_GENERAL, ACCESS_AWAY_MAINT, ACCESS_AWAY_ENGINE, ACCESS_AWAY_SEC, ACCESS_AWAY_GENERIC1)
|
||||
|
||||
@@ -92,7 +92,7 @@ Icons, maybe?
|
||||
if(C.has_status_effect(/datum/status_effect/leash_pet)) //If the pet is already leashed, do not leash them. For the love of god.
|
||||
to_chat(user, "<span class='notice'>[C] has already been leashed.</span>")
|
||||
return
|
||||
if(istype(C.get_item_by_slot(ITEM_SLOT_NECK), /obj/item/clothing/neck/petcollar) || istype(C.get_item_by_slot(ITEM_SLOT_NECK), /obj/item/electropack/shockcollar))
|
||||
if(istype(C.get_item_by_slot(ITEM_SLOT_NECK), /obj/item/clothing/neck/petcollar) || istype(C.get_item_by_slot(ITEM_SLOT_NECK), /obj/item/electropack/shockcollar) || istype(C.get_item_by_slot(ITEM_SLOT_NECK), /obj/item/clothing/neck/necklace/cowbell) || istype(C.get_item_by_slot(ITEM_SLOT_NECK), /obj/item/clothing/neck/maid))
|
||||
var/leashtime = 50
|
||||
if(C.handcuffed)
|
||||
leashtime = 5
|
||||
|
||||
Reference in New Issue
Block a user