Files
Bubberstation/code/modules/mapfluff/ruins/spaceruin_code/meateor.dm
tattle 77aebb4c29 Audio File Cleanup (#74863)
## About The Pull Request
Removes a bunch of sound files that we don't use and moves some sound
files into better locations. I'm hoping to get an archive repo for
sounds going, much like the
[map_depot](https://github.com/tgstation/map_depot) and
[SS13-sprites](https://github.com/tgstation/SS13-sprites).

EDIT: The old sound files are being moved here:
https://github.com/tgstation/SS13-sounds

Also increased the volume of the clownana rustle sound and clipped off
some dead air from shockwave_explosion

## Why It's Good For The Game
Removes a total of 1.95MB worth of unused sound files from the codebase.

## Changelog
🆑 Tattle
soundadd: increased the volume of the clownana rustle
/🆑

---------

Co-authored-by: tattle <article.disaster@gmail.com>
2023-04-20 17:22:08 -06:00

132 lines
5.2 KiB
Plaintext

/area/ruin/space/meateor
name = "\improper Organic Asteroid"
sound_environment = SOUND_AREA_SMALL_ENCLOSED
/obj/item/paper/fluff/ruins/meateor/letter
name = "letter"
default_raw_text = {"We offer our sincerest congratulations, to be chosen to take this journey is an honour and privilege afforded to few.
<br> While you are walking in the footsteps of the divine, don't forget about the rest of us back at the farm!
<br> <This letter has been signed by 15 people.>"}
/// Tiger cultist corpse but with an exit wound
/obj/effect/mob_spawn/corpse/human/tigercultist/perforated
/obj/effect/mob_spawn/corpse/human/tigercultist/perforated/special(mob/living/carbon/human/spawned_human)
. = ..()
var/datum/wound/pierce/critical/exit_hole = new()
exit_hole.apply_wound(spawned_human.get_bodypart(BODY_ZONE_CHEST))
/// A fun drink enjoyed by the tiger cooperative, might corrode your brain if you drink the whole bottle
/obj/item/reagent_containers/cup/glass/bottle/ritual_wine
name = "ritual wine"
desc = "A bottle filled with liquids of a dubious nature, often enjoyed by members of the Tiger Cooperative."
icon_state = "winebottle"
list_reagents = list(
/datum/reagent/drug/mushroomhallucinogen = 25,
/datum/reagent/consumable/ethanol/ritual_wine = 25,
/datum/reagent/medicine/changelinghaste = 20, // This metabolises very fast
/datum/reagent/drug/bath_salts = 5,
/datum/reagent/blood = 5,
/datum/reagent/toxin/leadacetate = 5,
/datum/reagent/medicine/omnizine = 5,
/datum/reagent/medicine/c2/penthrite = 5,
/datum/reagent/consumable/vinegar = 5,
)
drink_type = NONE
age_restricted = FALSE
/// Abstract holder object for shared behaviour
/obj/structure/meateor_fluff
icon = 'icons/mob/simple/meteor_heart.dmi'
anchored = TRUE
/obj/structure/meateor_fluff/play_attack_sound(damage_amount, damage_type, damage_flag)
switch(damage_type)
if(BRUTE)
if(damage_amount)
playsound(loc, 'sound/effects/attackblob.ogg', vol = 50, vary = TRUE, pressure_affected = FALSE)
else
playsound(loc, 'sound/effects/meatslap.ogg', vol = 50, vary = TRUE, pressure_affected = FALSE)
if(BURN)
playsound(loc, 'sound/effects/wounds/sizzle1.ogg', vol = 100, vary = TRUE, pressure_affected = FALSE)
/// A sort of loot box for organs, cut it open and find a prize
/obj/structure/meateor_fluff/flesh_pod
name = "flesh pod"
desc = "A quivering pod of living meat. Something is pulsing inside."
icon_state = "flesh_pod"
max_integrity = 120
density = TRUE
/// Typepath of the organ to spawn when this is destroyed
var/stored_organ
/// Types of organ we can spawn
var/static/list/allowed_organs = list(
/obj/item/organ/internal/heart/gland/egg = 7,
/obj/item/organ/internal/heart/gland/plasma = 7,
/obj/item/organ/internal/alien/plasmavessel = 5,
/obj/item/organ/internal/heart/gland/chem = 5,
/obj/item/organ/internal/heart/gland/mindshock = 5,
/obj/item/organ/internal/heart/gland/spiderman = 5,
/obj/item/organ/internal/heart/gland/transform = 5,
/obj/item/organ/internal/heart/gland/slime = 4,
/obj/item/organ/internal/heart/gland/trauma = 4,
/obj/item/organ/internal/heart/carp = 3,
/obj/item/organ/internal/heart/rat = 3,
/obj/item/organ/internal/heart/gland/electric = 3,
/obj/item/organ/internal/monster_core/brimdust_sac = 3,
/obj/item/organ/internal/monster_core/regenerative_core = 3,
/obj/item/organ/internal/monster_core/rush_gland = 3,
/obj/item/organ/internal/tongue/carp = 3,
/obj/item/organ/internal/alien/acid = 2,
/obj/item/organ/internal/alien/resinspinner = 2,
/obj/item/organ/internal/eyes/night_vision/goliath = 2,
/obj/item/organ/internal/eyes/night_vision/rat = 2,
/obj/item/organ/internal/heart/gland/ventcrawling = 1,
)
/obj/structure/meateor_fluff/flesh_pod/Initialize(mapload)
. = ..()
stored_organ = pick_weight(allowed_organs)
/obj/structure/meateor_fluff/flesh_pod/attackby(obj/item/attacking_item, mob/user, params)
if (attacking_item.sharpness & SHARP_EDGED)
cut_open(user)
return
return ..()
/// Cut the pod open and destroy it
/obj/structure/meateor_fluff/flesh_pod/proc/cut_open(mob/user)
balloon_alert(user, "slicing...")
if (!do_after(user, 3 SECONDS, target = src))
return
take_damage(max_integrity)
/obj/structure/meateor_fluff/flesh_pod/atom_destruction(damage_flag)
new stored_organ(loc)
new /obj/effect/decal/cleanable/blood(loc)
new /obj/structure/meateor_fluff/flesh_pod_open(loc)
playsound(loc, 'sound/effects/wounds/blood3.ogg', vol = 50, vary = TRUE, pressure_affected = FALSE)
return ..()
/obj/structure/meateor_fluff/flesh_pod_open
name = "flesh pod"
desc = "A pod of living meat, this one has been hollowed out."
icon_state = "flesh_pod_open"
max_integrity = 60
/obj/structure/meateor_fluff/flesh_pod_open/atom_destruction(damage_flag)
new /obj/effect/gibspawner/human(loc)
return ..()
/// Decorative fluff egg object
/obj/structure/meateor_fluff/abandoned_headcrab_egg
name = "meaty eggs"
desc = "A mass of fleshy, egg-shaped nodes."
icon_state = "eggs"
max_integrity = 15
/obj/structure/meateor_fluff/abandoned_headcrab_egg/atom_destruction(damage_flag)
new /obj/effect/decal/cleanable/xenoblood(loc)
playsound(loc, 'sound/effects/footstep/gib_step.ogg', vol = 50, vary = TRUE, pressure_affected = FALSE)
return ..()