mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 20:16:55 +01:00
Ported parts of the BS12 organ system.
This includes: - Individual wounds - Dismemberment - Bone breaking It also adds configuration values to config/game_options.txt to control the point at which bones break and limbs are cut off. Does not include surgery or bleeding yet. git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4720 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -844,15 +844,16 @@ ________________________________________________________________________________
|
||||
U << "\red Procedure interrupted. Protocol terminated."
|
||||
return
|
||||
else if(istype(I, /obj/item/weapon/disk/tech_disk))//If it's a data disk, we want to copy the research on to the suit.
|
||||
if(I:stored)//If it has something on it.
|
||||
var/obj/item/weapon/disk/tech_disk/tdisk = I
|
||||
if(tdisk.stored)//If it has something on it.
|
||||
U << "Research information detected, processing..."
|
||||
if(do_after(U,s_delay))
|
||||
for(var/datum/tech/current_data in stored_research)
|
||||
if(current_data.id==I:stored.id)
|
||||
if(current_data.level<I:stored.level)
|
||||
current_data.level=I:stored.level
|
||||
if(current_data.id==tdisk.stored.id)
|
||||
if(current_data.level<tdisk.stored.level)
|
||||
current_data.level=tdisk.stored.level
|
||||
break
|
||||
I:stored = null
|
||||
tdisk.stored = null
|
||||
U << "\blue Data analyzed and updated. Disk erased."
|
||||
else
|
||||
U << "\red <b>ERROR</b>: \black Procedure interrupted. Process terminated."
|
||||
|
||||
Reference in New Issue
Block a user