Skip to content

Commit

Permalink
Очки насильника.
Browse files Browse the repository at this point in the history
  • Loading branch information
SmiLeYre committed Mar 11, 2024
1 parent 9e8ae13 commit 1b4e1a4
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 0 deletions.
1 change: 1 addition & 0 deletions code/modules/vending/kinkmate.dm
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
/obj/item/clothing/neck/stole/black = 2,
/obj/item/restraints/handcuffs/fake/kinky = 5,
/obj/item/clothing/glasses/sunglasses/blindfold = 4,
/obj/item/clothing/glasses/hud/slaver = 8,
/obj/item/clothing/mask/muzzle = 4,
/obj/item/clothing/mask/gas/sechailer/slut = 4,
/obj/item/clothing/shoes/highheels = 3,
Expand Down
4 changes: 4 additions & 0 deletions modular_citadel/code/modules/client/loadout/glasses.dm
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,7 @@
/datum/gear/glasses/modern
name = "Modern prescription glasses"
path = /obj/item/clothing/glasses/regular/modern

/datum/gear/glasses/raper
name = "Raper Sunglasses"
path = /obj/item/clothing/glasses/hud/slaver
16 changes: 16 additions & 0 deletions modular_splurt/code/modules/antagonists/slaver/slaver.dm
Original file line number Diff line number Diff line change
Expand Up @@ -237,3 +237,19 @@ GLOBAL_LIST_INIT(slavers_ransom_values, list(

/proc/is_slaver(mob/M)
return M && istype(M) && M.mind && M.mind.has_antag_datum(/datum/antagonist/slaver)

/obj/item/clothing/glasses/hud/slaver
name = "Raper Sunglasses"
desc = "Солнцезащитные очки тёмного цвета, дающие способность увидеть, подвергался ли определённый сотрудник сексуальному насилию ранее и каковой была его реакция."

/obj/item/clothing/glasses/hud/equipped(mob/living/carbon/human/user, slot)
. = ..()
var/datum/atom_hud/antag/slaverhud = GLOB.huds[ANTAG_HUD_SLAVER]
slaverhud.join_hud(M)

Check failure on line 248 in modular_splurt/code/modules/antagonists/slaver/slaver.dm

View workflow job for this annotation

GitHub Actions / Run Linters

undefined var: "M"
set_antag_hud(M, "slaver")

Check failure on line 249 in modular_splurt/code/modules/antagonists/slaver/slaver.dm

View workflow job for this annotation

GitHub Actions / Run Linters

undefined var: "M"

/obj/item/clothing/glasses/hud/dropped(mob/living/carbon/human/user)
. = ..()
var/datum/atom_hud/antag/slaverhud = GLOB.huds[ANTAG_HUD_SLAVER]
slaverhud.leave_hud(M)

Check failure on line 254 in modular_splurt/code/modules/antagonists/slaver/slaver.dm

View workflow job for this annotation

GitHub Actions / Run Linters

undefined var: "M"
set_antag_hud(M, null)

Check failure on line 255 in modular_splurt/code/modules/antagonists/slaver/slaver.dm

View workflow job for this annotation

GitHub Actions / Run Linters

undefined var: "M"

0 comments on commit 1b4e1a4

Please sign in to comment.