mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 18:53:06 +00:00
Even more fixes
This commit is contained in:
@@ -49,6 +49,7 @@
|
||||
can_buckle = 1
|
||||
has_hands = 1
|
||||
shock_resist = 1
|
||||
nameset = 1
|
||||
|
||||
/datum/say_list/protean_blob
|
||||
speak = list("Blrb?","Sqrsh.","Glrsh!")
|
||||
@@ -344,8 +345,8 @@ var/global/list/disallowed_protean_accessories = list(
|
||||
|
||||
// Helpers - Unsafe, WILL perform change.
|
||||
/mob/living/carbon/human/proc/nano_intoblob(force)
|
||||
if(loc == /obj/item/weapon/rig/protean) //CHOMP Add
|
||||
return //CHOMP Add
|
||||
if(loc == /obj/item/weapon/rig/protean)
|
||||
return
|
||||
if(!force && !isturf(loc))
|
||||
to_chat(src,"<span class='warning'>You can't change forms while inside something.</span>")
|
||||
return
|
||||
@@ -378,6 +379,14 @@ var/global/list/disallowed_protean_accessories = list(
|
||||
blob.ckey = ckey
|
||||
blob.ooc_notes = ooc_notes
|
||||
temporary_form = blob
|
||||
var/obj/item/device/radio/R = null
|
||||
if(isradio(l_ear))
|
||||
R = l_ear
|
||||
if(isradio(r_ear))
|
||||
R = r_ear
|
||||
if(R)
|
||||
blob.mob_radio = R
|
||||
R.forceMove(blob)
|
||||
|
||||
//Mail them to nullspace
|
||||
moveToNullspace()
|
||||
@@ -395,9 +404,11 @@ var/global/list/disallowed_protean_accessories = list(
|
||||
for(var/obj/belly/B as anything in vore_organs)
|
||||
B.forceMove(blob)
|
||||
B.owner = blob
|
||||
vore_organs.Cut()
|
||||
|
||||
//We can still speak our languages!
|
||||
blob.languages = languages.Copy()
|
||||
blob.name = real_name
|
||||
|
||||
//Flip them to the protean panel
|
||||
client?.statpanel = "Protean"
|
||||
@@ -450,6 +461,10 @@ var/global/list/disallowed_protean_accessories = list(
|
||||
if(blob.l_hand) blob.drop_from_inventory(blob.l_hand)
|
||||
if(blob.r_hand) blob.drop_from_inventory(blob.r_hand)
|
||||
|
||||
if(blob.mob_radio)
|
||||
var/obj/item/device/radio/R = blob.mob_radio
|
||||
R.forceMove(src)
|
||||
|
||||
//Play the animation
|
||||
blob.icon_state = "from_puddle"
|
||||
|
||||
@@ -474,10 +489,12 @@ var/global/list/disallowed_protean_accessories = list(
|
||||
temporary_form = null
|
||||
|
||||
//Transfer vore organs
|
||||
vore_organs = blob.vore_organs
|
||||
vore_selected = blob.vore_selected
|
||||
for(var/obj/belly/B as anything in blob.vore_organs)
|
||||
B.forceMove(src)
|
||||
B.owner = src
|
||||
languages = blob.languages.Copy()
|
||||
|
||||
Life(1) //Fix my blindness right meow //Has to be moved up here, there exists a circumstance where blob could be deleted without vore organs moving right.
|
||||
|
||||
|
||||
@@ -82,14 +82,18 @@
|
||||
update_icons_body()
|
||||
|
||||
/mob/living/carbon/human/proc/nano_regenerate()
|
||||
set name = "Ref - Whole Body"
|
||||
set desc = "Allows you to regrow limbs and replace organs, given you have enough materials."
|
||||
set name = "Total Reassembly (wip)"
|
||||
set desc = "Completely reassemble yourself from whatever save slot you have loaded in preferences. Assuming you meet the requirements."
|
||||
set category = "Abilities"
|
||||
set hidden = 1
|
||||
if(temporary_form)
|
||||
to_chat(temporary_form,"<span class ='warning'>This function isn't coded yet. Soon, my child.</span>")
|
||||
else
|
||||
to_chat(src,"<span class ='warning'>This function isn't coded yet. Soon, my child.</span>")
|
||||
|
||||
|
||||
|
||||
if(stat)
|
||||
/*if(stat)
|
||||
to_chat(src,"<span class='warning'>You must be awake and standing to perform this action!</span>")
|
||||
return
|
||||
|
||||
@@ -182,7 +186,7 @@
|
||||
to_chat(src, "<span class='critical'>Your refactoring is interrupted.</span>")
|
||||
to_chat(blob, "<span class='critical'>Your refactoring is interrupted!</span>")
|
||||
active_regen = 0
|
||||
nano_outofblob(blob)
|
||||
nano_outofblob(blob)*/
|
||||
|
||||
////
|
||||
// Storing metal
|
||||
@@ -440,8 +444,8 @@ CHOMP Removal end*/
|
||||
to_call = /mob/living/carbon/human/proc/nano_partswap
|
||||
|
||||
/obj/effect/protean_ability/reform_body
|
||||
ability_name = "Ref - Whole Body"
|
||||
desc = "Rebuild your entire body into whatever design you want, assuming you have 10,000 metal."
|
||||
ability_name = "Total Reassembly (wip)"
|
||||
desc = "Completely reassemble yourself from whatever save slot you have loaded in preferences. Assuming you meet the requirements."
|
||||
icon_state = "body"
|
||||
to_call = /mob/living/carbon/human/proc/nano_regenerate
|
||||
|
||||
|
||||
Reference in New Issue
Block a user