mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-21 19:17:50 +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:
@@ -505,8 +505,6 @@
|
||||
|
||||
for(var/obj/T in (M.contents-implants))
|
||||
del(T)
|
||||
//for(var/R in M.organs)
|
||||
// del(M.organs[text("[]", R)])
|
||||
|
||||
O.loc = M.loc
|
||||
|
||||
|
||||
@@ -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."
|
||||
|
||||
@@ -837,8 +837,8 @@ var/global/list/obj/item/device/pda/PDAs = list()
|
||||
C.loc = src
|
||||
user << "<span class='notice'>You insert [C] into [src].</span>"
|
||||
cartridge = C
|
||||
if(C:radio)
|
||||
C:radio.hostpda = src
|
||||
if(cartridge.radio)
|
||||
cartridge.radio.hostpda = src
|
||||
|
||||
else if(istype(C, /obj/item/weapon/card/id))
|
||||
var/obj/item/weapon/card/id/idcard = C
|
||||
|
||||
@@ -11,6 +11,7 @@
|
||||
animate_movement = 2
|
||||
var/throwforce = 1
|
||||
var/list/attack_verb = list() //Used in attackby() to say how something was attacked "[x] has been [z.attack_verb] by [y] with [z]"
|
||||
var/sharp = 0 // whether this object cuts
|
||||
|
||||
/obj/proc/process()
|
||||
processing_objects.Remove(src)
|
||||
|
||||
Reference in New Issue
Block a user