mirror of
https://github.com/CHOMPstation/CHOMPstation.git
synced 2026-08-26 05:26:24 +01:00
Save weight when resleeving while here
This commit is contained in:
@@ -154,6 +154,7 @@ var/datum/transhuman/infocore/transcore = new/datum/transhuman/infocore
|
||||
var/list/organ_data = list(O_HEART, O_EYES, O_LUNGS, O_BRAIN)
|
||||
var/toocomplex
|
||||
var/sizemult
|
||||
var/weight
|
||||
|
||||
/datum/transhuman/body_record/New(var/copyfrom, var/add_to_db = 0, var/ckeylock = 0)
|
||||
..()
|
||||
@@ -188,6 +189,7 @@ var/datum/transhuman/infocore/transcore = new/datum/transhuman/infocore
|
||||
bodygender = M.gender
|
||||
body_oocnotes = M.ooc_notes
|
||||
sizemult = M.size_multiplier
|
||||
weight = M.weight
|
||||
|
||||
//Probably should
|
||||
M.dna.check_integrity()
|
||||
|
||||
@@ -89,6 +89,7 @@
|
||||
H.ooc_notes = current_project.body_oocnotes
|
||||
H.flavor_texts = current_project.mydna.flavor.Copy()
|
||||
H.size_multiplier = current_project.sizemult
|
||||
H.weight = current_project.weight
|
||||
if(current_project.speciesname)
|
||||
H.custom_species = current_project.speciesname
|
||||
|
||||
@@ -301,6 +302,7 @@
|
||||
H.ooc_notes = current_project.body_oocnotes
|
||||
H.flavor_texts = current_project.mydna.flavor.Copy()
|
||||
H.size_multiplier = current_project.sizemult
|
||||
H.weight = current_project.weight
|
||||
if(current_project.speciesname)
|
||||
H.custom_species = current_project.speciesname
|
||||
|
||||
|
||||
Reference in New Issue
Block a user