mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-12 11:13:16 +00:00
more fixes
This commit is contained in:
@@ -561,9 +561,6 @@
|
|||||||
if(blob.healing)
|
if(blob.healing)
|
||||||
blob.healing.expire()
|
blob.healing.expire()
|
||||||
|
|
||||||
if(blob.l_hand) blob.drop_l_hand()
|
|
||||||
if(blob.r_hand) blob.drop_r_hand()
|
|
||||||
|
|
||||||
if(blob.mob_radio)
|
if(blob.mob_radio)
|
||||||
blob.mob_radio.forceMove(src)
|
blob.mob_radio.forceMove(src)
|
||||||
blob.mob_radio = null
|
blob.mob_radio = null
|
||||||
@@ -584,11 +581,14 @@
|
|||||||
var/atom/reform_spot = blob.drop_location()
|
var/atom/reform_spot = blob.drop_location()
|
||||||
|
|
||||||
//Size update
|
//Size update
|
||||||
resize(blob.size_multiplier, FALSE, ignore_prefs = TRUE)
|
resize(blob.size_multiplier, 1, 1, ignore_prefs = TRUE)
|
||||||
|
|
||||||
//Move them back where the blob was
|
//Move them back where the blob was
|
||||||
forceMove(reform_spot)
|
forceMove(reform_spot)
|
||||||
|
|
||||||
|
if(blob.l_hand) blob.drop_l_hand()
|
||||||
|
if(blob.r_hand) blob.drop_r_hand()
|
||||||
|
|
||||||
//Put our owner in it (don't transfer var/mind)
|
//Put our owner in it (don't transfer var/mind)
|
||||||
ckey = blob.ckey
|
ckey = blob.ckey
|
||||||
ooc_notes = blob.ooc_notes // Lets give the protean any updated notes from blob form.
|
ooc_notes = blob.ooc_notes // Lets give the protean any updated notes from blob form.
|
||||||
|
|||||||
@@ -525,7 +525,9 @@
|
|||||||
/obj/item/weapon/rig/protean/proc/AssimilateRig(mob/user, var/obj/item/weapon/rig/R)
|
/obj/item/weapon/rig/protean/proc/AssimilateRig(mob/user, var/obj/item/weapon/rig/R)
|
||||||
if(!R || assimilated_rig)
|
if(!R || assimilated_rig)
|
||||||
return
|
return
|
||||||
to_chat(user, "You assimilate the [R] into the [src]. Mimicking its stats and appearance.")
|
if(istype(R, /obj/item/weapon/rig/protean))
|
||||||
|
to_chat(user, "<span class='warning'>The world is not ready for such a technological singularity.</span>")
|
||||||
|
to_chat(user, "<span class='notice'>You assimilate the [R] into the [src]. Mimicking its stats and appearance.</span>")
|
||||||
for(var/obj/item/piece in list(gloves,helmet,boots,chest))
|
for(var/obj/item/piece in list(gloves,helmet,boots,chest))
|
||||||
piece.armor = R.armor.Copy()
|
piece.armor = R.armor.Copy()
|
||||||
piece.max_pressure_protection = R.max_pressure_protection
|
piece.max_pressure_protection = R.max_pressure_protection
|
||||||
@@ -567,7 +569,7 @@
|
|||||||
piece.armor = armor.Copy()
|
piece.armor = armor.Copy()
|
||||||
piece.max_pressure_protection = initial(piece.max_pressure_protection)
|
piece.max_pressure_protection = initial(piece.max_pressure_protection)
|
||||||
piece.max_heat_protection_temperature = initial(piece.max_heat_protection_temperature)
|
piece.max_heat_protection_temperature = initial(piece.max_heat_protection_temperature)
|
||||||
piece.icon_state = initial(piece.icon_state)
|
piece.icon_state = src.icon_state
|
||||||
piece.icon = initial(piece.icon)
|
piece.icon = initial(piece.icon)
|
||||||
|
|
||||||
//Byond at this time does not support initial() on lists
|
//Byond at this time does not support initial() on lists
|
||||||
|
|||||||
@@ -117,4 +117,12 @@
|
|||||||
id = "rig_gun_phase"
|
id = "rig_gun_phase"
|
||||||
req_tech = list(TECH_MATERIAL = 5, TECH_ENGINEERING = 4, TECH_MAGNET = 3, TECH_POWER = 4, TECH_COMBAT = 4)
|
req_tech = list(TECH_MATERIAL = 5, TECH_ENGINEERING = 4, TECH_MAGNET = 3, TECH_POWER = 4, TECH_COMBAT = 4)
|
||||||
materials = list(DEFAULT_WALL_MATERIAL = 2000, "glass" = 1250)
|
materials = list(DEFAULT_WALL_MATERIAL = 2000, "glass" = 1250)
|
||||||
build_path = /obj/item/rig_module/mounted/phase
|
build_path = /obj/item/rig_module/mounted/phase
|
||||||
|
|
||||||
|
/datum/design/item/mechfab/rigsuit/defib
|
||||||
|
name = "mounted defib unit"
|
||||||
|
desc = "A rig mounted defib and jumper kit combo."
|
||||||
|
id = "rig_defib"
|
||||||
|
req_tech = list(TECH_BIO = 5, TECH_MAGNET = 2, TECH_POWER = 3)
|
||||||
|
materials = list(DEFAULT_WALL_MATERIAL = 6000, "glass" = 2000)
|
||||||
|
build_path = /obj/item/rig_module/device/defib
|
||||||
Binary file not shown.
|
Before Width: | Height: | Size: 28 KiB After Width: | Height: | Size: 28 KiB |
Reference in New Issue
Block a user