Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions modular_darkpack/modules/npc/code/nonhuman/friendly/cat.dm
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
icon_dead = "cat_tzi_dead"
unique_pet = TRUE
random_cat_color = FALSE
custom_materials = list(/datum/material/meat = SHEET_MATERIAL_AMOUNT * 20) // CRIMSON EDIT ADDITION SAME MEAT AS CRAFTING RECIPE

/mob/living/basic/pet/cat/darkpack/cain
name = "Cain"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,12 @@
extend_sound = 'modular_darkpack/modules/powers/sounds/vicissitude.ogg'
retract_sound = 'modular_darkpack/modules/powers/sounds/vicissitude.ogg'

/obj/item/organ/cyberimp/chest/nutriment/tzimisce
name = "Secondary Stomach"
desc = "This secondary stomach is capable of highly efficient digestion of stored biomatter reserves."
icon_state = "stomach-x"
custom_materials = list(/datum/material/meat = SHEET_MATERIAL_AMOUNT * 15)
organ_flags = ORGAN_ORGANIC
hunger_threshold = NUTRITION_LEVEL_HUNGRY
poison_amount = 0
slot = ORGAN_SLOT_STOMACH_AID
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,43 @@
category = CAT_TZIMISCE
skill_required_for_use = STAT_MEDICINE
skill_dots_minimum = 3

/datum/crafting_recipe/tzi_stomach
name = "Secondary Stomach"
time = 50
reqs = list(/obj/item/stack/sheet/meat = 15, /obj/item/organ/stomach = 1)
result = /obj/item/organ/cyberimp/chest/nutriment/tzimisce
category = CAT_TZIMISCE

/datum/crafting_recipe/tzi_meat
name = "meat"
time = 50
reqs = list(/obj/item/stack/sheet/meat = 4)
result = /obj/item/food/meat/slab/human
category = CAT_TZIMISCE
skill_required_for_use = STAT_MEDICINE
skill_dots_minimum = 3

/datum/crafting_recipe/tzi_cat
name = "flesh feline"
time = 50
// use the tzi plush once it transfers consciousness
reqs = list(/obj/item/stack/sheet/meat = 20, /obj/item/guts = 1, /obj/item/spine = 1, /obj/item/organ/brain = 1)
result = /mob/living/basic/pet/cat/darkpack/tzi
category = CAT_TZIMISCE
skill_required_for_use = STAT_MEDICINE
skill_dots_minimum = 3

/mob/living/basic/pet/cat/darkpack/tzi/on_craft_completion(list/components, datum/crafting_recipe/current_recipe, atom/crafter)
. = ..()
var/obj/item/organ/brain/candidate = locate(/obj/item/organ/brain) in contents
if(isnull(candidate?.brainmob?.mind))
return
var/datum/mind/candidate_mind = candidate.brainmob.mind
candidate_mind.transfer_to(src)
candidate_mind.grab_ghost()
var/default_name = initial(name)
var/new_name = sanitize_name(reject_bad_text(tgui_input_text(src, "You are \the [src]. Would you like to change your name to something else?", "Name change", default_name, MAX_NAME_LEN)), cap_after_symbols = FALSE)
if(new_name)
to_chat(src, span_notice("Your name is now <b>[new_name]</b>!"))
name = new_name
47 changes: 47 additions & 0 deletions modular_vcg/modules/powers/code/discipline/vicissitude/surgery.dm
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
/datum/surgery_operation/limb/bioware/reinforce_body
name = "reinforce body"
desc = "Reinforce the body with more meat and mass, reducing the severity of incoming damage"
implements = list(/obj/item/stack/sheet/meat = 1)
status_effect_gained = /datum/status_effect/bioware/body/reinforced

/datum/surgery_operation/limb/bioware/reinforce_body/get_default_radial_image()
return image(/obj/item/stack/sheet/meat)

/datum/surgery_operation/limb/bioware/reinforce_body/tool_check(obj/item/tool)
var/obj/item/stack/tool_stack = tool
return tool_stack.amount >= 50

/datum/surgery_operation/limb/bioware/reinforce_body/on_preop(obj/item/bodypart/limb, mob/living/surgeon, tool)
display_results(
surgeon,
limb.owner,
span_notice("You start wrapping meat around [limb.owner]'s body."),
span_notice("[surgeon] starts wrapping meat around [limb.owner]'s body."),
span_notice("[surgeon] starts manipulating [limb.owner]'s body."),
)
display_pain(limb.owner, "Your entire body burns in agony!")

