Fixes certain aspects of NIFSofts not applying properly on resleeve

This commit is contained in:
Heroman
2021-11-29 16:54:02 +10:00
parent 2a7ce3ea5e
commit 995a877eaf
3 changed files with 16 additions and 15 deletions
@@ -1,12 +1,12 @@
/obj/machinery/transhuman/resleever/abductor
icon = 'icons/obj/abductor_vr.dmi'
icon_state = "implantchair"
/obj/machinery/computer/transhuman/resleeving/abductor
icon = 'icons/obj/abductor.dmi'
icon_state = "console"
/obj/machinery/clonepod/transhuman/full/abductor
icon = 'icons/obj/abductor_vr.dmi'
icon_state = "pod_0"
/obj/machinery/transhuman/resleever/abductor
icon = 'icons/obj/abductor_vr.dmi'
icon_state = "implantchair"
/obj/machinery/computer/transhuman/resleeving/abductor
icon = 'icons/obj/abductor.dmi'
icon_state = "console"
/obj/machinery/clonepod/transhuman/full/abductor
icon = 'icons/obj/abductor_vr.dmi'
icon_state = "pod_0"
name = "clonepod"
+4 -3
View File
@@ -589,8 +589,9 @@
//Re-supply a NIF if one was backed up with them.
if(MR.nif_path)
var/obj/item/device/nif/nif = new MR.nif_path(occupant,null,MR.nif_savedata)
for(var/path in MR.nif_software)
new path(nif)
spawn(0) //Delay to not install software before NIF is fully installed
for(var/path in MR.nif_software)
new path(nif)
nif.durability = MR.nif_durability //Restore backed up durability after restoring the softs.
// If it was a custom sleeve (not owned by anyone), update namification sequences
@@ -612,7 +613,7 @@
occupant.confused = max(occupant.confused, confuse_amount) // Apply immedeate effects
occupant.eye_blurry = max(occupant.eye_blurry, blur_amount)
// Vore deaths get a fake modifier labeled as such
if(!occupant.mind)
log_debug("[occupant] didn't have a mind to check for vore_death, which may be problematic.")
+1 -1
View File
@@ -3715,8 +3715,8 @@
#include "code\modules\resleeving\infocore_records.dm"
#include "code\modules\resleeving\infomorph.dm"
#include "code\modules\resleeving\infomorph_software.dm"
#include "code\modules\resleeving\machine_subtypes.dm"
#include "code\modules\resleeving\machines.dm"
#include "code\modules\resleeving\machines_vr.dm"
#include "code\modules\resleeving\resleeving_sickness.dm"
#include "code\modules\resleeving\sleevecard.dm"
#include "code\modules\rogueminer_vr\asteroid.dm"