mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-09 22:25:46 +01:00
Fixes Slow Action Buttons, Removes Verbs
This commit is contained in:
@@ -495,22 +495,21 @@
|
||||
/obj/item/clothing/head/fluff/chronx/ui_action_click()
|
||||
adjust()
|
||||
|
||||
/obj/item/clothing/head/fluff/chronx/verb/adjust()
|
||||
set name = "Transform Hood"
|
||||
set category = "Object"
|
||||
set src in usr
|
||||
if(isliving(usr) && !usr.incapacitated())
|
||||
if(adjusted)
|
||||
icon_state = initial(icon_state)
|
||||
item_state = initial(item_state)
|
||||
to_chat(usr, "You untransform \the [src].")
|
||||
adjusted = 0
|
||||
else
|
||||
icon_state += "_open"
|
||||
item_state += "_open"
|
||||
to_chat(usr, "You transform \the [src].")
|
||||
adjusted = 1
|
||||
usr.update_inv_head()
|
||||
/obj/item/clothing/head/fluff/chronx/proc/adjust()
|
||||
if(adjusted)
|
||||
icon_state = initial(icon_state)
|
||||
item_state = initial(item_state)
|
||||
to_chat(usr, "You untransform \the [src].")
|
||||
adjusted = 0
|
||||
else
|
||||
icon_state += "_open"
|
||||
item_state += "_open"
|
||||
to_chat(usr, "You transform \the [src].")
|
||||
adjusted = 1
|
||||
usr.update_inv_head()
|
||||
for(var/X in actions)
|
||||
var/datum/action/A = X
|
||||
A.UpdateButtonIcon()
|
||||
|
||||
/obj/item/clothing/suit/chaplain_hoodie/fluff/chronx //chronx100: Hughe O'Splash
|
||||
name = "Cthulhu's Robes"
|
||||
@@ -523,18 +522,6 @@
|
||||
adjust_flavour = "untransform"
|
||||
ignore_suitadjust = 0
|
||||
|
||||
/obj/item/clothing/suit/chaplain_hoodie/fluff/chronx/New()
|
||||
..()
|
||||
verbs -= /obj/item/clothing/suit/verb/openjacket
|
||||
|
||||
/obj/item/clothing/suit/chaplain_hoodie/fluff/chronx/verb/adjust()
|
||||
set name = "Transform Robes"
|
||||
set category = "Object"
|
||||
set src in usr
|
||||
if(!istype(usr, /mob/living))
|
||||
return
|
||||
adjustsuit(usr)
|
||||
|
||||
/obj/item/clothing/shoes/black/fluff/chronx //chronx100: Hughe O'Splash
|
||||
name = "Cthulhu's Boots"
|
||||
desc = "Boots worn by the worshipers of Cthulhu. You see a name inscribed in blood on the inside: Hughe O'Splash"
|
||||
|
||||
Reference in New Issue
Block a user