From b32df33cd197ba527f691cf574e716f436543a08 Mon Sep 17 00:00:00 2001 From: Aronai Sieyes Date: Tue, 11 May 2021 21:06:08 -0400 Subject: [PATCH 1/2] Fix nme/nsay verbs and add starting_software --- code/modules/nifsoft/nif.dm | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/code/modules/nifsoft/nif.dm b/code/modules/nifsoft/nif.dm index c185283b0e7..1fd3503d41c 100644 --- a/code/modules/nifsoft/nif.dm +++ b/code/modules/nifsoft/nif.dm @@ -47,6 +47,12 @@ You can also set the stat of a NIF to NIF_TEMPFAIL without any issues to disable var/obj/item/device/communicator/commlink/comm // The commlink requires this + var/list/starting_software = list( + /datum/nifsoft/commlink, + /datum/nifsoft/soulcatcher, + /datum/nifsoft/ar_civ + ) + var/global/icon/big_icon var/global/click_sound = 'sound/items/nif_click.ogg' var/global/bad_sound = 'sound/items/nif_tone_bad.ogg' @@ -87,13 +93,6 @@ You can also set the stat of a NIF to NIF_TEMPFAIL without any issues to disable spawn(0) qdel(src) return FALSE - else - //Free commlink and soulcatcher for return customers - new /datum/nifsoft/commlink(src) - new /datum/nifsoft/soulcatcher(src) - - //Free civilian AR included - new /datum/nifsoft/ar_civ(src) //If given wear (like when spawned) then done if(wear) @@ -128,6 +127,10 @@ You can also set the stat of a NIF to NIF_TEMPFAIL without any issues to disable human.nif = src stat = NIF_INSTALLING H.verbs |= /mob/living/carbon/human/proc/set_nif_examine + if(starting_software) + for(var/path in starting_software) + new path(src) + starting_software = null return TRUE return FALSE @@ -591,6 +594,7 @@ You can also set the stat of a NIF to NIF_TEMPFAIL without any issues to disable name = "bootleg NIF" desc = "A copy of a copy of a copy of a copy of... this can't be any good, right? Surely?" durability = 10 + starting_software = null /obj/item/device/nif/authentic name = "\improper Kitsuhana NIF" From 327cb7219ff173a7487ffbc2168b529bde142b16 Mon Sep 17 00:00:00 2001 From: Aronai Sieyes Date: Tue, 11 May 2021 21:06:19 -0400 Subject: [PATCH 2/2] Update emotes at the end of setting up body --- code/modules/client/preference_setup/general/03_body.dm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/modules/client/preference_setup/general/03_body.dm b/code/modules/client/preference_setup/general/03_body.dm index f5f445f9d16..952e317a272 100644 --- a/code/modules/client/preference_setup/general/03_body.dm +++ b/code/modules/client/preference_setup/general/03_body.dm @@ -394,6 +394,8 @@ var/global/list/valid_bloodtypes = list("A+", "A-", "B+", "B-", "AB+", "AB-", "O pref.body_descriptors[entry] = descriptor.default_value // Species datums have initial default value. else pref.body_descriptors[entry] = CLAMP(last_descriptors[entry], 1, LAZYLEN(descriptor.standalone_value_descriptors)) + + character.update_emotes() return