mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-07-13 01:03:15 +01:00
Merge pull request #10302 from VOREStation/Arokha/joinfixes
Fix two character spawn bugs
This commit is contained in:
committed by
Chompstation Bot
parent
e157d0bf79
commit
d318defa59
@@ -427,6 +427,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
|
||||
|
||||
|
||||
@@ -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 = "When NanoTrasen tried to replicate the NIF tech by themselves, this is what they made. You probably shouldn't allow this inside you."
|
||||
durability = 10
|
||||
starting_software = null
|
||||
|
||||
/obj/item/device/nif/authentic
|
||||
name = "Authentic NIF"
|
||||
|
||||
Reference in New Issue
Block a user