mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-26 14:39:58 +01:00
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 /🆑
This commit is contained in:
@@ -25,7 +25,7 @@
|
||||
return
|
||||
|
||||
new /obj/effect/temp_visual/circle_wave/bioscrambler(get_turf(src))
|
||||
playsound(src, 'sound/magic/cosmic_energy.ogg', vol = 50, vary = TRUE)
|
||||
playsound(src, 'sound/effects/magic/cosmic_energy.ogg', vol = 50, vary = TRUE)
|
||||
COOLDOWN_START(src, pulse_cooldown, pulse_delay)
|
||||
for(var/mob/living/carbon/nearby in hearers(range, src))
|
||||
nearby.bioscramble(name)
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
/// Typepath of custom material to use for objects.
|
||||
var/datum/material/material
|
||||
/// Sound to play when transforming a tile
|
||||
var/sound = 'sound/magic/blind.ogg'
|
||||
var/sound = 'sound/effects/magic/blind.ogg'
|
||||
/// Weighted list of turfs to replace the floor with.
|
||||
var/list/replace_floors = list(/turf/open/floor/material = 1)
|
||||
/// Typepath of turf to replace walls with.
|
||||
@@ -255,7 +255,7 @@
|
||||
icon = 'icons/obj/ore.dmi'
|
||||
icon_state = "uranium"
|
||||
material = /datum/material/uranium
|
||||
sound = 'sound/items/welder.ogg'
|
||||
sound = 'sound/items/tools/welder.ogg'
|
||||
|
||||
/datum/dimension_theme/meat
|
||||
name = "Meat"
|
||||
@@ -468,4 +468,4 @@
|
||||
/obj/item/reagent_containers/cup/glass/trophy = list(/obj/item/reagent_containers/cup/glass/trophy/bronze_cup = 1),
|
||||
/obj/machinery/door/airlock = list(/obj/machinery/door/airlock/bronze = 1),
|
||||
)
|
||||
sound = 'sound/magic/clockwork/fellowship_armory.ogg'
|
||||
sound = 'sound/effects/magic/clockwork/fellowship_armory.ogg'
|
||||
|
||||
@@ -132,11 +132,11 @@
|
||||
icon_state = "anom"
|
||||
anchored = TRUE
|
||||
var/static/list/spooky_noises = list(
|
||||
'sound/hallucinations/growl1.ogg',
|
||||
'sound/hallucinations/growl2.ogg',
|
||||
'sound/hallucinations/growl3.ogg',
|
||||
'sound/hallucinations/veryfar_noise.ogg',
|
||||
'sound/hallucinations/wail.ogg'
|
||||
'sound/effects/hallucinations/growl1.ogg',
|
||||
'sound/effects/hallucinations/growl2.ogg',
|
||||
'sound/effects/hallucinations/growl3.ogg',
|
||||
'sound/effects/hallucinations/veryfar_noise.ogg',
|
||||
'sound/effects/hallucinations/wail.ogg'
|
||||
)
|
||||
var/list/ghosts_spawned = list()
|
||||
|
||||
|
||||
@@ -359,7 +359,7 @@
|
||||
decal_reagent = /datum/reagent/ants
|
||||
reagent_amount = 5
|
||||
/// Sound the ants make when biting
|
||||
var/bite_sound = 'sound/weapons/bite.ogg'
|
||||
var/bite_sound = 'sound/items/weapons/bite.ogg'
|
||||
|
||||
/obj/effect/decal/cleanable/ants/Initialize(mapload)
|
||||
if(mapload && reagent_amount > 2)
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
|
||||
/obj/effect/decal/remains/acid_act()
|
||||
visible_message(span_warning("[src] dissolve[gender == PLURAL?"":"s"] into a puddle of sizzling goop!"))
|
||||
playsound(src, 'sound/items/welder.ogg', 150, TRUE)
|
||||
playsound(src, 'sound/items/tools/welder.ogg', 150, TRUE)
|
||||
new /obj/effect/decal/cleanable/greenglow(drop_location())
|
||||
qdel(src)
|
||||
return TRUE
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
if(slippery_foam)
|
||||
AddComponent(/datum/component/slippery, 100)
|
||||
create_reagents(1000, REAGENT_HOLDER_INSTANT_REACT)
|
||||
playsound(src, 'sound/effects/bubbles2.ogg', 80, TRUE, -3)
|
||||
playsound(src, 'sound/effects/bubbles/bubbles2.ogg', 80, TRUE, -3)
|
||||
AddElement(/datum/element/atmos_sensitive, mapload)
|
||||
SSfoam.start_processing(src)
|
||||
|
||||
@@ -324,7 +324,7 @@
|
||||
return attack_hand(user, modifiers)
|
||||
|
||||
/obj/structure/foamedmetal/play_attack_sound(damage_amount, damage_type = BRUTE, damage_flag = 0)
|
||||
playsound(src.loc, 'sound/weapons/tap.ogg', 100, TRUE)
|
||||
playsound(src.loc, 'sound/items/weapons/tap.ogg', 100, TRUE)
|
||||
|
||||
/obj/structure/foamedmetal/attack_hand(mob/user, list/modifiers)
|
||||
. = ..()
|
||||
@@ -333,7 +333,7 @@
|
||||
user.changeNext_move(CLICK_CD_MELEE)
|
||||
user.do_attack_animation(src, ATTACK_EFFECT_PUNCH)
|
||||
to_chat(user, span_warning("You hit [src] but bounce off it!"))
|
||||
playsound(src.loc, 'sound/weapons/tap.ogg', 100, TRUE)
|
||||
playsound(src.loc, 'sound/items/weapons/tap.ogg', 100, TRUE)
|
||||
|
||||
/obj/structure/foamedmetal/attackby(obj/item/W, mob/user, params)
|
||||
///A speed modifier for how fast the wall is build
|
||||
|
||||
@@ -246,7 +246,7 @@ GLOBAL_VAR_INIT(glowshrooms, 0)
|
||||
|
||||
/obj/structure/glowshroom/play_attack_sound(damage_amount, damage_type = BRUTE, damage_flag = 0)
|
||||
if(damage_type == BURN && damage_amount)
|
||||
playsound(src.loc, 'sound/items/welder.ogg', 100, TRUE)
|
||||
playsound(src.loc, 'sound/items/tools/welder.ogg', 100, TRUE)
|
||||
|
||||
/obj/structure/glowshroom/should_atmos_process(datum/gas_mixture/air, exposed_temperature)
|
||||
return exposed_temperature > 300
|
||||
|
||||
@@ -275,7 +275,7 @@
|
||||
if(active)
|
||||
return
|
||||
|
||||
playsound(src, 'sound/weapons/armbomb.ogg', 70, TRUE)
|
||||
playsound(src, 'sound/items/weapons/armbomb.ogg', 70, TRUE)
|
||||
to_chat(user, span_warning("You arm \the [src], causing it to shake! It will deploy in 3 seconds."))
|
||||
active = TRUE
|
||||
addtimer(CALLBACK(src, PROC_REF(deploy_mine)), 3 SECONDS)
|
||||
|
||||
@@ -248,7 +248,7 @@
|
||||
|
||||
flick("poster_being_set", placed_poster)
|
||||
placed_poster.forceMove(src) //deletion of the poster is handled in poster/Exited(), so don't have to worry about P anymore.
|
||||
playsound(src, 'sound/items/poster_being_created.ogg', 100, TRUE)
|
||||
playsound(src, 'sound/items/poster/poster_being_created.ogg', 100, TRUE)
|
||||
|
||||
var/turf/user_drop_location = get_turf(user) //cache this so it just falls to the ground if they move. also no tk memes allowed.
|
||||
if(!do_after(user, PLACE_SPEED, placed_poster, extra_checks = CALLBACK(placed_poster, TYPE_PROC_REF(/obj/structure/sign/poster, snowflake_closed_turf_check), src)))
|
||||
@@ -266,7 +266,7 @@
|
||||
|
||||
/obj/structure/sign/poster/proc/tear_poster(mob/user)
|
||||
visible_message(span_notice("[user] rips [src] in a single, decisive motion!") )
|
||||
playsound(src.loc, 'sound/items/poster_ripped.ogg', 100, TRUE)
|
||||
playsound(src.loc, 'sound/items/poster/poster_ripped.ogg', 100, TRUE)
|
||||
spring_trap(user)
|
||||
|
||||
var/obj/structure/sign/poster/ripped/torn_poster = new(loc)
|
||||
|
||||
@@ -59,7 +59,7 @@
|
||||
icon_state = "backpack-medical"
|
||||
respawn_time = 30 SECONDS
|
||||
pickup_message = "Health restored!"
|
||||
pickup_sound = 'sound/magic/staff_healing.ogg'
|
||||
pickup_sound = 'sound/effects/magic/staff_healing.ogg'
|
||||
/// How much the pickup heals when picked up
|
||||
var/heal_amount = 50
|
||||
/// Does this pickup fully heal when picked up
|
||||
@@ -89,7 +89,7 @@
|
||||
icon_state = "ammobox"
|
||||
respawn_time = 30 SECONDS
|
||||
pickup_message = "Ammunition reloaded!"
|
||||
pickup_sound = 'sound/weapons/gun/shotgun/rack.ogg'
|
||||
pickup_sound = 'sound/items/weapons/gun/shotgun/rack.ogg'
|
||||
|
||||
/obj/effect/powerup/ammo/trigger(mob/living/target)
|
||||
. = ..()
|
||||
@@ -110,7 +110,7 @@
|
||||
name = "Lightning Orb"
|
||||
desc = "You feel faster just looking at it."
|
||||
icon_state = "speed"
|
||||
pickup_sound = 'sound/magic/lightningshock.ogg'
|
||||
pickup_sound = 'sound/effects/magic/lightningshock.ogg'
|
||||
|
||||
/obj/effect/powerup/speed/trigger(mob/living/target)
|
||||
. = ..()
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
* * fade_time - The time for RCD holograms to fade
|
||||
*/
|
||||
/proc/rcd_scan(atom/source, scan_range = RCD_DESTRUCTIVE_SCAN_RANGE, fade_time = RCD_HOLOGRAM_FADE_TIME)
|
||||
playsound(source, 'sound/items/rcdscan.ogg', 50, vary = TRUE, pressure_affected = FALSE)
|
||||
playsound(source, 'sound/items/tools/rcdscan.ogg', 50, vary = TRUE, pressure_affected = FALSE)
|
||||
|
||||
var/turf/source_turf = get_turf(source)
|
||||
for(var/turf/open/surrounding_turf as anything in RANGE_TURFS(scan_range, source_turf))
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
var/sparks = 0 //whether sparks spread
|
||||
var/virusProb = 20 //the chance for viruses to spread on the gibs
|
||||
var/gib_mob_type //generate a fake mob to transfer DNA from if we weren't passed a mob.
|
||||
var/sound_to_play = 'sound/effects/blobattack.ogg'
|
||||
var/sound_to_play = 'sound/effects/blob/blobattack.ogg'
|
||||
var/sound_vol = 60
|
||||
var/list/gibtypes = list() //typepaths of the gib decals to spawn
|
||||
var/list/gibamounts = list() //amount to spawn for each gib decal type we'll spawn.
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
|
||||
/obj/structure/spider/play_attack_sound(damage_amount, damage_type = BRUTE, damage_flag = 0)
|
||||
if(damage_type == BURN)//the stickiness of the web mutes all attack sounds except fire damage type
|
||||
playsound(loc, 'sound/items/welder.ogg', 100, TRUE)
|
||||
playsound(loc, 'sound/items/tools/welder.ogg', 100, TRUE)
|
||||
|
||||
/obj/structure/spider/run_atom_armor(damage_amount, damage_type, damage_flag = 0, attack_dir)
|
||||
if(damage_flag == MELEE)
|
||||
|
||||
@@ -563,7 +563,7 @@
|
||||
/obj/effect/constructing_effect/proc/attacked(mob/user)
|
||||
user.do_attack_animation(src, ATTACK_EFFECT_PUNCH)
|
||||
user.changeNext_move(CLICK_CD_MELEE)
|
||||
playsound(loc, 'sound/weapons/egloves.ogg', vol = 80, vary = TRUE)
|
||||
playsound(loc, 'sound/items/weapons/egloves.ogg', vol = 80, vary = TRUE)
|
||||
end()
|
||||
|
||||
/obj/effect/constructing_effect/attackby(obj/item/weapon, mob/user, params)
|
||||
|
||||
@@ -266,7 +266,7 @@
|
||||
|
||||
if(!hitsound)
|
||||
if(damtype == BURN)
|
||||
hitsound = 'sound/items/welder.ogg'
|
||||
hitsound = 'sound/items/tools/welder.ogg'
|
||||
if(damtype == BRUTE)
|
||||
hitsound = SFX_SWING_HIT
|
||||
|
||||
@@ -861,9 +861,9 @@
|
||||
else if(hitsound)
|
||||
playsound(hit_atom, hitsound, volume, TRUE, -1)
|
||||
else
|
||||
playsound(hit_atom, 'sound/weapons/genhit.ogg',volume, TRUE, -1)
|
||||
playsound(hit_atom, 'sound/items/weapons/genhit.ogg',volume, TRUE, -1)
|
||||
else
|
||||
playsound(hit_atom, 'sound/weapons/throwtap.ogg', 1, volume, -1)
|
||||
playsound(hit_atom, 'sound/items/weapons/throwtap.ogg', 1, volume, -1)
|
||||
|
||||
/obj/item/throw_at(atom/target, range, speed, mob/thrower, spin=1, diagonals_first = 0, datum/callback/callback, force, gentle = FALSE, quickstart = TRUE)
|
||||
if(HAS_TRAIT(src, TRAIT_NODROP))
|
||||
|
||||
@@ -46,7 +46,7 @@
|
||||
R.add_fingerprint(user)
|
||||
qdel(src)
|
||||
user.forceMove(R)
|
||||
playsound(src, 'sound/items/zip.ogg', 15, TRUE, -3)
|
||||
playsound(src, 'sound/items/zip/zip.ogg', 15, TRUE, -3)
|
||||
return OXYLOSS
|
||||
|
||||
// Bluespace bodybag
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
throwforce_on = 4, \
|
||||
throw_speed_on = throw_speed, \
|
||||
sharpness_on = SHARP_EDGED, \
|
||||
hitsound_on = 'sound/weapons/bladeslice.ogg', \
|
||||
hitsound_on = 'sound/items/weapons/bladeslice.ogg', \
|
||||
w_class_on = WEIGHT_CLASS_NORMAL, \
|
||||
attack_verb_continuous_on = list("cuts", "stabs", "slashes"), \
|
||||
attack_verb_simple_on = list("cut", "stab", "slash"), \
|
||||
|
||||
@@ -102,7 +102,7 @@
|
||||
for (var/obj/item/garbage in items_to_sweep)
|
||||
garbage.Move(new_item_loc, sweep_dir)
|
||||
|
||||
playsound(current_item_loc, 'sound/weapons/thudswoosh.ogg', 30, TRUE, -1)
|
||||
playsound(current_item_loc, 'sound/items/weapons/thudswoosh.ogg', 30, TRUE, -1)
|
||||
|
||||
/obj/item/pushbroom/cyborg
|
||||
name = "cyborg push broom"
|
||||
|
||||
@@ -49,7 +49,7 @@
|
||||
if(!user.combat_mode || pushed_over || !isturf(loc))
|
||||
return ..()
|
||||
user.visible_message(span_warning("[user] pushes over [src]!"), span_danger("You push over [src]!"))
|
||||
playsound(src, 'sound/weapons/genhit.ogg', 50, TRUE)
|
||||
playsound(src, 'sound/items/weapons/genhit.ogg', 50, TRUE)
|
||||
push_over()
|
||||
|
||||
/obj/item/cardboard_cutout/equipped(mob/living/user, slot)
|
||||
|
||||
@@ -767,7 +767,7 @@
|
||||
if(HAS_TRAIT(src, TRAIT_TASTEFULLY_THICK_ID_CARD) && (user.is_holding(src) || (user.CanReach(src) && user.put_in_hands(src, ignore_animation = FALSE))))
|
||||
ADD_TRAIT(src, TRAIT_NODROP, "psycho")
|
||||
. += span_hypnophrase("Look at that subtle coloring... The tasteful thickness of it. Oh my God, it even has a watermark...")
|
||||
var/sound/slowbeat = sound('sound/health/slowbeat.ogg', repeat = TRUE)
|
||||
var/sound/slowbeat = sound('sound/effects/health/slowbeat.ogg', repeat = TRUE)
|
||||
user.playsound_local(get_turf(src), slowbeat, 40, 0, channel = CHANNEL_HEARTBEAT, use_reverb = FALSE)
|
||||
if(isliving(user))
|
||||
var/mob/living/living_user = user
|
||||
|
||||
@@ -47,13 +47,13 @@
|
||||
/obj/item/chainsaw/suicide_act(mob/living/carbon/user)
|
||||
if(on)
|
||||
user.visible_message(span_suicide("[user] begins to tear [user.p_their()] head off with [src]! It looks like [user.p_theyre()] trying to commit suicide!"))
|
||||
playsound(src, 'sound/weapons/chainsawhit.ogg', 100, TRUE)
|
||||
playsound(src, 'sound/items/weapons/chainsawhit.ogg', 100, TRUE)
|
||||
var/obj/item/bodypart/head/myhead = user.get_bodypart(BODY_ZONE_HEAD)
|
||||
if(myhead)
|
||||
myhead.dismember()
|
||||
else
|
||||
user.visible_message(span_suicide("[user] smashes [src] into [user.p_their()] neck, destroying [user.p_their()] esophagus! It looks like [user.p_theyre()] trying to commit suicide!"))
|
||||
playsound(src, 'sound/weapons/genhit1.ogg', 100, TRUE)
|
||||
playsound(src, 'sound/items/weapons/genhit1.ogg', 100, TRUE)
|
||||
return BRUTELOSS
|
||||
|
||||
/obj/item/chainsaw/attack_self(mob/user)
|
||||
@@ -66,7 +66,7 @@
|
||||
butchering.butchering_enabled = on
|
||||
|
||||
if(on)
|
||||
hitsound = 'sound/weapons/chainsawhit.ogg'
|
||||
hitsound = 'sound/items/weapons/chainsawhit.ogg'
|
||||
chainsaw_loop.start()
|
||||
else
|
||||
hitsound = SFX_SWING_HIT
|
||||
@@ -88,7 +88,7 @@
|
||||
speed = 3 SECONDS, \
|
||||
effectiveness = 100, \
|
||||
bonus_modifier = 0, \
|
||||
butcher_sound = 'sound/weapons/chainsawhit.ogg', \
|
||||
butcher_sound = 'sound/items/weapons/chainsawhit.ogg', \
|
||||
disabled = TRUE, \
|
||||
)
|
||||
AddComponent(/datum/component/two_handed, require_twohands=TRUE)
|
||||
@@ -110,7 +110,7 @@
|
||||
if (isnull(head))
|
||||
return ..()
|
||||
|
||||
playsound(user, 'sound/weapons/slice.ogg', vol = 80, vary = TRUE)
|
||||
playsound(user, 'sound/items/weapons/slice.ogg', vol = 80, vary = TRUE)
|
||||
|
||||
target_mob.balloon_alert(user, "cutting off head...")
|
||||
if (!do_after(user, 2 SECONDS, target_mob, extra_checks = CALLBACK(src, PROC_REF(has_same_head), target_mob, head)))
|
||||
@@ -124,7 +124,7 @@
|
||||
/obj/item/chainsaw/doomslayer/hit_reaction(mob/living/carbon/human/owner, atom/movable/hitby, attack_text = "the attack", final_block_chance = 0, damage = 0, attack_type = MELEE_ATTACK, damage_type = BRUTE)
|
||||
if(attack_type == PROJECTILE_ATTACK)
|
||||
owner.visible_message(span_danger("Ranged attacks just make [owner] angrier!"))
|
||||
playsound(src, pick('sound/weapons/bulletflyby.ogg', 'sound/weapons/bulletflyby2.ogg', 'sound/weapons/bulletflyby3.ogg'), 75, TRUE)
|
||||
playsound(src, pick('sound/items/weapons/bulletflyby.ogg', 'sound/items/weapons/bulletflyby2.ogg', 'sound/items/weapons/bulletflyby3.ogg'), 75, TRUE)
|
||||
return TRUE
|
||||
return FALSE
|
||||
|
||||
@@ -162,7 +162,7 @@
|
||||
speed = 3 SECONDS, \
|
||||
effectiveness = 100, \
|
||||
bonus_modifier = 0, \
|
||||
butcher_sound = 'sound/weapons/chainsawhit.ogg', \
|
||||
butcher_sound = 'sound/items/weapons/chainsawhit.ogg', \
|
||||
disabled = TRUE, \
|
||||
)
|
||||
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
if(user.can_perform_action(src, FORBID_TELEKINESIS_REACH))
|
||||
return TRUE
|
||||
|
||||
playsound(src, 'sound/machines/buzz-sigh.ogg', 40, TRUE)
|
||||
playsound(src, 'sound/machines/buzz/buzz-sigh.ogg', 40, TRUE)
|
||||
return FALSE
|
||||
|
||||
/// Opens a menu and allows the mob to pick an option from the list
|
||||
@@ -162,7 +162,7 @@
|
||||
// just drops the box at their feet, "quiet" and "sneaky"
|
||||
/obj/item/choice_beacon/augments/spawn_option(obj/choice_path, mob/living/user)
|
||||
new choice_path(get_turf(user))
|
||||
playsound(src, 'sound/weapons/emitter2.ogg', 50, extrarange = SILENCED_SOUND_EXTRARANGE)
|
||||
playsound(src, 'sound/items/weapons/emitter2.ogg', 50, extrarange = SILENCED_SOUND_EXTRARANGE)
|
||||
|
||||
/obj/item/choice_beacon/holy
|
||||
name = "armaments beacon"
|
||||
@@ -176,7 +176,7 @@
|
||||
if(user.mind?.holy_role)
|
||||
return ..()
|
||||
|
||||
playsound(src, 'sound/machines/buzz-sigh.ogg', 40, TRUE)
|
||||
playsound(src, 'sound/machines/buzz/buzz-sigh.ogg', 40, TRUE)
|
||||
return FALSE
|
||||
|
||||
// Overrides generate options so that we can show a neat radial instead
|
||||
|
||||
@@ -47,7 +47,7 @@ CIGARETTE PACKETS ARE IN FANCY.DM
|
||||
icon_state = "match_lit"
|
||||
damtype = BURN
|
||||
force = 3
|
||||
hitsound = 'sound/items/welder.ogg'
|
||||
hitsound = 'sound/items/tools/welder.ogg'
|
||||
inhand_icon_state = "cigon"
|
||||
name = "lit [initial(name)]"
|
||||
desc = "A [initial(name)]. This one is lit."
|
||||
@@ -347,7 +347,7 @@ CIGARETTE PACKETS ARE IN FANCY.DM
|
||||
return
|
||||
|
||||
lit = TRUE
|
||||
playsound(src.loc, 'sound/items/cig_light.ogg', 100, 1)
|
||||
playsound(src.loc, 'sound/items/lighter/cig_light.ogg', 100, 1)
|
||||
make_cig_smoke()
|
||||
if(!(flags_1 & INITIALIZED_1))
|
||||
update_appearance(UPDATE_ICON)
|
||||
@@ -355,7 +355,7 @@ CIGARETTE PACKETS ARE IN FANCY.DM
|
||||
|
||||
attack_verb_continuous = string_list(list("burns", "singes"))
|
||||
attack_verb_simple = string_list(list("burn", "singe"))
|
||||
hitsound = 'sound/items/welder.ogg'
|
||||
hitsound = 'sound/items/tools/welder.ogg'
|
||||
damtype = BURN
|
||||
force = 4
|
||||
if(reagents.get_reagent_amount(/datum/reagent/toxin/plasma)) // the plasma explodes when exposed to fire
|
||||
@@ -396,7 +396,7 @@ CIGARETTE PACKETS ARE IN FANCY.DM
|
||||
STOP_PROCESSING(SSobj, src)
|
||||
reagents.flags |= NO_REACT
|
||||
lit = FALSE
|
||||
playsound(src.loc, 'sound/items/cig_snuff.ogg', 100, 1)
|
||||
playsound(src.loc, 'sound/items/lighter/cig_snuff.ogg', 100, 1)
|
||||
update_appearance(UPDATE_ICON)
|
||||
if(ismob(loc))
|
||||
to_chat(loc, span_notice("Your [name] goes out."))
|
||||
|
||||
@@ -48,8 +48,8 @@
|
||||
|
||||
var/away_dir = get_dir(above, target)
|
||||
user.visible_message(span_notice("[user] begins climbing upwards with [src]."), span_notice("You get to work on properly hooking [src] and going upwards."))
|
||||
playsound(target, 'sound/effects/picaxe1.ogg', 50) //plays twice so people above and below can hear
|
||||
playsound(user_turf, 'sound/effects/picaxe1.ogg', 50)
|
||||
playsound(target, 'sound/effects/pickaxe/picaxe1.ogg', 50) //plays twice so people above and below can hear
|
||||
playsound(user_turf, 'sound/effects/pickaxe/picaxe1.ogg', 50)
|
||||
var/list/effects = list(new /obj/effect/temp_visual/climbing_hook(target, away_dir), new /obj/effect/temp_visual/climbing_hook(user_turf, away_dir))
|
||||
|
||||
// Our climbers athletics ability
|
||||
|
||||
@@ -209,7 +209,7 @@
|
||||
desc = "Damn son, where'd you find this?"
|
||||
icon_state = "air_horn"
|
||||
worn_icon_state = "horn_air"
|
||||
sound_file = 'sound/items/airhorn2.ogg'
|
||||
sound_file = 'sound/items/airhorn/airhorn2.ogg'
|
||||
|
||||
/datum/crafting_recipe/airhorn
|
||||
name = "Air Horn"
|
||||
|
||||
@@ -210,7 +210,7 @@
|
||||
skinhead.set_facial_hairstyle("Shaved", update = TRUE)
|
||||
else
|
||||
skinhead.set_hairstyle("Skinhead", update = TRUE)
|
||||
playsound(loc, 'sound/items/welder2.ogg', 20, TRUE)
|
||||
playsound(loc, 'sound/items/tools/welder2.ogg', 20, TRUE)
|
||||
|
||||
/obj/item/razor/attack(mob/target_mob, mob/living/user, params)
|
||||
if(!ishuman(target_mob))
|
||||
|
||||
@@ -79,7 +79,7 @@
|
||||
|
||||
var/throwtarget = get_step(user, get_dir(src, user))
|
||||
user.safe_throw_at(throwtarget, 1, 1, force = MOVE_FORCE_EXTREMELY_STRONG)
|
||||
playsound(get_turf(src),'sound/magic/repulse.ogg', 100, TRUE)
|
||||
playsound(get_turf(src),'sound/effects/magic/repulse.ogg', 100, TRUE)
|
||||
|
||||
return
|
||||
|
||||
@@ -126,7 +126,7 @@
|
||||
sleep(3 SECONDS)
|
||||
if(QDELETED(src))
|
||||
return
|
||||
playsound(src,'sound/machines/twobeep.ogg',50,FALSE)
|
||||
playsound(src,'sound/machines/beep/twobeep.ogg',50,FALSE)
|
||||
var/mutable_appearance/hologram = mutable_appearance(icon, "hologram")
|
||||
hologram.pixel_y = 16
|
||||
add_overlay(hologram)
|
||||
@@ -158,7 +158,7 @@
|
||||
sleep(0.5 SECONDS)
|
||||
if(QDELETED(src))
|
||||
return
|
||||
playsound(src,'sound/machines/triple_beep.ogg',50,FALSE)
|
||||
playsound(src,'sound/machines/beep/triple_beep.ogg',50,FALSE)
|
||||
add_overlay("text")
|
||||
sleep(1 SECONDS)
|
||||
if(QDELETED(src))
|
||||
@@ -247,7 +247,7 @@
|
||||
dump = new /obj/structure/checkoutmachine(null, bogdanoff)
|
||||
priority_announce("The spacecoin bubble has popped! Get to the credit deposit machine at [get_area(src)] and cash out before you lose all of your funds!", sender_override = "CRAB-17 Protocol")
|
||||
animate(DF, pixel_z = -8, time = 5, , easing = LINEAR_EASING)
|
||||
playsound(src, 'sound/weapons/mortar_whistle.ogg', 70, TRUE, 6)
|
||||
playsound(src, 'sound/items/weapons/mortar_whistle.ogg', 70, TRUE, 6)
|
||||
addtimer(CALLBACK(src, PROC_REF(endLaunch)), 5, TIMER_CLIENT_TIME) //Go onto the last step after a very short falling animation
|
||||
|
||||
|
||||
|
||||
@@ -168,7 +168,7 @@
|
||||
return
|
||||
if(!user.client.holder) //safety if the admin readmined to save their ass lol.
|
||||
to_chat(user, span_reallybig("You shouldn't have done that..."))
|
||||
playsound(src, 'sound/voice/borg_deathsound.ogg')
|
||||
playsound(src, 'sound/mobs/non-humanoids/cyborg/borg_deathsound.ogg')
|
||||
sleep(3 SECONDS)
|
||||
living_user.investigate_log("has been gibbed by [src].", INVESTIGATE_DEATHS)
|
||||
living_user.gib(DROP_ALL_REMAINS)
|
||||
|
||||
@@ -258,10 +258,10 @@
|
||||
if(cell)
|
||||
if(cell.charge >= paddles.revivecost)
|
||||
visible_message(span_notice("[src] beeps: Unit ready."))
|
||||
playsound(src, 'sound/machines/defib_ready.ogg', 50, FALSE)
|
||||
playsound(src, 'sound/machines/defib/defib_ready.ogg', 50, FALSE)
|
||||
else
|
||||
visible_message(span_notice("[src] beeps: Charge depleted."))
|
||||
playsound(src, 'sound/machines/defib_failed.ogg', 50, FALSE)
|
||||
playsound(src, 'sound/machines/defib/defib_failed.ogg', 50, FALSE)
|
||||
paddles.cooldown = FALSE
|
||||
paddles.update_appearance()
|
||||
update_power()
|
||||
@@ -399,7 +399,7 @@
|
||||
/obj/item/shockpaddles/proc/finish_recharge()
|
||||
var/turf/current_turf = get_turf(src)
|
||||
current_turf.audible_message(span_notice("[src] beeps: Unit is recharged."))
|
||||
playsound(src, 'sound/machines/defib_ready.ogg', 50, FALSE)
|
||||
playsound(src, 'sound/machines/defib/defib_ready.ogg', 50, FALSE)
|
||||
cooldown = FALSE
|
||||
update_appearance()
|
||||
|
||||
@@ -418,7 +418,7 @@
|
||||
user.visible_message(span_danger("[user] is putting the live paddles on [user.p_their()] chest! It looks like [user.p_theyre()] trying to commit suicide!"))
|
||||
if(req_defib)
|
||||
defib.deductcharge(revivecost)
|
||||
playsound(src, 'sound/machines/defib_zap.ogg', 50, TRUE, -1)
|
||||
playsound(src, 'sound/machines/defib/defib_zap.ogg', 50, TRUE, -1)
|
||||
return OXYLOSS
|
||||
|
||||
/obj/item/shockpaddles/update_icon_state()
|
||||
@@ -451,7 +451,7 @@
|
||||
defib?.update_power()
|
||||
if(req_defib && !defib.powered)
|
||||
user.visible_message(span_warning("[defib] beeps: Not enough charge!"))
|
||||
playsound(src, 'sound/machines/defib_failed.ogg', 50, FALSE)
|
||||
playsound(src, 'sound/machines/defib/defib_failed.ogg', 50, FALSE)
|
||||
return
|
||||
if(!HAS_TRAIT(src, TRAIT_WIELDED))
|
||||
if(iscyborg(user))
|
||||
@@ -527,7 +527,7 @@
|
||||
M.Knockdown(75)
|
||||
M.set_jitter_if_lower(100 SECONDS)
|
||||
M.apply_status_effect(/datum/status_effect/convulsing)
|
||||
playsound(src, 'sound/machines/defib_zap.ogg', 50, TRUE, -1)
|
||||
playsound(src, 'sound/machines/defib/defib_zap.ogg', 50, TRUE, -1)
|
||||
if(HAS_TRAIT(M,MOB_ORGANIC))
|
||||
M.emote("gasp")
|
||||
log_combat(user, M, "zapped", src)
|
||||
@@ -544,7 +544,7 @@
|
||||
user.visible_message(span_notice("[user] places [src] on [H]'s chest."),
|
||||
span_warning("You place [src] on [H]'s chest and begin to charge them."))
|
||||
var/turf/T = get_turf(defib)
|
||||
playsound(src, 'sound/machines/defib_charge.ogg', 50, FALSE)
|
||||
playsound(src, 'sound/machines/defib/defib_charge.ogg', 50, FALSE)
|
||||
if(req_defib)
|
||||
T.audible_message(span_warning("\The [defib] lets out an urgent beep and lets out a steadily rising hum..."))
|
||||
else
|
||||
@@ -555,12 +555,12 @@
|
||||
return
|
||||
if(H && H.stat == DEAD)
|
||||
to_chat(user, span_warning("[H] is dead."))
|
||||
playsound(src, 'sound/machines/defib_failed.ogg', 50, FALSE)
|
||||
playsound(src, 'sound/machines/defib/defib_failed.ogg', 50, FALSE)
|
||||
do_cancel()
|
||||
return
|
||||
user.visible_message(span_boldannounce("<i>[user] shocks [H] with \the [src]!"), span_warning("You shock [H] with \the [src]!"))
|
||||
playsound(src, 'sound/machines/defib_zap.ogg', 100, TRUE, -1)
|
||||
playsound(src, 'sound/weapons/egloves.ogg', 100, TRUE, -1)
|
||||
playsound(src, 'sound/machines/defib/defib_zap.ogg', 100, TRUE, -1)
|
||||
playsound(src, 'sound/items/weapons/egloves.ogg', 100, TRUE, -1)
|
||||
H.emote("scream")
|
||||
shock_pulling(45, H)
|
||||
if(H.can_heartattack() && !H.undergoing_cardiac_arrest())
|
||||
@@ -582,14 +582,14 @@
|
||||
update_appearance()
|
||||
if(do_after(user, 3 SECONDS, H, extra_checks = CALLBACK(src, PROC_REF(is_wielded)))) //beginning to place the paddles on patient's chest to allow some time for people to move away to stop the process
|
||||
user.visible_message(span_notice("[user] places [src] on [H]'s chest."), span_warning("You place [src] on [H]'s chest."))
|
||||
playsound(src, 'sound/machines/defib_charge.ogg', 75, FALSE)
|
||||
playsound(src, 'sound/machines/defib/defib_charge.ogg', 75, FALSE)
|
||||
var/obj/item/organ/internal/heart = H.get_organ_by_type(/obj/item/organ/internal/heart)
|
||||
if(do_after(user, 2 SECONDS, H, extra_checks = CALLBACK(src, PROC_REF(is_wielded)))) //placed on chest and short delay to shock for dramatic effect, revive time is 5sec total
|
||||
if((!combat && !req_defib) || (req_defib && !defib.combat))
|
||||
for(var/obj/item/clothing/C in H.get_equipped_items())
|
||||
if((C.body_parts_covered & CHEST) && (C.clothing_flags & THICKMATERIAL)) //check to see if something is obscuring their chest.
|
||||
user.audible_message(span_warning("[req_defib ? "[defib]" : "[src]"] buzzes: Patient's chest is obscured. Operation aborted."))
|
||||
playsound(src, 'sound/machines/defib_failed.ogg', 50, FALSE)
|
||||
playsound(src, 'sound/machines/defib/defib_failed.ogg', 50, FALSE)
|
||||
do_cancel()
|
||||
return
|
||||
if(SEND_SIGNAL(H, COMSIG_DEFIBRILLATOR_PRE_HELP_ZAP, user, src) & COMPONENT_DEFIB_STOP)
|
||||
@@ -598,7 +598,7 @@
|
||||
if(H.stat == DEAD)
|
||||
H.visible_message(span_warning("[H]'s body convulses a bit."))
|
||||
playsound(src, SFX_BODYFALL, 50, TRUE)
|
||||
playsound(src, 'sound/machines/defib_zap.ogg', 75, TRUE, -1)
|
||||
playsound(src, 'sound/machines/defib/defib_zap.ogg', 75, TRUE, -1)
|
||||
shock_pulling(30, H)
|
||||
|
||||
var/defib_result = H.can_defib()
|
||||
@@ -626,7 +626,7 @@
|
||||
|
||||
if(fail_reason)
|
||||
user.visible_message(span_warning("[req_defib ? "[defib]" : "[src]"] buzzes: Resuscitation failed - [fail_reason]"))
|
||||
playsound(src, 'sound/machines/defib_failed.ogg', 50, FALSE)
|
||||
playsound(src, 'sound/machines/defib/defib_failed.ogg', 50, FALSE)
|
||||
else
|
||||
var/total_brute = H.getBruteLoss()
|
||||
var/total_burn = H.getFireLoss()
|
||||
@@ -645,7 +645,7 @@
|
||||
if(need_mob_update)
|
||||
H.updatehealth() // Previous "adjust" procs don't update health, so we do it manually.
|
||||
user.visible_message(span_notice("[req_defib ? "[defib]" : "[src]"] pings: Resuscitation successful."))
|
||||
playsound(src, 'sound/machines/defib_success.ogg', 50, FALSE)
|
||||
playsound(src, 'sound/machines/defib/defib_success.ogg', 50, FALSE)
|
||||
H.set_heartattack(FALSE)
|
||||
if(defib_result == DEFIB_POSSIBLE)
|
||||
H.grab_ghost()
|
||||
@@ -662,9 +662,9 @@
|
||||
return
|
||||
else if (!H.get_organ_by_type(/obj/item/organ/internal/heart))
|
||||
user.visible_message(span_warning("[req_defib ? "[defib]" : "[src]"] buzzes: Patient's heart is missing. Operation aborted."))
|
||||
playsound(src, 'sound/machines/defib_failed.ogg', 50, FALSE)
|
||||
playsound(src, 'sound/machines/defib/defib_failed.ogg', 50, FALSE)
|
||||
else if(H.undergoing_cardiac_arrest())
|
||||
playsound(src, 'sound/machines/defib_zap.ogg', 50, TRUE, -1)
|
||||
playsound(src, 'sound/machines/defib/defib_zap.ogg', 50, TRUE, -1)
|
||||
if(!(heart.organ_flags & ORGAN_FAILING))
|
||||
H.set_heartattack(FALSE)
|
||||
user.visible_message(span_notice("[req_defib ? "[defib]" : "[src]"] pings: Patient's heart is now beating again."))
|
||||
@@ -673,7 +673,7 @@
|
||||
|
||||
else
|
||||
user.visible_message(span_warning("[req_defib ? "[defib]" : "[src]"] buzzes: Patient is not in a valid state. Operation aborted."))
|
||||
playsound(src, 'sound/machines/defib_failed.ogg', 50, FALSE)
|
||||
playsound(src, 'sound/machines/defib/defib_failed.ogg', 50, FALSE)
|
||||
do_cancel()
|
||||
|
||||
/obj/item/shockpaddles/proc/is_wielded()
|
||||
|
||||
@@ -102,13 +102,13 @@
|
||||
else
|
||||
AI = locate() in A
|
||||
if(!AI || AI.interaction_range == INFINITY)
|
||||
playsound(src,'sound/machines/buzz-sigh.ogg',50,FALSE)
|
||||
playsound(src,'sound/machines/buzz/buzz-sigh.ogg',50,FALSE)
|
||||
to_chat(user, span_notice("Error! Incompatible object!"))
|
||||
return ..()
|
||||
AI.interaction_range += 2
|
||||
if(AI.interaction_range > 7)
|
||||
AI.interaction_range = INFINITY
|
||||
playsound(src,'sound/machines/twobeep.ogg',50,FALSE)
|
||||
playsound(src,'sound/machines/beep/twobeep.ogg',50,FALSE)
|
||||
to_chat(user, span_notice("You insert [src] into [AI]'s compartment, and it beeps as it processes the data."))
|
||||
to_chat(AI, span_notice("You process [src], and find yourself able to manipulate electronics from up to [AI.interaction_range] meters!"))
|
||||
qdel(src)
|
||||
|
||||
@@ -268,7 +268,7 @@ GLOBAL_DATUM_INIT(battle_royale_master, /datum/battle_royale_master, new)
|
||||
priority_announce(
|
||||
text = message,
|
||||
title = "Rumble Royale Casualty Report",
|
||||
sound = 'sound/misc/notice1.ogg',
|
||||
sound = 'sound/announcer/notice/notice1.ogg',
|
||||
has_important_message = TRUE,
|
||||
sender_override = "Rumble Royale Pirate Broadcast Station",
|
||||
color_override = "red",
|
||||
@@ -302,7 +302,7 @@ GLOBAL_DATUM_INIT(battle_royale_master, /datum/battle_royale_master, new)
|
||||
priority_announce(
|
||||
text = message,
|
||||
title = "Rumble Royale Winner",
|
||||
sound = 'sound/misc/notice1.ogg',
|
||||
sound = 'sound/announcer/notice/notice1.ogg',
|
||||
has_important_message = TRUE,
|
||||
sender_override = "Rumble Royale Pirate Broadcast Station",
|
||||
color_override = "red",
|
||||
@@ -317,7 +317,7 @@ GLOBAL_DATUM_INIT(battle_royale_master, /datum/battle_royale_master, new)
|
||||
priority_announce(
|
||||
text = "We're halfway done folks! And bad news to anyone who hasn't made it to the [chosen_area]... you're out!",
|
||||
title = "Rumble Royale Update",
|
||||
sound = 'sound/misc/notice1.ogg',
|
||||
sound = 'sound/announcer/notice/notice1.ogg',
|
||||
has_important_message = TRUE,
|
||||
sender_override = "Rumble Royale Pirate Broadcast Station",
|
||||
color_override = "red",
|
||||
@@ -335,7 +335,7 @@ GLOBAL_DATUM_INIT(battle_royale_master, /datum/battle_royale_master, new)
|
||||
We're sorry to announce that this edition of Royal Rumble has no winner. \n\
|
||||
Better luck next time!",
|
||||
title = "Rumble Royale Concluded",
|
||||
sound = 'sound/misc/notice1.ogg',
|
||||
sound = 'sound/announcer/notice/notice1.ogg',
|
||||
has_important_message = TRUE,
|
||||
sender_override = "Rumble Royale Pirate Broadcast Station",
|
||||
color_override = "red",
|
||||
|
||||
@@ -87,7 +87,7 @@
|
||||
internal_radio = new(src)
|
||||
|
||||
set_light_on(TRUE)
|
||||
playsound(source = src, soundin = 'sound/machines/terminal_processing.ogg', vol = 20, vary = FALSE, ignore_walls = FALSE)
|
||||
playsound(source = src, soundin = 'sound/machines/terminal/terminal_processing.ogg', vol = 20, vary = FALSE, ignore_walls = FALSE)
|
||||
balloon_alert_to_viewers("live!")
|
||||
|
||||
/// When deactivating the camera
|
||||
@@ -100,5 +100,5 @@
|
||||
stop_broadcasting_network(camera_networks)
|
||||
|
||||
set_light_on(FALSE)
|
||||
playsound(source = src, soundin = 'sound/machines/terminal_prompt_deny.ogg', vol = 20, vary = FALSE, ignore_walls = FALSE)
|
||||
playsound(source = src, soundin = 'sound/machines/terminal/terminal_prompt_deny.ogg', vol = 20, vary = FALSE, ignore_walls = FALSE)
|
||||
balloon_alert_to_viewers("offline")
|
||||
|
||||
@@ -68,7 +68,7 @@
|
||||
return TRUE
|
||||
|
||||
/obj/item/chameleon/proc/make_copy(atom/target, mob/user)
|
||||
playsound(get_turf(src), 'sound/weapons/flash.ogg', 100, TRUE, -6)
|
||||
playsound(get_turf(src), 'sound/items/weapons/flash.ogg', 100, TRUE, -6)
|
||||
to_chat(user, span_notice("Scanned [target]."))
|
||||
var/obj/temp = new /obj()
|
||||
temp.appearance = target.appearance
|
||||
|
||||
@@ -44,7 +44,7 @@
|
||||
if(!circuits)
|
||||
to_chat(R, span_warning("You need more material. Use [src] on existing simple circuits to break them down."))
|
||||
return
|
||||
playsound(R, 'sound/items/rped.ogg', 50, TRUE)
|
||||
playsound(R, 'sound/items/tools/rped.ogg', 50, TRUE)
|
||||
recharging = TRUE
|
||||
circuits--
|
||||
maptext = MAPTEXT(circuits)
|
||||
|
||||
@@ -29,9 +29,9 @@
|
||||
/// Can we toggle this light on and off (used for contexual screentips only)
|
||||
var/toggle_context = TRUE
|
||||
/// The sound the light makes when it's turned on
|
||||
var/sound_on = 'sound/weapons/magin.ogg'
|
||||
var/sound_on = 'sound/items/weapons/magin.ogg'
|
||||
/// The sound the light makes when it's turned off
|
||||
var/sound_off = 'sound/weapons/magout.ogg'
|
||||
var/sound_off = 'sound/items/weapons/magout.ogg'
|
||||
/// Should the flashlight start turned on?
|
||||
var/start_on = FALSE
|
||||
|
||||
@@ -359,7 +359,7 @@
|
||||
light_range = 5 // A little better than the standard flashlight.
|
||||
light_power = 0.8
|
||||
light_color = "#99ccff"
|
||||
hitsound = 'sound/weapons/genhit1.ogg'
|
||||
hitsound = 'sound/items/weapons/genhit1.ogg'
|
||||
|
||||
// the desk lamps are a bit special
|
||||
/obj/item/flashlight/lamp
|
||||
@@ -428,7 +428,7 @@
|
||||
if(light_on)
|
||||
attack_verb_continuous = string_list(list("burns", "singes"))
|
||||
attack_verb_simple = string_list(list("burn", "singe"))
|
||||
hitsound = 'sound/items/welder.ogg'
|
||||
hitsound = 'sound/items/tools/welder.ogg'
|
||||
force = on_damage
|
||||
damtype = BURN
|
||||
update_brightness()
|
||||
@@ -455,7 +455,7 @@
|
||||
name = "lit [initial(name)]"
|
||||
attack_verb_continuous = string_list(list("burns", "singes"))
|
||||
attack_verb_simple = string_list(list("burn", "singe"))
|
||||
hitsound = 'sound/items/welder.ogg'
|
||||
hitsound = 'sound/items/tools/welder.ogg'
|
||||
force = on_damage
|
||||
damtype = BURN
|
||||
|
||||
|
||||
@@ -59,7 +59,7 @@
|
||||
return ITEM_INTERACT_BLOCKING
|
||||
force_proj_busy = FALSE
|
||||
|
||||
playsound(src,'sound/weapons/resonator_fire.ogg',50,TRUE)
|
||||
playsound(src,'sound/items/weapons/resonator_fire.ogg',50,TRUE)
|
||||
user.visible_message(span_warning("[user] projects a forcefield!"),span_notice("You project a forcefield."))
|
||||
var/obj/structure/projected_forcefield/F = new(T, src)
|
||||
current_fields += F
|
||||
@@ -124,14 +124,14 @@
|
||||
|
||||
/obj/structure/projected_forcefield/Destroy()
|
||||
visible_message(span_warning("[src] flickers and disappears!"))
|
||||
playsound(src,'sound/weapons/resonator_blast.ogg',25,TRUE)
|
||||
playsound(src,'sound/items/weapons/resonator_blast.ogg',25,TRUE)
|
||||
if(generator)
|
||||
generator.current_fields -= src
|
||||
generator = null
|
||||
return ..()
|
||||
|
||||
/obj/structure/projected_forcefield/play_attack_sound(damage_amount, damage_type = BRUTE, damage_flag = 0)
|
||||
playsound(loc, 'sound/weapons/egloves.ogg', 80, TRUE)
|
||||
playsound(loc, 'sound/items/weapons/egloves.ogg', 80, TRUE)
|
||||
|
||||
/obj/structure/projected_forcefield/take_damage(damage_amount, damage_type = BRUTE, damage_flag = 0, sound_effect = 1, attack_dir)
|
||||
if(sound_effect)
|
||||
|
||||
@@ -99,7 +99,7 @@
|
||||
var/obj/item/stock_parts/attack_diode = attack_item
|
||||
if(crystal_lens && attack_diode.rating < 3) //only tier 3 and up are small enough to fit
|
||||
to_chat(user, span_warning("You try to jam \the [attack_item.name] in place, but \the [crystal_lens.name] is in the way!"))
|
||||
playsound(src, 'sound/machines/airlock_alien_prying.ogg', 20)
|
||||
playsound(src, 'sound/machines/airlock/airlock_alien_prying.ogg', 20)
|
||||
if(do_after(user, 2 SECONDS, src))
|
||||
var/atom/atom_to_teleport = pick(user, attack_item)
|
||||
if(atom_to_teleport == user)
|
||||
@@ -113,7 +113,7 @@
|
||||
return
|
||||
if(!user.transferItemToLoc(attack_item, src))
|
||||
return
|
||||
playsound(src, 'sound/items/screwdriver.ogg', 30)
|
||||
playsound(src, 'sound/items/tools/screwdriver.ogg', 30)
|
||||
diode = attack_item
|
||||
balloon_alert(user, "installed \the [diode.name]")
|
||||
//we have a diode now, try starting a charge sequence in case the pointer was charging when we took out the diode
|
||||
@@ -129,7 +129,7 @@
|
||||
var/obj/item/stack/ore/bluespace_crystal/crystal_stack = attack_item
|
||||
if(diode && diode.rating < 3) //only lasers of tier 3 and up can house a lens
|
||||
to_chat(user, span_warning("You try to jam \the [crystal_stack.name] in front of the diode, but it's a bad fit!"))
|
||||
playsound(src, 'sound/machines/airlock_alien_prying.ogg', 20)
|
||||
playsound(src, 'sound/machines/airlock/airlock_alien_prying.ogg', 20)
|
||||
if(do_after(user, 2 SECONDS, src))
|
||||
var/atom/atom_to_teleport = pick(user, src)
|
||||
if(atom_to_teleport == user)
|
||||
@@ -148,7 +148,7 @@
|
||||
if(!user.transferItemToLoc(single_crystal, src))
|
||||
return
|
||||
crystal_lens = single_crystal
|
||||
playsound(src, 'sound/items/screwdriver2.ogg', 30)
|
||||
playsound(src, 'sound/items/tools/screwdriver2.ogg', 30)
|
||||
balloon_alert(user, "installed \the [crystal_lens.name]")
|
||||
to_chat(user, span_notice("You install a [crystal_lens.name] in [src]. \
|
||||
It can now be used to shine through obstacles at the cost of double the energy drain."))
|
||||
|
||||
@@ -223,7 +223,7 @@
|
||||
if(istype(target, /obj/machinery/light))
|
||||
if(replace_light(target, user) && bluespace_toggle)
|
||||
user.Beam(target, icon_state = "rped_upgrade", time = 0.5 SECONDS)
|
||||
playsound(src, 'sound/items/pshoom.ogg', 40, 1)
|
||||
playsound(src, 'sound/items/pshoom/pshoom.ogg', 40, 1)
|
||||
return TRUE
|
||||
|
||||
// if we are attacking a floodlight frame finish it
|
||||
@@ -233,7 +233,7 @@
|
||||
new /obj/machinery/power/floodlight(frame.loc)
|
||||
if(bluespace_toggle)
|
||||
user.Beam(target, icon_state = "rped_upgrade", time = 0.5 SECONDS)
|
||||
playsound(src, 'sound/items/pshoom.ogg', 40, 1)
|
||||
playsound(src, 'sound/items/pshoom/pshoom.ogg', 40, 1)
|
||||
to_chat(user, span_notice("You finish \the [frame] with a light tube."))
|
||||
qdel(frame)
|
||||
return TRUE
|
||||
@@ -246,7 +246,7 @@
|
||||
light_replaced = TRUE
|
||||
if(light_replaced && bluespace_toggle)
|
||||
user.Beam(target, icon_state = "rped_upgrade", time = 0.5 SECONDS)
|
||||
playsound(src, 'sound/items/pshoom.ogg', 40, 1)
|
||||
playsound(src, 'sound/items/pshoom/pshoom.ogg', 40, 1)
|
||||
return TRUE
|
||||
|
||||
return FALSE
|
||||
|
||||
@@ -24,12 +24,12 @@
|
||||
throwforce = 0
|
||||
throw_range = 7
|
||||
throw_speed = 3
|
||||
drop_sound = 'sound/items/handling/multitool_drop.ogg'
|
||||
pickup_sound = 'sound/items/handling/multitool_pickup.ogg'
|
||||
drop_sound = 'sound/items/handling/tools/multitool_drop.ogg'
|
||||
pickup_sound = 'sound/items/handling/tools/multitool_pickup.ogg'
|
||||
custom_materials = list(/datum/material/iron= SMALL_MATERIAL_AMOUNT * 0.5, /datum/material/glass= SMALL_MATERIAL_AMOUNT * 0.2)
|
||||
custom_premium_price = PAYCHECK_COMMAND * 3
|
||||
toolspeed = 1
|
||||
usesound = 'sound/weapons/empty.ogg'
|
||||
usesound = 'sound/items/weapons/empty.ogg'
|
||||
var/datum/buffer // simple machine buffer for device linkage
|
||||
var/mode = 0
|
||||
var/apc_scanner = TRUE
|
||||
|
||||
@@ -154,7 +154,7 @@
|
||||
// A fully locked one will do nothing, as locked is intended to be used for stuff that should never be changed
|
||||
if(RADIO_FREQENCY_LOCKED)
|
||||
balloon_alert(user, "can't override frequency lock!")
|
||||
playsound(src, 'sound/machines/buzz-two.ogg', 50, FALSE, SILENCED_SOUND_EXTRARANGE)
|
||||
playsound(src, 'sound/machines/buzz/buzz-two.ogg', 50, FALSE, SILENCED_SOUND_EXTRARANGE)
|
||||
return
|
||||
|
||||
// Emagging an unlocked one will do nothing, for now
|
||||
|
||||
@@ -352,7 +352,7 @@
|
||||
if(isliving(talking_movable))
|
||||
var/mob/living/talking_living = talking_movable
|
||||
if(radio_noise && !HAS_TRAIT(talking_living, TRAIT_DEAF) && talking_living.client?.prefs.read_preference(/datum/preference/toggle/radio_noise))
|
||||
SEND_SOUND(talking_living, 'sound/misc/radio_talk.ogg')
|
||||
SEND_SOUND(talking_living, 'sound/items/radio/radio_talk.ogg')
|
||||
|
||||
// All radios make an attempt to use the subspace system first
|
||||
signal.send_to_receivers()
|
||||
@@ -435,10 +435,10 @@
|
||||
var/list/spans = data["spans"]
|
||||
if(COOLDOWN_FINISHED(src, audio_cooldown))
|
||||
COOLDOWN_START(src, audio_cooldown, 0.5 SECONDS)
|
||||
SEND_SOUND(holder, 'sound/misc/radio_receive.ogg')
|
||||
SEND_SOUND(holder, 'sound/items/radio/radio_receive.ogg')
|
||||
if((SPAN_COMMAND in spans) && COOLDOWN_FINISHED(src, important_audio_cooldown))
|
||||
COOLDOWN_START(src, important_audio_cooldown, 0.5 SECONDS)
|
||||
SEND_SOUND(holder, 'sound/misc/radio_important.ogg')
|
||||
SEND_SOUND(holder, 'sound/items/radio/radio_important.ogg')
|
||||
|
||||
/obj/item/radio/ui_state(mob/user)
|
||||
return GLOB.inventory_state
|
||||
|
||||
@@ -112,7 +112,7 @@
|
||||
source = src,
|
||||
header = "Reverse bear trap armed",
|
||||
notify_flags = NOTIFY_CATEGORY_NOFLASH,
|
||||
ghost_sound = 'sound/machines/beep.ogg',
|
||||
ghost_sound = 'sound/machines/beep/beep.ogg',
|
||||
notify_volume = 75,
|
||||
)
|
||||
|
||||
|
||||
@@ -560,7 +560,7 @@
|
||||
if(simple_scan)
|
||||
var/obj/item/healthanalyzer/simple/simple_scanner = scanner
|
||||
simple_scanner.show_emotion(AID_EMOTION_WARN)
|
||||
playsound(simple_scanner, 'sound/machines/twobeep.ogg', 50, FALSE)
|
||||
playsound(simple_scanner, 'sound/machines/beep/twobeep.ogg', 50, FALSE)
|
||||
|
||||
|
||||
/obj/item/healthanalyzer/simple
|
||||
@@ -598,7 +598,7 @@
|
||||
show_emotion(AID_EMOTION_ANGRY)
|
||||
|
||||
/obj/item/healthanalyzer/simple/proc/violence(mob/user)
|
||||
playsound(src, 'sound/machines/buzz-sigh.ogg', 50, FALSE)
|
||||
playsound(src, 'sound/machines/buzz/buzz-sigh.ogg', 50, FALSE)
|
||||
if(isliving(user))
|
||||
var/mob/living/L = user
|
||||
to_chat(L, span_warning("[src] makes a disappointed buzz and pricks your finger for being greedy. Ow!"))
|
||||
@@ -623,7 +623,7 @@
|
||||
)
|
||||
|
||||
if(!iscarbon(interacting_with))
|
||||
playsound(src, 'sound/machines/buzz-sigh.ogg', 30, TRUE)
|
||||
playsound(src, 'sound/machines/buzz/buzz-sigh.ogg', 30, TRUE)
|
||||
to_chat(user, span_notice("[src] makes a sad buzz and briefly displays an unhappy face, indicating it can't scan [interacting_with]."))
|
||||
show_emotion(AI_EMOTION_SAD)
|
||||
return ITEM_INTERACT_BLOCKING
|
||||
@@ -715,7 +715,7 @@
|
||||
else
|
||||
to_chat(user, span_notice(render.Join("")))
|
||||
scanner.emotion = AID_EMOTION_WARN
|
||||
playsound(scanner, 'sound/machines/twobeep.ogg', 50, FALSE)
|
||||
playsound(scanner, 'sound/machines/beep/twobeep.ogg', 50, FALSE)
|
||||
|
||||
#undef SCANMODE_HEALTH
|
||||
#undef SCANMODE_WOUND
|
||||
|
||||
@@ -51,9 +51,9 @@
|
||||
if(QDELETED(linked_swapper))
|
||||
to_chat(user, span_warning("[src] is not linked with another swapper."))
|
||||
return
|
||||
playsound(src, 'sound/weapons/flash.ogg', 25, TRUE)
|
||||
playsound(src, 'sound/items/weapons/flash.ogg', 25, TRUE)
|
||||
to_chat(user, span_notice("You activate [src]."))
|
||||
playsound(linked_swapper, 'sound/weapons/flash.ogg', 25, TRUE)
|
||||
playsound(linked_swapper, 'sound/items/weapons/flash.ogg', 25, TRUE)
|
||||
if(ismob(linked_swapper.loc))
|
||||
var/mob/holder = linked_swapper.loc
|
||||
to_chat(holder, span_notice("[linked_swapper] starts buzzing."))
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
. = ..()
|
||||
if(attacking_item.force < 5 || broken)
|
||||
return
|
||||
if(break_clock(break_sound = 'sound/magic/clockwork/ark_activation.ogg'))
|
||||
if(break_clock(break_sound = 'sound/effects/magic/clockwork/ark_activation.ogg'))
|
||||
user.visible_message(
|
||||
span_warning("[user] smashes \the [src] so hard it stops breaking!"),
|
||||
span_boldannounce("I can't stand this stupid machine anymore! Shut up already!"),
|
||||
|
||||
@@ -380,7 +380,7 @@ effective or pretty fucking useless.
|
||||
COMBAT_MESSAGE_RANGE,
|
||||
)
|
||||
|
||||
playsound(src, 'sound/items/drill_use.ogg', 80, TRUE, -1)
|
||||
playsound(src, 'sound/items/tools/drill_use.ogg', 80, TRUE, -1)
|
||||
var/obj/machinery/porta_turret/syndicate/toolbox/turret = new(get_turf(loc))
|
||||
set_faction(turret, user)
|
||||
turret.toolbox = src
|
||||
|
||||
@@ -507,8 +507,8 @@
|
||||
to_summon,
|
||||
get_turf(cast_on),
|
||||
precision = 1,
|
||||
asoundin = 'sound/magic/wand_teleport.ogg',
|
||||
asoundout = 'sound/magic/wand_teleport.ogg',
|
||||
asoundin = 'sound/effects/magic/wand_teleport.ogg',
|
||||
asoundout = 'sound/effects/magic/wand_teleport.ogg',
|
||||
channel = TELEPORT_CHANNEL_MAGIC,
|
||||
)
|
||||
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
if(!our_vault)
|
||||
dna_vault_ref = WEAKREF(target)//linking the dna vault with the probe
|
||||
balloon_alert(user, "vault linked")
|
||||
playsound(src, 'sound/machines/terminal_success.ogg', 50)
|
||||
playsound(src, 'sound/machines/terminal/terminal_success.ogg', 50)
|
||||
return TRUE
|
||||
return FALSE
|
||||
|
||||
@@ -70,14 +70,14 @@
|
||||
target.animal_dna += stored_dna_animal
|
||||
stored_dna_animal.Cut()
|
||||
target.check_goal()
|
||||
playsound(target, 'sound/misc/compiler-stage1.ogg', 50)
|
||||
playsound(target, 'sound/machines/compiler/compiler-stage1.ogg', 50)
|
||||
to_chat(user, span_notice("[uploaded] new datapoints uploaded."))
|
||||
return uploaded
|
||||
|
||||
/obj/item/dna_probe/proc/scan_dna(atom/target, mob/user)
|
||||
var/obj/machinery/dna_vault/our_vault = dna_vault_ref?.resolve()
|
||||
if(!our_vault)
|
||||
playsound(user, 'sound/machines/buzz-sigh.ogg', 50)
|
||||
playsound(user, 'sound/machines/buzz/buzz-sigh.ogg', 50)
|
||||
balloon_alert(user, "need database!")
|
||||
return
|
||||
if(istype(target, /obj/machinery/hydroponics))
|
||||
@@ -94,7 +94,7 @@
|
||||
to_chat(user, span_alert("Plant needs to be ready to harvest to perform full data scan.")) //Because space dna is actually magic
|
||||
return
|
||||
stored_dna_plants[hydro_tray.myseed.type] = TRUE
|
||||
playsound(src, 'sound/misc/compiler-stage2.ogg', 50)
|
||||
playsound(src, 'sound/machines/compiler/compiler-stage2.ogg', 50)
|
||||
balloon_alert(user, "data added")
|
||||
return TRUE
|
||||
else if(ishuman(target))
|
||||
@@ -109,7 +109,7 @@
|
||||
to_chat(user, span_alert("No compatible DNA detected."))
|
||||
return .
|
||||
stored_dna_human[human_target.dna.unique_identity] = TRUE
|
||||
playsound(src, 'sound/misc/compiler-stage2.ogg', 50)
|
||||
playsound(src, 'sound/machines/compiler/compiler-stage2.ogg', 50)
|
||||
balloon_alert(user, "data added")
|
||||
return TRUE
|
||||
|
||||
@@ -131,7 +131,7 @@
|
||||
to_chat(user, span_alert("No compatible DNA detected."))
|
||||
return .
|
||||
stored_dna_animal[living_target.type] = TRUE
|
||||
playsound(src, 'sound/misc/compiler-stage2.ogg', 50)
|
||||
playsound(src, 'sound/machines/compiler/compiler-stage2.ogg', 50)
|
||||
balloon_alert(user, "data added")
|
||||
return TRUE
|
||||
|
||||
@@ -162,7 +162,7 @@
|
||||
/obj/item/dna_probe/carp_scanner/scan_dna(atom/target, mob/user)
|
||||
if(istype(target, /mob/living/basic/carp))
|
||||
carp_dna_loaded = TRUE
|
||||
playsound(src, 'sound/misc/compiler-stage2.ogg', 50)
|
||||
playsound(src, 'sound/machines/compiler/compiler-stage2.ogg', 50)
|
||||
balloon_alert(user, "dna scanned")
|
||||
else
|
||||
return ..()
|
||||
|
||||
@@ -21,6 +21,6 @@
|
||||
|
||||
/obj/item/door_seal/suicide_act(mob/living/user)
|
||||
user.visible_message(span_suicide("[user] is sealing [user.p_them()]self off from the world with [src]! It looks like [user.p_theyre()] trying to commit suicide!"))
|
||||
playsound(src, 'sound/items/jaws_pry.ogg', 30, TRUE)
|
||||
playsound(src, 'sound/items/tools/jaws_pry.ogg', 30, TRUE)
|
||||
return BRUTELOSS
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
attack_verb_continuous = list("attacks", "slashes", "stabs", "slices", "tears", "lacerates", "rips", "dices", "cuts")
|
||||
attack_verb_simple = list("attack", "slash", "stab", "slice", "tear", "lacerate", "rip", "dice", "cut")
|
||||
block_chance = 75
|
||||
block_sound = 'sound/weapons/block_blade.ogg'
|
||||
block_sound = 'sound/items/weapons/block_blade.ogg'
|
||||
max_integrity = 200
|
||||
armor_type = /datum/armor/item_dualsaber
|
||||
resistance_flags = FIRE_PROOF
|
||||
@@ -47,8 +47,8 @@
|
||||
AddComponent(/datum/component/two_handed, \
|
||||
force_unwielded = force, \
|
||||
force_wielded = two_hand_force, \
|
||||
wieldsound = 'sound/weapons/saberon.ogg', \
|
||||
unwieldsound = 'sound/weapons/saberoff.ogg', \
|
||||
wieldsound = 'sound/items/weapons/saberon.ogg', \
|
||||
unwieldsound = 'sound/items/weapons/saberoff.ogg', \
|
||||
wield_callback = CALLBACK(src, PROC_REF(on_wield)), \
|
||||
unwield_callback = CALLBACK(src, PROC_REF(on_unwield)), \
|
||||
)
|
||||
@@ -60,7 +60,7 @@
|
||||
to_chat(user, span_warning("You lack the grace to wield this!"))
|
||||
return COMPONENT_TWOHANDED_BLOCK_WIELD
|
||||
update_weight_class(w_class_on)
|
||||
hitsound = 'sound/weapons/blade1.ogg'
|
||||
hitsound = 'sound/items/weapons/blade1.ogg'
|
||||
START_PROCESSING(SSobj, src)
|
||||
set_light_on(TRUE)
|
||||
|
||||
|
||||
@@ -183,7 +183,7 @@
|
||||
|
||||
/obj/item/card/emag/doorjack/proc/recharge(mob/user)
|
||||
charges = min(charges+1, max_charges)
|
||||
playsound(src,'sound/machines/twobeep.ogg',10,TRUE, extrarange = SILENCED_SOUND_EXTRARANGE, falloff_distance = 0)
|
||||
playsound(src,'sound/machines/beep/twobeep.ogg',10,TRUE, extrarange = SILENCED_SOUND_EXTRARANGE, falloff_distance = 0)
|
||||
charge_timers.Remove(charge_timers[1])
|
||||
|
||||
/obj/item/card/emag/doorjack/examine(mob/user)
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
icon_state = "fire_extinguisher0"
|
||||
worn_icon_state = "fire_extinguisher"
|
||||
inhand_icon_state = "fire_extinguisher"
|
||||
hitsound = 'sound/weapons/smash.ogg'
|
||||
hitsound = 'sound/items/weapons/smash.ogg'
|
||||
obj_flags = CONDUCTS_ELECTRICITY
|
||||
throwforce = 10
|
||||
w_class = WEIGHT_CLASS_NORMAL
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
slot_flags = ITEM_SLOT_BACK
|
||||
attack_verb_continuous = list("attacks", "chops", "cleaves", "tears", "lacerates", "cuts")
|
||||
attack_verb_simple = list("attack", "chop", "cleave", "tear", "lacerate", "cut")
|
||||
hitsound = 'sound/weapons/bladeslice.ogg'
|
||||
hitsound = 'sound/items/weapons/bladeslice.ogg'
|
||||
sharpness = SHARP_EDGED
|
||||
armor_type = /datum/armor/item_fireaxe
|
||||
resistance_flags = FIRE_PROOF
|
||||
@@ -83,7 +83,7 @@
|
||||
demolition_mod = 2
|
||||
tool_behaviour = TOOL_CROWBAR
|
||||
toolspeed = 1
|
||||
usesound = 'sound/items/crowbar.ogg'
|
||||
usesound = 'sound/items/tools/crowbar.ogg'
|
||||
|
||||
//boarding axe
|
||||
/obj/item/fireaxe/boardingaxe
|
||||
|
||||
@@ -32,8 +32,8 @@
|
||||
var/create_full = FALSE
|
||||
var/create_with_tank = FALSE
|
||||
var/igniter_type = /obj/item/assembly/igniter
|
||||
var/acti_sound = 'sound/items/welderactivate.ogg'
|
||||
var/deac_sound = 'sound/items/welderdeactivate.ogg'
|
||||
var/acti_sound = 'sound/items/tools/welderactivate.ogg'
|
||||
var/deac_sound = 'sound/items/tools/welderdeactivate.ogg'
|
||||
|
||||
/obj/item/flamethrower/Initialize(mapload)
|
||||
. = ..()
|
||||
|
||||
@@ -384,7 +384,7 @@
|
||||
ADD_TRAIT(src, TRAIT_CUSTOM_TAP_SOUND, SWORDPLAY_TRAIT)
|
||||
attack_verb_continuous = list("slashes", "cuts")
|
||||
attack_verb_simple = list("slash", "cut")
|
||||
hitsound = 'sound/weapons/rapierhit.ogg'
|
||||
hitsound = 'sound/items/weapons/rapierhit.ogg'
|
||||
fake_swordplay = TRUE
|
||||
|
||||
RegisterSignal(src, COMSIG_ITEM_EQUIPPED, PROC_REF(on_sword_equipped))
|
||||
@@ -418,7 +418,7 @@
|
||||
|
||||
/// Deadly bread used by a mime
|
||||
/obj/item/food/baguette/combat
|
||||
block_sound = 'sound/weapons/parry.ogg'
|
||||
block_sound = 'sound/items/weapons/parry.ogg'
|
||||
sharpness = SHARP_EDGED
|
||||
/// Force when wielded as a sword by a mime
|
||||
var/active_force = 20
|
||||
|
||||
@@ -255,7 +255,7 @@
|
||||
var/obj/machinery/light/light = locate(/obj/machinery/light) in view(4, src)
|
||||
light?.flicker()
|
||||
if(62 to 64)
|
||||
playsound(loc, pick('sound/hallucinations/i_see_you1.ogg', 'sound/hallucinations/i_see_you2.ogg'), 50, TRUE, ignore_walls = FALSE)
|
||||
playsound(loc, pick('sound/effects/hallucinations/i_see_you1.ogg', 'sound/effects/hallucinations/i_see_you2.ogg'), 50, TRUE, ignore_walls = FALSE)
|
||||
if(61)
|
||||
visible_message("[src] spews out a glob of ectoplasm!")
|
||||
new /obj/effect/decal/cleanable/greenglow/ecto(loc)
|
||||
|
||||
@@ -267,7 +267,7 @@
|
||||
desc = "Just enough calories for a whole nuclear operative squad."
|
||||
icon_state = "energycake"
|
||||
force = 5
|
||||
hitsound = 'sound/weapons/blade1.ogg'
|
||||
hitsound = 'sound/items/weapons/blade1.ogg'
|
||||
food_reagents = list(
|
||||
/datum/reagent/consumable/nutriment = 10,
|
||||
/datum/reagent/consumable/sprinkles = 10,
|
||||
@@ -285,7 +285,7 @@
|
||||
/obj/item/food/cake/birthday/energy/proc/energy_bite(mob/living/user)
|
||||
to_chat(user, "<font color='red' size='5'>As you eat the cake, you accidentally hurt yourself on the embedded energy sword!</font>")
|
||||
user.apply_damage(30, BRUTE, BODY_ZONE_HEAD)
|
||||
playsound(user, 'sound/weapons/blade1.ogg', 5, TRUE)
|
||||
playsound(user, 'sound/items/weapons/blade1.ogg', 5, TRUE)
|
||||
|
||||
/obj/item/food/cake/birthday/energy/attack(mob/living/target_mob, mob/living/user)
|
||||
. = ..()
|
||||
@@ -298,7 +298,7 @@
|
||||
desc = "For the traitor on the go."
|
||||
icon_state = "energycakeslice"
|
||||
force = 2
|
||||
hitsound = 'sound/weapons/blade1.ogg'
|
||||
hitsound = 'sound/items/weapons/blade1.ogg'
|
||||
food_reagents = list(
|
||||
/datum/reagent/consumable/nutriment = 4,
|
||||
/datum/reagent/consumable/sprinkles = 2,
|
||||
@@ -325,7 +325,7 @@
|
||||
if(eater != feeder)
|
||||
log_combat(feeder, eater, "fed an energy cake to", src)
|
||||
eater.apply_damage(18, BRUTE, BODY_ZONE_HEAD)
|
||||
playsound(eater, 'sound/weapons/blade1.ogg', 5, TRUE)
|
||||
playsound(eater, 'sound/items/weapons/blade1.ogg', 5, TRUE)
|
||||
|
||||
/obj/item/food/cake/apple
|
||||
name = "apple cake"
|
||||
|
||||
@@ -328,7 +328,7 @@
|
||||
throwforce = 15
|
||||
block_chance = 55
|
||||
armour_penetration = 80
|
||||
block_sound = 'sound/weapons/parry.ogg'
|
||||
block_sound = 'sound/items/weapons/parry.ogg'
|
||||
wound_bonus = -50
|
||||
attack_verb_continuous = list("slaps", "slathers")
|
||||
attack_verb_simple = list("slap", "slather")
|
||||
|
||||
@@ -76,7 +76,7 @@
|
||||
SIGNAL_HANDLER
|
||||
|
||||
contained_frog = null
|
||||
playsound(src, 'sound/magic/demon_dies.ogg', 50, TRUE)
|
||||
playsound(src, 'sound/effects/magic/demon_dies.ogg', 50, TRUE)
|
||||
UnregisterSignal(source, COMSIG_QDELETING)
|
||||
|
||||
/obj/item/frog_statue/Entered(atom/movable/arrived, atom/old_loc, list/atom/old_locs)
|
||||
|
||||
@@ -18,9 +18,9 @@
|
||||
var/reading_time = 5 SECONDS
|
||||
/// The sounds played as the user's reading the book.
|
||||
var/list/book_sounds = list(
|
||||
'sound/effects/pageturn1.ogg',
|
||||
'sound/effects/pageturn2.ogg',
|
||||
'sound/effects/pageturn3.ogg',
|
||||
'sound/effects/page_turn/pageturn1.ogg',
|
||||
'sound/effects/page_turn/pageturn2.ogg',
|
||||
'sound/effects/page_turn/pageturn3.ogg',
|
||||
)
|
||||
|
||||
/obj/item/book/granter/attack_self(mob/living/user)
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
|
||||
/obj/item/book/granter/martial/cqc/recoil(mob/living/user)
|
||||
to_chat(user, span_warning("[src] explodes!"))
|
||||
playsound(src,'sound/effects/explosion1.ogg',40,TRUE)
|
||||
playsound(src,'sound/effects/explosion/explosion1.ogg',40,TRUE)
|
||||
user.flash_act(1, 1)
|
||||
user.adjustBruteLoss(6)
|
||||
user.adjustFireLoss(6)
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
obj_flags = CONDUCTS_ELECTRICITY
|
||||
slot_flags = ITEM_SLOT_BELT
|
||||
max_integrity = 40
|
||||
pickup_sound = 'sound/items/grenade_pick_up.ogg'
|
||||
drop_sound = 'sound/items/grenade_drop.ogg'
|
||||
pickup_sound = 'sound/items/handling/grenade/grenade_pick_up.ogg'
|
||||
drop_sound = 'sound/items/handling/grenade/grenade_drop.ogg'
|
||||
sound_vary = TRUE
|
||||
/// Bitfields which prevent the grenade from detonating if set. Includes ([GRENADE_DUD]|[GRENADE_USED])
|
||||
var/dud_flags = NONE
|
||||
@@ -155,7 +155,7 @@
|
||||
if(shrapnel_type && shrapnel_radius)
|
||||
shrapnel_initialized = TRUE
|
||||
AddComponent(/datum/component/pellet_cloud, projectile_type = shrapnel_type, magnitude = shrapnel_radius)
|
||||
playsound(src, 'sound/weapons/armbomb.ogg', volume, TRUE)
|
||||
playsound(src, 'sound/items/weapons/armbomb.ogg', volume, TRUE)
|
||||
if(istype(user))
|
||||
user.add_mob_memory(/datum/memory/bomb_planted, antagonist = src)
|
||||
active = TRUE
|
||||
|
||||
@@ -234,7 +234,7 @@
|
||||
|
||||
active = TRUE
|
||||
update_icon_state()
|
||||
playsound(src, 'sound/weapons/armbomb.ogg', volume, TRUE)
|
||||
playsound(src, 'sound/items/weapons/armbomb.ogg', volume, TRUE)
|
||||
if(landminemode)
|
||||
landminemode.activate()
|
||||
return
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
var/base_state = "clusterbang"
|
||||
var/payload = /obj/item/grenade/flashbang/cluster
|
||||
var/payload_spawner = /obj/effect/payload_spawner
|
||||
var/prime_sound = 'sound/weapons/armbomb.ogg'
|
||||
var/prime_sound = 'sound/items/weapons/armbomb.ogg'
|
||||
var/min_spawned = 4
|
||||
var/max_spawned = 8
|
||||
var/segment_chance = 35
|
||||
@@ -207,7 +207,7 @@
|
||||
icon_state = "slimebang"
|
||||
base_state = "slimebang"
|
||||
payload_spawner = /obj/effect/payload_spawner/random_slime
|
||||
prime_sound = 'sound/effects/bubbles.ogg'
|
||||
prime_sound = 'sound/effects/bubbles/bubbles.ogg'
|
||||
|
||||
/obj/item/grenade/clusterbuster/slime/volatile
|
||||
payload_spawner = /obj/effect/payload_spawner/random_slime/volatile
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
lit = TRUE
|
||||
icon_state = "sparkler_on"
|
||||
force = 6
|
||||
hitsound = 'sound/items/welder.ogg'
|
||||
hitsound = 'sound/items/tools/welder.ogg'
|
||||
name = "lit [initial(name)]"
|
||||
attack_verb_continuous = list("burns")
|
||||
attack_verb_simple = list("burn")
|
||||
@@ -92,7 +92,7 @@
|
||||
if(det_time)
|
||||
det_time -= 10
|
||||
to_chat(user, span_notice("You shorten the fuse of [src] with [item]."))
|
||||
playsound(src, 'sound/items/wirecutter.ogg', 20, TRUE)
|
||||
playsound(src, 'sound/items/tools/wirecutter.ogg', 20, TRUE)
|
||||
icon_state = initial(icon_state) + "_[det_time]"
|
||||
update_appearance()
|
||||
else
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
if(!flashbang_turf)
|
||||
return
|
||||
do_sparks(rand(5, 9), FALSE, src)
|
||||
playsound(flashbang_turf, 'sound/weapons/flashbang.ogg', 100, TRUE, 8, 0.9)
|
||||
playsound(flashbang_turf, 'sound/items/weapons/flashbang.ogg', 100, TRUE, 8, 0.9)
|
||||
new /obj/effect/dummy/lighting_obj (flashbang_turf, flashbang_range + 2, 4, COLOR_WHITE, 2)
|
||||
for(var/mob/living/living_mob in get_hearers_in_view(flashbang_range, flashbang_turf))
|
||||
bang(get_turf(living_mob), living_mob)
|
||||
@@ -91,7 +91,7 @@
|
||||
if(!flashbang_turf)
|
||||
return
|
||||
do_sparks(rand(5, 9), FALSE, src)
|
||||
playsound(flashbang_turf, 'sound/weapons/flashbang.ogg', 50, TRUE, 8, 0.9)
|
||||
playsound(flashbang_turf, 'sound/items/weapons/flashbang.ogg', 50, TRUE, 8, 0.9)
|
||||
new /obj/effect/dummy/lighting_obj (flashbang_turf, flashbang_range + 2, 2, COLOR_WHITE, 1)
|
||||
for(var/mob/living/living_mob in get_hearers_in_view(flashbang_range, flashbang_turf))
|
||||
pop(get_turf(living_mob), living_mob)
|
||||
|
||||
@@ -187,7 +187,7 @@
|
||||
log_combat(user, target, "given a noogie to", addition = "([damage] brute before armor)")
|
||||
target.apply_damage(damage, BRUTE, BODY_ZONE_HEAD)
|
||||
user.adjustStaminaLoss(iteration + 5)
|
||||
playsound(get_turf(user), pick('sound/effects/rustle1.ogg','sound/effects/rustle2.ogg','sound/effects/rustle3.ogg','sound/effects/rustle4.ogg','sound/effects/rustle5.ogg'), 50)
|
||||
playsound(get_turf(user), pick('sound/effects/rustle/rustle1.ogg','sound/effects/rustle/rustle2.ogg','sound/effects/rustle/rustle3.ogg','sound/effects/rustle/rustle4.ogg','sound/effects/rustle/rustle5.ogg'), 50)
|
||||
|
||||
if(prob(33))
|
||||
user.visible_message(span_danger("[user] continues noogie'ing [target]!"), span_warning("You continue giving [target] a noogie!"), vision_distance=COMBAT_MESSAGE_RANGE, ignored_mobs=target)
|
||||
@@ -235,7 +235,7 @@
|
||||
)
|
||||
to_chat(slapped, span_userdanger("You see [user] scoff and pull back [user.p_their()] arm, then suddenly you're on the ground with an ungodly ringing in your ears!"))
|
||||
slap_volume = 120
|
||||
SEND_SOUND(slapped, sound('sound/weapons/flash_ring.ogg'))
|
||||
SEND_SOUND(slapped, sound('sound/items/weapons/flash_ring.ogg'))
|
||||
shake_camera(slapped, 2, 2)
|
||||
slapped.Paralyze(2.5 SECONDS)
|
||||
slapped.adjust_confusion(7 SECONDS)
|
||||
@@ -278,7 +278,7 @@
|
||||
span_notice("You slap [slapped]!"),
|
||||
span_hear("You hear a slap."),
|
||||
)
|
||||
playsound(slapped, 'sound/weapons/slap.ogg', slap_volume, TRUE, -1)
|
||||
playsound(slapped, 'sound/items/weapons/slap.ogg', slap_volume, TRUE, -1)
|
||||
return
|
||||
|
||||
/obj/item/hand_item/slapper/pre_attack_secondary(atom/target, mob/living/user, params)
|
||||
@@ -542,8 +542,8 @@
|
||||
name = "kiss"
|
||||
icon = 'icons/mob/simple/animal.dmi'
|
||||
icon_state = "heart"
|
||||
hitsound = 'sound/effects/kiss.ogg'
|
||||
hitsound_wall = 'sound/effects/kiss.ogg'
|
||||
hitsound = 'sound/effects/emotes/kiss.ogg'
|
||||
hitsound_wall = 'sound/effects/emotes/kiss.ogg'
|
||||
pass_flags = PASSTABLE | PASSGLASS | PASSGRILLE
|
||||
speed = 1.6
|
||||
damage_type = BRUTE
|
||||
|
||||
@@ -48,8 +48,8 @@
|
||||
breakouttime = 1 MINUTES
|
||||
armor_type = /datum/armor/restraints_handcuffs
|
||||
custom_price = PAYCHECK_COMMAND * 0.35
|
||||
pickup_sound = 'sound/items/handcuffs_pick_up.ogg'
|
||||
drop_sound = 'sound/items/handcuffs_drop.ogg'
|
||||
pickup_sound = 'sound/items/handling/handcuffs/handcuffs_pick_up.ogg'
|
||||
drop_sound = 'sound/items/handling/handcuffs/handcuffs_drop.ogg'
|
||||
sound_vary = TRUE
|
||||
|
||||
///How long it takes to handcuff someone
|
||||
@@ -57,7 +57,7 @@
|
||||
///Multiplier for handcuff time
|
||||
var/handcuff_time_mod = 1
|
||||
///Sound that plays when starting to put handcuffs on someone
|
||||
var/cuffsound = 'sound/weapons/handcuffs.ogg'
|
||||
var/cuffsound = 'sound/items/weapons/handcuffs.ogg'
|
||||
///Sound that plays when restrain is successful
|
||||
var/cuffsuccesssound = 'sound/items/handcuff_finish.ogg'
|
||||
///If set, handcuffs will be destroyed on application and leave behind whatever this is set to.
|
||||
@@ -200,7 +200,7 @@
|
||||
righthand_file = 'icons/mob/inhands/equipment/tools_righthand.dmi'
|
||||
custom_materials = list(/datum/material/iron= SMALL_MATERIAL_AMOUNT * 1.5, /datum/material/glass= SMALL_MATERIAL_AMOUNT * 0.75)
|
||||
breakouttime = 30 SECONDS
|
||||
cuffsound = 'sound/weapons/cablecuff.ogg'
|
||||
cuffsound = 'sound/items/weapons/cablecuff.ogg'
|
||||
pickup_sound = null
|
||||
drop_sound = null
|
||||
restraint_strength = HANDCUFFS_TYPE_WEAK
|
||||
@@ -424,7 +424,7 @@
|
||||
|
||||
/obj/item/restraints/legcuffs/beartrap/suicide_act(mob/living/user)
|
||||
user.visible_message(span_suicide("[user] is sticking [user.p_their()] head in the [src.name]! It looks like [user.p_theyre()] trying to commit suicide!"))
|
||||
playsound(loc, 'sound/weapons/bladeslice.ogg', 50, TRUE, -1)
|
||||
playsound(loc, 'sound/items/weapons/bladeslice.ogg', 50, TRUE, -1)
|
||||
return BRUTELOSS
|
||||
|
||||
/obj/item/restraints/legcuffs/beartrap/attack_self(mob/user)
|
||||
@@ -551,7 +551,7 @@
|
||||
/obj/item/restraints/legcuffs/bola/throw_at(atom/target, range, speed, mob/thrower, spin=1, diagonals_first = 0, datum/callback/callback, gentle = FALSE, quickstart = TRUE)
|
||||
if(!..())
|
||||
return
|
||||
playsound(src.loc,'sound/weapons/bolathrow.ogg', 75, TRUE)
|
||||
playsound(src.loc,'sound/items/weapons/bolathrow.ogg', 75, TRUE)
|
||||
|
||||
/obj/item/restraints/legcuffs/bola/throw_impact(atom/hit_atom, datum/thrownthing/throwingdatum)
|
||||
if(..() || !iscarbon(hit_atom))//if it gets caught or the target can't be cuffed,
|
||||
@@ -606,7 +606,7 @@
|
||||
desc = "A specialized hard-light bola designed to ensnare fleeing criminals and aid in arrests."
|
||||
icon_state = "ebola"
|
||||
inhand_icon_state = "ebola"
|
||||
hitsound = 'sound/weapons/taserhit.ogg'
|
||||
hitsound = 'sound/items/weapons/taserhit.ogg'
|
||||
w_class = WEIGHT_CLASS_SMALL
|
||||
breakouttime = 6 SECONDS
|
||||
custom_price = PAYCHECK_COMMAND * 0.35
|
||||
|
||||
@@ -17,9 +17,9 @@
|
||||
demolition_mod = 1.25
|
||||
attack_verb_continuous = list("robusts")
|
||||
attack_verb_simple = list("robust")
|
||||
hitsound = 'sound/weapons/smash.ogg'
|
||||
drop_sound = 'sound/items/handling/toolbox_drop.ogg'
|
||||
pickup_sound = 'sound/items/handling/toolbox_pickup.ogg'
|
||||
hitsound = 'sound/items/weapons/smash.ogg'
|
||||
drop_sound = 'sound/items/handling/toolbox/toolbox_drop.ogg'
|
||||
pickup_sound = 'sound/items/handling/toolbox/toolbox_pickup.ogg'
|
||||
var/awakened = FALSE
|
||||
var/bloodthirst = HIS_GRACE_SATIATED
|
||||
var/prev_bloodthirst = HIS_GRACE_SATIATED
|
||||
@@ -133,8 +133,8 @@
|
||||
if(!L.stat)
|
||||
L.visible_message(span_warning("[src] lunges at [L]!"), "<span class='his_grace big bold'>[src] lunges at you!</span>")
|
||||
do_attack_animation(L, null, src)
|
||||
playsound(L, 'sound/weapons/smash.ogg', 50, TRUE)
|
||||
playsound(L, 'sound/misc/desecration-01.ogg', 50, TRUE)
|
||||
playsound(L, 'sound/items/weapons/smash.ogg', 50, TRUE)
|
||||
playsound(L, 'sound/effects/desecration/desecration-01.ogg', 50, TRUE)
|
||||
L.adjustBruteLoss(force)
|
||||
adjust_bloodthirst(-5) //Don't stop attacking they're right there!
|
||||
else
|
||||
@@ -172,7 +172,7 @@
|
||||
return
|
||||
var/turf/T = get_turf(src)
|
||||
T.visible_message(span_boldwarning("[src] slowly stops rattling and falls still, His latch snapping shut."))
|
||||
playsound(loc, 'sound/weapons/batonextend.ogg', 100, TRUE)
|
||||
playsound(loc, 'sound/items/weapons/batonextend.ogg', 100, TRUE)
|
||||
name = initial(name)
|
||||
desc = initial(desc)
|
||||
animate(src, transform=matrix())
|
||||
@@ -189,7 +189,7 @@
|
||||
var/victims = 0
|
||||
meal.visible_message(span_warning("[src] swings open and devours [meal]!"), "<span class='his_grace big bold'>[src] consumes you!</span>")
|
||||
meal.adjustBruteLoss(200)
|
||||
playsound(meal, 'sound/misc/desecration-02.ogg', 75, TRUE)
|
||||
playsound(meal, 'sound/effects/desecration/desecration-02.ogg', 75, TRUE)
|
||||
playsound(src, 'sound/items/eatfood.ogg', 100, TRUE)
|
||||
meal.forceMove(src)
|
||||
force_bonus += HIS_GRACE_FORCE_BONUS
|
||||
@@ -259,7 +259,7 @@
|
||||
desc = "A legendary toolbox and a distant artifact from The Age of Three Powers. On its three latches engraved are the words \"The Sun\", \"The Moon\", and \"The Stars\". The entire toolbox has the words \"The World\" engraved into its sides."
|
||||
ascended = TRUE
|
||||
update_appearance()
|
||||
playsound(src, 'sound/effects/his_grace_ascend.ogg', 100)
|
||||
playsound(src, 'sound/effects/his_grace/his_grace_ascend.ogg', 100)
|
||||
if(istype(master))
|
||||
master.update_held_items()
|
||||
master.visible_message("<span class='his_grace big bold'>Gods will be watching.</span>")
|
||||
|
||||
@@ -54,10 +54,10 @@
|
||||
var/area = get_area_name(get_turf(owner))
|
||||
// All "hearers" hear the same sound.
|
||||
var/sound = pick(
|
||||
'sound/items/knell1.ogg',
|
||||
'sound/items/knell2.ogg',
|
||||
'sound/items/knell3.ogg',
|
||||
'sound/items/knell4.ogg',
|
||||
'sound/items/knell/knell1.ogg',
|
||||
'sound/items/knell/knell2.ogg',
|
||||
'sound/items/knell/knell3.ogg',
|
||||
'sound/items/knell/knell4.ogg',
|
||||
)
|
||||
|
||||
|
||||
|
||||
@@ -84,7 +84,7 @@
|
||||
ready = FALSE
|
||||
addtimer(CALLBACK(src, PROC_REF(set_ready)),injection_cooldown)
|
||||
else
|
||||
playsound(get_turf(src), 'sound/machines/buzz-sigh.ogg', 25, TRUE)
|
||||
playsound(get_turf(src), 'sound/machines/buzz/buzz-sigh.ogg', 25, TRUE)
|
||||
update_appearance()
|
||||
|
||||
/obj/machinery/implantchair/proc/implant_action(mob/living/M)
|
||||
|
||||
@@ -121,7 +121,7 @@
|
||||
return ITEM_INTERACT_BLOCKING
|
||||
|
||||
if(contraband_scan(interacting_with, user))
|
||||
playsound(src, 'sound/machines/uplinkerror.ogg', 40)
|
||||
playsound(src, 'sound/machines/uplink/uplinkerror.ogg', 40)
|
||||
balloon_alert(user, "contraband detected!")
|
||||
return ITEM_INTERACT_SUCCESS
|
||||
else
|
||||
|
||||
@@ -82,6 +82,6 @@
|
||||
investigate_log("Access to the [department_access] department on [src] has expired.]", INVESTIGATE_ACCESSCHANGES)
|
||||
department_access = null
|
||||
say("Access revoked, time ran out.")
|
||||
playsound(src, 'sound/machines/scanbuzz.ogg', 25, TRUE)
|
||||
playsound(src, 'sound/machines/scanner/scanbuzz.ogg', 25, TRUE)
|
||||
|
||||
#undef ACCESS_TIMER_LIMIT
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
obj_flags = CONDUCTS_ELECTRICITY
|
||||
attack_verb_continuous = list("attacks", "stabs", "pokes")
|
||||
attack_verb_simple = list("attack", "stab", "poke")
|
||||
hitsound = 'sound/weapons/bladeslice.ogg'
|
||||
hitsound = 'sound/items/weapons/bladeslice.ogg'
|
||||
armor_type = /datum/armor/kitchen_fork
|
||||
sharpness = SHARP_POINTY
|
||||
var/datum/reagent/forkload //used to eat omelette
|
||||
@@ -110,7 +110,7 @@
|
||||
force = 0
|
||||
throwforce = 0
|
||||
sharpness = SHARP_EDGED
|
||||
hitsound = 'sound/weapons/bladeslice.ogg'
|
||||
hitsound = 'sound/items/weapons/bladeslice.ogg'
|
||||
attack_verb_continuous = list("prods", "whiffs", "scratches", "pokes")
|
||||
attack_verb_simple = list("prod", "whiff", "scratch", "poke")
|
||||
tool_behaviour = TOOL_KNIFE
|
||||
@@ -123,7 +123,7 @@
|
||||
. += " It's fitted with a [tool_behaviour] head."
|
||||
|
||||
/obj/item/knife/kitchen/silicon/attack_self(mob/user)
|
||||
playsound(get_turf(user), 'sound/items/change_drill.ogg', 50, TRUE)
|
||||
playsound(get_turf(user), 'sound/items/tools/change_drill.ogg', 50, TRUE)
|
||||
if(tool_behaviour != TOOL_ROLLINGPIN)
|
||||
tool_behaviour = TOOL_ROLLINGPIN
|
||||
to_chat(user, span_notice("You attach the rolling pin bit to the [src]."))
|
||||
@@ -140,7 +140,7 @@
|
||||
icon_state = "sili_knife"
|
||||
force = 0
|
||||
sharpness = SHARP_EDGED
|
||||
hitsound = 'sound/weapons/bladeslice.ogg'
|
||||
hitsound = 'sound/items/weapons/bladeslice.ogg'
|
||||
attack_verb_continuous = list("prods", "whiffs", "scratches", "pokes")
|
||||
attack_verb_simple = list("prod", "whiff", "scratch", "poke")
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
demolition_mod = 0.75
|
||||
w_class = WEIGHT_CLASS_SMALL
|
||||
throwforce = 10
|
||||
hitsound = 'sound/weapons/bladeslice.ogg'
|
||||
hitsound = 'sound/items/weapons/bladeslice.ogg'
|
||||
throw_speed = 3
|
||||
throw_range = 6
|
||||
custom_materials = list(/datum/material/iron = SHEET_MATERIAL_AMOUNT * 6)
|
||||
@@ -145,7 +145,7 @@
|
||||
. = ..()
|
||||
if(user.get_item_by_slot(ITEM_SLOT_MASK) == src && !user.has_status_effect(/datum/status_effect/choke) && prob(20))
|
||||
user.apply_damage(5, BRUTE, BODY_ZONE_HEAD)
|
||||
playsound(user, 'sound/weapons/slice.ogg', 50, TRUE)
|
||||
playsound(user, 'sound/items/weapons/slice.ogg', 50, TRUE)
|
||||
user.visible_message(span_danger("[user] accidentally cuts [user.p_them()]self while pulling [src] out of [user.p_them()] teeth! What a doofus!"), span_userdanger("You accidentally cut your mouth with [src]!"))
|
||||
|
||||
/obj/item/knife/combat/equipped(mob/living/user, slot, initial = FALSE)
|
||||
|
||||
@@ -69,7 +69,7 @@
|
||||
/obj/item/lighter/suicide_act(mob/living/carbon/user)
|
||||
if (lit)
|
||||
user.visible_message(span_suicide("[user] begins holding \the [src]'s flame up to [user.p_their()] face! It looks like [user.p_theyre()] trying to commit suicide!"))
|
||||
playsound(src, 'sound/items/welder.ogg', 50, TRUE)
|
||||
playsound(src, 'sound/items/tools/welder.ogg', 50, TRUE)
|
||||
return FIRELOSS
|
||||
else
|
||||
user.visible_message(span_suicide("[user] begins whacking [user.p_them()]self with \the [src]! It looks like [user.p_theyre()] trying to commit suicide!"))
|
||||
@@ -99,15 +99,15 @@
|
||||
if(lit)
|
||||
force = 5
|
||||
damtype = BURN
|
||||
hitsound = 'sound/items/welder.ogg'
|
||||
hitsound = 'sound/items/tools/welder.ogg'
|
||||
attack_verb_continuous = string_list(list("burns", "singes"))
|
||||
attack_verb_simple = string_list(list("burn", "singe"))
|
||||
heat = heat_while_on
|
||||
START_PROCESSING(SSobj, src)
|
||||
if(fancy)
|
||||
playsound(src.loc , 'sound/items/zippo_on.ogg', 100, 1)
|
||||
playsound(src.loc , 'sound/items/lighter/zippo_on.ogg', 100, 1)
|
||||
else
|
||||
playsound(src.loc, 'sound/items/lighter_on.ogg', 100, 1)
|
||||
playsound(src.loc, 'sound/items/lighter/lighter_on.ogg', 100, 1)
|
||||
if(isliving(loc))
|
||||
var/mob/living/male_model = loc
|
||||
if(male_model.fire_stacks && !(male_model.on_fire))
|
||||
@@ -120,9 +120,9 @@
|
||||
attack_verb_simple = null
|
||||
STOP_PROCESSING(SSobj, src)
|
||||
if(fancy)
|
||||
playsound(src.loc , 'sound/items/zippo_off.ogg', 100, 1)
|
||||
playsound(src.loc , 'sound/items/lighter/zippo_off.ogg', 100, 1)
|
||||
else
|
||||
playsound(src.loc , 'sound/items/lighter_off.ogg', 100, 1)
|
||||
playsound(src.loc , 'sound/items/lighter/lighter_off.ogg', 100, 1)
|
||||
set_light_on(lit)
|
||||
update_appearance()
|
||||
|
||||
|
||||
@@ -61,7 +61,7 @@
|
||||
|
||||
/obj/item/machine_remote/ui_interact(mob/user, datum/tgui/ui)
|
||||
if(!COOLDOWN_FINISHED(src, timeout_time))
|
||||
playsound(src, 'sound/machines/synth_no.ogg', 30 , TRUE)
|
||||
playsound(src, 'sound/machines/synth/synth_no.ogg', 30 , TRUE)
|
||||
say("Remote control disabled temporarily. Please try again soon.")
|
||||
return FALSE
|
||||
if(!controlling_machine_or_bot)
|
||||
@@ -92,7 +92,7 @@
|
||||
|
||||
/obj/item/machine_remote/ranged_interact_with_atom(atom/interacting_with, mob/living/user, list/modifiers)
|
||||
if(!COOLDOWN_FINISHED(src, timeout_time))
|
||||
playsound(src, 'sound/machines/synth_no.ogg', 30 , TRUE)
|
||||
playsound(src, 'sound/machines/synth/synth_no.ogg', 30 , TRUE)
|
||||
say("Remote control disabled temporarily. Please try again soon.")
|
||||
return ITEM_INTERACT_BLOCKING
|
||||
if(!ismachinery(interacting_with) && !isbot(interacting_with))
|
||||
|
||||
@@ -107,7 +107,7 @@
|
||||
var/tag = uppertext(GLOB.TAGGERLOCATIONS[destination_tag.currTag])
|
||||
to_chat(user, span_notice("*[tag]*"))
|
||||
sort_tag = destination_tag.currTag
|
||||
playsound(loc, 'sound/machines/twobeep_high.ogg', vol = 100, vary = TRUE)
|
||||
playsound(loc, 'sound/machines/beep/twobeep_high.ogg', vol = 100, vary = TRUE)
|
||||
|
||||
/obj/item/mail/multitool_act(mob/living/user, obj/item/tool)
|
||||
if(user.get_inactive_held_item() == src)
|
||||
@@ -145,7 +145,7 @@
|
||||
user.put_in_hands(stuff)
|
||||
else
|
||||
stuff.forceMove(drop_location())
|
||||
playsound(loc, 'sound/items/poster_ripped.ogg', vol = 50, vary = TRUE)
|
||||
playsound(loc, 'sound/items/poster/poster_ripped.ogg', vol = 50, vary = TRUE)
|
||||
qdel(src)
|
||||
return TRUE
|
||||
|
||||
@@ -402,7 +402,7 @@
|
||||
|
||||
/obj/item/mail/traitor/after_unwrap(mob/user)
|
||||
user.temporarilyRemoveItemFromInventory(src, force = TRUE)
|
||||
playsound(loc, 'sound/items/poster_ripped.ogg', vol = 50, vary = TRUE)
|
||||
playsound(loc, 'sound/items/poster/poster_ripped.ogg', vol = 50, vary = TRUE)
|
||||
for(var/obj/item/stuff as anything in contents) // Mail and envelope actually can have more than 1 item.
|
||||
if(user.put_in_hands(stuff) && armed)
|
||||
var/whomst = made_by_cached_name ? "[made_by_cached_name] ([made_by_cached_ckey])" : "no one in particular"
|
||||
@@ -419,7 +419,7 @@
|
||||
if(!do_after(user, 2 SECONDS, target = src))
|
||||
return FALSE
|
||||
balloon_alert(user, "disarmed")
|
||||
playsound(src, 'sound/machines/defib_ready.ogg', vol = 100, vary = TRUE)
|
||||
playsound(src, 'sound/machines/defib/defib_ready.ogg', vol = 100, vary = TRUE)
|
||||
armed = FALSE
|
||||
return TRUE
|
||||
else
|
||||
@@ -430,7 +430,7 @@
|
||||
return FALSE
|
||||
if(prob(50))
|
||||
balloon_alert(user, "disarmed something...?")
|
||||
playsound(src, 'sound/machines/defib_ready.ogg', vol = 100, vary = TRUE)
|
||||
playsound(src, 'sound/machines/defib/defib_ready.ogg', vol = 100, vary = TRUE)
|
||||
armed = FALSE
|
||||
return TRUE
|
||||
else
|
||||
|
||||
@@ -20,8 +20,8 @@
|
||||
wound_bonus = 20
|
||||
demolition_mod = 1.25
|
||||
grind_results = list(/datum/reagent/lead = 20)
|
||||
pickup_sound = 'sound/items/lead_pipe_pickup.ogg'
|
||||
drop_sound = 'sound/items/lead_pipe_drop.ogg'
|
||||
pickup_sound = 'sound/items/handling/lead_pipe/lead_pipe_pickup.ogg'
|
||||
drop_sound = 'sound/items/handling/lead_pipe/lead_pipe_drop.ogg'
|
||||
hitsound = 'sound/items/lead_pipe_hit.ogg'
|
||||
|
||||
//A good battery early in the shift. Source of lead & sulfuric acid reagents.
|
||||
|
||||
@@ -177,7 +177,7 @@
|
||||
|
||||
/obj/item/melee/baton/proc/check_parried(mob/living/carbon/human/human_target, mob/living/user)
|
||||
if (human_target.check_block(src, 0, "[user]'s [name]", MELEE_ATTACK))
|
||||
playsound(human_target, 'sound/weapons/genhit.ogg', 50, TRUE)
|
||||
playsound(human_target, 'sound/items/weapons/genhit.ogg', 50, TRUE)
|
||||
return TRUE
|
||||
return FALSE
|
||||
|
||||
@@ -327,7 +327,7 @@
|
||||
drop_sound = 'sound/items/baton/telescopic_baton_folded_drop.ogg'
|
||||
sound_vary = TRUE
|
||||
/// The sound effecte played when our baton is extended.
|
||||
var/on_sound = 'sound/weapons/batonextend.ogg'
|
||||
var/on_sound = 'sound/items/weapons/batonextend.ogg'
|
||||
/// The inhand iconstate used when our baton is extended.
|
||||
var/on_inhand_icon_state = "nullrod"
|
||||
/// The force on extension.
|
||||
@@ -407,12 +407,12 @@
|
||||
stamina_damage = 85
|
||||
clumsy_knockdown_time = 24 SECONDS
|
||||
affect_cyborg = TRUE
|
||||
on_stun_sound = 'sound/effects/contractorbatonhit.ogg'
|
||||
on_stun_sound = 'sound/items/weapons/contractor_baton/contractorbatonhit.ogg'
|
||||
unfolded_drop_sound = 'sound/items/baton/contractor_baton_unfolded_pickup.ogg'
|
||||
unfolded_pickup_sound = 'sound/items/baton/contractor_baton_unfolded_pickup.ogg'
|
||||
|
||||
on_inhand_icon_state = "contractor_baton_on"
|
||||
on_sound = 'sound/weapons/contractorbatonextend.ogg'
|
||||
on_sound = 'sound/items/weapons/contractorbatonextend.ogg'
|
||||
active_force = 16
|
||||
|
||||
/obj/item/melee/baton/telescopic/contractor_baton/get_wait_description()
|
||||
@@ -442,7 +442,7 @@
|
||||
knockdown_time = 5 SECONDS
|
||||
clumsy_knockdown_time = 15 SECONDS
|
||||
cooldown = 2.5 SECONDS
|
||||
on_stun_sound = 'sound/weapons/egloves.ogg'
|
||||
on_stun_sound = 'sound/items/weapons/egloves.ogg'
|
||||
on_stun_volume = 50
|
||||
active = FALSE
|
||||
context_living_rmb_active = "Harmful Stun"
|
||||
@@ -507,7 +507,7 @@
|
||||
var/turf/source_turf = get_turf(src)
|
||||
var/obj/item/melee/baton/baton = new (source_turf)
|
||||
baton.alpha = 20
|
||||
playsound(source_turf, 'sound/items/drill_use.ogg', 80, TRUE, -1)
|
||||
playsound(source_turf, 'sound/items/tools/drill_use.ogg', 80, TRUE, -1)
|
||||
animate(src, alpha = 0, time = 1 SECONDS)
|
||||
animate(baton, alpha = 255, time = 1 SECONDS)
|
||||
qdel(item)
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
/// Sharpness while active.
|
||||
var/active_sharpness = SHARP_EDGED
|
||||
/// Hitsound played attacking while active.
|
||||
var/active_hitsound = 'sound/weapons/blade1.ogg'
|
||||
var/active_hitsound = 'sound/items/weapons/blade1.ogg'
|
||||
/// Weight class while active.
|
||||
var/active_w_class = WEIGHT_CLASS_BULKY
|
||||
/// The heat given off when active.
|
||||
@@ -122,7 +122,7 @@
|
||||
tool_behaviour = (active ? TOOL_SAW : NONE) //Lets energy weapons cut trees. Also lets them do bonecutting surgery, which is kinda metal!
|
||||
if(user)
|
||||
balloon_alert(user, "[name] [active ? "enabled":"disabled"]")
|
||||
playsound(src, active ? 'sound/weapons/saberon.ogg' : 'sound/weapons/saberoff.ogg', 35, TRUE)
|
||||
playsound(src, active ? 'sound/items/weapons/saberon.ogg' : 'sound/items/weapons/saberoff.ogg', 35, TRUE)
|
||||
set_light_on(active)
|
||||
update_appearance(UPDATE_ICON_STATE)
|
||||
return COMPONENT_NO_DEFAULT_MESSAGE
|
||||
@@ -136,7 +136,7 @@
|
||||
base_icon_state = "axe"
|
||||
lefthand_file = 'icons/mob/inhands/weapons/axes_lefthand.dmi'
|
||||
righthand_file = 'icons/mob/inhands/weapons/axes_righthand.dmi'
|
||||
hitsound = 'sound/weapons/bladeslice.ogg'
|
||||
hitsound = 'sound/items/weapons/bladeslice.ogg'
|
||||
attack_verb_continuous = list("attacks", "chops", "cleaves", "tears", "lacerates", "cuts")
|
||||
attack_verb_simple = list("attack", "chop", "cleave", "tear", "lacerate", "cut")
|
||||
force = 40
|
||||
@@ -188,7 +188,7 @@
|
||||
throw_range = 5
|
||||
armour_penetration = 35
|
||||
block_chance = 50
|
||||
block_sound = 'sound/weapons/block_blade.ogg'
|
||||
block_sound = 'sound/items/weapons/block_blade.ogg'
|
||||
embed_type = /datum/embed_data/esword
|
||||
|
||||
/obj/item/melee/energy/sword/hit_reaction(mob/living/carbon/human/owner, atom/movable/hitby, attack_text = "the attack", final_block_chance = 0, damage = 0, attack_type = MELEE_ATTACK, damage_type = BRUTE)
|
||||
@@ -227,7 +227,7 @@
|
||||
desc = "For heavy duty cutting. It has a carbon-fiber blade in addition to a toggleable hard-light edge to dramatically increase sharpness."
|
||||
icon = 'icons/obj/medical/surgery_tools.dmi'
|
||||
icon_state = "esaw"
|
||||
hitsound = 'sound/weapons/circsawhit.ogg'
|
||||
hitsound = 'sound/items/weapons/circsawhit.ogg'
|
||||
force = 18
|
||||
hitcost = 0.075 * STANDARD_CELL_CHARGE // Costs more than a standard cyborg esword.
|
||||
w_class = WEIGHT_CLASS_NORMAL
|
||||
@@ -321,7 +321,7 @@
|
||||
base_icon_state = "blade"
|
||||
lefthand_file = 'icons/mob/inhands/weapons/swords_lefthand.dmi'
|
||||
righthand_file = 'icons/mob/inhands/weapons/swords_righthand.dmi'
|
||||
hitsound = 'sound/weapons/blade1.ogg'
|
||||
hitsound = 'sound/items/weapons/blade1.ogg'
|
||||
attack_verb_continuous = list("attacks", "slashes", "stabs", "slices", "tears", "lacerates", "rips", "dices", "cuts")
|
||||
attack_verb_simple = list("attack", "slash", "stab", "slice", "tear", "lacerate", "rip", "dice", "cut")
|
||||
force = 30
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
w_class = WEIGHT_CLASS_NORMAL
|
||||
attack_verb_continuous = list("flogs", "whips", "lashes", "disciplines")
|
||||
attack_verb_simple = list("flog", "whip", "lash", "discipline")
|
||||
hitsound = 'sound/weapons/chainhit.ogg'
|
||||
hitsound = 'sound/items/weapons/chainhit.ogg'
|
||||
custom_materials = list(/datum/material/iron = HALF_SHEET_MATERIAL_AMOUNT)
|
||||
|
||||
/obj/item/melee/chainofcommand/suicide_act(mob/living/user)
|
||||
@@ -39,7 +39,7 @@
|
||||
w_class = WEIGHT_CLASS_HUGE
|
||||
force = 20
|
||||
throwforce = 10
|
||||
hitsound = 'sound/weapons/bladeslice.ogg'
|
||||
hitsound = 'sound/items/weapons/bladeslice.ogg'
|
||||
attack_verb_continuous = list("attacks", "slashes", "stabs", "slices", "tears", "lacerates", "rips", "dices", "cuts")
|
||||
attack_verb_simple = list("attack", "slash", "stab", "slice", "tear", "lacerate", "rip", "dice", "cut")
|
||||
sharpness = SHARP_EDGED
|
||||
@@ -70,8 +70,8 @@
|
||||
sharpness = SHARP_EDGED
|
||||
attack_verb_continuous = list("slashes", "cuts")
|
||||
attack_verb_simple = list("slash", "cut")
|
||||
block_sound = 'sound/weapons/parry.ogg'
|
||||
hitsound = 'sound/weapons/rapierhit.ogg'
|
||||
block_sound = 'sound/items/weapons/parry.ogg'
|
||||
hitsound = 'sound/items/weapons/rapierhit.ogg'
|
||||
custom_materials = list(/datum/material/iron = HALF_SHEET_MATERIAL_AMOUNT)
|
||||
wound_bonus = 10
|
||||
bare_wound_bonus = 25
|
||||
@@ -182,8 +182,8 @@
|
||||
sharpness = SHARP_EDGED
|
||||
attack_verb_continuous = list("slashes", "cuts")
|
||||
attack_verb_simple = list("slash", "cut")
|
||||
block_sound = 'sound/weapons/parry.ogg'
|
||||
hitsound = 'sound/weapons/rapierhit.ogg'
|
||||
block_sound = 'sound/items/weapons/parry.ogg'
|
||||
hitsound = 'sound/items/weapons/rapierhit.ogg'
|
||||
custom_materials = null
|
||||
wound_bonus = 5
|
||||
bare_wound_bonus = 15
|
||||
@@ -224,8 +224,8 @@
|
||||
armour_penetration = 65
|
||||
attack_verb_continuous = list("slashes", "stings", "prickles", "pokes")
|
||||
attack_verb_simple = list("slash", "sting", "prickle", "poke")
|
||||
hitsound = 'sound/weapons/rapierhit.ogg'
|
||||
block_sound = 'sound/weapons/parry.ogg'
|
||||
hitsound = 'sound/items/weapons/rapierhit.ogg'
|
||||
block_sound = 'sound/items/weapons/parry.ogg'
|
||||
|
||||
/obj/item/melee/beesword/hit_reaction(mob/living/carbon/human/owner, atom/movable/hitby, attack_text = "the attack", final_block_chance = 0, damage = 0, attack_type = MELEE_ATTACK, damage_type = BRUTE)
|
||||
if(attack_type == PROJECTILE_ATTACK || attack_type == LEAP_ATTACK)
|
||||
@@ -370,7 +370,7 @@
|
||||
w_class = WEIGHT_CLASS_NORMAL
|
||||
attack_verb_continuous = list("flogs", "whips", "lashes", "disciplines")
|
||||
attack_verb_simple = list("flog", "whip", "lash", "discipline")
|
||||
hitsound = 'sound/weapons/whip.ogg'
|
||||
hitsound = 'sound/items/weapons/whip.ogg'
|
||||
|
||||
/obj/item/melee/curator_whip/afterattack(atom/target, mob/user, click_parameters)
|
||||
if(ishuman(target))
|
||||
@@ -434,7 +434,7 @@
|
||||
inhand_icon_state = active ? "nullrod" : null
|
||||
if(user)
|
||||
balloon_alert(user, "[active ? "extended" : "collapsed"] [src]")
|
||||
playsound(src, 'sound/weapons/batonextend.ogg', 50, TRUE)
|
||||
playsound(src, 'sound/items/weapons/batonextend.ogg', 50, TRUE)
|
||||
return COMPONENT_NO_DEFAULT_MESSAGE
|
||||
|
||||
/obj/item/melee/roastingstick/attackby(atom/target, mob/user)
|
||||
@@ -475,7 +475,7 @@
|
||||
return NONE
|
||||
if (istype(interacting_with, /obj/singularity) && get_dist(user, interacting_with) < 10)
|
||||
to_chat(user, span_notice("You send [held_sausage] towards [interacting_with]."))
|
||||
playsound(src, 'sound/items/rped.ogg', 50, TRUE)
|
||||
playsound(src, 'sound/items/tools/rped.ogg', 50, TRUE)
|
||||
beam = user.Beam(interacting_with, icon_state = "rped_upgrade", time = 10 SECONDS)
|
||||
return ITEM_INTERACT_SUCCESS
|
||||
return NONE
|
||||
@@ -486,21 +486,21 @@
|
||||
if (!is_type_in_typecache(interacting_with, ovens))
|
||||
return NONE
|
||||
to_chat(user, span_notice("You extend [src] towards [interacting_with]."))
|
||||
playsound(src, 'sound/weapons/batonextend.ogg', 50, TRUE)
|
||||
playsound(src, 'sound/items/weapons/batonextend.ogg', 50, TRUE)
|
||||
finish_roasting(user, interacting_with)
|
||||
return ITEM_INTERACT_SUCCESS
|
||||
|
||||
/obj/item/melee/roastingstick/proc/finish_roasting(user, atom/target)
|
||||
if(do_after(user, 10 SECONDS, target = user))
|
||||
to_chat(user, span_notice("You finish roasting [held_sausage]."))
|
||||
playsound(src, 'sound/items/welder2.ogg', 50, TRUE)
|
||||
playsound(src, 'sound/items/tools/welder2.ogg', 50, TRUE)
|
||||
held_sausage.add_atom_colour(rgb(103, 63, 24), FIXED_COLOUR_PRIORITY)
|
||||
held_sausage.name = "[target.name]-roasted [held_sausage.name]"
|
||||
held_sausage.desc = "[held_sausage.desc] It has been cooked to perfection on \a [target]."
|
||||
update_appearance()
|
||||
else
|
||||
QDEL_NULL(beam)
|
||||
playsound(src, 'sound/weapons/batonextend.ogg', 50, TRUE)
|
||||
playsound(src, 'sound/items/weapons/batonextend.ogg', 50, TRUE)
|
||||
to_chat(user, span_notice("You put [src] away."))
|
||||
|
||||
/obj/item/melee/cleric_mace
|
||||
@@ -524,7 +524,7 @@
|
||||
w_class = WEIGHT_CLASS_BULKY
|
||||
throwforce = 8
|
||||
block_chance = 10
|
||||
block_sound = 'sound/weapons/genhit.ogg'
|
||||
block_sound = 'sound/items/weapons/genhit.ogg'
|
||||
armour_penetration = 50
|
||||
attack_verb_continuous = list("smacks", "strikes", "cracks", "beats")
|
||||
attack_verb_simple = list("smack", "strike", "crack", "beat")
|
||||
|
||||
@@ -57,14 +57,14 @@
|
||||
/obj/item/pet_carrier/attack_self(mob/living/user)
|
||||
if(open)
|
||||
to_chat(user, span_notice("You close [src]'s door."))
|
||||
playsound(user, 'sound/effects/bin_close.ogg', 50, TRUE)
|
||||
playsound(user, 'sound/effects/bin/bin_close.ogg', 50, TRUE)
|
||||
open = FALSE
|
||||
else
|
||||
if(locked)
|
||||
to_chat(user, span_warning("[src] is locked!"))
|
||||
return
|
||||
to_chat(user, span_notice("You open [src]'s door."))
|
||||
playsound(user, 'sound/effects/bin_open.ogg', 50, TRUE)
|
||||
playsound(user, 'sound/effects/bin/bin_open.ogg', 50, TRUE)
|
||||
open = TRUE
|
||||
update_appearance()
|
||||
|
||||
@@ -74,9 +74,9 @@
|
||||
locked = !locked
|
||||
to_chat(user, span_notice("You flip the lock switch [locked ? "down" : "up"]."))
|
||||
if(locked)
|
||||
playsound(user, 'sound/machines/boltsdown.ogg', 30, TRUE)
|
||||
playsound(user, 'sound/machines/airlock/boltsdown.ogg', 30, TRUE)
|
||||
else
|
||||
playsound(user, 'sound/machines/boltsup.ogg', 30, TRUE)
|
||||
playsound(user, 'sound/machines/airlock/boltsup.ogg', 30, TRUE)
|
||||
update_appearance()
|
||||
return CLICK_ACTION_SUCCESS
|
||||
|
||||
@@ -129,7 +129,7 @@
|
||||
loc.visible_message(span_warning("[user] flips the lock switch on [src] by reaching through!"), null, null, null, user)
|
||||
to_chat(user, span_boldannounce("Bingo! The lock pops open!"))
|
||||
locked = FALSE
|
||||
playsound(src, 'sound/machines/boltsup.ogg', 30, TRUE)
|
||||
playsound(src, 'sound/machines/airlock/boltsup.ogg', 30, TRUE)
|
||||
update_appearance()
|
||||
else
|
||||
loc.visible_message(span_warning("[src] starts rattling as something pushes against the door!"), null, null, null, user)
|
||||
|
||||
@@ -51,9 +51,9 @@
|
||||
if(!iscarbon(target_mob))
|
||||
return
|
||||
if(bricked || HAS_TRAIT(src, TRAIT_WIELDED))
|
||||
hit_sound = 'sound/items/pillow_hit2.ogg'
|
||||
hit_sound = 'sound/items/pillow/pillow_hit2.ogg'
|
||||
else
|
||||
hit_sound = 'sound/items/pillow_hit.ogg'
|
||||
hit_sound = 'sound/items/pillow/pillow_hit.ogg'
|
||||
user.apply_damage(5, STAMINA) //Had to be done so one person cannot keep multiple people stam critted
|
||||
last_fighter = user
|
||||
playsound(user, hit_sound, 80) //the basic 50 vol is barely audible
|
||||
@@ -116,7 +116,7 @@
|
||||
user.put_in_hands(pillow_trophy)
|
||||
pillow_trophy = null
|
||||
balloon_alert(user, "tag removed")
|
||||
playsound(user,'sound/items/poster_ripped.ogg', 50)
|
||||
playsound(user,'sound/items/poster/poster_ripped.ogg', 50)
|
||||
update_appearance()
|
||||
return CLICK_ACTION_SUCCESS
|
||||
|
||||
|
||||
@@ -44,7 +44,7 @@
|
||||
|
||||
/obj/item/pinpointer/proc/toggle_on()
|
||||
active = !active
|
||||
playsound(src, 'sound/items/screwdriver2.ogg', 50, TRUE)
|
||||
playsound(src, 'sound/items/tools/screwdriver2.ogg', 50, TRUE)
|
||||
if(active)
|
||||
START_PROCESSING(SSfastprocess, src)
|
||||
else
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
w_class = WEIGHT_CLASS_BULKY
|
||||
attack_verb_continuous = list("attacks", "impales", "pierces")
|
||||
attack_verb_simple = list("attack", "impale", "pierce")
|
||||
hitsound = 'sound/weapons/bladeslice.ogg'
|
||||
hitsound = 'sound/items/weapons/bladeslice.ogg'
|
||||
sharpness = SHARP_EDGED
|
||||
max_integrity = 200
|
||||
armor_type = /datum/armor/item_pitchfork
|
||||
|
||||
@@ -393,7 +393,7 @@
|
||||
inhand_icon_state = "carp_plushie"
|
||||
attack_verb_continuous = list("bites", "eats", "fin slaps")
|
||||
attack_verb_simple = list("bite", "eat", "fin slap")
|
||||
squeak_override = list('sound/weapons/bite.ogg'=1)
|
||||
squeak_override = list('sound/items/weapons/bite.ogg'=1)
|
||||
|
||||
/obj/item/toy/plush/bubbleplush
|
||||
name = "\improper Bubblegum plushie"
|
||||
@@ -401,7 +401,7 @@
|
||||
icon_state = "bubbleplush"
|
||||
attack_verb_continuous = list("rents")
|
||||
attack_verb_simple = list("rent")
|
||||
squeak_override = list('sound/magic/demon_attack1.ogg'=1)
|
||||
squeak_override = list('sound/effects/magic/demon_attack1.ogg'=1)
|
||||
|
||||
/obj/item/toy/plush/ratplush
|
||||
name = "\improper Ratvar plushie"
|
||||
@@ -438,7 +438,7 @@
|
||||
clash_target = null
|
||||
P.clashing = FALSE
|
||||
return
|
||||
playsound(src, 'sound/magic/clockwork/ratvar_attack.ogg', 50, TRUE, frequency = 2)
|
||||
playsound(src, 'sound/effects/magic/clockwork/ratvar_attack.ogg', 50, TRUE, frequency = 2)
|
||||
sleep(0.24 SECONDS)
|
||||
if(QDELETED(src))
|
||||
P.clashing = FALSE
|
||||
@@ -457,7 +457,7 @@
|
||||
if(QDELETED(P))
|
||||
clash_target = null
|
||||
return
|
||||
playsound(P, 'sound/magic/clockwork/narsie_attack.ogg', 50, TRUE, frequency = 2)
|
||||
playsound(P, 'sound/effects/magic/clockwork/narsie_attack.ogg', 50, TRUE, frequency = 2)
|
||||
sleep(0.33 SECONDS)
|
||||
if(QDELETED(src))
|
||||
P.clashing = FALSE
|
||||
@@ -476,16 +476,16 @@
|
||||
if(a_winnar_is == src)
|
||||
say(pick("DIE.", "ROT."))
|
||||
P.say(pick("Nooooo...", "Not die. To y-", "Die. Ratv-", "Sas tyen re-"))
|
||||
playsound(src, 'sound/magic/clockwork/anima_fragment_attack.ogg', 50, TRUE, frequency = 2)
|
||||
playsound(P, 'sound/magic/demon_dies.ogg', 50, TRUE, frequency = 2)
|
||||
playsound(src, 'sound/effects/magic/clockwork/anima_fragment_attack.ogg', 50, TRUE, frequency = 2)
|
||||
playsound(P, 'sound/effects/magic/demon_dies.ogg', 50, TRUE, frequency = 2)
|
||||
explosion(P, light_impact_range = 1)
|
||||
qdel(P)
|
||||
clash_target = null
|
||||
else
|
||||
say("NO! I will not be banished again...")
|
||||
P.say(pick("Ha.", "Ra'sha fonn dest.", "You fool. To come here."))
|
||||
playsound(src, 'sound/magic/clockwork/anima_fragment_death.ogg', 62, TRUE, frequency = 2)
|
||||
playsound(P, 'sound/magic/demon_attack1.ogg', 50, TRUE, frequency = 2)
|
||||
playsound(src, 'sound/effects/magic/clockwork/anima_fragment_death.ogg', 62, TRUE, frequency = 2)
|
||||
playsound(P, 'sound/effects/magic/demon_attack1.ogg', 50, TRUE, frequency = 2)
|
||||
explosion(src, light_impact_range = 1)
|
||||
qdel(src)
|
||||
P.clashing = FALSE
|
||||
@@ -511,7 +511,7 @@
|
||||
greyscale_config = /datum/greyscale_config/plush_lizard
|
||||
attack_verb_continuous = list("claws", "hisses", "tail slaps")
|
||||
attack_verb_simple = list("claw", "hiss", "tail slap")
|
||||
squeak_override = list('sound/weapons/slash.ogg' = 1)
|
||||
squeak_override = list('sound/items/weapons/slash.ogg' = 1)
|
||||
|
||||
/obj/item/toy/plush/lizard_plushie/Initialize(mapload)
|
||||
. = ..()
|
||||
@@ -559,7 +559,7 @@
|
||||
inhand_icon_state = null
|
||||
attack_verb_continuous = list("bites", "hisses", "tail slaps")
|
||||
attack_verb_simple = list("bite", "hiss", "tail slap")
|
||||
squeak_override = list('sound/weapons/bite.ogg' = 1)
|
||||
squeak_override = list('sound/items/weapons/bite.ogg' = 1)
|
||||
|
||||
/obj/item/toy/plush/nukeplushie
|
||||
name = "operative plushie"
|
||||
@@ -588,7 +588,7 @@
|
||||
inhand_icon_state = null
|
||||
attack_verb_continuous = list("blorbles", "slimes", "absorbs")
|
||||
attack_verb_simple = list("blorble", "slime", "absorb")
|
||||
squeak_override = list('sound/effects/blobattack.ogg' = 1)
|
||||
squeak_override = list('sound/effects/blob/blobattack.ogg' = 1)
|
||||
gender = FEMALE //given all the jokes and drawings, I'm not sure the xenobiologists would make a slimeboy
|
||||
|
||||
// This is supposed to be only in the bus ruin, don't spawn it elsewhere
|
||||
@@ -657,13 +657,13 @@
|
||||
attack_verb_continuous = list("stings")
|
||||
attack_verb_simple = list("sting")
|
||||
gender = FEMALE
|
||||
squeak_override = list('sound/voice/moth/scream_moth.ogg'=1)
|
||||
squeak_override = list('sound/mobs/humanoids/moth/scream_moth.ogg'=1)
|
||||
|
||||
/obj/item/toy/plush/goatplushie
|
||||
name = "strange goat plushie"
|
||||
icon_state = "goat"
|
||||
desc = "Despite its cuddly appearance and plush nature, it will beat you up all the same. Goats never change."
|
||||
squeak_override = list('sound/weapons/punch1.ogg'=1)
|
||||
squeak_override = list('sound/items/weapons/punch1.ogg'=1)
|
||||
/// Whether or not this goat is currently taking in a monsterous doink
|
||||
var/going_hard = FALSE
|
||||
/// Whether or not this goat has been flattened like a funny pancake
|
||||
@@ -724,7 +724,7 @@
|
||||
inhand_icon_state = null
|
||||
attack_verb_continuous = list("flutters", "flaps")
|
||||
attack_verb_simple = list("flutter", "flap")
|
||||
squeak_override = list('sound/voice/moth/scream_moth.ogg'=1)
|
||||
squeak_override = list('sound/mobs/humanoids/moth/scream_moth.ogg'=1)
|
||||
///Used to track how many people killed themselves with item/toy/plush/moth
|
||||
var/suicide_count = 0
|
||||
|
||||
@@ -737,7 +737,7 @@
|
||||
desc = "A plushie depicting a creepy mothperson. It's killed [suicide_count] people! I don't think I want to hug it any more!"
|
||||
divine = TRUE
|
||||
resistance_flags = INDESTRUCTIBLE | FIRE_PROOF | ACID_PROOF | LAVA_PROOF
|
||||
playsound(src, 'sound/hallucinations/wail.ogg', 50, TRUE, -1)
|
||||
playsound(src, 'sound/effects/hallucinations/wail.ogg', 50, TRUE, -1)
|
||||
var/list/available_spots = get_adjacent_open_turfs(loc)
|
||||
if(available_spots.len) //If the user is in a confined space the plushie will drop normally as the user dies, but in the open the plush is placed one tile away from the user to prevent squeak spam
|
||||
var/turf/open/random_open_spot = pick(available_spots)
|
||||
@@ -751,7 +751,7 @@
|
||||
icon_state = "pkplush"
|
||||
attack_verb_continuous = list("hugs", "squeezes")
|
||||
attack_verb_simple = list("hug", "squeeze")
|
||||
squeak_override = list('sound/weapons/thudswoosh.ogg'=1)
|
||||
squeak_override = list('sound/items/weapons/thudswoosh.ogg'=1)
|
||||
|
||||
/obj/item/toy/plush/rouny
|
||||
name = "runner plushie"
|
||||
@@ -770,7 +770,7 @@
|
||||
inhand_icon_state = null
|
||||
attack_verb_continuous = list("abducts", "probes")
|
||||
attack_verb_continuous = list("abduct", "probe")
|
||||
squeak_override = list('sound/weather/ashstorm/inside/weak_end.ogg' = 1) //very faint sound since abductors are silent as far as "speaking" is concerned.
|
||||
squeak_override = list('sound/ambience/weather/ashstorm/inside/weak_end.ogg' = 1) //very faint sound since abductors are silent as far as "speaking" is concerned.
|
||||
|
||||
/obj/item/toy/plush/abductor/agent
|
||||
name = "abductor agent plushie"
|
||||
@@ -780,8 +780,8 @@
|
||||
attack_verb_continuous = list("abducts", "probes", "stuns")
|
||||
attack_verb_continuous = list("abduct", "probe", "stun")
|
||||
squeak_override = list(
|
||||
'sound/weapons/egloves.ogg' = 2,
|
||||
'sound/weapons/cablecuff.ogg' = 1,
|
||||
'sound/items/weapons/egloves.ogg' = 2,
|
||||
'sound/items/weapons/cablecuff.ogg' = 1,
|
||||
)
|
||||
|
||||
/obj/item/toy/plush/shark
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
var/charge_tick = 0
|
||||
var/charge_type
|
||||
var/selfcharge = FALSE
|
||||
var/fire_sound = 'sound/weapons/sonic_jackhammer.ogg'
|
||||
var/fire_sound = 'sound/items/weapons/sonic_jackhammer.ogg'
|
||||
var/spin_item = TRUE //Do the projectiles spin when launched?
|
||||
trigger_guard = TRIGGER_GUARD_NORMAL
|
||||
|
||||
@@ -103,7 +103,7 @@
|
||||
/obj/item/pneumatic_cannon/wrench_act(mob/living/user, obj/item/tool)
|
||||
if(needs_air == FALSE)
|
||||
return
|
||||
playsound(src, 'sound/items/ratchet.ogg', 50, TRUE)
|
||||
playsound(src, 'sound/items/tools/ratchet.ogg', 50, TRUE)
|
||||
pressure_setting = pressure_setting >= HIGH_PRESSURE ? LOW_PRESSURE : pressure_setting + 1
|
||||
balloon_alert(user, "output level set to [pressure_setting_to_text(pressure_setting)]")
|
||||
return TRUE
|
||||
|
||||
@@ -117,7 +117,7 @@
|
||||
if(!gas_used)
|
||||
to_chat(user, span_warning("\The [src]'s tank is empty!"))
|
||||
target.apply_damage((force / 5), BRUTE)
|
||||
playsound(loc, 'sound/weapons/punch1.ogg', 50, TRUE)
|
||||
playsound(loc, 'sound/items/weapons/punch1.ogg', 50, TRUE)
|
||||
target.visible_message(span_danger("[user]'s powerfist lets out a dull thunk as [user.p_they()] punch[user.p_es()] [target.name]!"), \
|
||||
span_userdanger("[user]'s punches you!"))
|
||||
return
|
||||
@@ -125,7 +125,7 @@
|
||||
if(!molar_cmp_equals(gas_used.total_moles(), gas_per_fist * fist_pressure_setting))
|
||||
our_turf.assume_air(gas_used)
|
||||
to_chat(user, span_warning("\The [src]'s piston-ram lets out a weak hiss, it needs more gas!"))
|
||||
playsound(loc, 'sound/weapons/punch4.ogg', 50, TRUE)
|
||||
playsound(loc, 'sound/items/weapons/punch4.ogg', 50, TRUE)
|
||||
target.apply_damage((force / 2), BRUTE)
|
||||
target.visible_message(span_danger("[user]'s powerfist lets out a weak hiss as [user.p_they()] punch[user.p_es()] [target.name]!"), \
|
||||
span_userdanger("[user]'s punch strikes with force!"))
|
||||
@@ -135,8 +135,8 @@
|
||||
span_userdanger("You cry out in pain as [user]'s punch flings you backwards!"))
|
||||
new /obj/effect/temp_visual/kinetic_blast(target.loc)
|
||||
target.apply_damage(force * fist_pressure_setting, BRUTE, wound_bonus = CANT_WOUND)
|
||||
playsound(src, 'sound/weapons/resonator_blast.ogg', 50, TRUE)
|
||||
playsound(src, 'sound/weapons/genhit2.ogg', 50, TRUE)
|
||||
playsound(src, 'sound/items/weapons/resonator_blast.ogg', 50, TRUE)
|
||||
playsound(src, 'sound/items/weapons/genhit2.ogg', 50, TRUE)
|
||||
|
||||
if(!QDELETED(target))
|
||||
var/atom/throw_target = get_edge_target_turf(target, get_dir(src, get_step_away(target, src)))
|
||||
|
||||
@@ -305,7 +305,7 @@
|
||||
visible_message(span_boldnotice("[src] becomes fully charged!"))
|
||||
powered = TRUE
|
||||
SEND_SIGNAL(src, COMSIG_PUZZLE_COMPLETED)
|
||||
playsound(src, 'sound/machines/synth_yes.ogg', 100, TRUE)
|
||||
playsound(src, 'sound/machines/synth/synth_yes.ogg', 100, TRUE)
|
||||
|
||||
//
|
||||
// literally just buttons
|
||||
@@ -363,7 +363,7 @@
|
||||
used = single_use
|
||||
update_icon_state()
|
||||
visible_message(span_notice("[user] presses a button on [src]."), span_notice("You press a button on [src]."))
|
||||
playsound(src, 'sound/machines/terminal_button07.ogg', 45, TRUE)
|
||||
playsound(src, 'sound/machines/terminal/terminal_button07.ogg', 45, TRUE)
|
||||
on_puzzle_complete()
|
||||
|
||||
MAPPING_DIRECTIONAL_HELPERS(/obj/machinery/puzzle/button, 32)
|
||||
@@ -386,7 +386,7 @@ MAPPING_DIRECTIONAL_HELPERS(/obj/machinery/puzzle/button, 32)
|
||||
return
|
||||
used = TRUE
|
||||
update_icon_state()
|
||||
playsound(src, 'sound/machines/beep.ogg', 45, TRUE)
|
||||
playsound(src, 'sound/machines/beep/beep.ogg', 45, TRUE)
|
||||
on_puzzle_complete()
|
||||
|
||||
MAPPING_DIRECTIONAL_HELPERS(/obj/machinery/puzzle/keycardpad, 32)
|
||||
@@ -419,11 +419,11 @@ MAPPING_DIRECTIONAL_HELPERS(/obj/machinery/puzzle/keycardpad, 32)
|
||||
var/correct = pass_input == password
|
||||
balloon_alert_to_viewers("[correct ? "correct" : "wrong"] password[correct ? "" : "!"]")
|
||||
if(!correct)
|
||||
playsound(src, 'sound/machines/buzz-sigh.ogg', 45, TRUE)
|
||||
playsound(src, 'sound/machines/buzz/buzz-sigh.ogg', 45, TRUE)
|
||||
return
|
||||
used = single_use
|
||||
update_icon_state()
|
||||
playsound(src, 'sound/machines/terminal_button07.ogg', 45, TRUE)
|
||||
playsound(src, 'sound/machines/terminal/terminal_button07.ogg', 45, TRUE)
|
||||
on_puzzle_complete()
|
||||
|
||||
MAPPING_DIRECTIONAL_HELPERS(/obj/machinery/puzzle/password, 32)
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
item_flags = NO_MAT_REDEMPTION | NOBLUDGEON
|
||||
has_ammobar = TRUE
|
||||
actions_types = list(/datum/action/item_action/rcd_scan)
|
||||
drop_sound = 'sound/items/handling/rcd_drop.ogg'
|
||||
pickup_sound = 'sound/items/handling/rcd_pickup.ogg'
|
||||
drop_sound = 'sound/items/handling/tools/rcd_drop.ogg'
|
||||
pickup_sound = 'sound/items/handling/tools/rcd_pickup.ogg'
|
||||
sound_vary = TRUE
|
||||
|
||||
/// main category of currently selected design[Structures, Airlocks, Airlock Access]
|
||||
|
||||
@@ -185,8 +185,8 @@ GLOBAL_LIST_INIT(transit_tube_recipes, list(
|
||||
custom_materials = list(/datum/material/iron=SHEET_MATERIAL_AMOUNT*37.5, /datum/material/glass=SHEET_MATERIAL_AMOUNT*18.75)
|
||||
armor_type = /datum/armor/item_pipe_dispenser
|
||||
resistance_flags = FIRE_PROOF
|
||||
drop_sound = 'sound/items/handling/rpd_drop.ogg'
|
||||
pickup_sound = 'sound/items/handling/rpd_pickup.ogg'
|
||||
drop_sound = 'sound/items/handling/tools/rpd_drop.ogg'
|
||||
pickup_sound = 'sound/items/handling/tools/rpd_pickup.ogg'
|
||||
sound_vary = TRUE
|
||||
///Sparks system used when changing device in the UI
|
||||
var/datum/effect_system/spark_spread/spark_system
|
||||
|
||||
@@ -12,8 +12,8 @@
|
||||
banned_upgrades = RCD_ALL_UPGRADES & ~RCD_UPGRADE_SILO_LINK
|
||||
matter = 200
|
||||
max_matter = 200
|
||||
drop_sound = 'sound/items/handling/rcd_drop.ogg'
|
||||
pickup_sound = 'sound/items/handling/rcd_pickup.ogg'
|
||||
drop_sound = 'sound/items/handling/tools/rcd_drop.ogg'
|
||||
pickup_sound = 'sound/items/handling/tools/rcd_pickup.ogg'
|
||||
sound_vary = TRUE
|
||||
|
||||
///category of design selected
|
||||
|
||||
@@ -24,8 +24,8 @@
|
||||
item_flags = NO_MAT_REDEMPTION | NOBLUDGEON
|
||||
has_ammobar = TRUE
|
||||
banned_upgrades = RCD_ALL_UPGRADES & ~RCD_UPGRADE_SILO_LINK
|
||||
drop_sound = 'sound/items/handling/rcd_drop.ogg'
|
||||
pickup_sound = 'sound/items/handling/rcd_pickup.ogg'
|
||||
drop_sound = 'sound/items/handling/tools/rcd_drop.ogg'
|
||||
pickup_sound = 'sound/items/handling/tools/rcd_pickup.ogg'
|
||||
sound_vary = TRUE
|
||||
|
||||
/// main category for tile design
|
||||
|
||||
@@ -75,7 +75,7 @@
|
||||
inspired_human.AdjustImmobilized(-40)
|
||||
inspired_human.AdjustParalyzed(-40)
|
||||
inspired_human.AdjustUnconscious(-40)
|
||||
playsound(inspired_human, 'sound/magic/staff_healing.ogg', 25, FALSE)
|
||||
playsound(inspired_human, 'sound/effects/magic/staff_healing.ogg', 25, FALSE)
|
||||
|
||||
/obj/item/banner/proc/special_inspiration(mob/living/carbon/human/H) //Any banner-specific inspiration effects go here
|
||||
return
|
||||
|
||||
@@ -112,7 +112,7 @@
|
||||
gumball = new /obj/item/ammo_casing/gumball(src)
|
||||
|
||||
gumball.loaded_projectile.color = rgb(rand(0, 255), rand(0, 255), rand(0, 255))
|
||||
playsound(src.loc, 'sound/weapons/bulletflyby3.ogg', 50, TRUE)
|
||||
playsound(src.loc, 'sound/items/weapons/bulletflyby3.ogg', 50, TRUE)
|
||||
gumball.fire_casing(target, user, params, 0, 0, null, 0, src)
|
||||
user.visible_message(span_warning("[user] shoots a high-velocity gumball at [target]!"))
|
||||
check_amount()
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
if(ishuman(attacked_mob))
|
||||
var/mob/living/carbon/human/human = attacked_mob
|
||||
if(human.check_block(src, 0, "[attacked_mob]'s [name]", MELEE_ATTACK))
|
||||
playsound(attacked_mob, 'sound/weapons/genhit.ogg', 50, TRUE)
|
||||
playsound(attacked_mob, 'sound/items/weapons/genhit.ogg', 50, TRUE)
|
||||
return FALSE
|
||||
if(iscyborg(user))
|
||||
var/mob/living/silicon/robot/robot_user = user
|
||||
@@ -54,7 +54,7 @@
|
||||
span_userdanger("[user] prods you with [src]!"),
|
||||
)
|
||||
|
||||
playsound(loc, 'sound/weapons/egloves.ogg', 50, TRUE, -1)
|
||||
playsound(loc, 'sound/items/weapons/egloves.ogg', 50, TRUE, -1)
|
||||
cooldown_check = world.time + cooldown
|
||||
log_combat(user, attacked_mob, "stunned", src, "(Combat mode: [user.combat_mode ? "On" : "Off"])")
|
||||
|
||||
@@ -114,7 +114,7 @@
|
||||
span_notice("You playfully boop [attacked_mob] on the head!"),
|
||||
)
|
||||
user.do_attack_animation(attacked_mob, ATTACK_EFFECT_BOOP)
|
||||
playsound(loc, 'sound/weapons/tap.ogg', 50, TRUE, -1)
|
||||
playsound(loc, 'sound/items/weapons/tap.ogg', 50, TRUE, -1)
|
||||
else if(ishuman(attacked_mob))
|
||||
if(user.body_position == LYING_DOWN)
|
||||
user.visible_message(
|
||||
@@ -133,7 +133,7 @@
|
||||
span_notice("[user] pets [attacked_mob]!"),
|
||||
span_notice("You pet [attacked_mob]!"),
|
||||
)
|
||||
playsound(loc, 'sound/weapons/thudswoosh.ogg', 50, TRUE, -1)
|
||||
playsound(loc, 'sound/items/weapons/thudswoosh.ogg', 50, TRUE, -1)
|
||||
if(HUG_MODE_HUG)
|
||||
if(ishuman(attacked_mob))
|
||||
attacked_mob.adjust_status_effects_on_shake_up()
|
||||
@@ -160,7 +160,7 @@
|
||||
span_warning("[user] bops [attacked_mob] on the head!"),
|
||||
span_warning("You bop [attacked_mob] on the head!"),
|
||||
)
|
||||
playsound(loc, 'sound/weapons/tap.ogg', 50, TRUE, -1)
|
||||
playsound(loc, 'sound/items/weapons/tap.ogg', 50, TRUE, -1)
|
||||
if(HUG_MODE_SHOCK)
|
||||
if (!COOLDOWN_FINISHED(src, shock_cooldown))
|
||||
return
|
||||
@@ -184,7 +184,7 @@
|
||||
span_userdanger("[user] shocks [attacked_mob]. It does not seem to have an effect"),
|
||||
span_danger("You shock [attacked_mob] to no effect."),
|
||||
)
|
||||
playsound(loc, 'sound/effects/sparks2.ogg', 50, TRUE, -1)
|
||||
playsound(loc, 'sound/effects/sparks/sparks2.ogg', 50, TRUE, -1)
|
||||
user.cell.use(0.5 * STANDARD_CELL_CHARGE, force = TRUE)
|
||||
COOLDOWN_START(src, shock_cooldown, HUG_SHOCK_COOLDOWN)
|
||||
if(HUG_MODE_CRUSH)
|
||||
@@ -200,7 +200,7 @@
|
||||
span_userdanger("[user] crushes [attacked_mob]!"),
|
||||
span_danger("You crush [attacked_mob]!"),
|
||||
)
|
||||
playsound(loc, 'sound/weapons/smash.ogg', 50, TRUE, -1)
|
||||
playsound(loc, 'sound/items/weapons/smash.ogg', 50, TRUE, -1)
|
||||
attacked_mob.adjustBruteLoss(15)
|
||||
user.cell.use(0.3 * STANDARD_CELL_CHARGE, force = TRUE)
|
||||
COOLDOWN_START(src, crush_cooldown, HUG_CRUSH_COOLDOWN)
|
||||
@@ -378,7 +378,7 @@
|
||||
carbon.adjust_confusion(6 SECONDS)
|
||||
|
||||
audible_message("<font color='red' size='7'>HUMAN HARM</font>")
|
||||
playsound(get_turf(src), 'sound/ai/harmalarm.ogg', 70, 3)
|
||||
playsound(get_turf(src), 'sound/mobs/non-humanoids/cyborg/harmalarm.ogg', 70, 3)
|
||||
COOLDOWN_START(src, alarm_cooldown, HARM_ALARM_SAFETY_COOLDOWN)
|
||||
user.log_message("used a Cyborg Harm Alarm", LOG_ATTACK)
|
||||
if(iscyborg(user))
|
||||
|
||||
@@ -9,8 +9,8 @@
|
||||
resistance_flags = FIRE_PROOF //if it's channeling a cyborg's excess heat, it's probably fireproof
|
||||
force = 5
|
||||
damtype = BURN
|
||||
usesound = list('sound/items/welder.ogg', 'sound/items/welder2.ogg') //the usesounds of a lit welder
|
||||
hitsound = 'sound/items/welder.ogg' //the hitsound of a lit welder
|
||||
usesound = list('sound/items/tools/welder.ogg', 'sound/items/tools/welder2.ogg') //the usesounds of a lit welder
|
||||
hitsound = 'sound/items/tools/welder.ogg' //the hitsound of a lit welder
|
||||
|
||||
//Peacekeeper Cyborg Projectile Dampenening Field
|
||||
/obj/item/borg/projectile_dampen
|
||||
@@ -247,7 +247,7 @@
|
||||
if(initial(tool.tool_behaviour) == new_tool_behaviour)
|
||||
reference = tool
|
||||
update_appearance(UPDATE_ICON_STATE)
|
||||
playsound(src, 'sound/items/change_jaws.ogg', 50, TRUE)
|
||||
playsound(src, 'sound/items/tools/change_jaws.ogg', 50, TRUE)
|
||||
break
|
||||
|
||||
/obj/item/borg/cyborg_omnitool/update_icon_state()
|
||||
@@ -267,7 +267,7 @@
|
||||
/obj/item/borg/cyborg_omnitool/proc/set_upgraded(upgrade)
|
||||
upgraded = upgraded
|
||||
|
||||
playsound(src, 'sound/items/change_jaws.ogg', 50, TRUE)
|
||||
playsound(src, 'sound/items/tools/change_jaws.ogg', 50, TRUE)
|
||||
|
||||
/obj/item/borg/cyborg_omnitool/medical
|
||||
name = "surgical omni-toolset"
|
||||
|
||||
@@ -319,7 +319,7 @@
|
||||
// This canonizes that MMI'd cyborgs have memories of their previous life
|
||||
brainmob.add_mob_memory(/datum/memory/was_cyborged, protagonist = brainmob.mind, deuteragonist = user)
|
||||
brainmob.mind.transfer_to(O)
|
||||
playsound(O.loc, 'sound/voice/liveagain.ogg', 75, TRUE)
|
||||
playsound(O.loc, 'sound/mobs/non-humanoids/cyborg/liveagain.ogg', 75, TRUE)
|
||||
|
||||
if(O.mind && O.mind.special_role)
|
||||
to_chat(O, span_userdanger("You have been robotized!"))
|
||||
|
||||
@@ -607,7 +607,7 @@
|
||||
smoke.start()
|
||||
sleep(0.2 SECONDS)
|
||||
for(var/i in 1 to 4)
|
||||
playsound(borg, pick('sound/items/drill_use.ogg', 'sound/items/jaws_cut.ogg', 'sound/items/jaws_pry.ogg', 'sound/items/welder.ogg', 'sound/items/ratchet.ogg'), 80, TRUE, -1)
|
||||
playsound(borg, pick('sound/items/tools/drill_use.ogg', 'sound/items/tools/jaws_cut.ogg', 'sound/items/tools/jaws_pry.ogg', 'sound/items/tools/welder.ogg', 'sound/items/tools/ratchet.ogg'), 80, TRUE, -1)
|
||||
sleep(1.2 SECONDS)
|
||||
if(!prev_lockcharge)
|
||||
borg.SetLockdown(FALSE)
|
||||
@@ -827,7 +827,7 @@
|
||||
|
||||
if(borgo.mind)
|
||||
borgo.mind.grab_ghost()
|
||||
playsound(loc, 'sound/voice/liveagain.ogg', 75, TRUE)
|
||||
playsound(loc, 'sound/mobs/non-humanoids/cyborg/liveagain.ogg', 75, TRUE)
|
||||
else
|
||||
playsound(loc, 'sound/machines/ping.ogg', 75, TRUE)
|
||||
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user