Files
grungussuss 58501dce77 Reorganizes the sound folder (#86726)
## 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
/🆑
2024-09-23 22:24:50 -07:00

91 lines
3.8 KiB
Plaintext

/mob/living/basic/wizard
name = "Space Wizard"
desc = "A wizard is never early. Nor is he late. He arrives exactly at the worst possible moment."
icon = 'icons/mob/simple/simple_human.dmi'
icon_state = "wizard"
icon_living = "wizard"
icon_dead = "wizard_dead"
mob_biotypes = MOB_ORGANIC|MOB_HUMANOID
sentience_type = SENTIENCE_HUMANOID
speed = 0
maxHealth = 100
health = 100
melee_damage_lower = 5
melee_damage_upper = 5
attack_verb_continuous = "punches"
attack_verb_simple = "punch"
attack_sound = 'sound/items/weapons/punch1.ogg'
combat_mode = TRUE
habitable_atmos = list("min_oxy" = 5, "max_oxy" = 0, "min_plas" = 0, "max_plas" = 1, "min_co2" = 0, "max_co2" = 5, "min_n2" = 0, "max_n2" = 0)
unsuitable_atmos_damage = 7.5
faction = list(ROLE_WIZARD)
basic_mob_flags = DEL_ON_DEATH
ai_controller = /datum/ai_controller/basic_controller/wizard
/// A list of possible wizard corpses, and therefore wizard outfits, to select from
var/static/list/wizard_outfits = list(
/obj/effect/mob_spawn/corpse/human/wizard = 5,
/obj/effect/mob_spawn/corpse/human/wizard/red = 3,
/obj/effect/mob_spawn/corpse/human/wizard/yellow = 3,
/obj/effect/mob_spawn/corpse/human/wizard/black = 3,
/obj/effect/mob_spawn/corpse/human/wizard/marisa = 1,
//The tape wizard should go here, but its hat doesn't render correctly for some reason.
)
/// A specified wizard corpse spawner to use. If null, picks from the list above instead.
var/selected_outfit
/// Typepath for the wizard's targeted spell. If null, selects randomly.
var/targeted_spell_path
/// List of possible targeted spells to pick from
var/static/list/targeted_spell_list = list(
/datum/action/cooldown/spell/pointed/projectile/fireball/lesser,
/datum/action/cooldown/spell/pointed/projectile/lightningbolt,
)
/// Typepath for the wizard's secondary spell. If null, selects randomly.
var/secondary_spell_path
/// List of possible secondary spells to pick from
var/static/list/secondary_spell_list = list(
/datum/action/cooldown/spell/aoe/magic_missile,
/datum/action/cooldown/spell/charged/beam/tesla,
/datum/action/cooldown/spell/aoe/repulse,
/datum/action/cooldown/spell/conjure/the_traps,
)
/mob/living/basic/wizard/Initialize(mapload)
. = ..()
if(!selected_outfit)
selected_outfit = pick_weight(wizard_outfits)
apply_dynamic_human_appearance(src, mob_spawn_path = selected_outfit, r_hand = /obj/item/staff)
var/list/remains = string_list(list(
selected_outfit,
/obj/item/staff
))
AddElement(/datum/element/death_drops, remains)
AddElement(/datum/element/footstep, footstep_type = FOOTSTEP_MOB_SHOE)
if(isnull(targeted_spell_path))
targeted_spell_path = pick(targeted_spell_list)
if(isnull(secondary_spell_path))
secondary_spell_path = pick(secondary_spell_list)
var/datum/action/cooldown/spell/targeted_spell = new targeted_spell_path(src)
targeted_spell.spell_requirements &= ~(SPELL_REQUIRES_HUMAN|SPELL_REQUIRES_WIZARD_GARB|SPELL_REQUIRES_MIND)
targeted_spell.Grant(src)
ai_controller.set_blackboard_key(BB_WIZARD_TARGETED_SPELL, targeted_spell)
var/datum/action/cooldown/spell/secondary_spell = new secondary_spell_path(src)
secondary_spell.spell_requirements &= ~(SPELL_REQUIRES_HUMAN|SPELL_REQUIRES_WIZARD_GARB|SPELL_REQUIRES_MIND)
secondary_spell.Grant(src)
ai_controller.set_blackboard_key(BB_WIZARD_SECONDARY_SPELL, secondary_spell)
var/datum/action/cooldown/spell/teleport/radius_turf/blink/lesser/blink_spell = new(src)
blink_spell.Grant(src)
ai_controller.set_blackboard_key(BB_WIZARD_BLINK_SPELL, blink_spell)
/// Uses the colors and loadout of the original wizard simplemob
/mob/living/basic/wizard/classic
selected_outfit = /obj/effect/mob_spawn/corpse/human/wizard
targeted_spell_path = /datum/action/cooldown/spell/pointed/projectile/fireball/lesser
secondary_spell_path = /datum/action/cooldown/spell/aoe/magic_missile