mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-28 23:59:40 +01:00
Merge branch 'master' into Razgriz1032-patch-10
This commit is contained in:
@@ -17,13 +17,13 @@
|
||||
// ai_inactive = TRUE //Always off //VORESTATION AI TEMPORARY REMOVAL
|
||||
show_stat_health = FALSE //We will do it ourselves
|
||||
|
||||
response_help = "pets"
|
||||
response_disarm = "gently pushes aside"
|
||||
response_harm = "hits"
|
||||
response_help = "pets the" //CHOMP Edit
|
||||
response_disarm = "gently pushes aside the " //CHOMP Edit
|
||||
response_harm = "hits the" //CHOMP Edit
|
||||
|
||||
harm_intent_damage = 2
|
||||
melee_damage_lower = 10
|
||||
melee_damage_upper = 10
|
||||
harm_intent_damage = 3
|
||||
melee_damage_lower = 5 //CHOMP Edit
|
||||
melee_damage_upper = 5 //CHOMP Edit
|
||||
attacktext = list("slashed")
|
||||
|
||||
min_oxy = 0
|
||||
@@ -36,7 +36,7 @@
|
||||
max_n2 = 0
|
||||
minbodytemp = 0
|
||||
maxbodytemp = 900
|
||||
movement_cooldown = 3
|
||||
movement_cooldown = 2 //CHOMP Edit
|
||||
|
||||
var/mob/living/carbon/human/humanform
|
||||
var/obj/item/organ/internal/nano/refactory/refactory
|
||||
@@ -48,7 +48,7 @@
|
||||
var/human_brute = 0
|
||||
var/human_burn = 0
|
||||
|
||||
player_msg = "In this form, you can move a little faster, your health will regenerate as long as you have metal in you, and you can ventcrawl!"
|
||||
player_msg = "In this form, your health will regenerate as long as you have metal in you." //CHOMP Edit removed ventcrawl
|
||||
|
||||
can_buckle = TRUE //Blobsurfing
|
||||
|
||||
@@ -64,8 +64,10 @@
|
||||
humanform = H
|
||||
updatehealth()
|
||||
refactory = locate() in humanform.internal_organs
|
||||
verbs |= /mob/living/proc/ventcrawl
|
||||
// verbs |= /mob/living/proc/ventcrawl //CHOMP Removal
|
||||
verbs |= /mob/living/proc/hide
|
||||
verbs |= /mob/living/simple_mob/protean_blob/proc/rig_transform //CHOMP Addition
|
||||
verbs |= /mob/living/proc/usehardsuit //CHOMP Addition
|
||||
else
|
||||
update_icon()
|
||||
|
||||
@@ -267,14 +269,31 @@
|
||||
if(refactory && istype(A,/obj/item/stack/material))
|
||||
var/obj/item/stack/material/S = A
|
||||
var/substance = S.material.name
|
||||
var/list/edible_materials = list("steel", "plasteel", "diamond", "mhydrogen") //Can't eat all materials, just useful ones.
|
||||
var allowed = FALSE
|
||||
var/list/edible_materials = list(MAT_STEEL) //Can't eat all materials, just useful ones.
|
||||
var/allowed = FALSE //CHOMP Edit
|
||||
for(var/material in edible_materials)
|
||||
if(material == substance) allowed = TRUE
|
||||
if(material == substance)
|
||||
allowed = TRUE
|
||||
if(!allowed)
|
||||
return
|
||||
if(refactory.add_stored_material(S.material.name,1*S.perunit) && S.use(1))
|
||||
visible_message("<b>[name]</b> gloms over some of \the [S], absorbing it.")
|
||||
else if(isitem(A) && a_intent == "grab") //CHOMP Add all this block, down to I.forceMove.
|
||||
var/obj/item/I = A
|
||||
if(!vore_selected)
|
||||
to_chat(src,"<span class='warning'>You either don't have a belly selected, or don't have a belly!</span>")
|
||||
return FALSE
|
||||
if(is_type_in_list(I,item_vore_blacklist) || I.anchored)
|
||||
to_chat(src, "<span class='warning'>You can't eat this.</span>")
|
||||
return
|
||||
|
||||
if(is_type_in_list(I,edible_trash) | adminbus_trash)
|
||||
if(I.hidden_uplink)
|
||||
to_chat(src, "<span class='warning'>You really should not be eating this.</span>")
|
||||
message_admins("[key_name(src)] has attempted to ingest an uplink item. ([src ? "<a href='?_src_=holder;adminplayerobservecoodjump=1;X=[src.x];Y=[src.y];Z=[src.z]'>JMP</a>" : "null"])")
|
||||
return
|
||||
visible_message("<b>[name]</b> stretches itself over the [I], engulfing it whole!")
|
||||
I.forceMove(vore_selected)
|
||||
else
|
||||
return ..()
|
||||
|
||||
@@ -283,7 +302,7 @@
|
||||
var/obj/item/stack/material/S = O
|
||||
var/substance = S.material.name
|
||||
var/list/edible_materials = list("steel", "plasteel", "diamond", "mhydrogen") //Can't eat all materials, just useful ones.
|
||||
var allowed = FALSE
|
||||
var/allowed = FALSE //CHOMP Edit
|
||||
for(var/material in edible_materials)
|
||||
if(material == substance) allowed = TRUE
|
||||
if(!allowed)
|
||||
@@ -292,7 +311,20 @@
|
||||
visible_message("<b>[name]</b> gloms over some of \the [S], absorbing it.")
|
||||
else
|
||||
return ..()
|
||||
|
||||
|
||||
/mob/living/simple_mob/protean_blob/attack_hand(mob/living/L) //CHOMP Add this whole block.
|
||||
if(L.get_effective_size() >= (src.get_effective_size() + 0.5) )
|
||||
src.get_scooped(L)
|
||||
else
|
||||
..()
|
||||
|
||||
/mob/living/simple_mob/protean_blob/MouseDrop(var/atom/over_object) //CHOMP Add this whole block.
|
||||
if(ishuman(over_object) && usr == src && src.Adjacent(over_object))
|
||||
var/mob/living/carbon/human/H = over_object
|
||||
get_scooped(H, TRUE)
|
||||
else
|
||||
return ..()
|
||||
|
||||
/mob/living/simple_mob/protean_blob/MouseEntered(location,control,params)
|
||||
if(resting)
|
||||
return
|
||||
@@ -306,6 +338,8 @@ var/global/list/disallowed_protean_accessories = list(
|
||||
|
||||
// Helpers - Unsafe, WILL perform change.
|
||||
/mob/living/carbon/human/proc/nano_intoblob()
|
||||
if(loc == /obj/item/weapon/rig/protean)
|
||||
return
|
||||
var/panel_was_up = FALSE
|
||||
if(client?.statpanel == "Protean")
|
||||
panel_was_up = TRUE
|
||||
@@ -341,6 +375,8 @@ var/global/list/disallowed_protean_accessories = list(
|
||||
things_to_drop -= things_to_not_drop //Crunch the lists
|
||||
things_to_drop -= organs //Mah armbs
|
||||
things_to_drop -= internal_organs //Mah sqeedily spooch
|
||||
for(var/obj/item/weapon/rig/protean/O in things_to_drop) //CHOMP Add
|
||||
things_to_drop -= O //CHOMP Add
|
||||
|
||||
for(var/obj/item/I in things_to_drop) //rip hoarders
|
||||
drop_from_inventory(I)
|
||||
@@ -397,10 +433,44 @@ var/global/list/disallowed_protean_accessories = list(
|
||||
remove_micros(I, root) //Recursion. I'm honestly depending on there being no containment loop, but at the cost of performance that can be fixed too.
|
||||
if(istype(I, /obj/item/weapon/holder))
|
||||
root.remove_from_mob(I)
|
||||
|
||||
//CHOMP Add start
|
||||
/mob/living/simple_mob/protean_blob/proc/rig_transform() //CHOMP Add this whole block.
|
||||
set name = "Modify Form - Hardsuit"
|
||||
set desc = "Allows a protean blob to solidify its form into one extremely similar to a hardsuit."
|
||||
set category = "Abilities"
|
||||
|
||||
if(istype(loc, /obj/item/weapon/rig/protean))
|
||||
var/obj/item/weapon/rig/protean/prig = loc
|
||||
src.forceMove(get_turf(prig))
|
||||
qdel(prig)
|
||||
return
|
||||
|
||||
if(isturf(loc))
|
||||
var/obj/item/weapon/rig/protean/prig = new(loc)
|
||||
if(prig)
|
||||
prig.forceMove(get_turf(src))
|
||||
src.forceMove(prig)
|
||||
return
|
||||
|
||||
/mob/living/proc/usehardsuit()
|
||||
set name = "Utilize Hardsuit Interface"
|
||||
set desc = "Allows a protean blob to open hardsuit interface."
|
||||
set category = "Abilities"
|
||||
|
||||
if(istype(loc, /obj/item/weapon/rig/protean))
|
||||
var/obj/item/weapon/rig/protean/prig = loc
|
||||
to_chat(src, "You attempt to interface with the [prig].")
|
||||
prig.ui_interact(src, nano_state = interactive_state)
|
||||
else
|
||||
to_chat(src, "You are not in RIG form.")
|
||||
//CHOMP Add end
|
||||
|
||||
/mob/living/carbon/human/proc/nano_outofblob(var/mob/living/simple_mob/protean_blob/blob)
|
||||
if(!istype(blob))
|
||||
return
|
||||
if(blob.loc == /obj/item/weapon/rig/protean)
|
||||
return
|
||||
|
||||
var/panel_was_up = FALSE
|
||||
if(client?.statpanel == "Protean")
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
//TODO: Replace ventcrawl with morphing. /mob/living/simple_mob/vore/hostile/morph
|
||||
#define PER_LIMB_STEEL_COST SHEET_MATERIAL_AMOUNT
|
||||
////
|
||||
// One-part Refactor
|
||||
@@ -18,7 +19,6 @@
|
||||
to_chat(src,"<span class='warning'>You don't have a working refactory module!</span>")
|
||||
return
|
||||
|
||||
|
||||
var/choice = input(src,"Pick the bodypart to change:", "Refactor - One Bodypart") as null|anything in species.has_limbs
|
||||
if(!choice)
|
||||
return
|
||||
@@ -81,12 +81,108 @@
|
||||
////
|
||||
// Full Refactor
|
||||
////
|
||||
/*
|
||||
/mob/living/carbon/human/proc/nano_regenerate()
|
||||
set name = "Regenerate"
|
||||
set desc = "Allows you to regrow limbs and replace organs."
|
||||
set category = "Abilities"
|
||||
set hidden = TRUE
|
||||
|
||||
if(nutrition < 250)
|
||||
to_chat(src, "<span class='warning'>You lack the energy to begin regeneration!</span>")
|
||||
return
|
||||
|
||||
if(active_regen)
|
||||
to_chat(src, "<span class='warning'>You are already regenerating!</span>")
|
||||
return
|
||||
else
|
||||
active_regen = TRUE
|
||||
src.visible_message("<B>[src]</B>'s nanites begin to regenerate...")
|
||||
|
||||
|
||||
var/mob/living/simple_mob/protean_blob/blob = nano_intoblob()
|
||||
var/delay_length = round(active_regen_delay * species.active_regen_mult)
|
||||
if(do_after(blob, delay_length, null, 0))
|
||||
if(stat != DEAD)
|
||||
adjust_nutrition(-200)
|
||||
species.create_organs(src)
|
||||
var/obj/item/organ/external/torso = organs_by_name[BP_TORSO]
|
||||
torso.robotize() //synthetic wasn't defined here.
|
||||
LAZYCLEARLIST(blood_DNA)
|
||||
LAZYCLEARLIST(feet_blood_DNA)
|
||||
blood_color = null
|
||||
feet_blood_color = null
|
||||
regenerate_icons() //Probably worth it, yeah.
|
||||
to_chat(src, "<span class='notice'>Your regeneration is complete.</span>") //Guarantees the message shows no matter how bad the timing.
|
||||
to_chat(blob, "<span class='notice'>Your regeneration is complete!</span>")
|
||||
else
|
||||
to_chat(src, "<span class='critical'>Your regeneration has failed.</span>")
|
||||
to_chat(blob, "<span class='critical'>Your regeneration has failed!</span>")
|
||||
else
|
||||
to_chat(src, "<span class='critical'>Your regeneration is interrupted.</span>")
|
||||
to_chat(blob, "<span class='critical'>Your regeneration is interrupted!</span>")
|
||||
active_regen = FALSE
|
||||
nano_outofblob(blob)
|
||||
|
||||
|
||||
|
||||
var/delay_length = round(active_regen_delay * species.active_regen_mult)
|
||||
if(do_after(src,delay_length))
|
||||
adjust_nutrition(-200)
|
||||
|
||||
for(var/obj/item/organ/I in internal_organs)
|
||||
if(I.robotic >= ORGAN_ROBOT) // No free robofix.
|
||||
continue
|
||||
if(I.damage > 0)
|
||||
I.damage = max(I.damage - 30, 0) //Repair functionally half of a dead internal organ.
|
||||
I.status = 0 // Wipe status, as it's being regenerated from possibly dead.
|
||||
to_chat(src, "<span class='notice'>You feel a soothing sensation within your [I.name]...</span>")
|
||||
|
||||
// Replace completely missing limbs.
|
||||
for(var/limb_type in src.species.has_limbs)
|
||||
var/obj/item/organ/external/E = src.organs_by_name[limb_type]
|
||||
|
||||
if(E && E.disfigured)
|
||||
E.disfigured = 0
|
||||
if(E && (E.is_stump() || (E.status & (ORGAN_DESTROYED|ORGAN_DEAD|ORGAN_MUTATED))))
|
||||
E.removed()
|
||||
qdel(E)
|
||||
E = null
|
||||
if(!E)
|
||||
var/list/organ_data = src.species.has_limbs[limb_type]
|
||||
var/limb_path = organ_data["path"]
|
||||
var/obj/item/organ/O = new limb_path(src)
|
||||
organ_data["descriptor"] = O.name
|
||||
to_chat(src, "<span class='notice'>You feel a slithering sensation as your [O.name] reform.</span>")
|
||||
|
||||
var/agony_to_apply = round(0.66 * O.max_damage) // 66% of the limb's health is converted into pain.
|
||||
src.apply_damage(agony_to_apply, HALLOSS)
|
||||
|
||||
for(var/organtype in species.has_organ) // Replace completely missing internal organs. -After- external ones, so they all should exist.
|
||||
if(!src.internal_organs_by_name[organtype])
|
||||
var/organpath = species.has_organ[organtype]
|
||||
var/obj/item/organ/Int = new organpath(src, TRUE)
|
||||
|
||||
Int.rejuvenate(TRUE)
|
||||
|
||||
handle_organs() // Update everything
|
||||
|
||||
update_icons_body()
|
||||
active_regen = FALSE
|
||||
else
|
||||
to_chat(src, "<span class='critical'>Your regeneration is interrupted!</span>")
|
||||
adjust_nutrition(-75)
|
||||
active_regen = FALSE
|
||||
*/
|
||||
|
||||
/mob/living/carbon/human/proc/nano_regenerate() //fixed the proc, it used to leave active_regen true.
|
||||
set name = "Ref - Whole Body"
|
||||
set desc = "Allows you to regrow limbs and replace organs, given you have enough materials."
|
||||
set category = "Abilities"
|
||||
set hidden = TRUE
|
||||
|
||||
|
||||
|
||||
if(stat)
|
||||
to_chat(src,"<span class='warning'>You must be awake and standing to perform this action!</span>")
|
||||
return
|
||||
@@ -178,7 +274,6 @@
|
||||
active_regen = FALSE
|
||||
nano_outofblob(blob)
|
||||
|
||||
|
||||
////
|
||||
// Storing metal
|
||||
////
|
||||
@@ -223,7 +318,7 @@
|
||||
visible_message("<span class='notice'>[src] devours some of the [substance] right off the stack!</span>")
|
||||
else
|
||||
to_chat(src,"<span class='notice'>You're completely capped out on [substance]!</span>")
|
||||
|
||||
|
||||
////
|
||||
// Blob Form
|
||||
////
|
||||
@@ -269,6 +364,7 @@
|
||||
////
|
||||
// Change size
|
||||
////
|
||||
/*CHOMP Removal start - I am replacing this with the OG set size. No more metal requirement.
|
||||
/mob/living/carbon/human/proc/nano_set_size()
|
||||
set name = "Adjust Volume"
|
||||
set category = "Abilities"
|
||||
@@ -312,6 +408,7 @@
|
||||
to_chat(user,"<span class='warning'>Unfortunately, [cost-actually_added] steel was lost due to lack of storage space.</span>")
|
||||
|
||||
user.visible_message("<span class='notice'>Black mist swirls around [user] as they change size.</span>")
|
||||
CHOMP Removal end*/
|
||||
|
||||
/// /// /// A helper to reuse
|
||||
/mob/living/proc/nano_get_refactory(obj/item/organ/internal/nano/refactory/R)
|
||||
@@ -369,11 +466,13 @@
|
||||
icon_state = "blob"
|
||||
to_call = /mob/living/carbon/human/proc/nano_blobform
|
||||
|
||||
/obj/effect/protean_ability/change_volume
|
||||
/*CHOMP removal start - This doesn't do anything at all now. Normal resize proc is being used instead.
|
||||
/obj/effect/protean_ability/change_volume //CHOMP Edit
|
||||
ability_name = "Change Volume"
|
||||
desc = "Alter your size by consuming steel to produce additional nanites, or regain steel by reducing your size and reclaiming them."
|
||||
desc = "Alter your size between 25% and 200%." //CHOMP Edit - Removed talk about requiring metal
|
||||
icon_state = "volume"
|
||||
to_call = /mob/living/carbon/human/proc/nano_set_size
|
||||
CHOMP removal end*/
|
||||
|
||||
/obj/effect/protean_ability/reform_limb
|
||||
ability_name = "Ref - Single Limb"
|
||||
@@ -386,11 +485,11 @@
|
||||
desc = "Rebuild your entire body into whatever design you want, assuming you have 10,000 metal."
|
||||
icon_state = "body"
|
||||
to_call = /mob/living/carbon/human/proc/nano_regenerate
|
||||
|
||||
|
||||
/obj/effect/protean_ability/metal_nom
|
||||
ability_name = "Ref - Store Metals"
|
||||
desc = "Store the metal you're holding. Your refactory can only store steel, and all other metals will be converted into nanites ASAP for various effects."
|
||||
icon_state = "metal"
|
||||
to_call = /mob/living/carbon/human/proc/nano_metalnom
|
||||
|
||||
#undef PER_LIMB_STEEL_COST
|
||||
#undef PER_LIMB_STEEL_COST
|
||||
+47
-12
@@ -17,7 +17,7 @@
|
||||
|
||||
flags = NO_SCAN | NO_SLIP | NO_MINOR_CUT | NO_HALLUCINATION | NO_INFECT | NO_PAIN
|
||||
appearance_flags = HAS_SKIN_COLOR | HAS_EYE_COLOR | HAS_HAIR_COLOR | HAS_UNDERWEAR | HAS_LIPS
|
||||
spawn_flags = SPECIES_CAN_JOIN | SPECIES_IS_WHITELISTED | SPECIES_WHITELIST_SELECTABLE
|
||||
spawn_flags = SPECIES_CAN_JOIN | SPECIES_IS_WHITELISTED | SPECIES_WHITELIST_SELECTABLE
|
||||
health_hud_intensity = 2
|
||||
num_alternate_languages = 3
|
||||
assisted_langs = list(LANGUAGE_ROOTLOCAL, LANGUAGE_ROOTGLOBAL, LANGUAGE_VOX)
|
||||
@@ -67,7 +67,7 @@
|
||||
has_organ = list(
|
||||
O_BRAIN = /obj/item/organ/internal/mmi_holder/posibrain/nano,
|
||||
O_ORCH = /obj/item/organ/internal/nano/orchestrator,
|
||||
O_FACT = /obj/item/organ/internal/nano/refactory
|
||||
O_FACT = /obj/item/organ/internal/nano/refactory,
|
||||
)
|
||||
has_limbs = list(
|
||||
BP_TORSO = list("path" = /obj/item/organ/external/chest/unbreakable/nano),
|
||||
@@ -91,8 +91,8 @@
|
||||
/mob/living/carbon/human/proc/nano_regenerate, //These verbs are hidden so you can macro them,
|
||||
/mob/living/carbon/human/proc/nano_partswap,
|
||||
/mob/living/carbon/human/proc/nano_metalnom,
|
||||
/mob/living/carbon/human/proc/nano_blobform,
|
||||
/mob/living/carbon/human/proc/nano_set_size,
|
||||
/mob/living/carbon/human/proc/nano_blobform,
|
||||
/mob/living/proc/set_size,
|
||||
/mob/living/carbon/human/proc/nano_change_fitting, //These verbs are displayed normally,
|
||||
/mob/living/carbon/human/proc/shapeshifter_select_hair,
|
||||
/mob/living/carbon/human/proc/shapeshifter_select_hair_colors,
|
||||
@@ -101,9 +101,14 @@
|
||||
/mob/living/carbon/human/proc/shapeshifter_select_gender,
|
||||
/mob/living/carbon/human/proc/shapeshifter_select_wings,
|
||||
/mob/living/carbon/human/proc/shapeshifter_select_tail,
|
||||
/mob/living/carbon/human/proc/shapeshifter_select_ears
|
||||
)
|
||||
|
||||
/mob/living/carbon/human/proc/shapeshifter_select_ears,
|
||||
/mob/living/carbon/human/proc/succubus_drain,
|
||||
/mob/living/carbon/human/proc/slime_feed,
|
||||
/mob/living/carbon/human/proc/succubus_drain_finalize,
|
||||
/mob/living/carbon/human/proc/succubus_drain_lethal,
|
||||
/mob/living/proc/eat_trash
|
||||
) //CHOMP Edit - Added succ stuff that promies have too. Also changed nano_set_size to standard set_size so there is no metal cost.
|
||||
|
||||
var/global/list/abilities = list()
|
||||
|
||||
var/monochromatic = FALSE //IGNORE ME
|
||||
@@ -135,8 +140,8 @@
|
||||
|
||||
/datum/species/protean/equip_survival_gear(var/mob/living/carbon/human/H)
|
||||
var/obj/item/stack/material/steel/metal_stack = new()
|
||||
metal_stack.amount = 3
|
||||
|
||||
metal_stack.amount = 5 //CHOMP Edit
|
||||
|
||||
var/obj/item/clothing/accessory/permit/nanotech/permit = new()
|
||||
permit.set_name(H.real_name)
|
||||
|
||||
@@ -155,6 +160,9 @@
|
||||
new_nif.quick_implant(H)
|
||||
else
|
||||
H.nif.durability = rand(21,25)
|
||||
|
||||
var/obj/item/weapon/rig/protean/prig = new /obj/item/weapon/rig/protean(H)
|
||||
prig.myprotean = H
|
||||
|
||||
/datum/species/protean/hug(var/mob/living/carbon/human/H, var/mob/living/target)
|
||||
return ..() //Wut
|
||||
@@ -174,7 +182,7 @@
|
||||
H.ckey = H.temporary_form.ckey
|
||||
QDEL_NULL(H.temporary_form)
|
||||
|
||||
to_chat(H, "<span class='warning'>You died as a Protean. Please sit out of the round for at least 60 minutes before respawning, to represent the time it would take to ship a new-you to the station.</span>")
|
||||
to_chat(H, "<span class='warning'>You died as a Protean. Please sit out of the round for at least 5 or 10 minutes before respawning, to represent the time it would take to ship a new-you to the station, depending on how you died.</span>")
|
||||
|
||||
for(var/obj/item/organ/I in H.internal_organs)
|
||||
I.removed()
|
||||
@@ -189,6 +197,7 @@
|
||||
H.nano_intoblob()
|
||||
return ..() //Any instakill shot runtimes since there are no organs after this. No point to not skip these checks, going to nullspace anyway.
|
||||
|
||||
/*CHOMP Station removal start
|
||||
var/obj/item/organ/internal/nano/refactory/refactory = locate() in H.internal_organs
|
||||
if(refactory && !(refactory.status & ORGAN_DEAD))
|
||||
|
||||
@@ -209,6 +218,7 @@
|
||||
H.add_modifier(/datum/modifier/protean/silver, origin = refactory)
|
||||
|
||||
return ..()
|
||||
CHOMP Station removal end*/
|
||||
|
||||
/datum/species/protean/get_additional_examine_text(var/mob/living/carbon/human/H)
|
||||
return ..() //Hmm, what could be done here?
|
||||
@@ -230,7 +240,7 @@
|
||||
for(var/ability in abilities)
|
||||
var/obj/effect/protean_ability/A = ability
|
||||
stat("[A.ability_name]",A.atom_button_text())
|
||||
|
||||
|
||||
// Various modifiers
|
||||
/datum/modifier/protean
|
||||
stacks = MODIFIER_STACK_FORBID
|
||||
@@ -261,6 +271,7 @@
|
||||
if(!refactory.use_stored_material(material_name,material_use))
|
||||
expire()
|
||||
|
||||
/*CHOMP Removal start
|
||||
/datum/modifier/protean/mhydrogen
|
||||
name = "Protean Effect - M.Hydrogen"
|
||||
desc = "You're affected by the presence of metallic hydrogen."
|
||||
@@ -305,6 +316,7 @@
|
||||
|
||||
accuracy = 30
|
||||
evasion = 30
|
||||
CHOMP Removal end*/
|
||||
|
||||
/datum/modifier/protean/steel
|
||||
name = "Protean Effect - Steel"
|
||||
@@ -328,6 +340,7 @@
|
||||
else if(O.status & ORGAN_DEAD)
|
||||
O.status &= ~ORGAN_DEAD //Unset dead if we repaired it entirely
|
||||
|
||||
|
||||
// PAN Card
|
||||
/obj/item/clothing/accessory/permit/nanotech
|
||||
name = "\improper P.A.N. card"
|
||||
@@ -349,6 +362,28 @@
|
||||
. = ..()
|
||||
. += validstring
|
||||
. += registring
|
||||
|
||||
//CHOMP Add start
|
||||
/mob/living/carbon/human/proc/rig_transform()
|
||||
set name = "Modify Form - Hardsuit"
|
||||
set desc = "Allows a protean to solidify its form into one extremely similar to a hardsuit."
|
||||
set category = "Abilities"
|
||||
|
||||
if(istype(loc, /obj/item/weapon/rig/protean))
|
||||
var/obj/item/weapon/rig/protean/prig = loc
|
||||
src.forceMove(get_turf(prig))
|
||||
prig.forceMove(src)
|
||||
return
|
||||
|
||||
if(isturf(loc))
|
||||
var/obj/item/weapon/rig/protean/prig
|
||||
for(var/obj/item/weapon/rig/protean/O in contents)
|
||||
prig = O
|
||||
break
|
||||
if(prig)
|
||||
prig.forceMove(get_turf(src))
|
||||
src.forceMove(prig)
|
||||
return
|
||||
//CHOMP Add end
|
||||
#undef DAM_SCALE_FACTOR
|
||||
#undef METAL_PER_TICK
|
||||
#undef METAL_PER_TICK
|
||||
Reference in New Issue
Block a user