Merge branch 'master' into Arokha/removeoldnifmenu

This commit is contained in:
Aronai Sieyes
2021-05-12 10:12:17 -04:00
committed by GitHub
3 changed files with 20 additions and 9 deletions
@@ -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
+11 -7
View File
@@ -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)
@@ -126,6 +125,10 @@ You can also set the stat of a NIF to NIF_TEMPFAIL without any issues to disable
stat = NIF_INSTALLING
H.verbs |= /mob/living/carbon/human/proc/set_nif_examine
menu = H.AddComponent(/datum/component/nif_menu)
if(starting_software)
for(var/path in starting_software)
new path(src)
starting_software = null
return TRUE
return FALSE
@@ -590,6 +593,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"
+7 -2
View File
@@ -8802,7 +8802,9 @@
/obj/structure/closet/walllocker/medical/north,
/obj/item/weapon/storage/firstaid/regular,
/obj/item/weapon/storage/firstaid/o2,
/obj/item/device/radio/off/talon,
/obj/item/device/radio/off{
channels = list("Talon" = 1)
},
/turf/simulated/floor/wood,
/area/talon_v2/crew_quarters/cap_room)
"Fk" = (
@@ -11190,7 +11192,10 @@
pixel_y = 24
},
/obj/structure/table/rack/shelf/steel,
/obj/item/device/radio/off/talon,
/obj/item/device/radio/off{
channels = list("Talon" = 1);
pixel_y = 6
},
/turf/simulated/floor/tiled/techfloor,
/area/talon_v2/armory)
"Nw" = (