diff --git a/modular_ss220/clothing/code/mask.dm b/modular_ss220/clothing/code/mask.dm index d40bf0302d2c..2238eae095b0 100644 --- a/modular_ss220/clothing/code/mask.dm +++ b/modular_ss220/clothing/code/mask.dm @@ -7,7 +7,7 @@ /obj/item/clothing/mask/equipped(mob/M, slot) . = ..() - if ((slot & SLOT_HUD_WEAR_MASK) && modifies_speech) + if((slot & SLOT_HUD_WEAR_MASK) && modifies_speech) RegisterSignal(M, COMSIG_MOB_SAY, PROC_REF(handle_speech)) else UnregisterSignal(M, COMSIG_MOB_SAY) diff --git a/modular_ss220/detective_rework/code/sample_kits.dm b/modular_ss220/detective_rework/code/sample_kits.dm index 9b08653a44c5..ed73a37727f7 100644 --- a/modular_ss220/detective_rework/code/sample_kits.dm +++ b/modular_ss220/detective_rework/code/sample_kits.dm @@ -114,7 +114,7 @@ if(!has_hand) to_chat(user, span_warning("А рук то у него нет.")) return FALSE - if (!do_after(user, 2 SECONDS, target = user)) + if(!do_after(user, 2 SECONDS, target = user)) return FALSE user.visible_message("[user] делает копию отмечатков [H].") diff --git a/modular_ss220/detective_rework/code/swabs.dm b/modular_ss220/detective_rework/code/swabs.dm index cf5ce0830329..2e1457057acc 100644 --- a/modular_ss220/detective_rework/code/swabs.dm +++ b/modular_ss220/detective_rework/code/swabs.dm @@ -83,7 +83,7 @@ return if(sample_type) - if (!dispenser) + if(!dispenser) dna = target_dna gsr = target_gsr set_used(sample_type, H) @@ -154,7 +154,7 @@ if(sample_type) user.visible_message("[user] берёт мазок с [A] для анализа.", "Вы берёте мазок с [A] для анализа.") - if (!dispenser) + if(!dispenser) dna = target_dna gsr = target_gsr set_used(sample_type, A) diff --git a/modular_ss220/discord_link/code/discord.dm b/modular_ss220/discord_link/code/discord.dm index 4260812fb712..60ad9410814c 100644 --- a/modular_ss220/discord_link/code/discord.dm +++ b/modular_ss220/discord_link/code/discord.dm @@ -51,7 +51,7 @@ return if(href_list["observe"] || href_list["ready"] || href_list["late_join"]) - if (GLOB.configuration.database.enabled && GLOB.configuration.ss220_misc.force_discord_verification) + if(GLOB.configuration.database.enabled && GLOB.configuration.ss220_misc.force_discord_verification) if(!client.prefs.discord_id || !(client.prefs.get_discord_id() && client.prefs.discord_id)) to_chat(usr, span_danger("Вам необходимо привязать дискорд-профиль к аккаунту!")) to_chat(usr, span_warning("Нажмите 'Привязка Discord' во вкладке 'Special Verbs' для получения инструкций.")) @@ -81,7 +81,7 @@ /datum/preferences/load_preferences(datum/db_query/query) . = ..() - if (!.) + if(!.) return return get_discord_id() diff --git a/modular_ss220/fullscreen/code/client_procs.dm b/modular_ss220/fullscreen/code/client_procs.dm index 85890f0e2f70..620293bcff1b 100644 --- a/modular_ss220/fullscreen/code/client_procs.dm +++ b/modular_ss220/fullscreen/code/client_procs.dm @@ -4,7 +4,7 @@ fullscreen = !fullscreen - if (fullscreen) + if(fullscreen) winset(usr, "mainwindow", "on-size=") winset(usr, "mainwindow", "titlebar=false") winset(usr, "mainwindow", "can-resize=false") diff --git a/modular_ss220/jukebox/code/jukebox.dm b/modular_ss220/jukebox/code/jukebox.dm index 4b81bafc1e2a..04ab4dcd6d39 100644 --- a/modular_ss220/jukebox/code/jukebox.dm +++ b/modular_ss220/jukebox/code/jukebox.dm @@ -208,7 +208,7 @@ volume = max_volume return TRUE else if(text2num(new_volume) != null) - if (text2num(new_volume) > max_volume) + if(text2num(new_volume) > max_volume) volume = max_volume else volume = text2num(new_volume) diff --git a/modular_ss220/maps220/code/mobs.dm b/modular_ss220/maps220/code/mobs.dm index 88aaf29f8797..35570f6f2082 100644 --- a/modular_ss220/maps220/code/mobs.dm +++ b/modular_ss220/maps220/code/mobs.dm @@ -645,7 +645,7 @@ /mob/living/simple_animal/hostile/deadwizard/Shoot(atom/targeted_atom) ..() - if (get_dist(src, targeted_atom) > 9) + if(get_dist(src, targeted_atom) > 9) rapid = 1 ranged_cooldown_time = 15 projectiletype = /obj/item/projectile/magic/fireball/infernal diff --git a/modular_ss220/mobs/code/simple_animal/pets/security_dogs.dm b/modular_ss220/mobs/code/simple_animal/pets/security_dogs.dm index cc8161fc931c..64deb877e871 100644 --- a/modular_ss220/mobs/code/simple_animal/pets/security_dogs.dm +++ b/modular_ss220/mobs/code/simple_animal/pets/security_dogs.dm @@ -306,7 +306,7 @@ DF.obj_color = inventory_head.color - if (icon_state == icon_resting) + if(icon_state == icon_resting) head_icon = DF.get_overlay() head_icon.pixel_y = -2 else diff --git a/modular_ss220/mobs/code/simple_animal/pets/slugcat.dm b/modular_ss220/mobs/code/simple_animal/pets/slugcat.dm index 61ae441463eb..2b90b8940b1e 100644 --- a/modular_ss220/mobs/code/simple_animal/pets/slugcat.dm +++ b/modular_ss220/mobs/code/simple_animal/pets/slugcat.dm @@ -114,7 +114,7 @@ usr.unset_machine() return - if (stat == DEAD) + if(stat == DEAD) return 0 if(href_list["remove_inv"]) diff --git a/modular_ss220/objects/code/plastic_chair.dm b/modular_ss220/objects/code/plastic_chair.dm index 699cfbc91e9d..5da2fcfeb765 100644 --- a/modular_ss220/objects/code/plastic_chair.dm +++ b/modular_ss220/objects/code/plastic_chair.dm @@ -19,7 +19,7 @@ Mob.pixel_y -= 2 /obj/structure/chair/plastic/proc/snap_check(mob/living/carbon/M) - if (M.nutrition >= NUTRITION_LEVEL_FAT) + if(M.nutrition >= NUTRITION_LEVEL_FAT) to_chat(M, span_warning("Стул начинает хрустеть и трещать, ты слишком тяжёлый!")) if(do_after(M, 6 SECONDS, progress = FALSE)) M.visible_message(span_notice("\improper [M] садится на пластиковый стул, и проламывает его своим весом!")) diff --git a/modular_ss220/objects/code/weapons.dm b/modular_ss220/objects/code/weapons.dm index 0981030bf776..5a00055c983f 100644 --- a/modular_ss220/objects/code/weapons.dm +++ b/modular_ss220/objects/code/weapons.dm @@ -22,7 +22,7 @@ return ..() /obj/item/gun/projectile/revolver/reclinable/process_fire(atom/target, mob/living/user, message, params, zone_override, bonus_spread) - if (!reclined) + if(!reclined) return ..() to_chat(user, "*click*") diff --git a/modular_ss220/silicon_hats/code/silicon_hats.dm b/modular_ss220/silicon_hats/code/silicon_hats.dm index a1c501300f31..8688f8895997 100644 --- a/modular_ss220/silicon_hats/code/silicon_hats.dm +++ b/modular_ss220/silicon_hats/code/silicon_hats.dm @@ -109,10 +109,10 @@ hat_offset_y = -6 if(inventory_head) - if (!can_be_hatted) + if(!can_be_hatted) remove_from_head(usr) return - if (!can_wear_blacklisted_hats && is_type_in_list(inventory_head, blacklisted_hats)) + if(!can_wear_blacklisted_hats && is_type_in_list(inventory_head, blacklisted_hats)) remove_from_head(usr) return @@ -146,7 +146,7 @@ borgI.alpha = hat_alpha borgI.color = hat_color borgI.pixel_y = hat_offset_y - if (!is_centered) + if(!is_centered) borgI.transform = matrix(1.125, 0, 0.5, 0, 1, 0) return borgI @@ -174,7 +174,7 @@ to_chat(user, span_warning("[item_to_add] застрял в ваших руках, вы не можете его надеть на голову [src]!")) return FALSE - if (!can_wear_blacklisted_hats && is_type_in_list(item_to_add, blacklisted_hats)) + if(!can_wear_blacklisted_hats && is_type_in_list(item_to_add, blacklisted_hats)) to_chat(user, span_warning("[item_to_add] не помещается на голову [src]!")) return FALSE diff --git a/modular_ss220/silicon_hats/code/silicon_interactions.dm b/modular_ss220/silicon_hats/code/silicon_interactions.dm index 7aefa091aa50..f4c3d402bd4d 100644 --- a/modular_ss220/silicon_hats/code/silicon_interactions.dm +++ b/modular_ss220/silicon_hats/code/silicon_interactions.dm @@ -58,7 +58,7 @@ usr.unset_machine() return FALSE - if (!can_be_hatted) + if(!can_be_hatted) return FALSE if(href_list["remove_inv"])