mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-05-02 13:23:21 +01:00
## About The Pull Request <details> - renamed ai folder to announcer -- announcer -- - moved vox_fem to announcer - moved approachingTG to announcer - separated the ambience folder into ambience and instrumental -- ambience -- - created holy folder moved all related sounds there - created engineering folder and moved all related sounds there - created security folder and moved ambidet there - created general folder and moved ambigen there - created icemoon folder and moved all icebox-related ambience there - created medical folder and moved all medbay-related ambi there - created ruin folder and moves all ruins ambi there - created beach folder and moved seag and shore there - created lavaland folder and moved related ambi there - created aurora_caelus folder and placed its ambi there - created misc folder and moved the rest of the files that don't have a specific category into it -- instrumental -- - moved traitor folder here - created lobby_music folder and placed our songs there (title0 not used anywhere? - server-side modification?) -- items -- - moved secdeath to hailer - moved surgery to handling -- effects -- - moved chemistry into effects - moved hallucinations into effects - moved health into effects - moved magic into effects -- vehicles -- - moved mecha into vehicles created mobs folder -- mobs -- - moved creatures folder into mobs - moved voice into mobs renamed creatures to non-humanoids renamed voice to humanoids -- non-humanoids-- created cyborg folder created hiss folder moved harmalarm.ogg to cyborg -- humanoids -- -- misc -- moved ghostwhisper to misc moved insane_low_laugh to misc I give up trying to document this. </details> - [X] ambience - [x] announcer - [x] effects - [X] instrumental - [x] items - [x] machines - [x] misc - [X] mobs - [X] runtime - [X] vehicles - [ ] attributions ## Why It's Good For The Game This folder is so disorganized that it's vomit inducing, will make it easier to find and add new sounds, providng a minor structure to the sound folder. ## Changelog 🆑 grungussuss refactor: the sound folder in the source code has been reorganized, please report any oddities with sounds playing or not playing server: lobby music has been repathed to sound/music/lobby_music /🆑
77 lines
2.4 KiB
Plaintext
77 lines
2.4 KiB
Plaintext
/mob/living/basic/mothroach
|
|
name = "mothroach"
|
|
desc = "This is the adorable by-product of multiple attempts at genetically mixing mothpeople with cockroaches."
|
|
icon_state = "mothroach"
|
|
icon_living = "mothroach"
|
|
icon_dead = "mothroach_dead"
|
|
held_state = "mothroach"
|
|
held_lh = 'icons/mob/inhands/animal_item_lefthand.dmi'
|
|
held_rh = 'icons/mob/inhands/animal_item_righthand.dmi'
|
|
head_icon = 'icons/mob/clothing/head/pets_head.dmi'
|
|
butcher_results = list(/obj/item/food/meat/slab/mothroach = 3, /obj/item/stack/sheet/animalhide/mothroach = 1)
|
|
mob_biotypes = MOB_ORGANIC|MOB_BUG
|
|
mob_size = MOB_SIZE_SMALL
|
|
mobility_flags = MOBILITY_FLAGS_REST_CAPABLE_DEFAULT
|
|
health = 25
|
|
maxHealth = 25
|
|
speed = 1.25
|
|
gold_core_spawnable = FRIENDLY_SPAWN
|
|
can_be_held = TRUE
|
|
worn_slot_flags = ITEM_SLOT_HEAD
|
|
|
|
verb_say = "flutters"
|
|
verb_ask = "flutters inquisitively"
|
|
verb_exclaim = "flutters loudly"
|
|
verb_yell = "flutters loudly"
|
|
response_disarm_continuous = "shoos"
|
|
response_disarm_simple = "shoo"
|
|
response_harm_continuous = "hits"
|
|
response_harm_simple = "hit"
|
|
response_help_continuous = "pats"
|
|
response_help_simple = "pat"
|
|
|
|
faction = list(FACTION_NEUTRAL)
|
|
|
|
ai_controller = /datum/ai_controller/basic_controller/mothroach
|
|
|
|
/mob/living/basic/mothroach/Initialize(mapload)
|
|
. = ..()
|
|
var/static/list/food_types = list(/obj/item/clothing)
|
|
AddElement(/datum/element/basic_eating, food_types = food_types)
|
|
ai_controller.set_blackboard_key(BB_BASIC_FOODS, typecacheof(food_types))
|
|
AddElement(/datum/element/ai_retaliate)
|
|
AddElement(/datum/element/pet_bonus, "squeaks happily!")
|
|
add_verb(src, /mob/living/proc/toggle_resting)
|
|
ADD_TRAIT(src, TRAIT_VENTCRAWLER_ALWAYS, INNATE_TRAIT)
|
|
|
|
/mob/living/basic/mothroach/toggle_resting()
|
|
. = ..()
|
|
if(stat == DEAD)
|
|
return
|
|
if (resting)
|
|
icon_state = "[icon_living]_rest"
|
|
else
|
|
icon_state = "[icon_living]"
|
|
regenerate_icons()
|
|
|
|
/mob/living/basic/mothroach/attack_hand(mob/living/carbon/human/user, list/modifiers)
|
|
. = ..()
|
|
if(src.stat == DEAD)
|
|
return
|
|
else
|
|
playsound(loc, 'sound/mobs/humanoids/moth/scream_moth.ogg', 50, TRUE)
|
|
|
|
/mob/living/basic/mothroach/attackby(obj/item/attacking_item, mob/living/user, params)
|
|
. = ..()
|
|
if(src.stat == DEAD)
|
|
return
|
|
else
|
|
playsound(loc, 'sound/mobs/humanoids/moth/scream_moth.ogg', 50, TRUE)
|
|
|
|
/mob/living/basic/mothroach/bar
|
|
name = "mothroach bartender"
|
|
desc = "A mothroach serving drinks. Look at him go."
|
|
icon_state = "barroach"
|
|
icon_living = "barroach"
|
|
icon_dead = "barroach_dead"
|