mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-07-16 18:36:43 +01:00
Mark of wizard fix and missing uniform name (#2062)
-unfucks the path of the mark of wizard -fix the name i may have erased from two uniforms
This commit is contained in:
@@ -76,13 +76,14 @@
|
||||
//This set of uniforms looks fairly fancy and is generally used for high-ranking NT personnel from what I've seen, so lets give them appropriate ranks.
|
||||
/obj/item/clothing/under/rank/centcom
|
||||
desc = "Gold trim on space-black cloth, this uniform displays the rank of \"Captain.\""
|
||||
name = "\improper officer's dress uniform"
|
||||
name = "officer's dress uniform"
|
||||
icon_state = "officer"
|
||||
item_state = "lawyer_black"
|
||||
worn_state = "officer"
|
||||
displays_id = 0
|
||||
|
||||
/obj/item/clothing/under/rank/centcom_officer
|
||||
name = "officer's dress uniform"
|
||||
desc = "Gold trim on space-black cloth, this uniform displays the rank of \"Admiral.\""
|
||||
icon_state = "officer"
|
||||
item_state = "lawyer_black"
|
||||
@@ -90,6 +91,7 @@
|
||||
displays_id = 0
|
||||
|
||||
/obj/item/clothing/under/rank/centcom_captain
|
||||
name = "officer's dress uniform"
|
||||
desc = "Gold trim on space-black cloth, this uniform displays the rank of \"Admiral-Executive.\""
|
||||
icon_state = "centcom"
|
||||
item_state = "lawyer_black"
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
return 0
|
||||
var/target = targets[1]
|
||||
if(istext(target))
|
||||
mark = new /obj/effect/cleanable/wizard_mark(get_turf(user),src)
|
||||
mark = new /obj/effect/decal/wizard_mark(get_turf(user),src)
|
||||
return 1
|
||||
if(!istype(target,/obj)) //something went wrong
|
||||
return 0
|
||||
@@ -47,7 +47,7 @@
|
||||
|
||||
return "You no longer have to be conscious to activate this spell."
|
||||
|
||||
/obj/effect/cleanable/wizard_mark
|
||||
/obj/effect/decal/wizard_mark
|
||||
name = "mark of the wizard"
|
||||
desc = "A strange rune, probably someone playing with crayons again."
|
||||
icon = 'icons/obj/rune.dmi'
|
||||
@@ -59,22 +59,22 @@
|
||||
|
||||
var/spell/mark_recall/spell
|
||||
|
||||
/obj/effect/cleanable/wizard_mark/New(var/newloc,var/mrspell)
|
||||
/obj/effect/decal/wizard_mark/New(var/newloc,var/mrspell)
|
||||
..()
|
||||
spell = mrspell
|
||||
|
||||
/obj/effect/cleanable/wizard_mark/Destroy()
|
||||
/obj/effect/decal/wizard_mark/Destroy()
|
||||
spell.mark = null //dereference pls.
|
||||
spell = null
|
||||
..()
|
||||
|
||||
/obj/effect/cleanable/wizard_mark/attack_hand(var/mob/user)
|
||||
/obj/effect/decal/wizard_mark/attack_hand(var/mob/user)
|
||||
if(user == spell.holder)
|
||||
user.visible_message("\The [user] mutters an incantation and \the [src] disappears!")
|
||||
qdel(src)
|
||||
..()
|
||||
|
||||
/obj/effect/cleanable/wizard_mark/attackby(var/obj/item/I, var/mob/user)
|
||||
/obj/effect/decal/wizard_mark/attackby(var/obj/item/I, var/mob/user)
|
||||
if(istype(I, /obj/item/weapon/nullrod) || istype(I, /obj/item/weapon/spellbook))
|
||||
user.setClickCooldown(DEFAULT_ATTACK_COOLDOWN)
|
||||
src.visible_message("\The [src] fades away!")
|
||||
|
||||
Reference in New Issue
Block a user