mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-22 12:47:16 +01:00
[MIRROR] Begin clickcode attack_self fix (#12173)
Co-authored-by: Cameron Lennox <killer65311@gmail.com>
This commit is contained in:
co-authored by
Cameron Lennox
parent
063cf6cf48
commit
3cac28f9ad
@@ -14,9 +14,7 @@
|
||||
var/slaveckey = null //Ckey for system to check who is the person and ensure no abuse of system or errors
|
||||
var/slaveflavor = null //Description to show on the SPASM
|
||||
var/slaveooc = null //OOC text to show on the SPASM
|
||||
|
||||
/obj/item/clothing/accessory/collar/casinoslave/attack_self(mob/user as mob)
|
||||
//keeping it blank so people don't tag and reset collar status
|
||||
special_collar = TRUE
|
||||
|
||||
/obj/item/clothing/accessory/collar/holo/casinoslave_fake
|
||||
name = "a Sentient Prize Collar"
|
||||
|
||||
@@ -218,17 +218,8 @@
|
||||
default_worn_icon = "groinpadU"
|
||||
|
||||
///helmet
|
||||
|
||||
/obj/item/clothing/head/helmet/riot/modarm/attack_self(mob/user)
|
||||
if(icon_state == src::icon_state)
|
||||
icon_state = "modhelmup"
|
||||
item_state = "modhelmup"
|
||||
to_chat(user, span_notice("You raise the visor on the visored helmet."))
|
||||
else
|
||||
icon_state = src::icon_state
|
||||
item_state = src::item_state
|
||||
to_chat(user, span_notice("You lower the visor on the visored helmet."))
|
||||
update_clothing_icon()
|
||||
/obj/item/clothing/head/helmet/riot/modarm
|
||||
name_descriptor = "visored helmet"
|
||||
|
||||
/obj/item/clothing/head/helmet/riot/modarm/killa
|
||||
name = "striped visored helmet"
|
||||
@@ -236,18 +227,6 @@
|
||||
icon_state = "modhelm_killa"
|
||||
item_state = "modhelm_killa"
|
||||
|
||||
/obj/item/clothing/head/helmet/riot/modarm/killa/attack_self(mob/user)
|
||||
if(icon_state == src::icon_state)
|
||||
icon_state = "modhelm_killaup"
|
||||
item_state = "modhelm_killaup"
|
||||
to_chat(user, span_notice("You raise the visor on the visored helmet."))
|
||||
else
|
||||
icon_state = src::icon_state
|
||||
item_state = src::item_state
|
||||
to_chat(user, span_notice("You lower the visor on the visored helmet."))
|
||||
update_clothing_icon()
|
||||
|
||||
|
||||
///presets
|
||||
|
||||
/obj/item/clothing/suit/armor/pcarrier/modarm/full
|
||||
|
||||
@@ -19,6 +19,9 @@
|
||||
/obj/item/shockpaddles/standalone/rig/checked_use(var/charge_amt)
|
||||
return 1
|
||||
|
||||
/obj/item/shockpaddles/standalone/rig/attack_self()
|
||||
/obj/item/shockpaddles/standalone/rig/attack_self(mob/user)
|
||||
. = ..(user)
|
||||
if(.)
|
||||
return TRUE
|
||||
use_on_synthetic = !use_on_synthetic
|
||||
to_chat(usr, span_notice("You switch the [src] to [use_on_synthetic ? "FBP" : "organic"] compatibility."))
|
||||
|
||||
Reference in New Issue
Block a user