Merge pull request #9496 from Very-Soft/harmonyfluff

Harmony fluffstuff
This commit is contained in:
Novacat
2020-12-23 15:16:39 -05:00
committed by GitHub
2 changed files with 53 additions and 8 deletions
@@ -1059,6 +1059,12 @@
ckeywhitelist = list("vitoras")
character_name = list("Roanna Ti'Rox")
/datum/gear/fluff/harmony_id
path = /obj/item/weapon/card/id/fluff/harmony
display_name = "Harmony's ITG-ID card"
ckeywhitelist = list("verysoft")
character_name = list("Harmony")
// W CKEYS
/datum/gear/fluff/sthasha_bracer
path = /obj/item/clothing/accessory/bracer/fluff/xander_sthasha
@@ -828,6 +828,45 @@
accessset = 1
..()
//verysoft:Harmony - Custom ID (pilot)
/obj/item/weapon/card/id/fluff/harmony
registered_name = "CONFIGURE ME"
assignment = "CONFIGURE ME"
var/configured = 0
var/accessset = 0
icon = 'icons/obj/card_vr.dmi'
icon_state = "itg"
desc = "A small card designating affiliation with the Ironcrest Transport Group. It has a NanoTrasen insignia and a lot of very small print on the back to do with practices and regulations for contractors to use."
var/title_strings = list("Harmony's ITG-ID card")
/obj/item/weapon/card/id/fluff/harmony/attack_self(mob/user as mob)
if(configured == 1)
return ..()
var/title
if(user.client.prefs.player_alt_titles[user.job])
title = user.client.prefs.player_alt_titles[user.job]
else
title = user.job
assignment = title
user.set_id_info(src)
if(user.mind && user.mind.initial_account)
associated_account_number = user.mind.initial_account.account_number
var/tempname = pick(title_strings)
name = tempname + " ([title])"
configured = 1
to_chat(user, "<span class='notice'>Card settings set.</span>")
/obj/item/weapon/card/id/fluff/harmony/attackby(obj/item/I as obj, mob/user as mob)
if(istype(I, /obj/item/weapon/card/id) && !accessset)
var/obj/item/weapon/card/id/O = I
access |= O.access
to_chat(user, "<span class='notice'>You copy the access from \the [I] to \the [src].</span>")
user.drop_from_inventory(I)
qdel(I)
accessset = 1
..()
//General use, Verk felt like sharing.
/obj/item/clothing/glasses/fluff/science_proper
name = "Aesthetic Science Goggles"
@@ -1267,7 +1306,7 @@
siemens_coefficient = 0.9
slowdown = 0
offline_slowdown = 0
offline_vision_restriction = 0
offline_vision_restriction = 0
siemens_coefficient = 0.9
chest_type = /obj/item/clothing/suit/fluff/nikki
@@ -1375,7 +1414,7 @@
to_chat(user, "<span class='warning'>The brush's teeth are far too rough to even comb your hair. Apparently, \
this device was not made for people like you.</span>")
return
if (!user.hair_accessory_style)
var/datum/sprite_accessory/hair_accessory/verie_hair_glow/V = new(user)
user.hair_accessory_style = V
@@ -1385,7 +1424,7 @@
"<span class='notice'>You brush your hair. \The [src]'s teeth begin to vibrate and glow as they react to your nanites. \
The teeth stimulate the nanites in your hair strands until your hair give off a brilliant, faintly pulsing \
cyan glow!</span>")
else
user.visible_message("[user] combs her hair. \The [src] brushes away her glowing cyan highlights. Neat!", \
"<span class='notice'>You brush your hair. \The [src]'s teeth wipe away the glowing streaks in your hair \
@@ -1395,12 +1434,12 @@
to_chat(user, "<span class='warning'>found a V to delete!</span>")
qdel(V)
user.update_hair()
else
to_chat(user, "<span class='warning'>\The [src] isn't compatible with your body as it is now.</span>")