/datum/surgery_operation/limb/bioware/reinforce_body/on_success(obj/item/bodypart/limb, mob/living/surgeon, tool, list/operation_args)
. = ..()
var/obj/item/stack/tool_stack = tool
tool_stack.use(49)
display_results(
surgeon,
limb.owner,
span_notice("You reshape [limb.owner]'s body, adding more mass!"),
span_notice("[surgeon] reshapes [limb.owner]'s body, adding more mass!"),
span_notice("[surgeon] finishes manipulating [limb.owner]'s body."),
)
display_pain(limb.owner, "You can feel padding in your body!")

/datum/status_effect/bioware/body/reinforced

/datum/status_effect/bioware/body/reinforced/bioware_gained()
var/mob/living/carbon/human/human_owner = owner
human_owner.physiology.brute_mod *= 0.8
owner.add_traits(TRAIT_HARDLY_WOUNDED, TRAIT_STATUS_EFFECT(id))

/datum/status_effect/bioware/body/reinforced/bioware_lost()
var/mob/living/carbon/human/human_owner = owner
human_owner.physiology.brute_mod /= 0.8
owner.remove_traits(TRAIT_HARDLY_WOUNDED, TRAIT_STATUS_EFFECT(id))
3 changes: 2 additions & 1 deletion tgstation.dme
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// DM Environment file for tgstation.dme.

Check failure on line 1 in tgstation.dme

View workflow job for this annotation

GitHub Actions / Run Linters / linters

Ticked File Enforcement

Missing include for modular_darkpack\modules\effects\code\reflection.dm.

Check failure on line 1 in tgstation.dme

View workflow job for this annotation

GitHub Actions / Run Linters / linters

Ticked File Enforcement

Missing include for modular_darkpack\modules\merits_flaws\code\old_quirks.dm.

Check failure on line 1 in tgstation.dme

View workflow job for this annotation

GitHub Actions / Run Linters / linters

Ticked File Enforcement

Missing include for modular_darkpack\modules\drugs\code\bloodpacks\bloodpack_adulteration.dm.

Check failure on line 1 in tgstation.dme

View workflow job for this annotation

GitHub Actions / Run Linters / linters

Ticked File Enforcement

Missing include for modular_darkpack\modules\werewolf_the_apocalypse\code\old\gifts.dm.

Check failure on line 1 in tgstation.dme

View workflow job for this annotation

GitHub Actions / Run Linters / linters

Ticked File Enforcement

Missing include for modular_darkpack\modules\doors\code\vampdoor_npc.dm.

Check failure on line 1 in tgstation.dme

View workflow job for this annotation

GitHub Actions / Run Linters / linters

Ticked File Enforcement

Missing include for modular_darkpack\modules\unit_tests\apply_all_splats.dm.

Check failure on line 1 in tgstation.dme

View workflow job for this annotation

GitHub Actions / Run Linters / linters

Ticked File Enforcement

Missing include for modular_darkpack\modules\unit_tests\apply_all_clans.dm.

Check failure on line 1 in tgstation.dme

View workflow job for this annotation

GitHub Actions / Run Linters / linters

Ticked File Enforcement

Missing include for modular_darkpack\modules\unit_tests\unallocated_transfer_points.dm.

Check failure on line 1 in tgstation.dme

View workflow job for this annotation

GitHub Actions / Run Linters / linters

Ticked File Enforcement

Missing include for modular_darkpack\master_files\code\game\objects\items\devices\broadcast_camera.dm.

Check failure on line 1 in tgstation.dme

View workflow job for this annotation

GitHub Actions / Run Linters / linters

Ticked File Enforcement

Missing include for modular_darkpack\master_files\code\modules\mob\living\basic\pets\cat\cat.dm.
// All manual changes should be made outside the BEGIN_ and END_ blocks.
// New source code should be placed in .dm files: choose File/New --> Code File.

Expand Down Expand Up @@ -8353,10 +8353,11 @@
#include "modular_vcg\modules\powers\code\discipline\celerity\celerity_movespeed_modifier.dm"
#include "modular_vcg\modules\powers\code\discipline\fortitude\fortitude.dm"
#include "modular_vcg\modules\powers\code\discipline\potence\potence.dm"
#include "modular_vcg\modules\powers\code\discipline\vicissitude\arm_augments.dm"
#include "modular_vcg\modules\powers\code\discipline\vicissitude\augments.dm"
#include "modular_vcg\modules\powers\code\discipline\vicissitude\bonecrafting.dm"
#include "modular_vcg\modules\powers\code\discipline\vicissitude\crafting_recipe.dm"
#include "modular_vcg\modules\powers\code\discipline\vicissitude\melee.dm"
#include "modular_vcg\modules\powers\code\discipline\vicissitude\surgery.dm"
#include "modular_vcg\modules\relays\code\relays.dm"
#include "modular_vcg\modules\toggle_looc\code\looc_toggle.dm"
#include "modular_vcg\modules\weapons\code\guns.dm"
Expand Down
Loading