diff --git a/baystation12.dme b/baystation12.dme index dd4d4bac098..3580c3e8776 100644 --- a/baystation12.dme +++ b/baystation12.dme @@ -5,55 +5,6 @@ // END_INTERNALS // BEGIN_FILE_DIR #define FILE_DIR . -#define FILE_DIR "code" -#define FILE_DIR "code/TriDimension" -#define FILE_DIR "code/WorkInProgress" -#define FILE_DIR "code/WorkInProgress/Cael_Aislinn" -#define FILE_DIR "code/WorkInProgress/Cael_Aislinn/Jungle" -#define FILE_DIR "code/WorkInProgress/Cael_Aislinn/Rust" -#define FILE_DIR "code/WorkInProgress/Cael_Aislinn/ShieldGen" -#define FILE_DIR "code/WorkInProgress/Cael_Aislinn/Supermatter" -#define FILE_DIR "code/WorkInProgress/Susan" -#define FILE_DIR "html" -#define FILE_DIR "icons" -#define FILE_DIR "icons/48x48" -#define FILE_DIR "icons/effects" -#define FILE_DIR "icons/mecha" -#define FILE_DIR "icons/misc" -#define FILE_DIR "icons/mob" -#define FILE_DIR "icons/mob/human_races" -#define FILE_DIR "icons/obj" -#define FILE_DIR "icons/obj/assemblies" -#define FILE_DIR "icons/obj/atmospherics" -#define FILE_DIR "icons/obj/clothing" -#define FILE_DIR "icons/obj/doors" -#define FILE_DIR "icons/obj/flora" -#define FILE_DIR "icons/obj/machines" -#define FILE_DIR "icons/obj/pipes" -#define FILE_DIR "icons/pda_icons" -#define FILE_DIR "icons/spideros_icons" -#define FILE_DIR "icons/Testing" -#define FILE_DIR "icons/turf" -#define FILE_DIR "icons/vending_icons" -#define FILE_DIR "icons/xenoarch_icons" -#define FILE_DIR "sound" -#define FILE_DIR "sound/AI" -#define FILE_DIR "sound/ambience" -#define FILE_DIR "sound/effects" -#define FILE_DIR "sound/effects/turret" -#define FILE_DIR "sound/effects/wind" -#define FILE_DIR "sound/hallucinations" -#define FILE_DIR "sound/items" -#define FILE_DIR "sound/machines" -#define FILE_DIR "sound/mecha" -#define FILE_DIR "sound/misc" -#define FILE_DIR "sound/music" -#define FILE_DIR "sound/piano" -#define FILE_DIR "sound/violin" -#define FILE_DIR "sound/voice" -#define FILE_DIR "sound/voice/Serithi" -#define FILE_DIR "sound/vox" -#define FILE_DIR "sound/weapons" // END_FILE_DIR // BEGIN_PREFERENCES #define DEBUG @@ -797,10 +748,10 @@ #include "code\modules\customitems\item_defines.dm" #include "code\modules\customitems\item_spawning.dm" #include "code\modules\destilery\main.dm" -#include "code\modules\DetectiveWork\detective_work.dm" -#include "code\modules\DetectiveWork\evidence.dm" -#include "code\modules\DetectiveWork\footprints_and_rag.dm" -#include "code\modules\DetectiveWork\scanner.dm" +#include "code\modules\detectivework\detective_work.dm" +#include "code\modules\detectivework\evidence.dm" +#include "code\modules\detectivework\footprints_and_rag.dm" +#include "code\modules\detectivework\scanner.dm" #include "code\modules\events\alien_infestation.dm" #include "code\modules\events\blob.dm" #include "code\modules\events\brand_intelligence.dm" diff --git a/baystation12.int b/baystation12.int new file mode 100644 index 00000000000..29f9e64646a --- /dev/null +++ b/baystation12.int @@ -0,0 +1,5 @@ +// BEGIN_INTERNALS +/* +AUTO_FILE_DIR: OFF +*/ +// END_INTERNALS diff --git a/code/ATMOSPHERICS/components/tvalve.dm b/code/ATMOSPHERICS/components/tvalve.dm index 5683df4bf71..83f592c315f 100644 --- a/code/ATMOSPHERICS/components/tvalve.dm +++ b/code/ATMOSPHERICS/components/tvalve.dm @@ -1,5 +1,5 @@ obj/machinery/atmospherics/tvalve - icon = 'valve.dmi' + icon = 'icons/obj/atmospherics/valve.dmi' icon_state = "tvalve0" name = "manual switching valve" @@ -265,7 +265,7 @@ obj/machinery/atmospherics/tvalve digital // can be controlled by AI name = "digital switching valve" desc = "A digitally controlled valve." - icon = 'digital_valve.dmi' + icon = 'icons/obj/atmospherics/digital_valve.dmi' attack_ai(mob/user as mob) return src.attack_hand(user) @@ -329,7 +329,7 @@ obj/machinery/atmospherics/tvalve user << "\red You cannot unwrench this [src], it too exerted due to internal pressure." add_fingerprint(user) return 1 - playsound(src.loc, 'Ratchet.ogg', 50, 1) + playsound(src.loc, 'sound/items/Ratchet.ogg', 50, 1) user << "\blue You begin to unfasten \the [src]..." if (do_after(user, 40)) user.visible_message( \ @@ -384,7 +384,7 @@ obj/machinery/atmospherics/tvalve/mirrored digital // can be controlled by AI name = "digital switching valve" desc = "A digitally controlled valve." - icon = 'digital_valve.dmi' + icon = 'icons/obj/atmospherics/digital_valve.dmi' attack_ai(mob/user as mob) return src.attack_hand(user) diff --git a/code/ATMOSPHERICS/components/unary/thermal_plate.dm b/code/ATMOSPHERICS/components/unary/thermal_plate.dm index 7814eb57eda..23e27ad0564 100644 --- a/code/ATMOSPHERICS/components/unary/thermal_plate.dm +++ b/code/ATMOSPHERICS/components/unary/thermal_plate.dm @@ -5,7 +5,7 @@ //Based off Heat Reservoir and Space Heater //Transfers heat between a pipe system and environment, based on which has a greater thermal energy concentration - icon = 'cold_sink.dmi' + icon = 'icons/obj/atmospherics/cold_sink.dmi' icon_state = "intact_off" name = "Thermal Transfer Plate" diff --git a/code/ATMOSPHERICS/he_pipes.dm b/code/ATMOSPHERICS/he_pipes.dm index f86bfd5725e..3fe69c855d4 100644 --- a/code/ATMOSPHERICS/he_pipes.dm +++ b/code/ATMOSPHERICS/he_pipes.dm @@ -1,6 +1,6 @@ obj/machinery/atmospherics/pipe/simple/heat_exchanging - icon = 'heat.dmi' + icon = 'icons/obj/pipes/heat.dmi' icon_state = "intact" level = 2 var/initialize_directions_he @@ -58,7 +58,7 @@ obj/machinery/atmospherics/pipe/simple/heat_exchanging obj/machinery/atmospherics/pipe/simple/heat_exchanging/junction - icon = 'junction.dmi' + icon = 'icons/obj/pipes/junction.dmi' icon_state = "intact" level = 2 minimum_temperature_difference = 300 diff --git a/code/ATMOSPHERICS/pipes.dm b/code/ATMOSPHERICS/pipes.dm index 6f16f501cf2..838058ed963 100644 --- a/code/ATMOSPHERICS/pipes.dm +++ b/code/ATMOSPHERICS/pipes.dm @@ -936,7 +936,7 @@ obj/machinery/atmospherics/pipe else icon_state = "manifold4w_ex" - var/icon/con = new/icon('pipe_manifold.dmi',"manifold4w_con") //Since 4-ways are supposed to be directionless, they need an overlay instead it seems. + var/icon/con = new/icon('icons/obj/atmospherics/pipe_manifold.dmi',"manifold4w_con") //Since 4-ways are supposed to be directionless, they need an overlay instead it seems. if(node1) overlays += new/image(con,dir=1) @@ -1033,7 +1033,7 @@ obj/machinery/atmospherics/pipe cap name = "pipe endcap" desc = "An endcap for pipes" - icon = 'pipes.dmi' + icon = 'icons/obj/pipes.dmi' icon_state = "cap" level = 2 layer = 2.4 //under wires with their 2.44 diff --git a/code/TriDimension/Structures.dm b/code/TriDimension/Structures.dm index 0509f1b36f5..85e499f7ad4 100644 --- a/code/TriDimension/Structures.dm +++ b/code/TriDimension/Structures.dm @@ -3,7 +3,7 @@ /////////////////////////////////////// /obj/multiz - icon = 'multiz.dmi' + icon = 'code/TriDimension/multiz.dmi' density = 0 opacity = 0 anchored = 1 diff --git a/code/WorkInProgress/AI_Visibility/_old_AI_Visibility.dm b/code/WorkInProgress/AI_Visibility/_old_AI_Visibility.dm index fb7aab4dd09..9b50c74f686 100644 --- a/code/WorkInProgress/AI_Visibility/_old_AI_Visibility.dm +++ b/code/WorkInProgress/AI_Visibility/_old_AI_Visibility.dm @@ -45,7 +45,7 @@ var/minimap_updating = 0 - var/icon/minimap_icon = new('minimap.dmi', "chunk_base") + var/icon/minimap_icon = new('icons/minimap.dmi', "chunk_base") var/obj/minimap_obj/minimap_obj = new() /obj/minimap_obj/Click(location, control, params) @@ -243,7 +243,7 @@ if(!(t in visibleTurfs)) if(!t.obscured) - t.obscured = image('cameravis.dmi', t, "black", 15) + t.obscured = image('icons/effects/cameravis.dmi', t, "black", 15) obscured += t.obscured for(var/mob/aiEye/m in seenby) @@ -253,7 +253,7 @@ for(var/turf/t in dimAdded) if(!(t in visibleTurfs)) if(!t.dim) - t.dim = image('cameravis.dmi', t, "dim", 15) + t.dim = image('icons/effects/cameravis.dmi', t, "dim", 15) t.mouse_opacity = 0 dim += t.dim @@ -277,7 +277,7 @@ for(var/turf/t in visRemoved) if(t in obscuredTurfs) if(!t.obscured) - t.obscured = image('cameravis.dmi', t, "black", 15) + t.obscured = image('icons/effects/cameravis.dmi', t, "black", 15) obscured += t.obscured for(var/mob/aiEye/m in seenby) @@ -313,14 +313,14 @@ for(var/turf/t in obscuredTurfs) if(!t.obscured) - t.obscured = image('cameravis.dmi', t, "black", 15) + t.obscured = image('icons/effects/cameravis.dmi', t, "black", 15) obscured += t.obscured for(var/turf/t in dimTurfs) if(!(t in visibleTurfs)) if(!t.dim) - t.dim = image('cameravis.dmi', t, "dim", TURF_LAYER) + t.dim = image('icons/effects/cameravis.dmi', t, "dim", TURF_LAYER) t.dim.mouse_opacity = 0 dim += t.dim diff --git a/code/WorkInProgress/AI_Visibility/chunk.dm b/code/WorkInProgress/AI_Visibility/chunk.dm index 2677dd67f34..8a6886a1ade 100644 --- a/code/WorkInProgress/AI_Visibility/chunk.dm +++ b/code/WorkInProgress/AI_Visibility/chunk.dm @@ -22,7 +22,7 @@ var/z - var/icon/minimap_icon = new('minimap.dmi', "chunk_base") + var/icon/minimap_icon = new('icons/minimap.dmi', "chunk_base") var/obj/minimap_obj/minimap_obj = new() @@ -77,13 +77,13 @@ for(var/turf/t in obscuredTurfs) if(!t.obscured) - t.obscured = image('cameravis.dmi', t, "black", 15) + t.obscured = image('icons/effects/cameravis.dmi', t, "black", 15) obscured += t.obscured for(var/turf/t in dimTurfs) if(!t.dim) - t.dim = image('cameravis.dmi', t, "dim", TURF_LAYER) + t.dim = image('icons/effects/cameravis.dmi', t, "dim", TURF_LAYER) t.dim.mouse_opacity = 0 dim += t.dim @@ -184,7 +184,7 @@ if(!(t in visibleTurfs)) if(!t.obscured) - t.obscured = image('cameravis.dmi', t, "black", 15) + t.obscured = image('icons/effects/cameravis.dmi', t, "black", 15) obscured += t.obscured images_added += t.obscured @@ -192,7 +192,7 @@ for(var/turf/t in dimAdded) if(!(t in visibleTurfs)) if(!t.dim) - t.dim = image('cameravis.dmi', t, "dim", 15) + t.dim = image('icons/effects/cameravis.dmi', t, "dim", 15) t.dim.mouse_opacity = 0 dim += t.dim @@ -210,7 +210,7 @@ for(var/turf/t in visRemoved) if(t in obscuredTurfs) if(!t.obscured) - t.obscured = image('cameravis.dmi', t, "black", 15) + t.obscured = image('icons/effects/cameravis.dmi', t, "black", 15) obscured += t.obscured images_added += t.obscured diff --git a/code/WorkInProgress/Apples/artifacts.dm b/code/WorkInProgress/Apples/artifacts.dm index bcb07582c12..242a17074e8 100644 --- a/code/WorkInProgress/Apples/artifacts.dm +++ b/code/WorkInProgress/Apples/artifacts.dm @@ -1,7 +1,7 @@ /obj/item/changestone name = "An uncut ruby" desc = "The ruby shines and catches the light, despite being uncut" - icon = 'artifacts.dmi' + icon = 'icons/obj/artifacts.dmi' icon_state = "changerock" obj/item/changestone/attack_hand(var/mob/user as mob) diff --git a/code/WorkInProgress/Cael_Aislinn/Economy/Accounts.dm b/code/WorkInProgress/Cael_Aislinn/Economy/Accounts.dm index 7fcd57eefd3..d015d8ab420 100644 --- a/code/WorkInProgress/Cael_Aislinn/Economy/Accounts.dm +++ b/code/WorkInProgress/Cael_Aislinn/Economy/Accounts.dm @@ -136,7 +136,7 @@ var/global/list/all_money_accounts = list() /obj/machinery/account_database name = "Accounts database" desc = "Holds transaction logs, account data and all kinds of other financial records." - icon = 'virology.dmi' + icon = 'icons/obj/virology.dmi' icon_state = "analyser" density = 1 req_one_access = list(access_hop, access_captain) diff --git a/code/WorkInProgress/Cael_Aislinn/Economy/EFTPOS.dm b/code/WorkInProgress/Cael_Aislinn/Economy/EFTPOS.dm index 7a00499be4f..5237df97d93 100644 --- a/code/WorkInProgress/Cael_Aislinn/Economy/EFTPOS.dm +++ b/code/WorkInProgress/Cael_Aislinn/Economy/EFTPOS.dm @@ -201,7 +201,7 @@ var/datum/money_account/D = linked_db.attempt_account_access(C.associated_account_number, attempt_pin, 2) if(D) if(transaction_amount <= D.money) - playsound(src, 'chime.ogg', 50, 1) + playsound(src, 'sound/machines/chime.ogg', 50, 1) src.visible_message("\icon[src] The [src] chimes.") transaction_paid = 1 diff --git a/code/WorkInProgress/Cael_Aislinn/Jungle/jungle_animals.dm b/code/WorkInProgress/Cael_Aislinn/Jungle/jungle_animals.dm index 81f1607d69d..a2e1f1c4b98 100644 --- a/code/WorkInProgress/Cael_Aislinn/Jungle/jungle_animals.dm +++ b/code/WorkInProgress/Cael_Aislinn/Jungle/jungle_animals.dm @@ -50,7 +50,7 @@ /mob/living/simple_animal/hostile/panther name = "panther" desc = "A long sleek, black cat with sharp teeth and claws." - icon = 'jungle.dmi' + icon = 'code/WorkInProgress/Cael_Aislinn/Jungle/jungle.dmi' icon_state = "panther" icon_living = "panther" icon_dead = "panther_dead" @@ -108,7 +108,7 @@ /mob/living/simple_animal/hostile/snake name = "snake" desc = "A sinuously coiled, venomous looking reptile." - icon = 'jungle.dmi' + icon = 'code/WorkInProgress/Cael_Aislinn/Jungle/jungle.dmi' icon_state = "snake" icon_living = "snake" icon_dead = "snake_dead" diff --git a/code/WorkInProgress/Cael_Aislinn/Jungle/jungle_plants.dm b/code/WorkInProgress/Cael_Aislinn/Jungle/jungle_plants.dm index b78048b0417..5a0f955df30 100644 --- a/code/WorkInProgress/Cael_Aislinn/Jungle/jungle_plants.dm +++ b/code/WorkInProgress/Cael_Aislinn/Jungle/jungle_plants.dm @@ -5,7 +5,7 @@ /obj/structure/bush name = "foliage" desc = "Pretty thick scrub, it'll take something sharp and a lot of determination to clear away." - icon = 'jungle.dmi' + icon = 'code/WorkInProgress/Cael_Aislinn/Jungle/jungle.dmi' icon_state = "bush1" density = 1 anchored = 1 @@ -68,12 +68,12 @@ var/jungle_plants_init = 0 seed = "" name = "jungle fruit" desc = "It smells weird and looks off." - icon = 'jungle.dmi' + icon = 'code/WorkInProgress/Cael_Aislinn/Jungle/jungle.dmi' icon_state = "orange" potency = 1 /obj/structure/jungle_plant - icon = 'jungle.dmi' + icon = 'code/WorkInProgress/Cael_Aislinn/Jungle/jungle.dmi' icon_state = "plant1" desc = "Looks like some of that fruit might be edible." var/fruits_left = 3 @@ -92,7 +92,7 @@ var/jungle_plants_init = 0 fruit_type = rand(1,7) icon_state = "plant[fruit_type]" fruits_left = rand(1,5) - fruit_overlay = icon('jungle.dmi',"fruit[fruits_left]") + fruit_overlay = icon('code/WorkInProgress/Cael_Aislinn/Jungle/jungle.dmi',"fruit[fruits_left]") fruit_r = 255 - fruit_type * 36 fruit_g = rand(1,255) fruit_b = fruit_type * 36 @@ -113,7 +113,7 @@ var/jungle_plants_init = 0 J.attack_hand(user) overlays -= fruit_overlay - fruit_overlay = icon('jungle.dmi',"fruit[fruits_left]") + fruit_overlay = icon('code/WorkInProgress/Cael_Aislinn/Jungle/jungle.dmi',"fruit[fruits_left]") fruit_overlay.Blend(rgb(fruit_r, fruit_g, fruit_b), ICON_ADD) overlays += fruit_overlay else diff --git a/code/WorkInProgress/Cael_Aislinn/Jungle/jungle_temple.dm b/code/WorkInProgress/Cael_Aislinn/Jungle/jungle_temple.dm index c34cce4e3de..43292f02f2d 100644 --- a/code/WorkInProgress/Cael_Aislinn/Jungle/jungle_temple.dm +++ b/code/WorkInProgress/Cael_Aislinn/Jungle/jungle_temple.dm @@ -3,37 +3,37 @@ /area/jungle/temple_one name = "temple" lighting_use_dynamic = 1 - icon = 'jungle.dmi' + icon = 'code/WorkInProgress/Cael_Aislinn/Jungle/jungle.dmi' icon_state = "temple1" /area/jungle/temple_two name = "temple" lighting_use_dynamic = 1 - icon = 'jungle.dmi' + icon = 'code/WorkInProgress/Cael_Aislinn/Jungle/jungle.dmi' icon_state = "temple2" /area/jungle/temple_three name = "temple" lighting_use_dynamic = 1 - icon = 'jungle.dmi' + icon = 'code/WorkInProgress/Cael_Aislinn/Jungle/jungle.dmi' icon_state = "temple3" /area/jungle/temple_four name = "temple" lighting_use_dynamic = 1 - icon = 'jungle.dmi' + icon = 'code/WorkInProgress/Cael_Aislinn/Jungle/jungle.dmi' icon_state = "temple4" /area/jungle/temple_five name = "temple" lighting_use_dynamic = 1 - icon = 'jungle.dmi' + icon = 'code/WorkInProgress/Cael_Aislinn/Jungle/jungle.dmi' icon_state = "temple5" /area/jungle/temple_six name = "temple" lighting_use_dynamic = 1 - icon = 'jungle.dmi' + icon = 'code/WorkInProgress/Cael_Aislinn/Jungle/jungle.dmi' icon_state = "temple6" /obj/effect/landmark/door_spawner @@ -284,7 +284,7 @@ /obj/effect/step_trigger/trap name = "trap" icon = 'code/workinprogress/cael_aislinn/jungle/jungle.dmi' - icon = 'jungle.dmi' + icon = 'code/WorkInProgress/Cael_Aislinn/Jungle/jungle.dmi' icon_state = "trap" var/trap_type @@ -309,7 +309,7 @@ M.apply_damage(rand(5,10), BRUTE) var/atom/myloc = src.loc - var/image/flicker = image('jungle.dmi',"sawblade") + var/image/flicker = image('code/WorkInProgress/Cael_Aislinn/Jungle/jungle.dmi',"sawblade") myloc.overlays += flicker spawn(8) myloc.overlays -= flicker @@ -320,7 +320,7 @@ M.apply_damage(rand(5,10), TOX) var/atom/myloc = src.loc - var/image/flicker = image('jungle.dmi',"dart[rand(1,3)]") + var/image/flicker = image('code/WorkInProgress/Cael_Aislinn/Jungle/jungle.dmi',"dart[rand(1,3)]") myloc.overlays += flicker spawn(8) myloc.overlays -= flicker @@ -331,7 +331,7 @@ M.apply_damage(rand(5,10), BURN) var/atom/myloc = src.loc - var/image/flicker = image('jungle.dmi',"flameburst") + var/image/flicker = image('code/WorkInProgress/Cael_Aislinn/Jungle/jungle.dmi',"flameburst") myloc.overlays += flicker spawn(8) myloc.overlays -= flicker @@ -347,7 +347,7 @@ M.visible_message("\red The floor under [M] suddenly tips upward!","\red The floor tips upward under you!") var/atom/myloc = src.loc - var/image/flicker = image('jungle.dmi',"throw[throw_dir]") + var/image/flicker = image('code/WorkInProgress/Cael_Aislinn/Jungle/jungle.dmi',"throw[throw_dir]") myloc.overlays += flicker var/turf/my_turf = get_turf(loc) if(!my_turf.density) diff --git a/code/WorkInProgress/Cael_Aislinn/Jungle/jungle_tribe.dm b/code/WorkInProgress/Cael_Aislinn/Jungle/jungle_tribe.dm index 9cf9b17c887..46ad23cedff 100644 --- a/code/WorkInProgress/Cael_Aislinn/Jungle/jungle_tribe.dm +++ b/code/WorkInProgress/Cael_Aislinn/Jungle/jungle_tribe.dm @@ -8,7 +8,7 @@ /obj/effect/jungle_tribe_spawn name = "campfire" desc = "Looks cosy, in an alien sort of way." - icon = 'jungle.dmi' + icon = 'code/WorkInProgress/Cael_Aislinn/Jungle/jungle.dmi' icon_state = "campfire" anchored = 1 var/list/tribesmen = list() @@ -46,7 +46,7 @@ /mob/living/simple_animal/hostile/tribesman name = "tribesman" desc = "A noble savage, doesn't seem to know what to make of you." - icon = 'jungle.dmi' + icon = 'code/WorkInProgress/Cael_Aislinn/Jungle/jungle.dmi' icon_state = "native1" icon_living = "native1" icon_dead = "native1_dead" diff --git a/code/WorkInProgress/Cael_Aislinn/Jungle/jungle_turfs.dm b/code/WorkInProgress/Cael_Aislinn/Jungle/jungle_turfs.dm index a2275490ef8..7be8108d1f7 100644 --- a/code/WorkInProgress/Cael_Aislinn/Jungle/jungle_turfs.dm +++ b/code/WorkInProgress/Cael_Aislinn/Jungle/jungle_turfs.dm @@ -4,7 +4,7 @@ var/plants_spawn = 1 name = "wet grass" desc = "Thick, long wet grass" - icon = 'jungle.dmi' + icon = 'code/WorkInProgress/Cael_Aislinn/Jungle/jungle.dmi' icon_state = "grass1" var/icon_spawn_state = "grass1" luminosity = 3 @@ -16,7 +16,7 @@ if(prob(90)) var/image/I if(prob(35)) - I = image('jungle.dmi',"plant[rand(1,7)]") + I = image('code/WorkInProgress/Cael_Aislinn/Jungle/jungle.dmi',"plant[rand(1,7)]") else if(prob(30)) I = image('icons/obj/flora/ausflora.dmi',"reedbush_[rand(1,4)]") @@ -46,7 +46,7 @@ bushes_spawn = 0 name = "wet grass" desc = "thick, long wet grass" - icon = 'jungle.dmi' + icon = 'code/WorkInProgress/Cael_Aislinn/Jungle/jungle.dmi' icon_state = "grass_path" icon_spawn_state = "grass2" diff --git a/code/WorkInProgress/Cael_Aislinn/Rust/core_field.dm b/code/WorkInProgress/Cael_Aislinn/Rust/core_field.dm index 357b4277f84..09ac351d907 100644 --- a/code/WorkInProgress/Cael_Aislinn/Rust/core_field.dm +++ b/code/WorkInProgress/Cael_Aislinn/Rust/core_field.dm @@ -266,7 +266,7 @@ Deuterium-tritium fusion: 4.5 x 10^7 K switch(newsize) if(1) size = 1 - icon = 'rust.dmi' + icon = 'code/WorkInProgress/Cael_Aislinn/Rust/rust.dmi' icon_state = "emfield_s1" pixel_x = 0 pixel_y = 0 @@ -274,7 +274,7 @@ Deuterium-tritium fusion: 4.5 x 10^7 K changed = 1 if(3) size = 3 - icon = '96x96.dmi' + icon = 'icons/effects/96x96.dmi' icon_state = "emfield_s3" pixel_x = -32 pixel_y = -32 @@ -282,7 +282,7 @@ Deuterium-tritium fusion: 4.5 x 10^7 K changed = 3 if(5) size = 5 - icon = '160x160.dmi' + icon = 'icons/effects/160x160.dmi' icon_state = "emfield_s5" pixel_x = -64 pixel_y = -64 @@ -290,7 +290,7 @@ Deuterium-tritium fusion: 4.5 x 10^7 K changed = 5 if(7) size = 7 - icon = '224x224.dmi' + icon = 'icons/effects/224x224.dmi' icon_state = "emfield_s7" pixel_x = -96 pixel_y = -96 diff --git a/code/WorkInProgress/Cael_Aislinn/Rust/gyrotron.dm b/code/WorkInProgress/Cael_Aislinn/Rust/gyrotron.dm index ba12179bf60..f375716b21e 100644 --- a/code/WorkInProgress/Cael_Aislinn/Rust/gyrotron.dm +++ b/code/WorkInProgress/Cael_Aislinn/Rust/gyrotron.dm @@ -90,7 +90,7 @@ return /* var/obj/item/projectile/beam/emitter/A = new /obj/item/projectile/beam/emitter( src.loc ) - playsound(src.loc, 'emitter.ogg', 25, 1) + playsound(src.loc, 'sound/weapons/emitter.ogg', 25, 1) if(prob(35)) var/datum/effect/effect/system/spark_spread/s = new /datum/effect/effect/system/spark_spread s.set_up(5, 1, src) @@ -119,7 +119,7 @@ A.damage = mega_energy * 500 // A.icon_state = "emitter" - playsound(src.loc, 'emitter.ogg', 25, 1) + playsound(src.loc, 'sound/weapons/emitter.ogg', 25, 1) use_power(100 * mega_energy + 500) /*if(prob(35)) var/datum/effect/effect/system/spark_spread/s = new /datum/effect/effect/system/spark_spread diff --git a/code/WorkInProgress/Cael_Aislinn/Rust/virtual_particle_catcher.dm b/code/WorkInProgress/Cael_Aislinn/Rust/virtual_particle_catcher.dm index 39110653848..2d32a9a7855 100644 --- a/code/WorkInProgress/Cael_Aislinn/Rust/virtual_particle_catcher.dm +++ b/code/WorkInProgress/Cael_Aislinn/Rust/virtual_particle_catcher.dm @@ -1,7 +1,7 @@ //gimmicky hack to collect particles and direct them into the field /obj/effect/rust_particle_catcher - icon = 'effects.dmi' + icon = 'icons/effects/effects.dmi' density = 0 anchored = 1 layer = 4 diff --git a/code/WorkInProgress/Cael_Aislinn/ShieldGen/energy_field.dm b/code/WorkInProgress/Cael_Aislinn/ShieldGen/energy_field.dm index a544bce299f..4ebfda0024d 100644 --- a/code/WorkInProgress/Cael_Aislinn/ShieldGen/energy_field.dm +++ b/code/WorkInProgress/Cael_Aislinn/ShieldGen/energy_field.dm @@ -4,7 +4,7 @@ /obj/effect/energy_field name = "energy field" desc = "Impenetrable field of energy, capable of blocking anything as long as it's active." - icon = 'shielding.dmi' + icon = 'code/WorkInProgress/Cael_Aislinn/ShieldGen/shielding.dmi' icon_state = "shieldsparkles" anchored = 1 layer = 4.1 //just above mobs diff --git a/code/WorkInProgress/Cael_Aislinn/ShieldGen/shield_capacitor.dm b/code/WorkInProgress/Cael_Aislinn/ShieldGen/shield_capacitor.dm index 9ea07f119b5..25825c489a4 100644 --- a/code/WorkInProgress/Cael_Aislinn/ShieldGen/shield_capacitor.dm +++ b/code/WorkInProgress/Cael_Aislinn/ShieldGen/shield_capacitor.dm @@ -5,7 +5,7 @@ /obj/machinery/shield_capacitor name = "shield capacitor" desc = "Machine that charges a shield generator." - icon = 'shielding.dmi' + icon = 'code/WorkInProgress/Cael_Aislinn/ShieldGen/shielding.dmi' icon_state = "capacitor" var/active = 1 density = 1 diff --git a/code/WorkInProgress/Cael_Aislinn/ShieldGen/shield_gen.dm b/code/WorkInProgress/Cael_Aislinn/ShieldGen/shield_gen.dm index 8463f45e937..b252ae7fb96 100644 --- a/code/WorkInProgress/Cael_Aislinn/ShieldGen/shield_gen.dm +++ b/code/WorkInProgress/Cael_Aislinn/ShieldGen/shield_gen.dm @@ -8,7 +8,7 @@ /obj/machinery/shield_gen name = "shield generator" desc = "Machine that generates an impenetrable field of energy when activated." - icon = 'shielding.dmi' + icon = 'code/WorkInProgress/Cael_Aislinn/ShieldGen/shielding.dmi' icon_state = "generator0" var/active = 0 var/field_radius = 3 diff --git a/code/WorkInProgress/Cael_Aislinn/Supermatter/Laser2.dm b/code/WorkInProgress/Cael_Aislinn/Supermatter/Laser2.dm index ea1b3a92e8a..38032c459ca 100644 --- a/code/WorkInProgress/Cael_Aislinn/Supermatter/Laser2.dm +++ b/code/WorkInProgress/Cael_Aislinn/Supermatter/Laser2.dm @@ -8,7 +8,7 @@ var/state = 1.0 //var/obj/beam/e_beam/first var/power = 500 - icon = 'engine.dmi' + icon = 'icons/obj/engine.dmi' icon_state = "laser" anchored = 1 var/id @@ -44,7 +44,7 @@ /* /obj/beam/e_beam name = "Laser beam" - icon = 'projectiles.dmi' + icon = 'icons/obj/projectiles.dmi' icon_state = "u_laser" var/obj/machinery/engine/laser/master = null var/obj/beam/e_beam/next = null diff --git a/code/WorkInProgress/Cael_Aislinn/Supermatter/SuperMatter.dm b/code/WorkInProgress/Cael_Aislinn/Supermatter/SuperMatter.dm index b78514f5257..fd3bf8eea6e 100644 --- a/code/WorkInProgress/Cael_Aislinn/Supermatter/SuperMatter.dm +++ b/code/WorkInProgress/Cael_Aislinn/Supermatter/SuperMatter.dm @@ -21,7 +21,7 @@ /obj/machinery/power/supermatter name = "Supermatter" desc = "A strangely translucent and iridescent crystal. \red You get headaches just from looking at it." - icon = 'engine.dmi' + icon = 'icons/obj/engine.dmi' icon_state = "darkmatter" density = 1 anchored = 0 diff --git a/code/WorkInProgress/Cael_Aislinn/Supermatter/ZeroPointLaser.dm b/code/WorkInProgress/Cael_Aislinn/Supermatter/ZeroPointLaser.dm index 4333964be7d..04c07733df2 100644 --- a/code/WorkInProgress/Cael_Aislinn/Supermatter/ZeroPointLaser.dm +++ b/code/WorkInProgress/Cael_Aislinn/Supermatter/ZeroPointLaser.dm @@ -3,7 +3,7 @@ /obj/machinery/zero_point_emitter name = "Zero-point laser" desc = "A super-powerful laser" - icon = 'engine.dmi' + icon = 'icons/obj/engine.dmi' icon_state = "laser" anchored = 0 density = 1 diff --git a/code/WorkInProgress/Cael_Aislinn/meteor_battery.dm b/code/WorkInProgress/Cael_Aislinn/meteor_battery.dm index b374bf2c0bd..85bcc084b7a 100644 --- a/code/WorkInProgress/Cael_Aislinn/meteor_battery.dm +++ b/code/WorkInProgress/Cael_Aislinn/meteor_battery.dm @@ -4,7 +4,7 @@ /obj/item/projectile/missile name = "missile" - icon = 'meteor_turret.dmi' + icon = 'code/WorkInProgress/Cael_Aislinn/meteor_turret.dmi' icon_state = "missile" var/turf/target var/tracking = 0 @@ -39,7 +39,7 @@ /obj/machinery/meteor_battery name = "meteor battery" - icon = 'meteor_turret.dmi' + icon = 'code/WorkInProgress/Cael_Aislinn/meteor_turret.dmi' icon_state = "turret0" var/raised = 0 var/enabled = 1 @@ -217,7 +217,7 @@ /obj/machinery/meteor_battery/attackby(obj/item/weapon/W, mob/user)//I can't believe no one added this before/N ..() - playsound(src.loc, 'smash.ogg', 60, 1) + playsound(src.loc, 'sound/weapons/smash.ogg', 60, 1) src.spark_system.start() src.health -= W.force * 0.5 if (src.health <= 0) @@ -249,7 +249,7 @@ /obj/machinery/meteor_battery/attack_alien(mob/living/carbon/alien/humanoid/M as mob) if(!(stat & BROKEN)) - playsound(src.loc, 'slash.ogg', 25, 1, -1) + playsound(src.loc, 'sound/weapons/slash.ogg', 25, 1, -1) for(var/mob/O in viewers(src, null)) if ((O.client && !( O.blinded ))) O.show_message(text("\red [] has slashed at []!", M, src), 1) diff --git a/code/WorkInProgress/Cael_Aislinn/sculpture.dm b/code/WorkInProgress/Cael_Aislinn/sculpture.dm index 314430a346f..2ecc98a4aec 100644 --- a/code/WorkInProgress/Cael_Aislinn/sculpture.dm +++ b/code/WorkInProgress/Cael_Aislinn/sculpture.dm @@ -5,7 +5,7 @@ name = "\improper sculpture" real_name = "sculpture" desc = "It's some kind of human sized, doll-like sculpture, with weird discolourations on some parts of it. It appears to be quite solid. " - icon = 'unknown.dmi' + icon = 'code/WorkInProgress/Cael_Aislinn/unknown.dmi' icon_state = "sculpture" icon_living = "sculpture" icon_dead = "sculpture" @@ -30,7 +30,7 @@ G.synch() target.LAssailant = src - playsound(loc, 'thudswoosh.ogg', 50, 1, -1) + playsound(loc, 'sound/weapons/thudswoosh.ogg', 50, 1, -1) visible_message("\red [src] has grabbed [target]!") target << "\red You feel something suddenly grab you around the neck from behind! Everything goes black..." diff --git a/code/WorkInProgress/Chinsky/ashtray.dm b/code/WorkInProgress/Chinsky/ashtray.dm index 1af757b962c..ab3a6362515 100644 --- a/code/WorkInProgress/Chinsky/ashtray.dm +++ b/code/WorkInProgress/Chinsky/ashtray.dm @@ -1,5 +1,5 @@ /obj/item/ashtray - icon = 'ashtray.dmi' + icon = 'icons/ashtray.dmi' var/ max_butts = 0 empty_desc = "" diff --git a/code/WorkInProgress/Cib/amorph/amorph_attack.dm b/code/WorkInProgress/Cib/amorph/amorph_attack.dm index c103d1be67c..188c682033d 100644 --- a/code/WorkInProgress/Cib/amorph/amorph_attack.dm +++ b/code/WorkInProgress/Cib/amorph/amorph_attack.dm @@ -16,7 +16,7 @@ return if (health > 0) attacked += 10 - playsound(loc, 'bite.ogg', 50, 1, -1) + playsound(loc, 'sound/weapons/bite.ogg', 50, 1, -1) for(var/mob/O in viewers(src, null)) if ((O.client && !( O.blinded ))) O.show_message(text("\red [M.name] has bit [src]!"), 1) @@ -71,14 +71,14 @@ playsound(loc, "punch", 25, 1, -1) else if(M.type == /mob/living/carbon/human/tajaran) damage += 10 - playsound(loc, 'slice.ogg', 25, 1, -1) + playsound(loc, 'sound/weapons/slice.ogg', 25, 1, -1) adjustBruteLoss(damage/10) updatehealth() else if(M.type != /mob/living/carbon/human/tajaran) - playsound(loc, 'punchmiss.ogg', 25, 1, -1) + playsound(loc, 'sound/weapons/punchmiss.ogg', 25, 1, -1) else if(M.type == /mob/living/carbon/human/tajaran) - playsound(loc, 'slashmiss.ogg', 25, 1, -1) + playsound(loc, 'sound/weapons/slashmiss.ogg', 25, 1, -1) for(var/mob/O in viewers(src, null)) if ((O.client && !( O.blinded ))) O.show_message(text("\red [] has attempted to [attack_verb] [name]!", M), 1) @@ -100,14 +100,14 @@ LAssailant = M - playsound(loc, 'thudswoosh.ogg', 50, 1, -1) + playsound(loc, 'sound/weapons/thudswoosh.ogg', 50, 1, -1) for(var/mob/O in viewers(src, null)) O.show_message(text("\red [] has grabbed [name] passively!", M), 1) else if (!( paralysis )) drop_item() - playsound(loc, 'thudswoosh.ogg', 50, 1, -1) + playsound(loc, 'sound/weapons/thudswoosh.ogg', 50, 1, -1) for(var/mob/O in viewers(src, null)) if ((O.client && !( O.blinded ))) O.show_message(text("\red [] has disarmed [name]!", M), 1) @@ -125,7 +125,7 @@ if ("hurt") if ((prob(95) && health > 0)) - playsound(loc, 'slice.ogg', 25, 1, -1) + playsound(loc, 'sound/weapons/slice.ogg', 25, 1, -1) var/damage = rand(15, 30) for(var/mob/O in viewers(src, null)) if ((O.client && !( O.blinded ))) @@ -134,7 +134,7 @@ updatehealth() react_to_attack(M) else - playsound(loc, 'slashmiss.ogg', 25, 1, -1) + playsound(loc, 'sound/weapons/slashmiss.ogg', 25, 1, -1) for(var/mob/O in viewers(src, null)) if ((O.client && !( O.blinded ))) O.show_message(text("\red [] has attempted to lunge at [name]!", M), 1) @@ -155,12 +155,12 @@ LAssailant = M - playsound(loc, 'thudswoosh.ogg', 50, 1, -1) + playsound(loc, 'sound/weapons/thudswoosh.ogg', 50, 1, -1) for(var/mob/O in viewers(src, null)) O.show_message(text("\red [] has grabbed [name] passively!", M), 1) if ("disarm") - playsound(loc, 'pierce.ogg', 25, 1, -1) + playsound(loc, 'sound/weapons/pierce.ogg', 25, 1, -1) var/damage = 5 if(prob(95)) Weaken(rand(10,15)) diff --git a/code/WorkInProgress/Cib/amorph/amorph_hud.dm b/code/WorkInProgress/Cib/amorph/amorph_hud.dm index efd9ad65a65..c9a4ef0cc9c 100644 --- a/code/WorkInProgress/Cib/amorph/amorph_hud.dm +++ b/code/WorkInProgress/Cib/amorph/amorph_hud.dm @@ -1,4 +1,4 @@ -/obj/hud/proc/amorph_hud(var/ui_style='screen1_old.dmi') +/obj/hud/proc/amorph_hud(var/ui_style='icons/mob/screen1_old.dmi') src.adding = list( ) src.other = list( ) @@ -285,7 +285,7 @@ mymob.zone_sel = new /obj/screen/zone_sel( null ) mymob.zone_sel.overlays = null - mymob.zone_sel.overlays += image("icon" = 'zone_sel.dmi', "icon_state" = text("[]", mymob.zone_sel.selecting)) + mymob.zone_sel.overlays += image("icon" = 'icons/mob/zone_sel.dmi', "icon_state" = text("[]", mymob.zone_sel.selecting)) //Handle the gun settings buttons mymob.gun_setting_icon = new /obj/screen/gun/mode(null) diff --git a/code/WorkInProgress/Mini/ATM.dm b/code/WorkInProgress/Mini/ATM.dm index 97b056a2ca6..dc8f9150686 100644 --- a/code/WorkInProgress/Mini/ATM.dm +++ b/code/WorkInProgress/Mini/ATM.dm @@ -17,7 +17,7 @@ log transactions /obj/machinery/atm name = "NanoTrasen Automatic Teller Machine" desc = "For all your monetary needs!" - icon = 'terminals.dmi' + icon = 'icons/obj/terminals.dmi' icon_state = "atm" anchored = 1 use_power = 1 @@ -253,7 +253,7 @@ log transactions if(number_incorrect_tries > max_pin_attempts) //lock down the atm ticks_left_locked_down = 30 - playsound(src, 'buzz-two.ogg', 50, 1) + playsound(src, 'sound/machines/buzz-two.ogg', 50, 1) //create an entry in the account transaction log var/datum/money_account/failed_account = linked_db.get_account(tried_account_num) @@ -268,12 +268,12 @@ log transactions else usr << "\red \icon[src] Incorrect pin/account combination entered, [max_pin_attempts - number_incorrect_tries] attempts remaining." previous_account_number = tried_account_num - playsound(src, 'buzz-sigh.ogg', 50, 1) + playsound(src, 'sound/machines/buzz-sigh.ogg', 50, 1) else usr << "\red \icon[src] incorrect pin/account combination entered." number_incorrect_tries = 0 else - playsound(src, 'twobeep.ogg', 50, 1) + playsound(src, 'sound/machines/twobeep.ogg', 50, 1) ticks_left_timeout = 120 view_screen = NO_SCREEN @@ -295,7 +295,7 @@ log transactions alert("That is not a valid amount.") else if(authenticated_account && amount > 0) if(amount <= authenticated_account.money) - playsound(src, 'chime.ogg', 50, 1) + playsound(src, 'sound/machines/chime.ogg', 50, 1) //remove the money authenticated_account.money -= amount diff --git a/code/WorkInProgress/Mini/asay_trap.dm b/code/WorkInProgress/Mini/asay_trap.dm index f12b1d78a4c..4cbd9e3c20a 100644 --- a/code/WorkInProgress/Mini/asay_trap.dm +++ b/code/WorkInProgress/Mini/asay_trap.dm @@ -1,7 +1,7 @@ /obj/effect/admin_log_trap name = "Herprpr" desc = "Stepping on this is good." - icon = 'screen1.dmi' + icon = 'icons/mob/screen1.dmi' icon_state = "x2" anchored = 1.0 unacidable = 1 diff --git a/code/WorkInProgress/Mini/atmos_control.dm b/code/WorkInProgress/Mini/atmos_control.dm index 18d063a2641..adf81eefb87 100644 --- a/code/WorkInProgress/Mini/atmos_control.dm +++ b/code/WorkInProgress/Mini/atmos_control.dm @@ -4,7 +4,7 @@ /obj/machinery/computer/atmoscontrol name = "\improper Central Atmospherics Computer" - icon = 'computer.dmi' + icon = 'icons/obj/computer.dmi' icon_state = "computer_generic" density = 1 anchored = 1.0 diff --git a/code/WorkInProgress/Mini/pipe_heater.dm b/code/WorkInProgress/Mini/pipe_heater.dm index a517e8068e7..38457584320 100644 --- a/code/WorkInProgress/Mini/pipe_heater.dm +++ b/code/WorkInProgress/Mini/pipe_heater.dm @@ -2,7 +2,7 @@ //remove this shit when someonething better is done /obj/machinery/atmospherics/unary/heat_reservoir/heater name = "Heat Regulator" - icon = 'Cryogenic2.dmi' + icon = 'icons/obj/Cryogenic2.dmi' icon_state = "freezer_0" density = 1 diff --git a/code/WorkInProgress/Ported/Abi79/uplinks.dm b/code/WorkInProgress/Ported/Abi79/uplinks.dm index 3cba4e3c6c7..58d9fa0acec 100644 --- a/code/WorkInProgress/Ported/Abi79/uplinks.dm +++ b/code/WorkInProgress/Ported/Abi79/uplinks.dm @@ -199,7 +199,7 @@ A list of items and costs is stored under the datum of every game mode, alongsid /obj/item/device/uplink/pda name = "uplink module" desc = "An electronic uplink system of unknown origin." - icon = 'module.dmi' + icon = 'icons/obj/module.dmi' icon_state = "power_mod" var/obj/item/device/pda/hostpda = null @@ -312,7 +312,7 @@ A list of items and costs is stored under the datum of every game mode, alongsid /obj/item/device/uplink/radio name = "ship bounced radio" - icon = 'radio.dmi' + icon = 'icons/obj/radio.dmi' icon_state = "radio" var/temp = null //Temporary storage area for a message offering the option to destroy the radio var/selfdestruct = 0 //Set to 1 while the radio is self destructing itself. diff --git a/code/WorkInProgress/Ported/Bureaucracy/copier.dm b/code/WorkInProgress/Ported/Bureaucracy/copier.dm index 8808e605ffa..1374dc55205 100644 --- a/code/WorkInProgress/Ported/Bureaucracy/copier.dm +++ b/code/WorkInProgress/Ported/Bureaucracy/copier.dm @@ -2,7 +2,7 @@ /obj/machinery/copier name = "Copy Machine" - icon = 'bureaucracy.dmi' + icon = 'icons/obj/bureaucracy.dmi' icon_state = "copier_o" density = 1 anchored = 1 @@ -115,7 +115,7 @@ // fx flick("copier_s", src) - playsound(src, 'polaroid1.ogg', 50, 1) + playsound(src, 'sound/items/polaroid1.ogg', 50, 1) // dup the file if(istype(template, /obj/item/weapon/paper)) diff --git a/code/WorkInProgress/Ported/Bureaucracy/filing.dm b/code/WorkInProgress/Ported/Bureaucracy/filing.dm index 47ffb29f3d9..9e5a990f55c 100644 --- a/code/WorkInProgress/Ported/Bureaucracy/filing.dm +++ b/code/WorkInProgress/Ported/Bureaucracy/filing.dm @@ -1,7 +1,7 @@ /obj/structure/filingcabinet name = "Filing Cabinet" desc = "A large cabinet with drawers." - icon = 'bureaucracy.dmi' + icon = 'icons/obj/bureaucracy.dmi' icon_state = "filingcabinet" density = 1 anchored = 1 diff --git a/code/WorkInProgress/Ported/Spawners/spawner.dm b/code/WorkInProgress/Ported/Spawners/spawner.dm index 097d8f3c410..875a05cc68e 100644 --- a/code/WorkInProgress/Ported/Spawners/spawner.dm +++ b/code/WorkInProgress/Ported/Spawners/spawner.dm @@ -3,7 +3,7 @@ /obj/spawner/bomb name = "bomb" - icon = 'screen1.dmi' + icon = 'icons/mob/screen1.dmi' icon_state = "x" var/btype = 0 //0 = radio, 1= prox, 2=time var/explosive = 1 // 0= firebomb @@ -30,7 +30,7 @@ // Going in depth: the reason we do not do a Del() in its New()is because then we cannot access its properties. // I might be doing this wrong / not knowing of a Byond function. If I'm doing it wrong, let me know please. name = "bomb" - icon = 'screen1.dmi' + icon = 'icons/mob/screen1.dmi' icon_state = "x" var/btype = 0 // 0=radio, 1=prox, 2=time var/btemp1 = 1500 diff --git a/code/WorkInProgress/Ported/policetape.dm b/code/WorkInProgress/Ported/policetape.dm index 1160a8a6dcb..58ad2f8eb68 100644 --- a/code/WorkInProgress/Ported/policetape.dm +++ b/code/WorkInProgress/Ported/policetape.dm @@ -1,7 +1,7 @@ //Define all tape types in policetape.dm /obj/item/taperoll name = "tape roll" - icon = 'policetape.dmi' + icon = 'icons/policetape.dmi' icon_state = "rollstart" flags = FPRINT w_class = 1.0 @@ -12,7 +12,7 @@ /obj/item/tape name = "tape" - icon = 'policetape.dmi' + icon = 'icons/policetape.dmi' anchored = 1 density = 1 var/icon_base diff --git a/code/WorkInProgress/SkyMarshal/Ultralight.dm b/code/WorkInProgress/SkyMarshal/Ultralight.dm index 5eeeac14beb..f5065223c97 100644 --- a/code/WorkInProgress/SkyMarshal/Ultralight.dm +++ b/code/WorkInProgress/SkyMarshal/Ultralight.dm @@ -352,7 +352,7 @@ area/proc/ul_Light(var/Red = LightLevelRed, var/Green = LightLevelGreen, var/Blu if(ul_CachedOverlay) ul_Overlay = ul_CachedOverlay else - ul_IconCache["[LightLevelRed]-[LightLevelGreen]-[LightLevelBlue]"] = image('ULIcons.dmi', , "[LightLevelRed]-[LightLevelGreen]-[LightLevelBlue]", ul_Layer) + ul_IconCache["[LightLevelRed]-[LightLevelGreen]-[LightLevelBlue]"] = image('icons/effects/ULIcons.dmi', , "[LightLevelRed]-[LightLevelGreen]-[LightLevelBlue]", ul_Layer) ul_Overlay = ul_IconCache["[LightLevelRed]-[LightLevelGreen]-[LightLevelBlue]"] overlays += ul_Overlay diff --git a/code/WorkInProgress/SkyMarshal/portalathe.dm b/code/WorkInProgress/SkyMarshal/portalathe.dm index 9fdc0e757ef..1c2ceb15b23 100644 --- a/code/WorkInProgress/SkyMarshal/portalathe.dm +++ b/code/WorkInProgress/SkyMarshal/portalathe.dm @@ -2,7 +2,7 @@ /obj/item/device/portalathe name = "portable autolathe" desc = "A device which can repair broken lights instantly. Must be advanced." - icon = 'janitor.dmi' + icon = 'icons/obj/janitor.dmi' icon_state = "portalathe" afterattack(var/atom/target, mob/user as mob) diff --git a/code/WorkInProgress/SkyMarshal/traitoritems.dm b/code/WorkInProgress/SkyMarshal/traitoritems.dm index a2b24f4f5ce..b42a36685e4 100644 --- a/code/WorkInProgress/SkyMarshal/traitoritems.dm +++ b/code/WorkInProgress/SkyMarshal/traitoritems.dm @@ -4,7 +4,7 @@ name = "eraser" desc = "It looks like some kind of eraser." flags = FPRINT | TABLEPASS - icon = 'items.dmi' + icon = 'icons/obj/items.dmi' icon_state = "zippo" item_state = "zippo" w_class = 1.0 diff --git a/code/WorkInProgress/SkyMarshal/wardrobes.dm b/code/WorkInProgress/SkyMarshal/wardrobes.dm index 2ddb9adff4a..28bd73cff7b 100755 --- a/code/WorkInProgress/SkyMarshal/wardrobes.dm +++ b/code/WorkInProgress/SkyMarshal/wardrobes.dm @@ -3,7 +3,7 @@ /obj/item/wardrobe name = "\improper Wardrobe" desc = "A standard-issue bag for clothing and equipment. Usually comes sealed, stocked with everything you need for a particular job." - icon = 'suits.dmi' + icon = 'icons/obj/clothing/suits.dmi' icon_state = "wardrobe_sealed" item_state = "wardrobe" w_class = 4 diff --git a/code/WorkInProgress/Susan/susan_desert_turfs.dm b/code/WorkInProgress/Susan/susan_desert_turfs.dm index 74c48b4c7b3..034f7ca4e32 100644 --- a/code/WorkInProgress/Susan/susan_desert_turfs.dm +++ b/code/WorkInProgress/Susan/susan_desert_turfs.dm @@ -2,7 +2,7 @@ turf/unsimulated/desert name = "desert" - icon = 'desert.dmi' + icon = 'code/WorkInProgress/Susan/desert.dmi' icon_state = "desert" temperature = 393.15 luminosity = 5 @@ -120,7 +120,7 @@ turf/simulated/wall/impassable_rock /obj/effect/alien/flesh/weeds name = "Fleshy Growth" desc = "A pulsating grouping of odd, alien tissues. It's almost like it has a heartbeat..." - icon = 'biocraps.dmi' + icon = 'code/WorkInProgress/Susan/biocraps.dmi' icon_state = "flesh" anchored = 1 @@ -130,7 +130,7 @@ turf/simulated/wall/impassable_rock /obj/effect/alien/flesh/weeds/node icon_state = "fleshnode" - icon = 'biocraps.dmi' + icon = 'code/WorkInProgress/Susan/biocraps.dmi' name = "Throbbing Pustule" desc = "A grotquese, oozing, pimple-like growth. You swear you can see something moving around in the bulb..." luminosity = NODERANGE @@ -316,7 +316,7 @@ Alien plants should do something if theres a lot of poison //hostile entities or npcs /obj/item/projectile/slimeglob - icon = 'projectiles.dmi' + icon = 'icons/obj/projectiles.dmi' icon_state = "toxin" damage = 20 damage_type = BRUTE @@ -461,7 +461,7 @@ Alien plants should do something if theres a lot of poison obj/effect/critter/fleshmonster/fleshslime name = "Flesh Slime" - icon = 'biocraps.dmi' + icon = 'code/WorkInProgress/Susan/biocraps.dmi' icon_state = "livingflesh" desc = "A creature that appears to be made out of living tissue strewn together haphazardly. Some kind of liquid bubbles from its maw." //ranged = 1 \ No newline at end of file diff --git a/code/WorkInProgress/Tastyfish/Eliza_Data.dm b/code/WorkInProgress/Tastyfish/Eliza_Data.dm index 438dd1f18a9..2fbbfb030bc 100644 --- a/code/WorkInProgress/Tastyfish/Eliza_Data.dm +++ b/code/WorkInProgress/Tastyfish/Eliza_Data.dm @@ -391,12 +391,12 @@ ai.show_message("Intercepted message from [who]: [object]") if (!pda.silent) - playsound(pda.loc, 'twobeep.ogg', 50, 1) + playsound(pda.loc, 'sound/machines/twobeep.ogg', 50, 1) for (var/mob/O in hearers(3, pda.loc)) O.show_message(text("\icon[pda] *[pda.ttone]*")) pda.overlays = null - pda.overlays += image('pda.dmi', "pda-r") + pda.overlays += image('icons/obj/pda.dmi', "pda-r") else var/list/href_list = list() href_list["src"] = "\ref[eliza.speaker.loc.loc]" diff --git a/code/WorkInProgress/Tastyfish/livestock.dm b/code/WorkInProgress/Tastyfish/livestock.dm index 4920eb805b3..f17265ba046 100644 --- a/code/WorkInProgress/Tastyfish/livestock.dm +++ b/code/WorkInProgress/Tastyfish/livestock.dm @@ -1,7 +1,7 @@ // Base Class /mob/living/simple_animal/livestock desc = "Tasty!" - icon = 'livestock.dmi' + icon = 'icons/mob/livestock.dmi' emote_see = list("shakes its head", "kicks the ground") speak_chance = 1 turns_per_move = 15 @@ -165,7 +165,7 @@ /obj/structure/closet/critter desc = "\improper Critter crate." name = "Critter Crate" - icon = 'storage.dmi' + icon = 'icons/obj/storage.dmi' icon_state = "critter" density = 1 icon_opened = "critteropen" diff --git a/code/WorkInProgress/Tastyfish/mainspipe.dm b/code/WorkInProgress/Tastyfish/mainspipe.dm index 4ef8edbe38a..e2b3acde640 100644 --- a/code/WorkInProgress/Tastyfish/mainspipe.dm +++ b/code/WorkInProgress/Tastyfish/mainspipe.dm @@ -33,7 +33,7 @@ obj/machinery/atmospherics/pipe/mains_component parent_pipe.burst() obj/machinery/atmospherics/mains_pipe - icon = 'mainspipe.dmi' + icon = 'icons/obj/atmospherics/mainspipe.dmi' layer = 2.4 //under wires with their 2.5 var/volume = 0 diff --git a/code/WorkInProgress/Tastyfish/wallmount_frame.dm b/code/WorkInProgress/Tastyfish/wallmount_frame.dm index 1134dd6a463..3a1e737d865 100644 --- a/code/WorkInProgress/Tastyfish/wallmount_frame.dm +++ b/code/WorkInProgress/Tastyfish/wallmount_frame.dm @@ -1,7 +1,7 @@ // a frame for generic wall-mounted things, such as fire alarm, status display.. // combination of apc_frame and machine_frame /obj/machinery/constructable_frame/wallmount_frame - icon = 'stock_parts.dmi' + icon = 'icons/obj/stock_parts.dmi' icon_state = "wm_0" var/wall_offset = 24 density = 0 @@ -35,7 +35,7 @@ if(1) if(istype(P, /obj/item/weapon/cable_coil)) if(P:amount >= 5) - playsound(src.loc, 'Deconstruct.ogg', 50, 1) + playsound(src.loc, 'sound/items/Deconstruct.ogg', 50, 1) user << "\blue You start to add cables to the frame." if(do_after(user, 20)) P:amount -= 5 @@ -44,7 +44,7 @@ state = 2 icon_state = "wm_1" if(istype(P, /obj/item/weapon/wrench)) - playsound(src.loc, 'Ratchet.ogg', 75, 1) + playsound(src.loc, 'sound/items/Ratchet.ogg', 75, 1) user << "\blue You dismantle the frame" new /obj/item/stack/sheet/metal(src.loc, 2) del(src) @@ -52,7 +52,7 @@ if(istype(P, /obj/item/weapon/circuitboard)) var/obj/item/weapon/circuitboard/B = P if(B.board_type == "wallmount") - playsound(src.loc, 'Deconstruct.ogg', 50, 1) + playsound(src.loc, 'sound/items/Deconstruct.ogg', 50, 1) user << "\blue You add the circuit board to the frame." circuit = P user.drop_item() @@ -76,7 +76,7 @@ else user << "\red This frame does not accept circuit boards of this type!" if(istype(P, /obj/item/weapon/wirecutters)) - playsound(src.loc, 'wirecutter.ogg', 50, 1) + playsound(src.loc, 'sound/items/Wirecutter.ogg', 50, 1) user << "\blue You remove the cables." state = 1 icon_state = "wm_0" @@ -85,7 +85,7 @@ if(3) if(istype(P, /obj/item/weapon/crowbar)) - playsound(src.loc, 'Crowbar.ogg', 50, 1) + playsound(src.loc, 'sound/items/Crowbar.ogg', 50, 1) state = 2 circuit.loc = src.loc circuit = null @@ -107,7 +107,7 @@ component_check = 0 break if(component_check) - playsound(src.loc, 'Screwdriver.ogg', 50, 1) + playsound(src.loc, 'sound/items/Screwdriver.ogg', 50, 1) var/obj/machinery/new_machine = new src.circuit.build_path(src.loc) new_machine.dir = dir if(istype(circuit, /obj/item/weapon/circuitboard/status_display)) @@ -135,7 +135,7 @@ if(istype(P, /obj/item/weapon)) for(var/I in req_components) if(istype(P, text2path(I)) && (req_components[I] > 0)) - playsound(src.loc, 'Deconstruct.ogg', 50, 1) + playsound(src.loc, 'sound/items/Deconstruct.ogg', 50, 1) if(istype(P, /obj/item/weapon/cable_coil)) var/obj/item/weapon/cable_coil/CP = P if(CP.amount > 1) diff --git a/code/WorkInProgress/Wrongnumber/weldbackpack.dm b/code/WorkInProgress/Wrongnumber/weldbackpack.dm index 6fe355e7c08..b0a9f87b235 100644 --- a/code/WorkInProgress/Wrongnumber/weldbackpack.dm +++ b/code/WorkInProgress/Wrongnumber/weldbackpack.dm @@ -2,7 +2,7 @@ name = "Welding kit" desc = "A heavy-duty, portable welding fluid carrier." slot_flags = SLOT_BACK - icon = 'storage.dmi' + icon = 'icons/obj/storage.dmi' icon_state = "welderpack" w_class = 4.0 var/max_fuel = 350 @@ -29,7 +29,7 @@ user << "\red That was close!" src.reagents.trans_to(W, T.max_fuel) user << "\blue Welder refilled!" - playsound(src.loc, 'refill.ogg', 50, 1, -6) + playsound(src.loc, 'sound/effects/refill.ogg', 50, 1, -6) return user << "\blue The tank scoffs at your insolence. It only provides services to welders." return @@ -38,7 +38,7 @@ if (istype(O, /obj/structure/reagent_dispensers/fueltank) && get_dist(src,O) <= 1 && src.reagents.total_volume < max_fuel) O.reagents.trans_to(src, max_fuel) user << "\blue You crack the cap off the top of the pack and fill it back up again from the tank." - playsound(src.loc, 'refill.ogg', 50, 1, -6) + playsound(src.loc, 'sound/effects/refill.ogg', 50, 1, -6) return else if (istype(O, /obj/structure/reagent_dispensers/fueltank) && get_dist(src,O) <= 1 && src.reagents.total_volume == max_fuel) user << "\blue The pack is already full!" diff --git a/code/WorkInProgress/animusstation/atm.dm b/code/WorkInProgress/animusstation/atm.dm index 897ae273a03..12632bf3d9e 100644 --- a/code/WorkInProgress/animusstation/atm.dm +++ b/code/WorkInProgress/animusstation/atm.dm @@ -12,7 +12,7 @@ log transactions /obj/machinery/atm name = "\improper NanoTrasen Automatic Teller Machine" desc = "For all your monetary needs!" - icon = 'terminals.dmi' + icon = 'icons/obj/terminals.dmi' icon_state = "atm" anchored = 1 use_power = 1 diff --git a/code/WorkInProgress/meteors.dm b/code/WorkInProgress/meteors.dm index 10cbf714713..ce1bafdb447 100644 --- a/code/WorkInProgress/meteors.dm +++ b/code/WorkInProgress/meteors.dm @@ -78,7 +78,7 @@ /obj/effect/meteor name = "meteor" - icon = 'meteor.dmi' + icon = 'icons/obj/meteor.dmi' icon_state = "flaming" density = 1 anchored = 1.0 @@ -105,7 +105,7 @@ shake_camera(M, 3, 1) if (A) A.meteorhit(src) - playsound(get_turf(src), 'meteorimpact.ogg', 40, 1) + playsound(get_turf(src), 'sound/effects/meteorimpact.ogg', 40, 1) if (--src.hits <= 0) if(prob(15))// && !istype(A, /obj/structure/grille)) explosion(get_turf(src), 4, 5, 6, 7, 0) @@ -138,7 +138,7 @@ A.meteorhit(src) src.hits-- return - playsound(get_turf(src), 'meteorimpact.ogg', 40, 1) + playsound(get_turf(src), 'sound/effects/meteorimpact.ogg', 40, 1) if (--src.hits <= 0) if(prob(15) && !istype(A, /obj/structure/grille)) explosion(get_turf(src), 1, 2, 3, 4, 0) diff --git a/code/ZAS/Connection.dm b/code/ZAS/Connection.dm index 8a919d50435..b26217eeb6c 100644 --- a/code/ZAS/Connection.dm +++ b/code/ZAS/Connection.dm @@ -104,8 +104,7 @@ Indirect connections will not merge the two zones after they reach equilibrium. //Disconnect zones while handling unusual conditions. // e.g. loss of a zone on a turf - if(A && A.zone && B && B.zone) - DisconnectZones(A.zone, B.zone) + DisconnectZones(zone_A, zone_B) //Finally, preform actual deletion. . = ..() @@ -400,4 +399,4 @@ Indirect connections will not merge the two zones after they reach equilibrium. #undef CONNECTION_DIRECT #undef CONNECTION_INDIRECT -#undef CONNECTION_CLOSED \ No newline at end of file +#undef CONNECTION_CLOSED diff --git a/code/ZAS/Debug.dm b/code/ZAS/Debug.dm index 807208a5a3e..6586cbaaecf 100644 --- a/code/ZAS/Debug.dm +++ b/code/ZAS/Debug.dm @@ -69,10 +69,10 @@ zone/proc/DebugDisplay(client/client) var/list/current_zone_images = list() for(var/turf/T in contents) - current_zone_images += image('debug_group.dmi', T, null, TURF_LAYER) + current_zone_images += image('icons/misc/debug_group.dmi', T, null, TURF_LAYER) for(var/turf/space/S in unsimulated_tiles) - current_zone_images += image('debug_space.dmi', S, null, TURF_LAYER) + current_zone_images += image('icons/misc/debug_space.dmi', S, null, TURF_LAYER) client << "Zone Air Contents" client << "Oxygen: [air.oxygen]" @@ -89,8 +89,8 @@ zone/proc/DebugDisplay(client/client) for(var/connection/C in connections) client << "\ref[C] [C.A] --> [C.B] [(C.indirect?"Open":"Closed")]" - current_zone_images += image('debug_connect.dmi', C.A, null, TURF_LAYER) - current_zone_images += image('debug_connect.dmi', C.B, null, TURF_LAYER) + current_zone_images += image('icons/misc/debug_connect.dmi', C.A, null, TURF_LAYER) + current_zone_images += image('icons/misc/debug_connect.dmi', C.B, null, TURF_LAYER) client << "Connected Zones:" for(var/zone/zone in connected_zones) diff --git a/code/ZAS/Fire.dm b/code/ZAS/Fire.dm index 0a9240faee3..d057bad4c3d 100644 --- a/code/ZAS/Fire.dm +++ b/code/ZAS/Fire.dm @@ -51,7 +51,7 @@ turf/simulated/hotspot_expose(exposed_temperature, exposed_volume, soh) //luminosity = 3 - icon = 'fire.dmi' + icon = 'icons/effects/fire.dmi' icon_state = "1" layer = TURF_LAYER @@ -262,7 +262,7 @@ datum/gas_mixture/proc/calculate_firelevel(obj/effect/decal/cleanable/liquid_fue //slows down the burning when the concentration of the reactants is low var/dampening_multiplier = total_combustables / (total_combustables + nitrogen + carbon_dioxide) //calculates how close the mixture of the reactants is to the optimum - var/mix_multiplier = 1 / (1 + (5 * ((oxygen / total_combustables) ^2))) + var/mix_multiplier = 1 / (1 + (5 * ((oxygen / total_combustables) ** 2))) //toss everything together firelevel = vsc.fire_firelevel_multiplier * mix_multiplier * dampening_multiplier diff --git a/code/ZAS/ZAS_Turfs.dm b/code/ZAS/ZAS_Turfs.dm index 0070a19c5d2..04af9a05283 100644 --- a/code/ZAS/ZAS_Turfs.dm +++ b/code/ZAS/ZAS_Turfs.dm @@ -50,7 +50,7 @@ var/siding_icon_state = return_siding_icon_state() if(siding_icon_state) - overlays += image('floors.dmi',siding_icon_state) + overlays += image('icons/turf/floors.dmi',siding_icon_state) var/datum/gas_mixture/model = return_air() switch(model.graphic) if(1) diff --git a/code/__HELPERS/game.dm b/code/__HELPERS/game.dm index fcdda875a79..2404b335096 100644 --- a/code/__HELPERS/game.dm +++ b/code/__HELPERS/game.dm @@ -366,4 +366,4 @@ var/list/DummyCache = list() if(delay) spawn(delay) for(var/client/C in group) - C.screen -= O + C.screen -= O diff --git a/code/__HELPERS/logging.dm b/code/__HELPERS/logging.dm index 8a5b496328e..3519417dd78 100644 --- a/code/__HELPERS/logging.dm +++ b/code/__HELPERS/logging.dm @@ -55,7 +55,7 @@ /proc/log_attack(text) if (config.log_attack) - diaryofmeanpeople << "\[[time_stamp()]]ATTACK: [text]" + diary << "\[[time_stamp()]]ATTACK: [text]" //Seperate attack logs? Why? /proc/log_adminsay(text) if (config.log_adminchat) diff --git a/code/__HELPERS/mobs.dm b/code/__HELPERS/mobs.dm index df7e4f18901..324cfad6323 100644 --- a/code/__HELPERS/mobs.dm +++ b/code/__HELPERS/mobs.dm @@ -4,9 +4,11 @@ proc/random_hair_style(gender, species = "Human") var/list/valid_hairstyles = list() for(var/hairstyle in hair_styles_list) var/datum/sprite_accessory/S = hair_styles_list[hairstyle] - if(gender != S.gender) + if(gender == MALE && S.gender == FEMALE) continue - if(!(species in S.species_allowed)) + if(gender == FEMALE && S.gender == MALE) + continue + if( !(species in S.species_allowed)) continue valid_hairstyles[hairstyle] = hair_styles_list[hairstyle] @@ -21,9 +23,11 @@ proc/random_facial_hair_style(gender, species = "Human") var/list/valid_facialhairstyles = list() for(var/facialhairstyle in facial_hair_styles_list) var/datum/sprite_accessory/S = facial_hair_styles_list[facialhairstyle] - if(gender != S.gender) + if(gender == MALE && S.gender == FEMALE) continue - if(!(species in S.species_allowed)) + if(gender == FEMALE && S.gender == MALE) + continue + if( !(species in S.species_allowed)) continue valid_facialhairstyles[facialhairstyle] = facial_hair_styles_list[facialhairstyle] diff --git a/code/__HELPERS/unsorted.dm b/code/__HELPERS/unsorted.dm index e878616cf61..07110db9fea 100644 --- a/code/__HELPERS/unsorted.dm +++ b/code/__HELPERS/unsorted.dm @@ -350,20 +350,11 @@ Turf and target are seperate in case you want to teleport some distance from a t //When an AI is activated, it can choose from a list of non-slaved borgs to have as a slave. /proc/freeborg() var/select = null - var/list/names = list() var/list/borgs = list() - var/list/namecounts = list() for (var/mob/living/silicon/robot/A in player_list) - var/name = A.real_name - if (A.stat == 2) + if (A.stat == 2 || A.connected_ai || A.scrambledcodes) continue - if (A.connected_ai) - continue - else - if(A.module) - name += " ([A.module.name])" - names.Add(name) - namecounts[name] = 1 + var/name = "[A.real_name] ([A.modtype] [A.braintype])" borgs[name] = A if (borgs.len) diff --git a/code/controllers/master_controller.dm b/code/controllers/master_controller.dm index 22a905a2070..be684e32010 100644 --- a/code/controllers/master_controller.dm +++ b/code/controllers/master_controller.dm @@ -125,11 +125,6 @@ datum/controller/game_controller/proc/process() if(!air_processing_killed) timer = world.timeofday last_thing_processed = air_master.type - air_master.tick() - air_cost = (world.timeofday - timer) / 10 // this might make atmos slower - // 1. atmos won't process if the game is generally lagged out(no deadlocks) - // 2. if the server frequently crashes during atmos processing we will knowif(!kill_air) - //src.set_debug_state("Air Master") air_master.current_cycle++ if(!air_master.tick()) //Runtimed. diff --git a/code/datums/disease.dm b/code/datums/disease.dm index 68c1bf105d3..93aa14f19b3 100644 --- a/code/datums/disease.dm +++ b/code/datums/disease.dm @@ -91,10 +91,13 @@ var/list/diseases = typesof(/datum/disease) - /datum/disease for(var/C_list in cure_list) if(istype(C_list, /list)) for(var/C_id in cure_id) - if(!affected_mob.reagents.has_reagent(C_id)) + if(affected_mob.reagents != null) result = 0 - else if(!affected_mob.reagents.has_reagent(C_list)) - result = 0 + else if(!affected_mob.reagents.has_reagent(C_id)) + result = 0 + else if(affected_mob.reagents != null) + if(!affected_mob.reagents.has_reagent(C_list)) + result = 0 return result @@ -123,10 +126,11 @@ var/list/diseases = typesof(/datum/disease) - /datum/disease source = affected_mob else //no source and no mob affected. Rogue disease. Break return - - if(affected_mob) - if(affected_mob.reagents.has_reagent("spaceacillin")) - return // Don't spread if we have spaceacillin in our system. + + if(affected_mob.reagents != null) + if(affected_mob) + if(affected_mob.reagents.has_reagent("spaceacillin")) + return // Don't spread if we have spaceacillin in our system. var/check_range = airborne_range//defaults to airborne - range 2 diff --git a/code/game/atoms.dm b/code/game/atoms.dm index 784ba44c188..44440e82885 100644 --- a/code/game/atoms.dm +++ b/code/game/atoms.dm @@ -26,8 +26,6 @@ var/mob/living/M = hit_atom M.hitby(src,speed) - log_attack("[hit_atom] ([M.ckey]) was hit by [src] thrown by ([src.fingerprintslast])") - else if(isobj(hit_atom)) var/obj/O = hit_atom if(!O.anchored) diff --git a/code/game/gamemodes/cult/ritual.dm b/code/game/gamemodes/cult/ritual.dm index 8e3a0e0251b..2d408a1a4ff 100644 --- a/code/game/gamemodes/cult/ritual.dm +++ b/code/game/gamemodes/cult/ritual.dm @@ -338,10 +338,10 @@ var/engwords = list("travel", "blood", "join", "hell", "destroy", "technology", // usr << browse(null, "window=tank") attack(mob/living/M as mob, mob/living/user as mob) + M.attack_log += text("\[[time_stamp()]\] Has had the [name] used on him by [user.name] ([user.ckey])") user.attack_log += text("\[[time_stamp()]\] Used [name] on [M.name] ([M.ckey])") - - log_attack("[user.name] ([user.ckey]) used [name] on [M.name] ([M.ckey])") + msg_admin_attack("[user.name] ([user.ckey]) used [name] on [M.name] ([M.ckey]) (JMP)") if(istype(M,/mob/dead)) M.invisibility = 0 diff --git a/code/game/gamemodes/epidemic/epidemic.dm b/code/game/gamemodes/epidemic/epidemic.dm index 60701479e1a..d0db2d66b90 100644 --- a/code/game/gamemodes/epidemic/epidemic.dm +++ b/code/game/gamemodes/epidemic/epidemic.dm @@ -68,7 +68,7 @@ comm.messagetitle.Add("Cent. Com. CONFIDENTIAL REPORT") comm.messagetext.Add(intercepttext) - world << sound('commandreport.ogg') + world << sound('sound/AI/commandreport.ogg') // add an extra law to the AI to make sure it cooperates with the heads var/extra_law = "Crew authorized to know of pathogen [virus_name]'s existence are: Heads of command, any crew member with loyalty implant. Do not allow unauthorized personnel to gain knowledge of [virus_name]. Aid authorized personnel in quarantining and neutrlizing the outbreak. This law overrides all other laws." @@ -89,7 +89,7 @@ comm.messagetitle.Add("Cent. Com. CONFIDENTIAL REPORT") comm.messagetext.Add(intercepttext) - world << sound('commandreport.ogg') + world << sound('sound/AI/commandreport.ogg') /datum/game_mode/epidemic/post_setup() @@ -194,7 +194,7 @@ ticker.mode:explosion_in_progress = 1 for(var/mob/M in world) if(M.client) - M << 'Alarm.ogg' + M << 'sound/machines/Alarm.ogg' world << "\blueIncoming missile detected.. Impact in 10.." for (var/i=9 to 1 step -1) sleep(10) diff --git a/code/game/gamemodes/events/PortalStorm.dm b/code/game/gamemodes/events/PortalStorm.dm index b071197c3a4..890755d6b8e 100644 --- a/code/game/gamemodes/events/PortalStorm.dm +++ b/code/game/gamemodes/events/PortalStorm.dm @@ -18,7 +18,7 @@ var/obj/portal/P = new /obj/portal( T ) P.target = picked P.creator = null - P.icon = 'objects.dmi' + P.icon = 'icons/obj/objects.dmi' P.failchance = 0 P.icon_state = "anom" P.name = "wormhole" diff --git a/code/game/gamemodes/events/VirusEpidemic.dm b/code/game/gamemodes/events/VirusEpidemic.dm index f44b631a207..54b9760a2f7 100644 --- a/code/game/gamemodes/events/VirusEpidemic.dm +++ b/code/game/gamemodes/events/VirusEpidemic.dm @@ -74,7 +74,7 @@ break spawn(rand(3000, 6000)) //Delayed announcements to keep the crew on their toes. command_alert("Confirmed outbreak of level 7 viral biohazard aboard [station_name()]. All personnel must contain the outbreak.", "Biohazard Alert") - world << sound('outbreak7.ogg') + world << sound('sound/AI/outbreak7.ogg') Tick() ActiveFor = Lifetime //killme diff --git a/code/game/gamemodes/game_mode.dm b/code/game/gamemodes/game_mode.dm index a78e8dd8ae0..d37dc31f8d5 100644 --- a/code/game/gamemodes/game_mode.dm +++ b/code/game/gamemodes/game_mode.dm @@ -253,7 +253,7 @@ Implants; comm.messagetitle.Add("Cent. Com. Status Summary") comm.messagetext.Add(intercepttext) - world << sound('commandreport.ogg') + world << sound('sound/AI/commandreport.ogg') /* command_alert("Summary downloaded and printed out at all communications consoles.", "Enemy communication intercept. Security Level Elevated.") for(var/mob/M in player_list) diff --git a/code/game/gamemodes/revolution/rp_revolution.dm b/code/game/gamemodes/revolution/rp_revolution.dm index 98923b49eef..6a3f6edf6fa 100644 --- a/code/game/gamemodes/revolution/rp_revolution.dm +++ b/code/game/gamemodes/revolution/rp_revolution.dm @@ -238,7 +238,7 @@ comm.messagetitle.Add("Cent. Com. Announcement") comm.messagetext.Add(message) - world << sound('commandreport.ogg') + world << sound('sound/AI/commandreport.ogg') /datum/game_mode/revolution/rp_revolution/latespawn(mob/M) if(M.mind.assigned_role in command_positions) diff --git a/code/game/gamemodes/wizard/soulstone.dm b/code/game/gamemodes/wizard/soulstone.dm index 90d48fb8409..70c655ce576 100644 --- a/code/game/gamemodes/wizard/soulstone.dm +++ b/code/game/gamemodes/wizard/soulstone.dm @@ -18,10 +18,10 @@ return ..() if(istype(M, /mob/living/carbon/human/dummy)) return..() + M.attack_log += text("\[[time_stamp()]\] Has had their soul captured with [src.name] by [user.name] ([user.ckey])") user.attack_log += text("\[[time_stamp()]\] Used the [src.name] to capture the soul of [M.name] ([M.ckey])") - - log_attack("[user.name] ([user.ckey]) used the [src.name] to capture the soul of [M.name] ([M.ckey])") + msg_admin_attack("[user.name] ([user.ckey]) used the [src.name] to capture the soul of [M.name] ([M.ckey]) (JMP)") transfer_soul("VICTIM", M, user) return diff --git a/code/game/machinery/adv_med.dm b/code/game/machinery/adv_med.dm index f2ad62d05e4..28f9bfe4126 100644 --- a/code/game/machinery/adv_med.dm +++ b/code/game/machinery/adv_med.dm @@ -5,7 +5,7 @@ var/mob/living/carbon/occupant var/locked name = "Body Scanner" - icon = 'Cryogenic2.dmi' + icon = 'icons/obj/Cryogenic2.dmi' icon_state = "body_scanner_0" density = 1 anchored = 1 @@ -167,7 +167,7 @@ var/delete var/temphtml name = "Body Scanner Console" - icon = 'Cryogenic2.dmi' + icon = 'icons/obj/Cryogenic2.dmi' icon_state = "body_scannerconsole" density = 1 anchored = 1 diff --git a/code/game/machinery/alarm.dm b/code/game/machinery/alarm.dm index ea2456cf977..37c9b674cf3 100644 --- a/code/game/machinery/alarm.dm +++ b/code/game/machinery/alarm.dm @@ -63,7 +63,7 @@ /obj/machinery/alarm name = "alarm" - icon = 'monitors.dmi' + icon = 'icons/obj/monitors.dmi' icon_state = "alarm0" anchored = 1 use_power = 1 diff --git a/code/game/machinery/atmoalter/meter.dm b/code/game/machinery/atmoalter/meter.dm index d29b1f065c0..be382551462 100644 --- a/code/game/machinery/atmoalter/meter.dm +++ b/code/game/machinery/atmoalter/meter.dm @@ -130,4 +130,4 @@ src.target = loc /obj/machinery/meter/turf/attackby(var/obj/item/weapon/W as obj, var/mob/user as mob) - return + return diff --git a/code/game/machinery/atmoalter/portable_atmospherics.dm b/code/game/machinery/atmoalter/portable_atmospherics.dm index dbfd5b62e6a..d8e45dab061 100644 --- a/code/game/machinery/atmoalter/portable_atmospherics.dm +++ b/code/game/machinery/atmoalter/portable_atmospherics.dm @@ -143,4 +143,4 @@ user << "\blue Tank is empty!" return - return + return diff --git a/code/game/machinery/bots/farmbot.dm b/code/game/machinery/bots/farmbot.dm index 5881f08ce28..fe110939a09 100644 --- a/code/game/machinery/bots/farmbot.dm +++ b/code/game/machinery/bots/farmbot.dm @@ -26,7 +26,7 @@ /obj/machinery/bot/farmbot name = "Farmbot" desc = "The botanist's best friend." - icon = 'aibots.dmi' + icon = 'icons/obj/aibots.dmi' icon_state = "farmbot0" layer = 5.0 density = 1 @@ -515,7 +515,7 @@ /obj/item/weapon/farmbot_arm_assembly name = "water tank/robot arm assembly" desc = "A water tank with a robot arm permanently grafted to it." - icon = 'aibots.dmi' + icon = 'icons/obj/aibots.dmi' icon_state = "water_arm" var/build_step = 0 var/created_name = "Farmbot" //To preserve the name if it's a unique farmbot I guess diff --git a/code/game/machinery/computer/camera.dm b/code/game/machinery/computer/camera.dm index 857d4169ea1..5352d3d833a 100644 --- a/code/game/machinery/computer/camera.dm +++ b/code/game/machinery/computer/camera.dm @@ -162,7 +162,7 @@ T = get_step(T,direct) console.jump_on_click(src,T) return - ..(n,direct) + return ..(n,direct) /obj/machinery/computer/security/telescreen name = "Telescreen" diff --git a/code/game/machinery/computer/cloning.dm b/code/game/machinery/computer/cloning.dm index e29097a0308..9c493e715dc 100644 --- a/code/game/machinery/computer/cloning.dm +++ b/code/game/machinery/computer/cloning.dm @@ -400,7 +400,7 @@ else var/mob/selected = find_dead_player("[C.fields["ckey"]]") - selected << 'chime.ogg' //probably not the best sound but I think it's reasonable + selected << 'sound/machines/chime.ogg' //probably not the best sound but I think it's reasonable var/answer = alert(selected,"Do you want to return to life?","Cloning","Yes","No") if(answer != "No" && pod1.growclone(C.fields["ckey"], C.fields["name"], C.fields["UI"], C.fields["SE"], C.fields["mind"], C.fields["mrace"], C.fields["interface"])) temp = "Initiating cloning cycle..." diff --git a/code/game/machinery/computer/specops_shuttle.dm b/code/game/machinery/computer/specops_shuttle.dm index 909364a4809..bc050c6d1d6 100644 --- a/code/game/machinery/computer/specops_shuttle.dm +++ b/code/game/machinery/computer/specops_shuttle.dm @@ -13,7 +13,7 @@ var/specops_shuttle_timeleft = 0 /obj/machinery/computer/specops_shuttle name = "Spec. Ops. Shuttle Console" - icon = 'computer.dmi' + icon = 'icons/obj/computer.dmi' icon_state = "shuttle" req_access = list(access_cent_specops) // req_access = list(ACCESS_CENT_SPECOPS) diff --git a/code/game/machinery/door_control.dm b/code/game/machinery/door_control.dm index c4e9fd0230d..63251c2b688 100644 --- a/code/game/machinery/door_control.dm +++ b/code/game/machinery/door_control.dm @@ -80,12 +80,16 @@ if(normaldoorcontrol) for(var/obj/machinery/door/airlock/D in range(range)) if(D.id_tag == src.id) + if(specialfunctions & OPEN) + if (D.density) + spawn(0) + D.open() + return + else + spawn(0) + D.close() + return if(desiredstate == 1) - if(specialfunctions & OPEN) - if (D.density) - spawn( 0 ) - D.open() - return if(specialfunctions & IDSCAN) D.aiDisabledIdScanner = 1 if(specialfunctions & BOLTS) @@ -95,13 +99,7 @@ D.secondsElectrified = -1 if(specialfunctions & SAFE) D.safe = 0 - else - if(specialfunctions & OPEN) - if (!D.density) - spawn( 0 ) - D.close() - return if(specialfunctions & IDSCAN) D.aiDisabledIdScanner = 0 if(specialfunctions & BOLTS) @@ -186,4 +184,4 @@ icon_state = "launcherbtt" active = 0 - return \ No newline at end of file + return diff --git a/code/game/machinery/doors/firedoor.dm b/code/game/machinery/doors/firedoor.dm index e05d9511e4e..4a0777903f7 100644 --- a/code/game/machinery/doors/firedoor.dm +++ b/code/game/machinery/doors/firedoor.dm @@ -3,7 +3,7 @@ /obj/machinery/door/firedoor name = "\improper Emergency Shutter" desc = "Emergency air-tight shutter, capable of sealing off breached areas." - icon = 'DoorHazard.dmi' + icon = 'icons/obj/doors/DoorHazard.dmi' icon_state = "door_open" req_one_access = list(access_atmospherics, access_engine_equip) opacity = 0 @@ -275,5 +275,5 @@ */ /obj/machinery/door/firedoor/multi_tile - icon = 'DoorHazard2x1.dmi' + icon = 'icons/obj/doors/DoorHazard2x1.dmi' width = 2 \ No newline at end of file diff --git a/code/game/machinery/floodlight.dm b/code/game/machinery/floodlight.dm index 57f1bc4be6e..b7203be245d 100644 --- a/code/game/machinery/floodlight.dm +++ b/code/game/machinery/floodlight.dm @@ -2,7 +2,7 @@ /obj/machinery/floodlight name = "Emergency Floodlight" - icon = 'floodlight.dmi' + icon = 'icons/obj/machines/floodlight.dmi' icon_state = "flood00" density = 1 var/on = 0 diff --git a/code/game/machinery/holosign.dm b/code/game/machinery/holosign.dm index de9d7d832db..073973cdee7 100644 --- a/code/game/machinery/holosign.dm +++ b/code/game/machinery/holosign.dm @@ -2,7 +2,7 @@ /obj/machinery/holosign name = "holosign" desc = "Small wall-mounted holographic projector" - icon = 'holosign.dmi' + icon = 'icons/obj/holosign.dmi' icon_state = "sign_off" layer = 4 var/lit = 0 diff --git a/code/game/machinery/kitchen/gibber.dm b/code/game/machinery/kitchen/gibber.dm index 0a8bde59dde..5441576b20b 100644 --- a/code/game/machinery/kitchen/gibber.dm +++ b/code/game/machinery/kitchen/gibber.dm @@ -155,7 +155,7 @@ src.occupant.attack_log += "\[[time_stamp()]\] Was gibbed by [user]/[user.ckey]" //One shall not simply gib a mob unnoticed! user.attack_log += "\[[time_stamp()]\] Gibbed [src.occupant]/[src.occupant.ckey]" - log_attack("\[[time_stamp()]\] [user]/[user.ckey] gibbed [src.occupant]/[src.occupant.ckey]") + msg_admin_attack("[user.name] ([user.ckey]) gibbed [src.occupant] ([src.occupant.ckey]) (JMP)") src.occupant.death(1) src.occupant.ghostize() diff --git a/code/game/machinery/records_scanner.dm b/code/game/machinery/records_scanner.dm index e5ec4bdb762..370e2f3843e 100644 --- a/code/game/machinery/records_scanner.dm +++ b/code/game/machinery/records_scanner.dm @@ -2,7 +2,7 @@ obj/machinery/scanner name = "Identity Analyser" var/outputdir = 0 - icon = 'stationobjs.dmi' + icon = 'icons/obj/stationobjs.dmi' icon_state = "scanner_idle" density = 1 anchored = 1 diff --git a/code/game/machinery/walllockers.dm b/code/game/machinery/walllockers.dm index 3ffd862fb74..e81219926f7 100644 --- a/code/game/machinery/walllockers.dm +++ b/code/game/machinery/walllockers.dm @@ -1,6 +1,6 @@ /obj/structure/walllocker name = "Wall Locker" - icon = 'lockwall.dmi' + icon = 'icons/obj/lockwall.dmi' icon_state = "emerg" var/list/spawnitems = list() anchored = 1 diff --git a/code/game/mecha/equipment/tools/tools.dm b/code/game/mecha/equipment/tools/tools.dm index a7936f15643..fd34b65baa0 100644 --- a/code/game/mecha/equipment/tools/tools.dm +++ b/code/game/mecha/equipment/tools/tools.dm @@ -1064,7 +1064,7 @@ /obj/item/weapon/paintkit //Please don't use this for anything, it's a base type for custom mech paintjobs. name = "mecha customisation kit" desc = "A generic kit containing all the needed tools and parts to turn a mech into another mech." - icon = 'custom_items.dmi' + icon = 'icons/obj/custom_items.dmi' icon_state = "royce_kit" var/new_name = "mech" //What is the variant called? diff --git a/code/game/mecha/mecha.dm b/code/game/mecha/mecha.dm index 63f4151779b..96789249fdf 100644 --- a/code/game/mecha/mecha.dm +++ b/code/game/mecha/mecha.dm @@ -1574,7 +1574,7 @@ return if(href_list["dna_lock"]) if(usr != src.occupant) return - if(istype(src, /obj/item/device/mmi)) + if(istype(occupant, /mob/living/carbon/brain)) occupant_message("You are a brain. No.") return if(src.occupant) diff --git a/code/game/objects/closets/walllocker.dm b/code/game/objects/closets/walllocker.dm index 328eae28bf5..4cf3bcf979d 100644 --- a/code/game/objects/closets/walllocker.dm +++ b/code/game/objects/closets/walllocker.dm @@ -4,7 +4,7 @@ /obj/structure/closet/walllocker desc = "A wall mounted storage locker." name = "Wall Locker" - icon = 'walllocker.dmi' + icon = 'icons/obj/walllocker.dmi' icon_state = "wall-locker" density = 0 anchored = 1 diff --git a/code/game/objects/effects/barsign.dm b/code/game/objects/effects/barsign.dm index c5cc2893567..fd66f8028d1 100644 --- a/code/game/objects/effects/barsign.dm +++ b/code/game/objects/effects/barsign.dm @@ -1,5 +1,5 @@ /obj/effect/sign/double/barsign - icon = 'barsigns.dmi' + icon = 'icons/obj/barsigns.dmi' icon_state = "empty" anchored = 1 diff --git a/code/game/objects/effects/decals/Cleanable/humans.dm b/code/game/objects/effects/decals/Cleanable/humans.dm index 911a63c0e4c..4f472f864ff 100644 --- a/code/game/objects/effects/decals/Cleanable/humans.dm +++ b/code/game/objects/effects/decals/Cleanable/humans.dm @@ -87,7 +87,7 @@ name = "drips of blood" desc = "It's red." gender = PLURAL - icon = 'drip.dmi' + icon = 'icons/effects/drip.dmi' icon_state = "1" amount = 0 @@ -141,7 +141,7 @@ density = 0 anchored = 1 layer = 2 - icon = 'blood.dmi' + icon = 'icons/effects/blood.dmi' icon_state = "mucus" random_icon_states = list("mucus") var/list/datum/disease2/disease/virus2 = list() diff --git a/code/game/objects/explosion.dm b/code/game/objects/explosion.dm index cc4d766f25a..da4f51eef0a 100644 --- a/code/game/objects/explosion.dm +++ b/code/game/objects/explosion.dm @@ -28,7 +28,7 @@ proc/explosion(turf/epicenter, devastation_range, heavy_impact_range, light_impa for(var/mob/M in world) if(M.z == epicenter.z) if(!(M in close)) // check if the mob can hear if(M.ear_deaf <= 0 || !M.ear_deaf) if(!istype(M.loc,/turf/space)) - M << 'explosionfar.ogg' + M << 'sound/effects/explosionfar.ogg' if(adminlog) message_admins("Explosion with size ([devastation_range], [heavy_impact_range], [light_impact_range]) in area [epicenter.loc.name] ([epicenter.x],[epicenter.y],[epicenter.z]) (JMP)") log_game("Explosion with size ([devastation_range], [heavy_impact_range], [light_impact_range]) in area [epicenter.loc.name] ") diff --git a/code/game/objects/items.dm b/code/game/objects/items.dm index c55684eb197..7bea0644e74 100644 --- a/code/game/objects/items.dm +++ b/code/game/objects/items.dm @@ -224,10 +224,9 @@ user.lastattacked = M M.lastattacker = user - user.attack_log += "\[[time_stamp()]\] Attacked [M.name] ([M.ckey]) with [src.name] (INTENT: [uppertext(user.a_intent)]) (DAMTYE: [uppertext(src.damtype)])" M.attack_log += "\[[time_stamp()]\] Attacked by [user.name] ([user.ckey]) with [src.name] (INTENT: [uppertext(user.a_intent)]) (DAMTYE: [uppertext(src.damtype)])" - log_attack("[user.name] ([user.ckey]) attacked [M.name] ([M.ckey]) with [src.name] (INTENT: [uppertext(user.a_intent)]) (DAMTYE: [uppertext(src.damtype)])" ) - msg_admin_attack("ATTACK: [user.name] ([user.ckey]) attacked [M.name] ([M.ckey]) with [src.name] (INTENT: [uppertext(user.a_intent)])") //BS12 EDIT ALG + user.attack_log += "\[[time_stamp()]\] Attacked [M.name] ([M.ckey]) with [src.name] (INTENT: [uppertext(user.a_intent)]) (DAMTYE: [uppertext(src.damtype)])" + msg_admin_attack("[user.name] ([user.ckey]) attacked [M.name] ([M.ckey]) with [src.name] (INTENT: [uppertext(user.a_intent)]) (DAMTYE: [uppertext(src.damtype)]) (JMP)") //BS12 EDIT ALG //spawn(1800) // this wont work right // M.lastattacker = null @@ -646,8 +645,7 @@ user.attack_log += "\[[time_stamp()]\] Attacked [M.name] ([M.ckey]) with [src.name] (INTENT: [uppertext(user.a_intent)])" M.attack_log += "\[[time_stamp()]\] Attacked by [user.name] ([user.ckey]) with [src.name] (INTENT: [uppertext(user.a_intent)])" - msg_admin_attack("ATTACK: [user.name] ([user.ckey]) attacked [M.name] ([M.ckey]) with [src.name] (INTENT: [uppertext(user.a_intent)])") //BS12 EDIT ALG - log_attack(" [user.name] ([user.ckey]) attacked [M.name] ([M.ckey]) with [src.name] (INTENT: [uppertext(user.a_intent)])") + msg_admin_attack("[user.name] ([user.ckey]) attacked [M.name] ([M.ckey]) with [src.name] (INTENT: [uppertext(user.a_intent)]) (JMP)") //BS12 EDIT ALG src.add_fingerprint(user) //if((CLUMSY in user.mutations) && prob(50)) diff --git a/code/game/objects/items/devices/aicard.dm b/code/game/objects/items/devices/aicard.dm index 810bb7f4efc..43daf35b323 100644 --- a/code/game/objects/items/devices/aicard.dm +++ b/code/game/objects/items/devices/aicard.dm @@ -16,8 +16,7 @@ M.attack_log += text("\[[time_stamp()]\] Has been carded with [src.name] by [user.name] ([user.ckey])") user.attack_log += text("\[[time_stamp()]\] Used the [src.name] to card [M.name] ([M.ckey])") - - log_attack("[user.name] ([user.ckey]) used the [src.name] to card [M.name] ([M.ckey])") + msg_admin_attack("[user.name] ([user.ckey]) used the [src.name] to card [M.name] ([M.ckey]) (JMP)") transfer_ai("AICORE", "AICARD", M, user) return diff --git a/code/game/objects/items/devices/flash.dm b/code/game/objects/items/devices/flash.dm index 119f0568139..41565dbe63b 100644 --- a/code/game/objects/items/devices/flash.dm +++ b/code/game/objects/items/devices/flash.dm @@ -34,10 +34,10 @@ /obj/item/device/flash/attack(mob/living/M as mob, mob/user as mob) if(!user || !M) return //sanity + M.attack_log += text("\[[time_stamp()]\] Has been flashed (attempt) with [src.name] by [user.name] ([user.ckey])") user.attack_log += text("\[[time_stamp()]\] Used the [src.name] to flash [M.name] ([M.ckey])") - - log_attack("[user.name] ([user.ckey]) Used the [src.name] to flash [M.name] ([M.ckey])") + msg_admin_attack("[user.name] ([user.ckey]) Used the [src.name] to flash [M.name] ([M.ckey]) (JMP)") if(!clown_check(user)) return if(broken) diff --git a/code/game/objects/items/robot/robot_items.dm b/code/game/objects/items/robot/robot_items.dm index d6f18c57e76..8021570b220 100644 --- a/code/game/objects/items/robot/robot_items.dm +++ b/code/game/objects/items/robot/robot_items.dm @@ -12,8 +12,7 @@ attack(mob/M as mob, mob/living/silicon/robot/user as mob) M.attack_log += text("\[[time_stamp()]\] Has been attacked with [src.name] by [user.name] ([user.ckey])") user.attack_log += text("\[[time_stamp()]\] Used the [src.name] to attack [M.name] ([M.ckey])") - - log_attack(" [user.name] ([user.ckey]) used the [src.name] to attack [M.name] ([M.ckey])") + msg_admin_attack("[user.name] ([user.ckey]) used the [src.name] to attack [M.name] ([M.ckey]) (JMP)") user.cell.charge -= 30 diff --git a/code/game/objects/items/stacks/medical.dm b/code/game/objects/items/stacks/medical.dm index 4721bcc8fe6..6c891df47ab 100644 --- a/code/game/objects/items/stacks/medical.dm +++ b/code/game/objects/items/stacks/medical.dm @@ -113,7 +113,7 @@ name = "\improper S'rendarr's Hand leaf" singular_name = "S'rendarr's Hand leaf" desc = "A soft leaf that is rubbed on bruises." - icon = 'harvest.dmi' + icon = 'icons/obj/harvest.dmi' icon_state = "cabbage" heal_brute = 7 @@ -121,7 +121,7 @@ name = "\improper Messa's Tear leaf" singular_name = "Messa's Tear leaf" desc = "A cold leaf that is rubbed on burns." - icon = 'harvest.dmi' + icon = 'icons/obj/harvest.dmi' icon_state = "ambrosiavulgaris" heal_burn = 7 diff --git a/code/game/objects/items/stacks/sheets/glass.dm b/code/game/objects/items/stacks/sheets/glass.dm index 0169f5d894c..a7e6d57bb37 100644 --- a/code/game/objects/items/stacks/sheets/glass.dm +++ b/code/game/objects/items/stacks/sheets/glass.dm @@ -283,7 +283,7 @@ playsound(src.loc, 'sound/effects/glass_step.ogg', 50, 1) if(ishuman(M)) var/mob/living/carbon/human/H = M - if(!H.shoes) + if(!H.shoes && !(H.wear_suit.body_parts_covered & FEET)) var/datum/organ/external/affecting = H.get_organ(pick("l_foot", "r_foot")) if(affecting.status & ORGAN_ROBOT) return diff --git a/code/game/objects/items/stacks/sheets/mineral.dm b/code/game/objects/items/stacks/sheets/mineral.dm index 42def9a2b70..120a6ffa702 100644 --- a/code/game/objects/items/stacks/sheets/mineral.dm +++ b/code/game/objects/items/stacks/sheets/mineral.dm @@ -253,4 +253,4 @@ var/global/list/datum/stack_recipe/silver_recipes = list ( \ throw_speed = 3 throw_range = 3 origin_tech = "materials=4" - perunit = 2000 + perunit = 2000 diff --git a/code/game/objects/items/trash.dm b/code/game/objects/items/trash.dm index 15530ff720f..9b955195dbe 100644 --- a/code/game/objects/items/trash.dm +++ b/code/game/objects/items/trash.dm @@ -54,4 +54,4 @@ icon_state = "liquidfood" /obj/item/trash/attack(mob/M as mob, mob/living/user as mob) - return + return diff --git a/code/game/objects/items/weapons/dna_injector.dm b/code/game/objects/items/weapons/dna_injector.dm index a58629cda96..5bf10ccd20e 100644 --- a/code/game/objects/items/weapons/dna_injector.dm +++ b/code/game/objects/items/weapons/dna_injector.dm @@ -66,10 +66,10 @@ if (!(istype(usr, /mob/living/carbon/human) || ticker) && ticker.mode.name != "monkey") user << "\red You don't have the dexterity to do this!" return + M.attack_log += text("\[[time_stamp()]\] Has been injected with [name] by [user.name] ([user.ckey])") user.attack_log += text("\[[time_stamp()]\] Used the [name] to inject [M.name] ([M.ckey])") - - log_attack("[user.name] ([user.ckey]) used the [name] to inject [M.name] ([M.ckey])") + log_attack("[user.name] ([user.ckey]) used the [name] to inject [M.name] ([M.ckey])") if (user) if (istype(M, /mob/living/carbon/human)) @@ -87,8 +87,7 @@ M.requests += O if (dnatype == "se") if (isblockon(getblock(dna, 14,3),14) && istype(M, /mob/living/carbon/human)) - message_admins("[key_name_admin(user)] injected [key_name_admin(M)] with the [name] \red(MONKEY)") - log_attack("[key_name(user)] injected [key_name(M)] with the [name] (MONKEY)") + msg_admin_attack("[key_name_admin(user)] injected [key_name_admin(M)] with the [name] \red(MONKEY) (JMP)") else // message_admins("[key_name_admin(user)] injected [key_name_admin(M)] with the [name]") log_attack("[key_name(user)] injected [key_name(M)] with the [name]") diff --git a/code/game/objects/items/weapons/explosives.dm b/code/game/objects/items/weapons/explosives.dm index 4f35194f9d2..d9a72058aee 100644 --- a/code/game/objects/items/weapons/explosives.dm +++ b/code/game/objects/items/weapons/explosives.dm @@ -12,11 +12,11 @@ return user << "Planting explosives..." if(ismob(target)) - user.attack_log += "\[[time_stamp()]\] [user.real_name] tried planting [name] on [target:real_name] ([target:ckey])" - log_attack(" [user.real_name] ([user.ckey]) tried planting [name] on [target:real_name] ([target:ckey])") - user.visible_message("\red [user.name] is trying to plant some kind of explosive on [target.name]!") - log_attack("ATTACK: [user.real_name] ([user.ckey]) tried planting [name] on [target:real_name] ([target:ckey])") + user.attack_log += "\[[time_stamp()]\] [user.real_name] tried planting [name] on [target:real_name] ([target:ckey])" + msg_admin_attack("[user.real_name] ([user.ckey]) tried planting [name] on [target:real_name] ([target:ckey]) (JMP)") + + user.visible_message("\red [user.name] is trying to plant some kind of explosive on [target.name]!") if(do_after(user, 50) && in_range(user, target)) user.drop_item() diff --git a/code/game/objects/items/weapons/gift_wrappaper.dm b/code/game/objects/items/weapons/gift_wrappaper.dm index e15ce7fc8c8..afd63497073 100644 --- a/code/game/objects/items/weapons/gift_wrappaper.dm +++ b/code/game/objects/items/weapons/gift_wrappaper.dm @@ -182,10 +182,10 @@ H.client.eye = present H.loc = present + H.attack_log += text("\[[time_stamp()]\] Has been wrapped with [src.name] by [user.name] ([user.ckey])") user.attack_log += text("\[[time_stamp()]\] Used the [src.name] to wrap [H.name] ([H.ckey])") - - log_attack("[user.name] ([user.ckey]) used the [src.name] to wrap [H.name] ([H.ckey])") + log_attack("[user.name] ([user.ckey]) used the [src.name] to wrap [H.name] ([H.ckey])") else user << "\blue You need more paper." diff --git a/code/game/objects/items/weapons/grenades/chem_grenade.dm b/code/game/objects/items/weapons/grenades/chem_grenade.dm index 0c075c5725a..f70aca0c29d 100644 --- a/code/game/objects/items/weapons/grenades/chem_grenade.dm +++ b/code/game/objects/items/weapons/grenades/chem_grenade.dm @@ -36,9 +36,7 @@ if(stage > 1 && !active && clown_check(user)) user << "You prime \the [name]!" - log_attack("[user.name] ([user.ckey]) primed \a [src].") - log_admin("ATTACK: [user] ([user.ckey]) primed \a [src].") - message_admins("ATTACK: [user] ([user.ckey]) primed \a [src].") + msg_admin_attack("[user.name] ([user.ckey]) primed \a [src]. (JMP)") activate() add_fingerprint(user) @@ -126,9 +124,7 @@ icon_state = initial(icon_state) + "_active" if(user) - log_attack("[user.name] ([user.ckey]) primed \a [src]") - log_admin("ATTACK: [user] ([user.ckey]) primed \a [src]") - message_admins("ATTACK: [user] ([user.ckey]) primed \a [src]") + msg_admin_attack("[user.name] ([user.ckey]) primed \a [src] (JMP)") return diff --git a/code/game/objects/items/weapons/grenades/grenade.dm b/code/game/objects/items/weapons/grenades/grenade.dm index 99466a9d2a3..93f93c5e4b6 100644 --- a/code/game/objects/items/weapons/grenades/grenade.dm +++ b/code/game/objects/items/weapons/grenades/grenade.dm @@ -69,9 +69,7 @@ return if(user) - log_attack("[user.name] ([user.ckey]) primed \a [src]") - log_admin("ATTACK: [user] ([user.ckey]) primed \a [src]") - message_admins("ATTACK: [user] ([user.ckey]) primed \a [src]") + msg_admin_attack("[user.name] ([user.ckey]) primed \a [src] (JMP)") icon_state = initial(icon_state) + "_active" active = 1 diff --git a/code/game/objects/items/weapons/handcuffs.dm b/code/game/objects/items/weapons/handcuffs.dm index e95338168d2..80b3403a9be 100644 --- a/code/game/objects/items/weapons/handcuffs.dm +++ b/code/game/objects/items/weapons/handcuffs.dm @@ -51,10 +51,10 @@ return if (istype(C, /mob/living/carbon/human)) if(!C.handcuffed) + C.attack_log += text("\[[time_stamp()]\] Has been handcuffed (attempt) by [user.name] ([user.ckey])") user.attack_log += text("\[[time_stamp()]\] Attempted to handcuff [C.name] ([C.ckey])") - - log_attack("[user.name] ([user.ckey]) Attempted to handcuff [C.name] ([C.ckey])") + log_attack("[user.name] ([user.ckey]) Attempted to handcuff [C.name] ([C.ckey])") var/obj/effect/equip_e/human/O = new /obj/effect/equip_e/human( ) O.source = user diff --git a/code/game/objects/items/weapons/hydroponics.dm b/code/game/objects/items/weapons/hydroponics.dm index daebf114d2f..b18766b09ad 100644 --- a/code/game/objects/items/weapons/hydroponics.dm +++ b/code/game/objects/items/weapons/hydroponics.dm @@ -178,10 +178,10 @@ if(!..()) return if(istype(M, /mob/living)) M << "\red You are stunned by the powerful acid of the Deathnettle!" + M.attack_log += text("\[[time_stamp()]\] Had the [src.name] used on them by [user.name] ([user.ckey])") user.attack_log += text("\[[time_stamp()]\] Used the [src.name] on [M.name] ([M.ckey])") - - log_attack(" [user.name] ([user.ckey]) used the [src.name] on [M.name] ([M.ckey])") + msg_admin_attack("[user.name] ([user.ckey]) used the [src.name] on [M.name] ([M.ckey]) (JMP)") playsound(loc, 'sound/weapons/bladeslice.ogg', 50, 1, -1) diff --git a/code/game/objects/items/weapons/implants/implant.dm b/code/game/objects/items/weapons/implants/implant.dm index a6c3b2fede4..1f6b068cdd3 100644 --- a/code/game/objects/items/weapons/implants/implant.dm +++ b/code/game/objects/items/weapons/implants/implant.dm @@ -2,7 +2,7 @@ #define MALFUNCTION_PERMANENT 2 /obj/item/weapon/implant name = "implant" - icon = 'device.dmi' + icon = 'icons/obj/device.dmi' icon_state = "implant" var/implanted = null var/mob/imp_in = null diff --git a/code/game/objects/items/weapons/implants/implantcase.dm b/code/game/objects/items/weapons/implants/implantcase.dm index 5d8b135fe1e..dde9668b8cd 100644 --- a/code/game/objects/items/weapons/implants/implantcase.dm +++ b/code/game/objects/items/weapons/implants/implantcase.dm @@ -121,7 +121,7 @@ /obj/item/weapon/implantcase/death_alarm name = "Glass Case- 'Death Alarm'" desc = "A case containing a death alarm implant." - icon = 'items.dmi' + icon = 'icons/obj/items.dmi' icon_state = "implantcase-b" New() diff --git a/code/game/objects/items/weapons/implants/implanter.dm b/code/game/objects/items/weapons/implants/implanter.dm index 785997a3db8..28eeaaf5b8a 100644 --- a/code/game/objects/items/weapons/implants/implanter.dm +++ b/code/game/objects/items/weapons/implants/implanter.dm @@ -31,9 +31,10 @@ if(user && M && (get_turf(M) == T1) && src && src.imp) for (var/mob/O in viewers(M, null)) O.show_message("\red [M] has been implanted by [user].", 1) + M.attack_log += text("\[[time_stamp()]\] Implanted with [src.name] ([src.imp.name]) by [user.name] ([user.ckey])") user.attack_log += text("\[[time_stamp()]\] Used the [src.name] ([src.imp.name]) to implant [M.name] ([M.ckey])") - log_attack("[user.name] ([user.ckey]) implanted [M.name] ([M.ckey]) with [src.name] (INTENT: [uppertext(user.a_intent)])") + msg_admin_attack("[user.name] ([user.ckey]) implanted [M.name] ([M.ckey]) with [src.name] (INTENT: [uppertext(user.a_intent)]) (JMP)") user.show_message("\red You implanted the implant into [M].") if(src.imp.implanted(M)) diff --git a/code/game/objects/items/weapons/kitchen.dm b/code/game/objects/items/weapons/kitchen.dm index 6fbdba918ed..d70c2615aaf 100644 --- a/code/game/objects/items/weapons/kitchen.dm +++ b/code/game/objects/items/weapons/kitchen.dm @@ -218,10 +218,10 @@ user.take_organ_damage(10) user.Paralyse(2) return + M.attack_log += text("\[[time_stamp()]\] Has been attacked with [src.name] by [user.name] ([user.ckey])") user.attack_log += text("\[[time_stamp()]\] Used the [src.name] to attack [M.name] ([M.ckey])") - - log_attack("[user.name] ([user.ckey]) used the [src.name] to attack [M.name] ([M.ckey])") + msg_admin_attack("[user.name] ([user.ckey]) used the [src.name] to attack [M.name] ([M.ckey]) (JMP)") var/t = user:zone_sel.selecting if (t == "head") @@ -318,8 +318,7 @@ M.attack_log += text("\[[time_stamp()]\] Has been attacked with [src.name] by [user.name] ([user.ckey])") user.attack_log += text("\[[time_stamp()]\] Used the [src.name] to attack [M.name] ([M.ckey])") - - log_attack("[user.name] ([user.ckey]) used the [src.name] to attack [M.name] ([M.ckey])") + msg_admin_attack("[user.name] ([user.ckey]) used the [src.name] to attack [M.name] ([M.ckey]) (JMP)") if(prob(15)) M.Weaken(3) diff --git a/code/game/objects/items/weapons/paint.dm b/code/game/objects/items/weapons/paint.dm index 3c2cf7fad48..33c511bacb5 100644 --- a/code/game/objects/items/weapons/paint.dm +++ b/code/game/objects/items/weapons/paint.dm @@ -5,7 +5,7 @@ var/global/list/cached_icons = list() /obj/item/weapon/reagent_containers/glass/paint desc = "It's a paint bucket." name = "paint bucket" - icon = 'items.dmi' + icon = 'icons/obj/items.dmi' icon_state = "paint_neutral" item_state = "paintcan" m_amt = 200 diff --git a/code/game/objects/items/weapons/power_cells.dm b/code/game/objects/items/weapons/power_cells.dm index 1fb480596bd..0f0ea000ca2 100644 --- a/code/game/objects/items/weapons/power_cells.dm +++ b/code/game/objects/items/weapons/power_cells.dm @@ -111,4 +111,4 @@ maxcharge = 10000 maxcharge = 10000 m_amt = 0 - g_amt = 0 + g_amt = 0 diff --git a/code/game/objects/items/weapons/storage/briefcase.dm b/code/game/objects/items/weapons/storage/briefcase.dm index add00298877..6fa791782d7 100644 --- a/code/game/objects/items/weapons/storage/briefcase.dm +++ b/code/game/objects/items/weapons/storage/briefcase.dm @@ -25,8 +25,7 @@ M.attack_log += text("\[[time_stamp()]\] Has been attacked with [src.name] by [user.name] ([user.ckey])") user.attack_log += text("\[[time_stamp()]\] Used the [src.name] to attack [M.name] ([M.ckey])") - - log_attack("[user.name] ([user.ckey]) attacked [M.name] ([M.ckey]) with [src.name] (INTENT: [uppertext(user.a_intent)])") + msg_admin_attack("[user.name] ([user.ckey]) attacked [M.name] ([M.ckey]) with [src.name] (INTENT: [uppertext(user.a_intent)]) (?)") if (M.stat < 2 && M.health < 50 && prob(90)) var/mob/H = M diff --git a/code/game/objects/items/weapons/stunbaton.dm b/code/game/objects/items/weapons/stunbaton.dm index bac563a0715..5d6bd479c47 100644 --- a/code/game/objects/items/weapons/stunbaton.dm +++ b/code/game/objects/items/weapons/stunbaton.dm @@ -62,6 +62,11 @@ if(!..()) return //H.apply_effect(5, WEAKEN, 0) H.visible_message("[M] has been beaten with the [src] by [user]!") + + user.attack_log += "\[[time_stamp()]\] Beat [H.name] ([H.ckey]) with [src.name]" + H.attack_log += "\[[time_stamp()]\] Beaten by [user.name] ([user.ckey]) with [src.name]" + msg_admin_attack("[user.name] ([user.ckey]) beat [H.name] ([H.ckey]) with [src.name] (JMP)") + playsound(src.loc, "swing_hit", 50, 1, -1) else if(!status) H.visible_message("[M] has been prodded with the [src] by [user]. Luckily it was off.") @@ -80,9 +85,10 @@ else charges-- H.visible_message("[M] has been stunned with the [src] by [user]!") + user.attack_log += "\[[time_stamp()]\] Stunned [H.name] ([H.ckey]) with [src.name]" H.attack_log += "\[[time_stamp()]\] Stunned by [user.name] ([user.ckey]) with [src.name]" - log_attack("[user.name] ([user.ckey]) stunned [H.name] ([H.ckey]) with [src.name]" ) + log_attack("[user.name] ([user.ckey]) stunned [H.name] ([H.ckey]) with [src.name]") playsound(src.loc, 'sound/weapons/Egloves.ogg', 50, 1, -1) if(charges < 1) @@ -107,8 +113,8 @@ H.visible_message("[src], thrown by [foundmob.name], strikes [H] and stuns them!") - H.attack_log += "\[[time_stamp()]\] Stunned by thrown [src.name] (([src.fingerprintslast]))" - log_attack("Flying [src.name], thrown by ([src.fingerprintslast]) stunned [H.name] ([H.ckey])" ) + H.attack_log += "\[[time_stamp()]\] Stunned by thrown [src.name] last touched by ([src.fingerprintslast])" + log_attack("Flying [src.name], last touched by ([src.fingerprintslast]) stunned [H.name] ([H.ckey])" ) return return ..() diff --git a/code/game/objects/items/weapons/surgery_tools.dm b/code/game/objects/items/weapons/surgery_tools.dm index fc5c5fb0c0c..7af5304887b 100644 --- a/code/game/objects/items/weapons/surgery_tools.dm +++ b/code/game/objects/items/weapons/surgery_tools.dm @@ -794,7 +794,7 @@ LOOK FOR SURGERY.DM*/ //misc, formerly from code/defines/weapons.dm /obj/item/weapon/bonegel name = "bone gel" - icon = 'surgery.dmi' + icon = 'icons/obj/surgery.dmi' icon_state = "bone-gel" force = 0 w_class = 2.0 @@ -802,7 +802,7 @@ LOOK FOR SURGERY.DM*/ /obj/item/weapon/FixOVein name = "FixOVein" - icon = 'surgery.dmi' + icon = 'icons/obj/surgery.dmi' icon_state = "fixovein" force = 0 throwforce = 1.0 @@ -812,7 +812,7 @@ LOOK FOR SURGERY.DM*/ /obj/item/weapon/bonesetter name = "bone setter" - icon = 'surgery.dmi' + icon = 'icons/obj/surgery.dmi' icon_state = "bone setter" force = 8.0 throwforce = 9.0 diff --git a/code/game/objects/items/weapons/swords_axes_etc.dm b/code/game/objects/items/weapons/swords_axes_etc.dm index 60ea8312450..4e8f0bd8216 100644 --- a/code/game/objects/items/weapons/swords_axes_etc.dm +++ b/code/game/objects/items/weapons/swords_axes_etc.dm @@ -97,7 +97,7 @@ M.Weaken(5) M.attack_log += text("\[[time_stamp()]\] Has been attacked with [src.name] by [user.name] ([user.ckey])") user.attack_log += text("\[[time_stamp()]\] Used the [src.name] to attack [M.name] ([M.ckey])") - log_attack("[user.name] ([user.ckey]) attacked [M.name] ([M.ckey]) with [src.name] (INTENT: [uppertext(user.a_intent)])") + log_attack("[user.name] ([user.ckey]) attacked [M.name] ([M.ckey]) with [src.name] (INTENT: [uppertext(user.a_intent)])") src.add_fingerprint(user) for(var/mob/O in viewers(M)) diff --git a/code/game/objects/items/weapons/syndie.dm b/code/game/objects/items/weapons/syndie.dm index 2a936622766..4593bf932f4 100644 --- a/code/game/objects/items/weapons/syndie.dm +++ b/code/game/objects/items/weapons/syndie.dm @@ -1,5 +1,5 @@ /obj/item/weapon/syndie - icon = 'syndieweapons.dmi' + icon = 'icons/obj/syndieweapons.dmi' /*C-4 explosive charge and etc, replaces the old syndie transfer valve bomb.*/ diff --git a/code/game/objects/items/weapons/weaponry.dm b/code/game/objects/items/weapons/weaponry.dm index 92e6b78d754..922d9263766 100644 --- a/code/game/objects/items/weapons/weaponry.dm +++ b/code/game/objects/items/weapons/weaponry.dm @@ -37,9 +37,7 @@ M.attack_log += text("\[[time_stamp()]\] Has been attacked with [src.name] by [user.name] ([user.ckey])") user.attack_log += text("\[[time_stamp()]\] Used the [src.name] to attack [M.name] ([M.ckey])") - log_admin("ATTACK: [user] ([user.ckey]) attacked [M] ([M.ckey]) with [src].") - message_admins("ATTACK: [user] ([user.ckey]) attacked [M] ([M.ckey]) with [src].") - log_attack("[user.name] ([user.ckey]) attacked [M.name] ([M.ckey]) with [src.name] (INTENT: [uppertext(user.a_intent)])") + msg_admin_attack("[user.name] ([user.ckey]) attacked [M.name] ([M.ckey]) with [src.name] (INTENT: [uppertext(user.a_intent)]) (JMP)") if (!(istype(user, /mob/living/carbon/human) || ticker) && ticker.mode.name != "monkey") user << "\red You don't have the dexterity to do this!" diff --git a/code/game/objects/structures/barsign.dm b/code/game/objects/structures/barsign.dm index 651c7fb590f..399fab67aa5 100644 --- a/code/game/objects/structures/barsign.dm +++ b/code/game/objects/structures/barsign.dm @@ -1,5 +1,5 @@ /obj/structure/sign/double/barsign - icon = 'barsigns.dmi' + icon = 'icons/obj/barsigns.dmi' icon_state = "empty" anchored = 1 New() diff --git a/code/game/objects/structures/stool_bed_chair_nest/bed.dm b/code/game/objects/structures/stool_bed_chair_nest/bed.dm index d4c55f475a8..7339c88646d 100644 --- a/code/game/objects/structures/stool_bed_chair_nest/bed.dm +++ b/code/game/objects/structures/stool_bed_chair_nest/bed.dm @@ -112,7 +112,7 @@ /obj/item/roller name = "roller bed" desc = "A collapsed roller bed that can be carried around." - icon = 'rollerbed.dmi' + icon = 'icons/obj/rollerbed.dmi' icon_state = "folded" w_class = 4.0 // Can't be put in backpacks. Oh well. diff --git a/code/game/objects/structures/stool_bed_chair_nest/chairs.dm b/code/game/objects/structures/stool_bed_chair_nest/chairs.dm index 762888a4b43..adc1e637a78 100644 --- a/code/game/objects/structures/stool_bed_chair_nest/chairs.dm +++ b/code/game/objects/structures/stool_bed_chair_nest/chairs.dm @@ -35,17 +35,8 @@ src.layer = FLY_LAYER else src.layer = OBJ_LAYER - if(buckled_mob) - if(buckled_mob.loc != src.loc) - buckled_mob.buckled = null //Temporary, so Move() succeeds. - if(!buckled_mob.Move(loc)) - unbuckle() - buckled_mob = null - else - buckled_mob.buckled = src //Restoring - if(buckled_mob) - buckled_mob.dir = dir + buckled_mob.dir = dir /obj/structure/stool/bed/chair/verb/rotate() set name = "Rotate Chair" @@ -114,6 +105,12 @@ /obj/structure/stool/bed/chair/office/Move() ..() + if(buckled_mob) + buckled_mob.buckled = null //Temporary, so Move() succeeds. + var/moved = buckled_mob.Move(src.loc) + buckled_mob.buckled = src + if(!moved) + unbuckle() handle_rotation() /obj/structure/stool/bed/chair/office/light diff --git a/code/game/objects/structures/window.dm b/code/game/objects/structures/window.dm index f0bb4b2d33c..0a9ca85368f 100644 --- a/code/game/objects/structures/window.dm +++ b/code/game/objects/structures/window.dm @@ -105,12 +105,12 @@ if(reinf) new /obj/item/stack/rods(loc) del(src) else if (usr.a_intent == "hurt") - playsound(src.loc, 'glassknock.ogg', 80, 1) + playsound(src.loc, 'sound/effects/glassknock.ogg', 80, 1) usr.visible_message("\red [usr.name] bangs against the [src.name]!", \ "\red You bang against the [src.name]!", \ "You hear a banging sound.") else - playsound(src.loc, 'glassknock.ogg', 80, 1) + playsound(src.loc, 'sound/effects/glassknock.ogg', 80, 1) usr.visible_message("[usr.name] knocks on the [src.name].", \ "You knock on the [src.name].", \ "You hear a knocking sound.") diff --git a/code/game/shuttle_engines.dm b/code/game/shuttle_engines.dm index 6e35204691b..6bd631e88f3 100644 --- a/code/game/shuttle_engines.dm +++ b/code/game/shuttle_engines.dm @@ -1,10 +1,10 @@ /obj/structure/shuttle name = "shuttle" - icon = 'shuttle.dmi' + icon = 'icons/turf/shuttle.dmi' /obj/structure/shuttle/window name = "shuttle window" - icon = 'podwindows.dmi' + icon = 'icons/obj/podwindows.dmi' icon_state = "1" density = 1 opacity = 0 diff --git a/code/game/turfs/simulated/walls.dm b/code/game/turfs/simulated/walls.dm index f06eb81ba32..a8d73263661 100644 --- a/code/game/turfs/simulated/walls.dm +++ b/code/game/turfs/simulated/walls.dm @@ -337,10 +337,12 @@ O.density = 1 O.layer = 5 - var/turf/simulated/floor/F = ChangeTurf(/turf/simulated/floor/plating) + src.ChangeTurf(/turf/simulated/floor/plating) + + var/turf/simulated/floor/F = src F.burn_tile() F.icon_state = "wall_thermite" - user << "The thermite melts through the wall." + user << "The thermite starts melting through the wall." spawn(100) if(O) del(O) diff --git a/code/game/turfs/simulated/walls_mineral.dm b/code/game/turfs/simulated/walls_mineral.dm index db92e15f4ae..e1ec717d30c 100644 --- a/code/game/turfs/simulated/walls_mineral.dm +++ b/code/game/turfs/simulated/walls_mineral.dm @@ -140,4 +140,4 @@ if((mineral == "gold") || (mineral == "silver")) if(shocked) shock() -*/ +*/ diff --git a/code/game/turfs/space/space.dm b/code/game/turfs/space/space.dm index 95720295c87..4323ee0adb9 100644 --- a/code/game/turfs/space/space.dm +++ b/code/game/turfs/space/space.dm @@ -3,7 +3,7 @@ name = "\proper space" icon_state = "0" - temperature = TCMB + temperature = T0C thermal_conductivity = OPEN_HEAT_TRANSFER_COEFFICIENT // heat_capacity = 700000 No. diff --git a/code/modules/admin/admin.dm b/code/modules/admin/admin.dm index bb1717a8f55..f2b02d9f293 100644 --- a/code/modules/admin/admin.dm +++ b/code/modules/admin/admin.dm @@ -12,8 +12,8 @@ var/global/floorIsLava = 0 C << msg /proc/msg_admin_attack(var/text) //Toggleable Attack Messages - var/rendered = "ADMIN LOG: [text]" - log_adminwarn(rendered) + log_attack(text) + var/rendered = "ATTACK: [text]" for(var/client/C in admins) if(R_ADMIN & C.holder.rights) if(C.prefs.toggles & CHAT_ATTACKLOGS) diff --git a/code/modules/admin/admin_verbs.dm b/code/modules/admin/admin_verbs.dm index 7f821923415..355fe221fc4 100644 --- a/code/modules/admin/admin_verbs.dm +++ b/code/modules/admin/admin_verbs.dm @@ -354,13 +354,13 @@ var/list/admin_verbs_mod = list( mob.invisibility = initial(mob.invisibility) mob << "\red Invisimin off. Invisibility reset." mob.icon_state = "ghost" - mob.icon = 'human.dmi' + mob.icon = 'icons/mob/human.dmi' mob.update_icons() else mob.invisibility = INVISIBILITY_OBSERVER mob << "\blue Invisimin on. You are now as invisible as a ghost." mob.icon_state = "ghost" - mob.icon = 'mob.dmi' + mob.icon = 'icons/mob/mob.dmi' /client/proc/player_panel() diff --git a/code/modules/admin/permissionverbs/permissionedit.dm b/code/modules/admin/permissionverbs/permissionedit.dm index 3bd563aaf58..5b805ac8bd0 100644 --- a/code/modules/admin/permissionverbs/permissionedit.dm +++ b/code/modules/admin/permissionverbs/permissionedit.dm @@ -12,8 +12,8 @@ Permissions Panel - - + +
diff --git a/code/modules/admin/verbs/playsound.dm b/code/modules/admin/verbs/playsound.dm index ce338bfd3e6..20a3862300f 100644 --- a/code/modules/admin/verbs/playsound.dm +++ b/code/modules/admin/verbs/playsound.dm @@ -62,7 +62,7 @@ client/proc/space_asshole() for(var/mob/M in world) if(M.client) if(M.client.midis) - M << 'space_asshole.ogg' + M << 'sound/music/space_asshole.ogg' client/proc/honk_theme() diff --git a/code/modules/admin/verbs/randomverbs.dm b/code/modules/admin/verbs/randomverbs.dm index f5ead1fa839..65a0e0aa8cc 100644 --- a/code/modules/admin/verbs/randomverbs.dm +++ b/code/modules/admin/verbs/randomverbs.dm @@ -483,7 +483,7 @@ Traitors and the like can also be revived with the previous role mostly intact. if("No") world << "\red New NanoTrasen Update available at all communication consoles." - world << sound('commandreport.ogg') + world << sound('sound/AI/commandreport.ogg') log_admin("[key_name(src)] has created a command report: [input]") message_admins("[key_name_admin(src)] has created a command report", 1) feedback_add_details("admin_verb","CCR") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc! diff --git a/code/modules/client/preferences.dm b/code/modules/client/preferences.dm index f4cb339f045..cdf4e8e20ff 100644 --- a/code/modules/client/preferences.dm +++ b/code/modules/client/preferences.dm @@ -822,7 +822,9 @@ datum/preferences var/list/valid_hairstyles = list() for(var/hairstyle in hair_styles_list) var/datum/sprite_accessory/S = hair_styles_list[hairstyle] - if(gender != S.gender) + if(gender == MALE && S.gender == FEMALE) + continue + if(gender == FEMALE && S.gender == MALE) continue if( !(species in S.species_allowed)) continue @@ -838,7 +840,9 @@ datum/preferences var/list/valid_facialhairstyles = list() for(var/facialhairstyle in facial_hair_styles_list) var/datum/sprite_accessory/S = facial_hair_styles_list[facialhairstyle] - if(gender != S.gender) + if(gender == MALE && S.gender == FEMALE) + continue + if(gender == FEMALE && S.gender == MALE) continue if( !(species in S.species_allowed)) continue @@ -921,7 +925,9 @@ datum/preferences var/list/valid_facialhairstyles = list() for(var/facialhairstyle in facial_hair_styles_list) var/datum/sprite_accessory/S = facial_hair_styles_list[facialhairstyle] - if(gender != S.gender) + if(gender == MALE && S.gender == FEMALE) + continue + if(gender == FEMALE && S.gender == MALE) continue if( !(species in S.species_allowed)) continue diff --git a/code/modules/clothing/glasses/glasses.dm b/code/modules/clothing/glasses/glasses.dm index 5795e8c7141..aed3517d03a 100644 --- a/code/modules/clothing/glasses/glasses.dm +++ b/code/modules/clothing/glasses/glasses.dm @@ -1,7 +1,7 @@ /obj/item/clothing/glasses name = "glasses" - icon = 'glasses.dmi' + icon = 'icons/obj/clothing/glasses.dmi' //w_class = 2.0 //flags = GLASSESCOVERSEYES //slot_flags = SLOT_EYES diff --git a/code/modules/customitems/item_defines.dm b/code/modules/customitems/item_defines.dm index 42307b17080..c9bcfa7281e 100644 --- a/code/modules/customitems/item_defines.dm +++ b/code/modules/customitems/item_defines.dm @@ -3,7 +3,7 @@ // Clothing item_state doesn't use custom_items.dmi. Just add them to the normal clothing files. /obj/item/fluff // so that they don't spam up the object tree - icon = 'custom_items.dmi' + icon = 'icons/obj/custom_items.dmi' w_class = 1.0 ////////////////////////////////// @@ -88,7 +88,7 @@ /obj/item/weapon/book/fluff/johnathan_falcian_1 name = "sketchbook" desc = "A small, well-used sketchbook." - icon = 'custom_items.dmi' + icon = 'icons/obj/custom_items.dmi' icon_state = "johnathan_notebook" dat = "In the notebook there are numerous drawings of various crew-mates, locations, and scenes on the ship. They are of fairly good quality." author = "Johnathan Falcian" @@ -101,7 +101,7 @@ /obj/item/weapon/folder/blue/fluff/matthew_riebhardt //Matthew Riebhardt - ZekeSulastin name = "academic journal" desc = "An academic journal, seemingly pertaining to medical genetics. This issue is for the second quarter of 2557. Paper flags demarcate some articles the owner finds interesting." - icon = 'custom_items.dmi' + icon = 'icons/obj/custom_items.dmi' icon_state = "matthewriebhardt" /obj/item/weapon/pen/fluff/multi //spaceman96: Trenna Seber @@ -111,19 +111,19 @@ /obj/item/weapon/pen/fluff/fancypen //orangebottle: Lillian Levett, Lilliana Reade name = "fancy pen" desc = "A fancy metal pen. It uses blue ink. An inscription on one side reads,\"L.L. - L.R.\"" - icon = 'custom_items.dmi' + icon = 'icons/obj/custom_items.dmi' icon_state = "fancypen" /obj/item/weapon/pen/fluff/eugene_bissegger_1 //metamorp: eugene bisseger name = "Gilded Pen" desc = "A golden pen that is gilded with a meager amount of gold material. The word 'NanoTrasen' is etched on the clip of the pen." - icon = 'custom_items.dmi' + icon = 'icons/obj/custom_items.dmi' icon_state = "eugene_pen" /obj/item/weapon/pen/fluff/fountainpen //paththegreat: Eli Stevens name = "Engraved Fountain Pen" desc = "An expensive looking pen with the initials E.S. engraved into the side." - icon = 'custom_items.dmi' + icon = 'icons/obj/custom_items.dmi' icon_state = "fountainpen" /obj/item/fluff/victor_kaminsky_1 //chinsky: Victor Kaminski @@ -154,46 +154,46 @@ /obj/item/weapon/soap/fluff/azare_siraj_1 //mister fox: Azare Siraj name = "S'randarr's Tongue Leaf" desc = "A waxy, scentless leaf." - icon = 'custom_items.dmi' + icon = 'icons/obj/custom_items.dmi' icon_state = "siraj_tongueleaf" item_state = "siraj_tongueleaf" /obj/item/weapon/clipboard/fluff/smallnote //lexusjjss: Lexus Langg, Zachary Tomlinson name = "small notebook" desc = "A generic small spiral notebook that flips upwards." - icon = 'custom_items.dmi' + icon = 'icons/obj/custom_items.dmi' icon_state = "smallnotetext" item_state = "smallnotetext" /obj/item/weapon/storage/fluff/maye_daye_1 //morrinn: Maye Day name = "pristine lunchbox" desc = "A pristine stainless steel lunch box. The initials M.D. are engraved on the inside of the lid." - icon = 'custom_items.dmi' + icon = 'icons/obj/custom_items.dmi' icon_state = "maye_daye_1" /obj/item/weapon/reagent_containers/food/drinks/flask/fluff/william_hackett name = "handmade flask" desc = "A wooden flask with a silver lid and bottom. It has a matte, dark blue paint on it with the initials \"W.H.\" etched in black." - icon = 'custom_items.dmi' + icon = 'icons/obj/custom_items.dmi' icon_state = "williamhackett" /obj/item/weapon/storage/firstaid/fluff/asus_rose //Kerbal22 - Asus Rose name = "rugged medkit" desc = "A dinged up medkit, it seems to have seen quite a bit of use." - icon = 'custom_items.dmi' + icon = 'icons/obj/custom_items.dmi' icon_state = "asusrose" /obj/item/weapon/reagent_containers/food/drinks/flask/fluff/johann_erzatz_1 //leonheart11: Johann Erzatz name = "vintage thermos" desc = "An older thermos with a faint shine." - icon = 'custom_items.dmi' + icon = 'icons/obj/custom_items.dmi' icon_state = "johann_erzatz_1" volume = 50 /obj/item/weapon/lighter/zippo/fluff/li_matsuda_1 //mangled: Li Matsuda name = "blue zippo lighter" desc = "A zippo lighter made of some blue metal." - icon = 'custom_items.dmi' + icon = 'icons/obj/custom_items.dmi' icon_state = "bluezippo" icon_on = "bluezippoon" icon_off = "bluezippo" @@ -201,7 +201,7 @@ /obj/item/weapon/lighter/zippo/fluff/michael_guess_1 //Dragor23: Michael Guess name = "engraved lighter" desc = "A golden lighter, engraved with some ornaments and a G." - icon = 'custom_items.dmi' + icon = 'icons/obj/custom_items.dmi' icon_state = "guessip" icon_on = "guessipon" icon_off = "guessip" @@ -209,7 +209,7 @@ /obj/item/weapon/lighter/zippo/fluff/riley_rohtin_1 //rawrtaicho: Riley Rohtin name = "Riley's black zippo" desc = "A black zippo lighter, which holds some form of sentimental value." - icon = 'custom_items.dmi' + icon = 'icons/obj/custom_items.dmi' icon_state = "blackzippo" icon_on = "blackzippoon" icon_off = "blackzippo" @@ -217,7 +217,7 @@ /obj/item/weapon/lighter/zippo/fluff/fay_sullivan_1 //furohman: Fay Sullivan name = "Graduation Lighter" desc = "A silver engraved lighter with 41 on one side and Tharsis University on the other. The lid reads Fay Sullivan, Cybernetic Engineering, 2541" - icon = 'custom_items.dmi' + icon = 'icons/obj/custom_items.dmi' icon_state = "gradzippo" icon_on = "gradzippoon" icon_off = "gradzippo" @@ -225,7 +225,7 @@ /obj/item/weapon/lighter/zippo/fluff/executivekill_1 //executivekill: Hunter Duke name = "Gonzo Fist zippo" desc = "A Zippo lighter with the iconic Gonzo Fist on a matte black finish." - icon = 'custom_items.dmi' + icon = 'icons/obj/custom_items.dmi' icon_state = "gonzozippo" icon_on = "gonzozippoon" icon_off = "gonzozippo" @@ -233,7 +233,7 @@ /obj/item/weapon/lighter/zippo/fluff/naples_1 //naples: Russell Vierson name = "Engraved zippo" desc = "A intricately engraved Zippo lighter." - icon = 'custom_items.dmi' + icon = 'icons/obj/custom_items.dmi' icon_state = "engravedzippo" icon_on = "engravedzippoon" icon_off = "engravedzippo" @@ -242,7 +242,7 @@ name = "purple comb" desc = "A pristine purple comb made from flexible plastic. It has a small K etched into its side." w_class = 1.0 - icon = 'custom_items.dmi' + icon = 'icons/obj/custom_items.dmi' icon_state = "purplecomb" item_state = "purplecomb" @@ -255,12 +255,12 @@ /obj/item/weapon/fluff/hugo_cinderbacth_1 //thatoneguy: Hugo Cinderbatch name = "Old Cane" desc = "An old brown cane made from wood. It has a a large, itallicized H on it's handle." - icon = 'custom_items.dmi' + icon = 'icons/obj/custom_items.dmi' icon_state = "special_cane" /obj/item/device/camera/fluff/orange //chinsky: Summer Springfield name = "orange camera" - icon = 'custom_items.dmi' + icon = 'icons/obj/custom_items.dmi' desc = "A modified detective's camera, painted in bright orange. On the back you see \"Have fun\" written in small accurate letters with something black." icon_state = "orangecamera" icon_on = "orangecamera" @@ -269,7 +269,7 @@ /obj/item/device/camera/fluff/oldcamera //magmaram: Maria Crash name = "Old Camera" - icon = 'custom_items.dmi' + icon = 'icons/obj/custom_items.dmi' desc = "An old, slightly beat-up digital camera, with a cheap photo printer taped on. It's a nice shade of blue." icon_state = "oldcamera" icon_on = "oldcamera" @@ -280,26 +280,26 @@ name = "ID wallet" desc = "A wallet made of black leather, holding an ID and a gold badge that reads 'NT.' The ID has a small picture of a man, with the caption Reese James MacKenzie, with other pieces of information to the right of the picture." - icon = 'custom_items.dmi' + icon = 'icons/obj/custom_items.dmi' icon_state = "reesemackenzie" /obj/item/weapon/card/id/fluff/lifetime //fastler: Fastler Greay; it seemed like something multiple people would have name = "Lifetime ID Card" desc = "A modified ID card given only to those people who have devoted their lives to the better interests of NanoTrasen. It sparkles blue." - icon = 'custom_items.dmi' + icon = 'icons/obj/custom_items.dmi' icon_state = "lifetimeid" /obj/item/weapon/reagent_containers/food/drinks/flask/fluff/shinyflask //lexusjjss: Lexus Langg & Zachary Tomlinson name = "shiny flask" desc = "A shiny metal flask. It appears to have a Greek symbol inscribed on it." - icon = 'custom_items.dmi' + icon = 'icons/obj/custom_items.dmi' icon_state = "shinyflask" volume = 50 /obj/item/weapon/reagent_containers/food/drinks/flask/fluff/lithiumflask //mcgulliver: Wox Derax name = "Lithium Flask" desc = "A flask with a Lithium Atom symbol on it." - icon = 'custom_items.dmi' + icon = 'icons/obj/custom_items.dmi' icon_state = "lithiumflask" volume = 50 @@ -314,7 +314,7 @@ /obj/item/weapon/reagent_containers/glass/beaker/fluff/eleanor_stone //Rkf45: Eleanor Stone name = "teapot" desc = "An elegant teapot. The engraving on the bottom reads 'ENS'" - icon = 'custom_items.dmi' + icon = 'icons/obj/custom_items.dmi' icon_state = "eleanorstone" item_state = "eleanorstone" @@ -348,7 +348,7 @@ /obj/item/clothing/mask/fluff/electriccig //CubeJackal: Barry Sharke name = "Electronic cigarette" desc = "An electronic cigarette. Most of the relief of a real cigarette with none of the side effects. Often used by smokers who are trying to quit the habit." - icon = 'custom_items.dmi' + icon = 'icons/obj/custom_items.dmi' icon_state = "cigon" throw_speed = 0.5 item_state = "ciglit" @@ -361,7 +361,7 @@ /obj/item/weapon/reagent_containers/hypospray/fluff/asher_spock_1 name = "strange penlight" desc = "Besides the coloring, this penlight looks rather normal and innocent. However, you get a nagging feeling whenever you see it..." - icon = 'custom_items.dmi' + icon = 'icons/obj/custom_items.dmi' icon_state = "asher_spock_1" amount_per_transfer_from_this = 5 volume = 15 @@ -414,27 +414,27 @@ /obj/item/weapon/card/id/fluff/asher_spock_2 //Nerezza: Asher Spock name = "Odysses Specialist ID card" desc = "A special identification card with a red cross signifying an emergency physician has specialised in Odysseus operations and maintenance.\nIt grants the owner recharge bay access." - icon = 'custom_items.dmi' + icon = 'icons/obj/custom_items.dmi' icon_state = "odysseus_spec_id" /obj/item/weapon/clipboard/fluff/mcreary_journal //sirribbot: James McReary name = "McReary's journal" desc = "A journal with a warning sticker on the front cover. The initials \"J.M.\" are written on the back." - icon = 'custom_items.dmi' + icon = 'icons/obj/custom_items.dmi' icon_state = "mcreary_journal" item_state = "mcreary_journal" /obj/item/device/flashlight/fluff/thejesster14_1 //thejesster14: Rosa Wolff name = "old red flashlight" desc = "A very old, childlike flashlight." - icon = 'custom_items.dmi' + icon = 'icons/obj/custom_items.dmi' icon_state = "wolfflight" item_state = "wolfflight" /obj/item/weapon/crowbar/fluff/zelda_creedy_1 //daaneesh: Zelda Creedy name = "Zelda's Crowbar" desc = "A pink crow bar that has an engraving that reads, 'To Zelda. Love always, Dawn'" - icon = 'custom_items.dmi' + icon = 'icons/obj/custom_items.dmi' icon_state = "zeldacrowbar" item_state = "crowbar" @@ -443,7 +443,7 @@ /obj/item/weapon/paintkit/fluff/butcher_royce_1 name = "Ripley customisation kit" desc = "A kit containing all the needed tools and parts to turn an APLU Ripley into a Titan's Fist worker mech." - icon = 'custom_items.dmi' + icon = 'icons/obj/custom_items.dmi' icon_state = "royce_kit" new_name = "APLU \"Titan's Fist\"" @@ -456,7 +456,7 @@ /obj/item/weapon/paintkit/fluff/sven_fjeltson_1 name = "Mercenary APLU kit" desc = "A kit containing all the needed tools and parts to turn an APLU Ripley into an old Mercenaries APLU." - icon = 'custom_items.dmi' + icon = 'icons/obj/custom_items.dmi' icon_state = "sven_kit" new_name = "APLU \"Strike the Earth!\"" @@ -482,7 +482,7 @@ /obj/item/clothing/gloves/fluff/walter_brooks_1 //botanistpower: Walter Brooks name = "mittens" desc = "A pair of well worn, blue mittens." - icon = 'custom_items.dmi' + icon = 'icons/obj/custom_items.dmi' icon_state = "walter_brooks_1" item_state = "bluegloves" color="blue" @@ -490,13 +490,13 @@ /obj/item/clothing/gloves/fluff/chal_appara_1 //furlucis: Chal Appara name = "Left Black Glove" desc = "The left one of a pair of black gloves. Wonder where the other one went..." - icon = 'custom_items.dmi' + icon = 'icons/obj/custom_items.dmi' icon_state = "chal_appara_1" /obj/item/clothing/gloves/fluff/ashley_rifler_1 //Vinceluk: Ashley Rifler name = "Purple Glove" desc = "A single, purple glove. Initials A.R. are written on the inside of it." - icon = 'custom_items.dmi' + icon = 'icons/obj/custom_items.dmi' icon_state = "ashley_rifler_1" //////////// Eye Wear //////////// @@ -504,13 +504,13 @@ /obj/item/clothing/glasses/meson/fluff/book_berner_1 //asanadas: Book Berner name = "bespectacled mesonic surveyors" desc = "One of the older meson scanner models retrofitted to perform like its modern counterparts." - icon = 'custom_items.dmi' + icon = 'icons/obj/custom_items.dmi' icon_state = "book_berner_1" /obj/item/clothing/glasses/fluff/uzenwa_sissra_1 //sparklysheep: Uzenwa Sissra name = "Scanning Goggles" desc = "A very oddly shaped pair of goggles with bits of wire poking out the sides. A soft humming sound emanates from it." - icon = 'custom_items.dmi' + icon = 'icons/obj/custom_items.dmi' icon_state = "uzenwa_sissra_1" ////// Medical eyepatch - Thysse Ezinwa - Jadepython @@ -522,7 +522,7 @@ /obj/item/clothing/glasses/fluff/arjun_chopra_1 name = "safety goggles" desc = "A used pair of leather safety goggles." - icon = 'custom_items.dmi' + icon = 'icons/obj/custom_items.dmi' icon_state = "arjun_chopra" item_state = "arjun_chopra" @@ -531,49 +531,49 @@ /obj/item/clothing/head/secsoft/fluff/swatcap //deusdactyl: James Girard name = "\improper SWAT hat" desc = "A black hat. The inside has the words, \"Lieutenant James Girard, LPD SWAT Team Four.\"" - icon = 'custom_items.dmi' + icon = 'icons/obj/custom_items.dmi' icon_state = "swatcap" /obj/item/clothing/head/welding/fluff/alice_mccrea_1 //madmalicemccrea: Alice McCrea name = "flame decal welding helmet" desc = "A welding helmet adorned with flame decals, and several cryptic slogans of varying degrees of legibility. \"Fly the Friendly Skies\" is clearly visible, written above the visor, for some reason." - icon = 'custom_items.dmi' + icon = 'icons/obj/custom_items.dmi' icon_state = "alice_mccrea_1" /obj/item/clothing/head/welding/fluff/yuki_matsuda_1 //searif: Yuki Matsuda name = "white decal welding helmet" desc = "A white welding helmet with a character written across it." - icon = 'custom_items.dmi' + icon = 'icons/obj/custom_items.dmi' icon_state = "yuki_matsuda_1" /obj/item/clothing/head/welding/fluff/norah_briggs_1 //bountylord13: Norah Briggs name = "blue flame decal welding helmet" desc = "A welding helmet with blue flame decals on it." - icon = 'custom_items.dmi' + icon = 'icons/obj/custom_items.dmi' icon_state = "norah_briggs_1" /obj/item/clothing/head/helmet/greenbandana/fluff/taryn_kifer_1 //themij: Taryn Kifer name = "orange bandana" desc = "Hey, I think we're missing a hazard vest..." - icon = 'custom_items.dmi' + icon = 'icons/obj/custom_items.dmi' icon_state = "taryn_kifer_1" /obj/item/clothing/head/fluff/edvin_telephosphor_1 //foolamancer: Edvin Telephosphor name = "Edvin's Hat" desc = "A hat specially tailored for Skrellian anatomy. It has a yellow badge on the front, with a large red 'T' inscribed on it." - icon = 'custom_items.dmi' + icon = 'icons/obj/custom_items.dmi' icon_state = "edvin_telephosphor_1" /obj/item/clothing/head/fluff/krinnhat //Shirotyrant: Krinn Seeskale name = "saucepan hat" desc = "This hat is the shiniest shiny Krinn has ever owned." - icon = 'custom_items.dmi' + icon = 'icons/obj/custom_items.dmi' icon_state = "krinn_hat" /obj/item/clothing/head/fluff/bruce_hachert //Stup1dg33kz: Bruce Hachert name = "worn hat" desc = "A worn-looking hat. It is slightly faded in color." - icon = 'custom_items.dmi' + icon = 'icons/obj/custom_items.dmi' icon_state = "brucehachert" //////////// Suits //////////// @@ -581,19 +581,19 @@ /obj/item/clothing/suit/storage/labcoat/fluff/aeneas_rinil //Robotics Labcoat - Aeneas Rinil [APPR] name = "Robotics labcoat" desc = "A labcoat with a few markings denoting it as the labcoat of roboticist." - icon = 'custom_items.dmi' + icon = 'icons/obj/custom_items.dmi' icon_state = "aeneasrinil_open" /obj/item/clothing/suit/storage/labcoat/fluff/pink //spaceman96: Trenna Seber name = "pink labcoat" desc = "A suit that protects against minor chemical spills. Has a pink stripe down from the shoulders." - icon = 'custom_items.dmi' + icon = 'icons/obj/custom_items.dmi' icon_state = "labcoat_pink_open" /obj/item/clothing/suit/storage/det_suit/fluff/graycoat //vinceluk: Seth Sealis name = "gray coat" desc = "Old, worn out coat. It's seen better days." - icon = 'custom_items.dmi' + icon = 'icons/obj/custom_items.dmi' icon_state = "graycoat" item_state = "graycoat" color = "graycoat" @@ -601,7 +601,7 @@ /obj/item/clothing/suit/storage/det_suit/fluff/leatherjack //atomicdog92: Seth Sealis name = "leather jacket" desc = "A black leather coat, popular amongst punks, greasers, and other galactic scum." - icon = 'custom_items.dmi' + icon = 'icons/obj/custom_items.dmi' icon_state = "leatherjack" item_state = "leatherjack" color = "leatherjack" @@ -609,14 +609,14 @@ /obj/item/clothing/suit/armor/vest/fluff/deus_blueshield //deusdactyl name = "blue shield security armor" desc = "An armored vest with the badge of a Blue Shield Security lieutenant." - icon = 'custom_items.dmi' + icon = 'icons/obj/custom_items.dmi' icon_state = "deus_blueshield" item_state = "deus_blueshield" /obj/item/clothing/suit/fluff/oldscarf //Writerer2: Javaria Zara name = "old scarf" desc = "An old looking scarf, it seems to be fairly worn." - icon = 'clothing/suits.dmi' + icon = 'icons/obj/clothing/suits.dmi' icon_state = "mantle-unathi" item_state = "mantle-unathi" body_parts_covered = UPPER_TORSO @@ -626,7 +626,7 @@ /obj/item/clothing/under/fluff/milo_hachert //Field Dress Uniform - Milo Hachert - Commissar_Drew name = "field dress uniform" desc = "A uniform jacket, its buttons polished to a shine, coupled with a dark pair of trousers. 'Hachert' is embroidered upon the jacket’s shoulder bar." - icon = 'custom_items.dmi' + icon = 'icons/obj/custom_items.dmi' icon_state = "milohachert" item_state = "milohachert" color = "milohachert" @@ -634,7 +634,7 @@ /obj/item/clothing/under/fluff/jumpsuitdown //searif: Yuki Matsuda name = "rolled down jumpsuit" desc = "A rolled down jumpsuit. Great for mechanics." - icon = 'custom_items.dmi' + icon = 'icons/obj/custom_items.dmi' icon_state = "jumpsuitdown" item_state = "jumpsuitdown" color = "jumpsuitdown" @@ -642,7 +642,7 @@ /obj/item/clothing/under/fluff/lilith_vinous_1 //slyhidden: Lilith Vinous name = "casual security uniform" desc = "A less formal version of the traditional dark red Security uniform. It has the top button undone, rolled up sleeves and different belt." - icon = 'custom_items.dmi' + icon = 'icons/obj/custom_items.dmi' icon_state = "lilith_uniform" item_state = "lilith_uniform" color = "lilith_uniform" @@ -650,7 +650,7 @@ /obj/item/clothing/under/fluff/ana_issek_1 //suethecake: Ana Issek name = "retired uniform" desc = "A silken blouse paired with dark-colored slacks. It has the words 'Chief Investigator' embroidered into the shoulder bar." - icon = 'custom_items.dmi' + icon = 'icons/obj/custom_items.dmi' icon_state = "ana_uniform" item_state = "ana_uniform" color = "ana_uniform" @@ -658,7 +658,7 @@ /obj/item/clothing/under/fluff/olddressuniform //desiderium: Momiji Inubashiri name = "retired dress uniform" desc = "A retired Station Head of Staff uniform, phased out twenty years ago for the newer jumpsuit design, but still acceptable dress. Lovingly maintained." - icon = 'custom_items.dmi' + icon = 'icons/obj/custom_items.dmi' icon_state = "olddressuniform" item_state = "olddressuniform" color = "olddressuniform" @@ -666,14 +666,14 @@ /obj/item/clothing/under/rank/security/fluff/jeremy_wolf_1 //whitewolf41: Jeremy Wolf name = "worn officer's uniform" desc = "An old red security jumpsuit. Seems to have some slight modifications." - icon = 'custom_items.dmi' + icon = 'icons/obj/custom_items.dmi' icon_state = "jeremy_wolf_1" color = "jeremy_wolf_1" /obj/item/clothing/under/fluff/tian_dress //phaux: Tian Yinhu name = "purple dress" desc = "A nicely tailored purple dress made for the taller woman." - icon = 'custom_items.dmi' + icon = 'icons/obj/custom_items.dmi' icon_state = "tian_dress" item_state = "tian_dress" color = "tian_dress" @@ -681,7 +681,7 @@ /obj/item/clothing/under/rank/bartender/fluff/classy //searif: Ara Al-Jazari name = "classy bartender uniform" desc = "A prim and proper uniform that looks very similar to a bartender's, the only differences being a red tie, waistcoat and a rag hanging out of the back pocket." - icon = 'custom_items.dmi' + icon = 'icons/obj/custom_items.dmi' icon_state = "ara_bar_uniform" item_state = "ara_bar_uniform" color = "ara_bar_uniform" @@ -689,7 +689,7 @@ /obj/item/clothing/under/fluff/callum_suit //roaper: Callum Leamus name = "knockoff suit" desc = "A knockoff of a suit commonly worn by the upper class." - icon = 'custom_items.dmi' + icon = 'icons/obj/custom_items.dmi' icon_state = "callum_suit" item_state = "callum_suit" color = "callum_suit" @@ -697,7 +697,7 @@ /obj/item/clothing/under/fluff/solara_light_1 //bluefishie: Solara Born-In-Light name = "Elaborate Purple Dress" desc = "An expertly tailored dress, made out of fine fabrics. The interwoven necklace appears to be made out of gold, with three complicated symbols engraved in the front." - icon = 'custom_items.dmi' + icon = 'icons/obj/custom_items.dmi' icon_state = "solara_dress" item_state = "solara_dress" color = "solara_dress" @@ -741,7 +741,7 @@ name = "ex-commander jumpsuit" desc = "A standard Central Command Engineering Commander jumpsuit tailored to fight the wearer tightly. It has a Medal of Service pinned onto the left side of it." - icon = 'custom_items.dmi' + icon = 'icons/obj/custom_items.dmi' icon_state = "wyatt_uniform" item_state = "wyatt_uniform" color = "wyatt_uniform" @@ -752,7 +752,7 @@ /obj/item/clothing/mask/fluff/flagmask //searif: Tsiokeriio Tarbell name = "\improper First Nations facemask" desc = "A simple cloth rag that bears the flag of the first nations." - icon = 'custom_items.dmi' + icon = 'icons/obj/custom_items.dmi' icon_state = "flagmask" item_state = "flagmask" flags = FPRINT|TABLEPASS|MASKCOVERSMOUTH @@ -763,7 +763,7 @@ /obj/item/clothing/mask/mara_kilpatrick_1 //staghorn: Mara Kilpatrick name = "shamrock pendant" desc = "A silver and emerald shamrock pendant. It has the initials \"M.K.\" engraved on the back." - icon = 'custom_items.dmi' + icon = 'icons/obj/custom_items.dmi' icon_state = "mara_kilpatrick_1" flags = FPRINT|TABLEPASS w_class = 1 @@ -773,7 +773,7 @@ /obj/item/clothing/tie/fluff/altair_locket name = "small locket" desc = "A small golden locket attached to an Ii'rka-reed string. Inside the locket is a holo-picture of a female Tajaran, and an inscription writtin in Siik'mas." - icon = 'custom_items.dmi' + icon = 'icons/obj/custom_items.dmi' icon_state = "altair_locket" item_state = "altair_locket" color = "altair_locket" @@ -787,7 +787,7 @@ /obj/item/clothing/tie/fluff/konaa_hirano name = "silver locket" desc = "This oval shaped, argentium sterling silver locket hangs on an incredibly fine, refractive string, almost thin as hair and microweaved from links to a deceptive strength, of similar material. The edges are engraved very delicately with an elegant curving design, but overall the main is unmarked and smooth to the touch, leaving room for either remaining as a stolid piece or future alterations. There is an obvious internal place for a picture or lock of some sort, but even behind that is a very thin compartment unhinged with the pinch of a thumb and forefinger." - icon = 'custom_items.dmi' + icon = 'icons/obj/custom_items.dmi' icon_state = "konaahirano" item_state = "konaahirano" color = "konaahirano" @@ -820,7 +820,7 @@ /obj/item/clothing/tie/fluff/nasir_khayyam_1 name = "medallion" desc = "This silvered medallion bears the symbol of the Hadii Clan of the Tajaran." - icon = 'custom_items.dmi' + icon = 'icons/obj/custom_items.dmi' icon_state = "nasir_khayyam_1" flags = FPRINT|TABLEPASS w_class = 1 @@ -831,7 +831,7 @@ /obj/item/clothing/mask/mara_kilpatrick_1 name = "emerald necklace" desc = "A brass necklace with a green emerald placed at the end. It has a small inscription on the top of the chain, saying \'Foster\'" - icon = 'custom_items.dmi' + icon = 'icons/obj/custom_items.dmi' icon_state = "ty_foster" flags = FPRINT|TABLEPASS w_class = 1 @@ -841,7 +841,7 @@ /obj/item/clothing/shoes/magboots/fluff/susan_harris_1 //sniperyeti: Susan Harris name = "Susan's Magboots" desc = "A colorful pair of magboots with the name Susan Harris clearly written on the back." - icon = 'custom_items.dmi' + icon = 'icons/obj/custom_items.dmi' icon_state = "atmosmagboots0" //////////// Sets //////////// @@ -850,7 +850,7 @@ /obj/item/clothing/suit/storage/labcoat/fluff/cdc_labcoat name = "\improper CDC labcoat" desc = "A standard-issue CDC labcoat that protects against minor chemical spills. It has the name \"Wiles\" sewn on to the breast pocket." - icon = 'custom_items.dmi' + icon = 'icons/obj/custom_items.dmi' icon_state = "labcoat_cdc_open" */ ////// Short Sleeve Medical Outfit //erthilo: Farah Lants @@ -858,14 +858,14 @@ /obj/item/clothing/under/rank/medical/fluff/short name = "short sleeve medical jumpsuit" desc = "Made of a special fiber that gives special protection against biohazards. Has a cross on the chest denoting that the wearer is trained medical personnel and short sleeves." - icon = 'custom_items.dmi' + icon = 'icons/obj/custom_items.dmi' icon_state = "medical_short" color = "medical_short" /obj/item/clothing/suit/storage/labcoat/fluff/red name = "red labcoat" desc = "A suit that protects against minor chemical spills. Has a red stripe on the shoulders and rolled up sleeves." - icon = 'custom_items.dmi' + icon = 'icons/obj/custom_items.dmi' icon_state = "labcoat_red_open" ////// Retired Patrol Outfit //desiderium: Rook Maudlin @@ -873,7 +873,7 @@ /obj/item/clothing/suit/storage/det_suit/fluff/retpolcoat name = "retired colony patrolman's coat" desc = "A clean, black nylon windbreaker with the words \"OUTER LIGHT POLICE\" embroidered in gold-dyed thread on the back. \"RETIRED\" is tastefully embroidered below in a smaller font." - icon = 'custom_items.dmi' + icon = 'icons/obj/custom_items.dmi' icon_state = "retpolcoat" item_state = "retpolcoat" color = "retpolcoat" @@ -881,13 +881,13 @@ /obj/item/clothing/head/det_hat/fluff/retpolcap name = "retired colony patrolman's cap" desc = "A clean and properly creased colony police cap. The badge is shined and polished, the word \"RETIRED\" engraved professionally under the words \"OUTER LIGHT POLICE.\"" - icon = 'custom_items.dmi' + icon = 'icons/obj/custom_items.dmi' icon_state = "retpolcap" /obj/item/clothing/under/det/fluff/retpoluniform name = "retired colony patrolman's uniform" desc = "A meticulously clean police uniform belonging to Precinct 31, Outer Light Colony. The word \"RETIRED\" is engraved tastefully and professionally in the badge below the number, 501." - icon = 'custom_items.dmi' + icon = 'icons/obj/custom_items.dmi' icon_state = "retpoluniform" color = "retpoluniform" @@ -903,7 +903,7 @@ /obj/item/weapon/gun/projectile/detective/fluff/callum_leamas name = "Deckard .44" desc = "A custom built revolver, based off the semi-popular Detective Special model." - icon = 'custom_items.dmi' + icon = 'icons/obj/custom_items.dmi' icon_state = "leamas-empty" /obj/item/weapon/gun/projectile/detective/fluff/callum_leamas/update_icon() diff --git a/code/modules/ext_scripts/github.dm b/code/modules/ext_scripts/github.dm new file mode 100644 index 00000000000..e69de29bb2d diff --git a/code/modules/icon generation/Icon_color_animation.dm b/code/modules/icon generation/Icon_color_animation.dm index 9681722fcb3..1be1bfa28a9 100644 --- a/code/modules/icon generation/Icon_color_animation.dm +++ b/code/modules/icon generation/Icon_color_animation.dm @@ -83,7 +83,7 @@ //---------------------------------------- /proc/generate_color_animation(icon/icon, list/colors, list/frames) - var/icon/out = icon('uristrunes.dmi', "") + var/icon/out = icon('icons/effects/uristrunes.dmi', "") var/frame_num = 1 for(var/frame in frames) diff --git a/code/modules/icon generation/Uristrunes.dm b/code/modules/icon generation/Uristrunes.dm index 3f33f8fed53..d9c129df8ed 100644 --- a/code/modules/icon generation/Uristrunes.dm +++ b/code/modules/icon generation/Uristrunes.dm @@ -9,7 +9,7 @@ //---------------------------------------- /proc/create_border_image(icon/input, border_color = "#000000", fill_color = "#000000", border_alpha = 255, fill_alpha = 255) - var/icon/I = icon('uristrunes.dmi', "blank") + var/icon/I = icon('icons/effects/uristrunes.dmi', "blank") I.Blend(input, ICON_OVERLAY) //Discard the image @@ -176,11 +176,11 @@ var/list/rune_animation = list( if(lookup in rune_cache) return rune_cache[lookup] - var/icon/base = icon('uristrunes.dmi', "") + var/icon/base = icon('icons/effects/uristrunes.dmi', "") for(var/i = 0, i < 10, i++) if(rune_bits & (1 << i)) - base.Blend(icon('uristrunes.dmi', "rune-[1 << i]"), ICON_OVERLAY) + base.Blend(icon('icons/effects/uristrunes.dmi', "rune-[1 << i]"), ICON_OVERLAY) var/icon/result @@ -214,23 +214,23 @@ var/list/rune_animation = list( /* /mob/verb/create_rune_custom(rune as num, color1 as color, border1 as color, color2 as color, border2 as color, alpha1 as num, alpha2 as num) - var/icon/I = icon('uristrunes.dmi', "blank") + var/icon/I = icon('icons/effects/uristrunes.dmi', "blank") for(var/i = 0, i < 10, i++) if(rune & (1 << i)) - I.Blend(icon('uristrunes.dmi', "rune-[1 << i]"), ICON_OVERLAY) + I.Blend(icon('icons/effects/uristrunes.dmi', "rune-[1 << i]"), ICON_OVERLAY) var/obj/o = new(locate(x, y, z)) o.icon = animate_rune(I, color1, border1, color2, border2, alpha1, alpha2) /mob/verb/spam() for(var/turf/t in range(4)) - var/icon/I = icon('uristrunes.dmi', "blank") + var/icon/I = icon('icons/effects/uristrunes.dmi', "blank") var/rune = rand(1, 1023) for(var/i = 0, i < 10, i++) if(rune & (1 << i)) - I.Blend(icon('uristrunes.dmi', "rune-[1 << i]"), ICON_OVERLAY) + I.Blend(icon('icons/effects/uristrunes.dmi', "rune-[1 << i]"), ICON_OVERLAY) var/obj/o = new(t) o.icon = animate_rune_full(I, rand(0, 255), rand(0, 255), rand(0, 255), rand(-255, 255), diff --git a/code/modules/mob/living/carbon/alien/special/snakeman.dm b/code/modules/mob/living/carbon/alien/special/snakeman.dm index d9829dee2be..7aa7b9d5db0 100644 --- a/code/modules/mob/living/carbon/alien/special/snakeman.dm +++ b/code/modules/mob/living/carbon/alien/special/snakeman.dm @@ -43,7 +43,7 @@ /obj/effect/snake_egg name = "Egg" - icon = 'alien.dmi' + icon = 'icons/mob/alien.dmi' icon_state = "egg" density = 1 anchored = 1 diff --git a/code/modules/mob/living/carbon/carbon.dm b/code/modules/mob/living/carbon/carbon.dm index 061f06fe7d8..d9d6fdc070b 100644 --- a/code/modules/mob/living/carbon/carbon.dm +++ b/code/modules/mob/living/carbon/carbon.dm @@ -371,8 +371,7 @@ M.attack_log += text("\[[time_stamp()]\] Has been thrown by [usr.name] ([usr.ckey]) from [start_T_descriptor] with the target [end_T_descriptor]") usr.attack_log += text("\[[time_stamp()]\] Has thrown [M.name] ([M.ckey]) from [start_T_descriptor] with the target [end_T_descriptor]") - - log_attack("[usr.name] ([usr.ckey]) Has thrown [M.name] ([M.ckey]) from [start_T_descriptor] with the target [end_T_descriptor]") + msg_admin_attack("[usr.name] ([usr.ckey]) has thrown [M.name] ([M.ckey]) from [start_T_descriptor] with the target [end_T_descriptor] (JMP)") if(!item) return //Grab processing has a chance of returning null diff --git a/code/modules/mob/living/carbon/carbon_defines.dm b/code/modules/mob/living/carbon/carbon_defines.dm index 6f10e8af792..a2cc5d21a9a 100644 --- a/code/modules/mob/living/carbon/carbon_defines.dm +++ b/code/modules/mob/living/carbon/carbon_defines.dm @@ -20,4 +20,4 @@ //Active emote/pose var/pose = null - var/pulse = PULSE_NORM //current pulse level + var/pulse = PULSE_NORM //current pulse level diff --git a/code/modules/mob/living/carbon/human/human.dm b/code/modules/mob/living/carbon/human/human.dm index 8c41ec8c9a3..13fb91770b2 100644 --- a/code/modules/mob/living/carbon/human/human.dm +++ b/code/modules/mob/living/carbon/human/human.dm @@ -676,7 +676,7 @@ for (var/datum/data/record/R in data_core.general) if (R.fields["id"] == E.fields["id"]) - var/setmedical = input(usr, "Specify a new medical status for this person.", "Medical HUD", R.fields["p_stat"]) in list("*Deceased*", "*Unconscious*", "Physically Unfit", "Active", "Cancel") + var/setmedical = input(usr, "Specify a new medical status for this person.", "Medical HUD", R.fields["p_stat"]) in list("*SSD*", "*Deceased*", "Physically Unfit", "Active", "Disabled", "Cancel") if(hasHUD(usr,"medical")) if(setmedical != "Cancel") @@ -1358,4 +1358,4 @@ mob/living/carbon/human/yank_out_object() else src << "You do not have enough chemicals stored to reproduce." - return + return diff --git a/code/modules/mob/living/carbon/human/human_attackhand.dm b/code/modules/mob/living/carbon/human/human_attackhand.dm index cb161b9d944..73f0a354c12 100644 --- a/code/modules/mob/living/carbon/human/human_attackhand.dm +++ b/code/modules/mob/living/carbon/human/human_attackhand.dm @@ -27,7 +27,7 @@ M.attack_log += text("\[[time_stamp()]\] Stungloved [src.name] ([src.ckey])") src.attack_log += text("\[[time_stamp()]\] Has been stungloved by [M.name] ([M.ckey])") - log_attack("[M.name] ([M.ckey]) stungloved [src.name] ([src.ckey])") + msg_admin_attack("[M.name] ([M.ckey]) stungloved [src.name] ([src.ckey]) (JMP)") var/armorblock = run_armor_check(M.zone_sel.selecting, "energy") apply_effects(5,5,0,0,5,0,0,armorblock) @@ -106,7 +106,7 @@ M.attack_log += text("\[[time_stamp()]\] [M.species.attack_verb]ed [src.name] ([src.ckey])") src.attack_log += text("\[[time_stamp()]\] Has been [M.species.attack_verb]ed by [M.name] ([M.ckey])") - log_attack("[M.name] ([M.ckey]) [M.species.attack_verb]ed [src.name] ([src.ckey])") + log_attack("[M.name] ([M.ckey]) [M.species.attack_verb]ed [src.name] ([src.ckey])") var/damage = rand(0, 5)//BS12 EDIT if(!damage) @@ -144,9 +144,7 @@ M.attack_log += text("\[[time_stamp()]\] Disarmed [src.name] ([src.ckey])") src.attack_log += text("\[[time_stamp()]\] Has been disarmed by [M.name] ([M.ckey])") - log_admin("ATTACK: [M.name] ([M.ckey]) disarmed [src.name] ([src.ckey])") - log_attack("[M.name] ([M.ckey]) disarmed [src.name] ([src.ckey])") - + log_attack("[M.name] ([M.ckey]) disarmed [src.name] ([src.ckey])") if(w_uniform) w_uniform.add_fingerprint(M) diff --git a/code/modules/mob/living/carbon/human/inventory.dm b/code/modules/mob/living/carbon/human/inventory.dm index 8e5938fffdf..9c71f2efddf 100644 --- a/code/modules/mob/living/carbon/human/inventory.dm +++ b/code/modules/mob/living/carbon/human/inventory.dm @@ -372,60 +372,88 @@ if("dnainjector") message = "\red [source] is trying to inject [target] with the [item]!" if("mask") + target.attack_log += text("\[[time_stamp()]\] Had their mask removed by [source.name] ([source.ckey])") + source.attack_log += text("\[[time_stamp()]\] Attempted to remove [target.name]'s ([target.ckey]) mask") if(target.wear_mask && !target.wear_mask.canremove) message = "\red [source] fails to take off \a [target.wear_mask] from [target]'s head!" return else message = "\red [source] is trying to take off \a [target.wear_mask] from [target]'s head!" if("l_hand") + target.attack_log += text("\[[time_stamp()]\] Has had their left hand item ([target.l_hand]) removed by [source.name] ([source.ckey])") + source.attack_log += text("\[[time_stamp()]\] Attempted to remove [target.name]'s ([target.ckey]) left hand item ([target.l_hand])") message = "\red [source] is trying to take off \a [target.l_hand] from [target]'s left hand!" if("r_hand") + target.attack_log += text("\[[time_stamp()]\] Has had their right hand item ([target.r_hand]) removed by [source.name] ([source.ckey])") + source.attack_log += text("\[[time_stamp()]\] Attempted to remove [target.name]'s ([target.ckey]) right hand item ([target.r_hand])") message = "\red [source] is trying to take off \a [target.r_hand] from [target]'s right hand!" if("gloves") + target.attack_log += text("\[[time_stamp()]\] Has had their gloves ([target.gloves]) removed by [source.name] ([source.ckey])") + source.attack_log += text("\[[time_stamp()]\] Attempted to remove [target.name]'s ([target.ckey]) gloves ([target.gloves])") if(target.gloves && !target.gloves.canremove) message = "\red [source] fails to take off \a [target.gloves] from [target]'s hands!" return else message = "\red [source] is trying to take off the [target.gloves] from [target]'s hands!" if("eyes") + target.attack_log += text("\[[time_stamp()]\] Has had their eyewear ([target.glasses]) removed by [source.name] ([source.ckey])") + source.attack_log += text("\[[time_stamp()]\] Attempted to remove [target.name]'s ([target.ckey]) eyewear ([target.glasses])") if(target.glasses && !target.glasses.canremove) message = "\red [source] fails to take off \a [target.glasses] from [target]'s eyes!" return else message = "\red [source] is trying to take off the [target.glasses] from [target]'s eyes!" if("ears") + target.attack_log += text("\[[time_stamp()]\] Has had their ear item ([target.ears]) removed by [source.name] ([source.ckey])") + source.attack_log += text("\[[time_stamp()]\] Attempted to remove [target.name]'s ([target.ckey]) ear item ([target.ears])") if(target.ears && !target.ears.canremove) message = "\red [source] fails to take off \a [target.ears] from [target]'s ears!" return else message = "\red [source] is trying to take off the [target.ears] from [target]'s ears!" if("head") + target.attack_log += text("\[[time_stamp()]\] Has had their hat ([target.head]) removed by [source.name] ([source.ckey])") + source.attack_log += text("\[[time_stamp()]\] Attempted to remove [target.name]'s ([target.ckey]) hat ([target.head])") if(target.head && !target.head.canremove) message = "\red [source] fails to take off \a [target.head] from [target]'s head!" return else message = "\red [source] is trying to take off the [target.head] from [target]'s head!" if("shoes") + target.attack_log += text("\[[time_stamp()]\] Has had their shoes ([target.shoes]) removed by [source.name] ([source.ckey])") + source.attack_log += text("\[[time_stamp()]\] Attempted to remove [target.name]'s ([target.ckey]) shoes ([target.shoes])") if(target.shoes && !target.shoes.canremove) message = "\red [source] fails to take off \a [target.shoes] from [target]'s feet!" return else message = "\red [source] is trying to take off the [target.shoes] from [target]'s feet!" if("belt") + target.attack_log += text("\[[time_stamp()]\] Has had their belt item ([target.belt]) removed by [source.name] ([source.ckey])") + source.attack_log += text("\[[time_stamp()]\] Attempted to remove [target.name]'s ([target.ckey]) belt item ([target.belt])") message = "\red [source] is trying to take off the [target.belt] from [target]'s belt!" if("suit") + target.attack_log += text("\[[time_stamp()]\] Has had their suit ([target.wear_suit]) removed by [source.name] ([source.ckey])") + source.attack_log += text("\[[time_stamp()]\] Attempted to remove [target.name]'s ([target.ckey]) suit ([target.wear_suit])") if(target.wear_suit && !target.wear_suit.canremove) message = "\red [source] fails to take off \a [target.wear_suit] from [target]'s body!" return else message = "\red [source] is trying to take off \a [target.wear_suit] from [target]'s body!" if("back") + target.attack_log += text("\[[time_stamp()]\] Has had their back item ([target.back]) removed by [source.name] ([source.ckey])") + source.attack_log += text("\[[time_stamp()]\] Attempted to remove [target.name]'s ([target.ckey]) back item ([target.back])") message = "\red [source] is trying to take off \a [target.back] from [target]'s back!" if("handcuff") + target.attack_log += text("\[[time_stamp()]\] Was unhandcuffed by [source.name] ([source.ckey])") + source.attack_log += text("\[[time_stamp()]\] Attempted to unhandcuff [target.name]'s ([target.ckey])") message = "\red [source] is trying to unhandcuff [target]!" if("legcuff") + target.attack_log += text("\[[time_stamp()]\] Was unlegcuffed by [source.name] ([source.ckey])") + source.attack_log += text("\[[time_stamp()]\] Attempted to unlegcuff [target.name]'s ([target.ckey])") message = "\red [source] is trying to unlegcuff [target]!" if("uniform") + target.attack_log += text("\[[time_stamp()]\] Has had their uniform ([target.w_uniform]) removed by [source.name] ([source.ckey])") + source.attack_log += text("\[[time_stamp()]\] Attempted to remove [target.name]'s ([target.ckey]) uniform ([target.w_uniform])") for(var/obj/item/I in list(target.l_store, target.r_store)) if(I.on_found(source)) return @@ -435,8 +463,12 @@ else message = "\red [source] is trying to take off \a [target.w_uniform] from [target]'s body!" if("s_store") + target.attack_log += text("\[[time_stamp()]\] Has had their suit storage item ([target.s_store]) removed by [source.name] ([source.ckey])") + source.attack_log += text("\[[time_stamp()]\] Attempted to remove [target.name]'s ([target.ckey]) suit storage item ([target.s_store])") message = "\red [source] is trying to take off \a [target.s_store] from [target]'s suit!" if("pockets") + target.attack_log += text("\[[time_stamp()]\] Has had their pockets emptied by [source.name] ([source.ckey])") + source.attack_log += text("\[[time_stamp()]\] Attempted to empty [target.name]'s ([target.ckey]) pockets") for(var/obj/item/I in list(target.l_store, target.r_store)) if(I.on_found(source)) return @@ -447,8 +479,12 @@ target.cpr_time = 0 message = "\red [source] is trying perform CPR on [target]!" if("id") + target.attack_log += text("\[[time_stamp()]\] Has had their ID ([target.wear_id]) removed by [source.name] ([source.ckey])") + source.attack_log += text("\[[time_stamp()]\] Attempted to remove [target.name]'s ([target.ckey]) ID ([target.wear_id])") message = "\red [source] is trying to take off [target.wear_id] from [target]'s uniform!" if("internal") + target.attack_log += text("\[[time_stamp()]\] Has had their internals toggled by [source.name] ([source.ckey])") + source.attack_log += text("\[[time_stamp()]\] Attempted to toggle [target.name]'s ([target.ckey]) internals") if (target.internal) message = "\red [source] is trying to remove [target]'s internals" else diff --git a/code/modules/mob/living/carbon/human/life.dm b/code/modules/mob/living/carbon/human/life.dm index d61cdd1cc7c..f5314954069 100644 --- a/code/modules/mob/living/carbon/human/life.dm +++ b/code/modules/mob/living/carbon/human/life.dm @@ -526,38 +526,37 @@ proc/handle_environment(datum/gas_mixture/environment) if(!environment) return - var/loc_temp = T0C - if(istype(loc, /obj/mecha)) - var/obj/mecha/M = loc - loc_temp = M.return_temperature() - else if(istype(get_turf(src), /turf/space)) - var/turf/heat_turf = get_turf(src) - loc_temp = heat_turf.temperature - else if(istype(loc, /obj/machinery/atmospherics/unary/cryo_cell)) - loc_temp = loc:air_contents.temperature - else - loc_temp = environment.temperature + if(!istype(get_turf(src), /turf/space)) //space is not meant to change your body temperature. + var/loc_temp = T0C + if(istype(loc, /obj/mecha)) + var/obj/mecha/M = loc + loc_temp = M.return_temperature() + else if(istype(get_turf(src), /turf/space)) + else if(istype(loc, /obj/machinery/atmospherics/unary/cryo_cell)) + loc_temp = loc:air_contents.temperature + else + loc_temp = environment.temperature - //world << "Loc temp: [loc_temp] - Body temp: [bodytemperature] - Fireloss: [getFireLoss()] - Thermal protection: [get_thermal_protection()] - Fire protection: [thermal_protection + add_fire_protection(loc_temp)] - Heat capacity: [environment_heat_capacity] - Location: [loc] - src: [src]" + //world << "Loc temp: [loc_temp] - Body temp: [bodytemperature] - Fireloss: [getFireLoss()] - Thermal protection: [get_thermal_protection()] - Fire protection: [thermal_protection + add_fire_protection(loc_temp)] - Heat capacity: [environment_heat_capacity] - Location: [loc] - src: [src]" - //Body temperature is adjusted in two steps. Firstly your body tries to stabilize itself a bit. - if(stat != 2) - stabilize_temperature_from_calories() + //Body temperature is adjusted in two steps. Firstly your body tries to stabilize itself a bit. + if(stat != 2) + stabilize_temperature_from_calories() -// log_debug("Adjusting to atmosphere.") - //After then, it reacts to the surrounding atmosphere based on your thermal protection - if(loc_temp < BODYTEMP_COLD_DAMAGE_LIMIT) //Place is colder than we are - var/thermal_protection = get_cold_protection(loc_temp) //This returns a 0 - 1 value, which corresponds to the percentage of protection based on what you're wearing and what you're exposed to. - if(thermal_protection < 1) - var/amt = min((1-thermal_protection) * ((loc_temp - bodytemperature) / BODYTEMP_COLD_DIVISOR), BODYTEMP_COOLING_MAX) -// log_debug("[loc_temp] is Cold. Cooling by [amt]") - bodytemperature += amt - else if (loc_temp > BODYTEMP_HEAT_DAMAGE_LIMIT) //Place is hotter than we are - var/thermal_protection = get_heat_protection(loc_temp) //This returns a 0 - 1 value, which corresponds to the percentage of protection based on what you're wearing and what you're exposed to. - if(thermal_protection < 1) - var/amt = min((1-thermal_protection) * ((loc_temp - bodytemperature) / BODYTEMP_HEAT_DIVISOR), BODYTEMP_HEATING_MAX) -// log_debug("[loc_temp] is Heat. Heating up by [amt]") - bodytemperature += amt + // log_debug("Adjusting to atmosphere.") + //After then, it reacts to the surrounding atmosphere based on your thermal protection + if(loc_temp < BODYTEMP_COLD_DAMAGE_LIMIT) //Place is colder than we are + var/thermal_protection = get_cold_protection(loc_temp) //This returns a 0 - 1 value, which corresponds to the percentage of protection based on what you're wearing and what you're exposed to. + if(thermal_protection < 1) + var/amt = min((1-thermal_protection) * ((loc_temp - bodytemperature) / BODYTEMP_COLD_DIVISOR), BODYTEMP_COOLING_MAX) + // log_debug("[loc_temp] is Cold. Cooling by [amt]") + bodytemperature += amt + else if (loc_temp > BODYTEMP_HEAT_DAMAGE_LIMIT) //Place is hotter than we are + var/thermal_protection = get_heat_protection(loc_temp) //This returns a 0 - 1 value, which corresponds to the percentage of protection based on what you're wearing and what you're exposed to. + if(thermal_protection < 1) + var/amt = min((1-thermal_protection) * ((loc_temp - bodytemperature) / BODYTEMP_HEAT_DIVISOR), BODYTEMP_HEATING_MAX) + // log_debug("[loc_temp] is Heat. Heating up by [amt]") + bodytemperature += amt // +/- 50 degrees from 310.15K is the 'safe' zone, where no damage is dealt. if(bodytemperature > BODYTEMP_HEAT_DAMAGE_LIMIT) diff --git a/code/modules/mob/living/carbon/human/update_icons.dm b/code/modules/mob/living/carbon/human/update_icons.dm index 49242c64de1..02b233bb440 100644 --- a/code/modules/mob/living/carbon/human/update_icons.dm +++ b/code/modules/mob/living/carbon/human/update_icons.dm @@ -164,7 +164,7 @@ var/global/list/damage_icon_parts = list() proc/get_damage_icon_part(damage_state, body_part) if(damage_icon_parts["[damage_state]/[body_part]"] == null) var/icon/DI = new /icon('icons/mob/dam_human.dmi', damage_state) // the damage icon for whole human - DI.Blend(new /icon('dam_mask.dmi', body_part), ICON_MULTIPLY) // mask with this organ's pixels + DI.Blend(new /icon('icons/mob/dam_mask.dmi', body_part), ICON_MULTIPLY) // mask with this organ's pixels damage_icon_parts["[damage_state]/[body_part]"] = DI return DI else @@ -187,8 +187,8 @@ proc/get_damage_icon_part(damage_state, body_part) previous_damage_appearance = damage_appearance - var/icon/standing = new /icon('dam_human.dmi', "00") - var/icon/lying = new /icon('dam_human.dmi', "00-2") + var/icon/standing = new /icon('icons/mob/dam_human.dmi', "00") + var/icon/lying = new /icon('icons/mob/dam_human.dmi', "00-2") var/image/standing_image = new /image("icon" = standing) var/image/lying_image = new /image("icon" = lying) diff --git a/code/modules/mob/living/living_defense.dm b/code/modules/mob/living/living_defense.dm index b7ba0a78037..1ebb3ca358b 100644 --- a/code/modules/mob/living/living_defense.dm +++ b/code/modules/mob/living/living_defense.dm @@ -80,9 +80,10 @@ var/client/assailant = directory[ckey(O.fingerprintslast)] if(assailant && assailant.mob && istype(assailant.mob,/mob)) var/mob/M = assailant.mob - src.attack_log += text("\[[time_stamp()]\] Has been hit with [O], last touched by [M.name] ([assailant.ckey])") - M.attack_log += text("\[[time_stamp()]\] Hit [src.name] ([src.ckey]) with [O]") - log_attack("[src.name] ([src.ckey]) was hit by [O], last touched by [M.name] ([assailant.ckey])") + + src.attack_log += text("\[[time_stamp()]\] Has been hit with a thrown [O], last touched by [M.name] ([assailant.ckey])") + M.attack_log += text("\[[time_stamp()]\] Hit [src.name] ([src.ckey]) with a thrown [O]") + msg_admin_attack("[src.name] ([src.ckey]) was hit by a thrown [O], last touched by [M.name] ([assailant.ckey]) (JMP)") // Begin BS12 momentum-transfer code. diff --git a/code/modules/mob/living/silicon/robot/component.dm b/code/modules/mob/living/silicon/robot/component.dm index cc10e646dd6..e3fa19a088d 100644 --- a/code/modules/mob/living/silicon/robot/component.dm +++ b/code/modules/mob/living/silicon/robot/component.dm @@ -124,11 +124,11 @@ /obj/item/broken_device name = "broken component" - icon = 'robot_component.dmi' + icon = 'icons/robot_component.dmi' icon_state = "broken" /obj/item/robot_parts/robot_component - icon = 'robot_component.dmi' + icon = 'icons/robot_component.dmi' icon_state = "working" construction_time = 200 construction_cost = list("metal"=5000) diff --git a/code/modules/mob/living/silicon/robot/emote.dm b/code/modules/mob/living/silicon/robot/emote.dm index 6b94c52c6da..6bf18971ba6 100644 --- a/code/modules/mob/living/silicon/robot/emote.dm +++ b/code/modules/mob/living/silicon/robot/emote.dm @@ -191,7 +191,7 @@ if (istype(module,/obj/item/weapon/robot_module/security)) message = "[src] shows its legal authorization barcode." - playsound(src.loc, 'biamthelaw.ogg', 50, 0) + playsound(src.loc, 'sound/voice/biamthelaw.ogg', 50, 0) m_type = 2 else src << "You are not THE LAW, pal." diff --git a/code/modules/mob/living/silicon/robot/robot_upgrades.dm b/code/modules/mob/living/silicon/robot/robot_upgrades.dm index eeb66f46a25..e512a6cccee 100644 --- a/code/modules/mob/living/silicon/robot/robot_upgrades.dm +++ b/code/modules/mob/living/silicon/robot/robot_upgrades.dm @@ -4,7 +4,7 @@ /obj/item/borg/upgrade/ name = "A borg upgrade module." desc = "Protected by FRM." - icon = 'module.dmi' + icon = 'icons/obj/module.dmi' icon_state = "cyborg_upgrade" var/construction_time = 120 var/construction_cost = list("metal"=10000) diff --git a/code/modules/mob/living/simple_animal/friendly/corgi.dm b/code/modules/mob/living/simple_animal/friendly/corgi.dm index e1e0a0eea40..5df52388a8c 100644 --- a/code/modules/mob/living/simple_animal/friendly/corgi.dm +++ b/code/modules/mob/living/simple_animal/friendly/corgi.dm @@ -472,4 +472,4 @@ spawn(0) for(var/i in list(1,2,4,8,4,2,1,2,4,8,4,2,1,2,4,8,4,2)) dir = i - sleep(1) + sleep(1) diff --git a/code/modules/mob/living/simple_animal/kobold.dm b/code/modules/mob/living/simple_animal/kobold.dm index acf1fa1ea7c..3d9515c88b6 100644 --- a/code/modules/mob/living/simple_animal/kobold.dm +++ b/code/modules/mob/living/simple_animal/kobold.dm @@ -2,7 +2,7 @@ /mob/living/simple_animal/kobold name = "kobold" desc = "A small, rat-like creature." - icon = 'mob.dmi' + icon = 'icons/mob/mob.dmi' icon_state = "kobold_idle" icon_living = "kobold_idle" icon_dead = "kobold_dead" diff --git a/code/modules/mob/mob.dm b/code/modules/mob/mob.dm index 08aad3d7ad6..5c833ff8aa2 100644 --- a/code/modules/mob/mob.dm +++ b/code/modules/mob/mob.dm @@ -960,4 +960,4 @@ mob/verb/yank_out_object() pinned -= O if(!pinned.len) anchored = 0 - return 1 + return 1 diff --git a/code/modules/mob/mob_grab.dm b/code/modules/mob/mob_grab.dm index 5363c05a116..d716e537e61 100644 --- a/code/modules/mob/mob_grab.dm +++ b/code/modules/mob/mob_grab.dm @@ -211,7 +211,7 @@ affecting.loc = assailant.loc affecting.attack_log += text("\[[time_stamp()]\] Has had their neck grabbed by [assailant.name] ([assailant.ckey])") assailant.attack_log += text("\[[time_stamp()]\] Grabbed the neck of [affecting.name] ([affecting.ckey])") - log_attack("[assailant.name] ([assailant.ckey]) grabbed the neck of [affecting.name] ([affecting.ckey])") + msg_admin_attack("[assailant.name] ([assailant.ckey]) grabbed the neck of [affecting.name] ([affecting.ckey]) (JMP)") hud1.icon_state = "disarm/kill" hud1.name = "disarm/kill" else @@ -233,7 +233,7 @@ assailant.visible_message("\red [assailant] has tightened \his grip on [affecting]'s neck!") affecting.attack_log += text("\[[time_stamp()]\] Has been strangled (kill intent) by [assailant.name] ([assailant.ckey])") assailant.attack_log += text("\[[time_stamp()]\] Strangled (kill intent) [affecting.name] ([affecting.ckey])") - log_attack("[assailant.name] ([assailant.ckey]) Strangled (kill intent) [affecting.name] ([affecting.ckey])") + msg_admin_attack("[assailant.name] ([assailant.ckey]) Strangled (kill intent) [affecting.name] ([affecting.ckey]) (JMP)") assailant.next_move = world.time + 10 affecting.losebreath += 1 diff --git a/code/modules/mob/screen.dm b/code/modules/mob/screen.dm index 5742b95cb2d..b36e3e7516a 100644 --- a/code/modules/mob/screen.dm +++ b/code/modules/mob/screen.dm @@ -77,7 +77,7 @@ /obj/screen/gun name = "gun" - icon = 'screen1.dmi' + icon = 'icons/mob/screen1.dmi' master = null dir = 2 diff --git a/code/modules/organs/organ_external.dm b/code/modules/organs/organ_external.dm index de037500009..7441ac88e1b 100644 --- a/code/modules/organs/organ_external.dm +++ b/code/modules/organs/organ_external.dm @@ -884,8 +884,7 @@ obj/item/weapon/organ/head/attackby(obj/item/weapon/W as obj, mob/user as mob) user.attack_log += "\[[time_stamp()]\] Debrained [brainmob.name] ([brainmob.ckey]) with [src.name] (INTENT: [uppertext(user.a_intent)])" brainmob.attack_log += "\[[time_stamp()]\] Debrained by [user.name] ([user.ckey]) with [src.name] (INTENT: [uppertext(user.a_intent)])" - log_admin("ATTACK: [brainmob] ([brainmob.ckey]) debrained [user] ([user.ckey]).") - message_admins("ATTACK: [brainmob] ([brainmob.ckey]) debrained [user] ([user.ckey]).") + msg_admin_attack("[brainmob] ([brainmob.ckey]) debrained [user] ([user.ckey]) (INTENT: [uppertext(user.a_intent)]) (JMP)") var/obj/item/brain/B = new(loc) B.transfer_identity(brainmob) diff --git a/code/modules/paperwork/pen.dm b/code/modules/paperwork/pen.dm index 43eb2e40e28..2548c764ecf 100644 --- a/code/modules/paperwork/pen.dm +++ b/code/modules/paperwork/pen.dm @@ -46,11 +46,10 @@ if(!ismob(M)) return user << "You stab [M] with the pen." - M << "\red You feel a tiny prick!" +// M << "\red You feel a tiny prick!" //That's a whole lot of meta! M.attack_log += text("\[[time_stamp()]\] Has been stabbed with [name] by [user.name] ([user.ckey])") user.attack_log += text("\[[time_stamp()]\] Used the [name] to stab [M.name] ([M.ckey])") - - log_attack("[user.name] ([user.ckey]) Used the [name] to stab [M.name] ([M.ckey])") + msg_admin_attack("[user.name] ([user.ckey]) Used the [name] to stab [M.name] ([M.ckey]) (JMP)") return diff --git a/code/modules/power/antimatter/computer.dm b/code/modules/power/antimatter/computer.dm index c8a32cabb1b..3a47ec7abf2 100644 --- a/code/modules/power/antimatter/computer.dm +++ b/code/modules/power/antimatter/computer.dm @@ -6,7 +6,7 @@ /obj/machinery/computer/am_engine name = "Antimatter Engine Console" - icon = 'stationobjs.dmi' + icon = 'icons/obj/stationobjs.dmi' icon_state = "comm_computer" req_access = list(ACCESS_ENGINE) var/engine_id = 0 diff --git a/code/modules/power/antimatter/engine.dm b/code/modules/power/antimatter/engine.dm index 824e3fe0e89..77512fb5b0b 100644 --- a/code/modules/power/antimatter/engine.dm +++ b/code/modules/power/antimatter/engine.dm @@ -1,5 +1,5 @@ /obj/machinery/power/am_engine - icon = 'AM_Engine.dmi' + icon = 'icons/am_engine.dmi' density = 1 anchored = 1.0 flags = ON_BORDER diff --git a/code/modules/power/antimatter/fuel.dm b/code/modules/power/antimatter/fuel.dm index dc261110b00..f4250bf9378 100644 --- a/code/modules/power/antimatter/fuel.dm +++ b/code/modules/power/antimatter/fuel.dm @@ -1,7 +1,7 @@ /obj/item/weapon/fuel name = "Magnetic Storage Ring" desc = "A magnetic storage ring." - icon = 'items.dmi' + icon = 'icons/obj/items.dmi' icon_state = "rcdammo" opacity = 0 density = 0 diff --git a/code/modules/power/pacman2.dm b/code/modules/power/pacman2.dm index 4aa6e60525f..89d65a6ae21 100644 --- a/code/modules/power/pacman2.dm +++ b/code/modules/power/pacman2.dm @@ -92,7 +92,7 @@ else if(!active) if(istype(O, /obj/item/weapon/wrench)) anchored = !anchored - playsound(src.loc, 'Deconstruct.ogg', 50, 1) + playsound(src.loc, 'sound/items/Deconstruct.ogg', 50, 1) if(anchored) user << "\blue You secure the generator to the floor." else @@ -100,7 +100,7 @@ makepowernets() else if(istype(O, /obj/item/weapon/screwdriver)) open = !open - playsound(src.loc, 'Screwdriver.ogg', 50, 1) + playsound(src.loc, 'sound/items/Screwdriver.ogg', 50, 1) if(open) user << "\blue You open the access panel." else diff --git a/code/modules/projectiles/ammunition/bullets.dm b/code/modules/projectiles/ammunition/bullets.dm index 412ff260ecc..240fbc25eb7 100644 --- a/code/modules/projectiles/ammunition/bullets.dm +++ b/code/modules/projectiles/ammunition/bullets.dm @@ -93,4 +93,4 @@ /obj/item/ammo_casing/a762 desc = "A 7.62 bullet casing." caliber = "a762" - projectile_type = "/obj/item/projectile/bullet" + projectile_type = "/obj/item/projectile/bullet" diff --git a/code/modules/projectiles/guns/energy.dm b/code/modules/projectiles/guns/energy.dm index f22653cb623..fb506def213 100644 --- a/code/modules/projectiles/guns/energy.dm +++ b/code/modules/projectiles/guns/energy.dm @@ -41,4 +41,4 @@ if(modifystate) icon_state = "[modifystate][ratio]" else - icon_state = "[initial(icon_state)][ratio]" + icon_state = "[initial(icon_state)][ratio]" diff --git a/code/modules/projectiles/projectile.dm b/code/modules/projectiles/projectile.dm index 8f2ea173cf8..c12f900bc02 100644 --- a/code/modules/projectiles/projectile.dm +++ b/code/modules/projectiles/projectile.dm @@ -107,12 +107,10 @@ if(istype(firer, /mob)) M.attack_log += "\[[time_stamp()]\] [firer]/[firer.ckey] shot [M]/[M.ckey] with a [src.type]" firer.attack_log += "\[[time_stamp()]\] [firer]/[firer.ckey] shot [M]/[M.ckey] with a [src.type]" - log_attack("[firer] ([firer.ckey]) shot [M] ([M.ckey]) with a [src.type]") - msg_admin_attack("ATTACK: [firer] ([firer.ckey]) shot [M] ([M.ckey]) with a [src]") //BS12 EDIT ALG + msg_admin_attack("[firer] ([firer.ckey]) shot [M] ([M.ckey]) with a [src] (JMP)") //BS12 EDIT ALG else M.attack_log += "\[[time_stamp()]\] UNKNOWN SUBJECT (No longer exists) shot [M]/[M.ckey] with a [src]" - log_attack("UNKNOWN shot [M] ([M.ckey]) with a [src.type]") - msg_admin_attack("ATTACK: UNKNOWN shot [M] ([M.ckey]) with a [src]") //BS12 EDIT ALG + msg_admin_attack("UNKNOWN shot [M] ([M.ckey]) with a [src] (JMP)") //BS12 EDIT ALG spawn(0) diff --git a/code/modules/projectiles/targeting.dm b/code/modules/projectiles/targeting.dm index fa982c1de7d..b8905e1ae25 100644 --- a/code/modules/projectiles/targeting.dm +++ b/code/modules/projectiles/targeting.dm @@ -157,7 +157,7 @@ mob/living/proc/Targeted(var/obj/item/weapon/gun/I) //Self explanitory. else return for(var/mob/living/K in viewers(usr)) - K << 'TargetOn.ogg' + K << 'sound/weapons/TargetOn.ogg' if(!targeted_by) targeted_by = list() targeted_by += I @@ -214,7 +214,7 @@ mob/living/proc/Targeted(var/obj/item/weapon/gun/I) //Self explanitory. mob/living/proc/NotTargeted(var/obj/item/weapon/gun/I) if(!I.silenced) for(var/mob/living/M in viewers(src)) - M << 'TargetOff.ogg' + M << 'sound/weapons/TargetOff.ogg' targeted_by -= I I.target.Remove(src) //De-target them if(!I.target.len) diff --git a/code/modules/reagents/Chemistry-Machinery.dm b/code/modules/reagents/Chemistry-Machinery.dm index 9435fee6a01..3f05c23582e 100644 --- a/code/modules/reagents/Chemistry-Machinery.dm +++ b/code/modules/reagents/Chemistry-Machinery.dm @@ -395,9 +395,9 @@ spawn() has_sprites += user.client for(var/i = 1 to MAX_PILL_SPRITE) - usr << browse_rsc(icon('chemical.dmi', "pill" + num2text(i)), "pill[i].png") + usr << browse_rsc(icon('icons/obj/chemical.dmi', "pill" + num2text(i)), "pill[i].png") for(var/i = 1 to MAX_BOTTLE_SPRITE) - usr << browse_rsc(icon('chemical.dmi', "bottle" + num2text(i)), "bottle[i].png") + usr << browse_rsc(icon('icons/obj/chemical.dmi', "bottle" + num2text(i)), "bottle[i].png") var/dat = "" if(!beaker) dat = "Please insert beaker.
" diff --git a/code/modules/reagents/dartgun.dm b/code/modules/reagents/dartgun.dm index e89792c62c6..33e29dc809f 100644 --- a/code/modules/reagents/dartgun.dm +++ b/code/modules/reagents/dartgun.dm @@ -177,13 +177,13 @@ R += A.id + " (" R += num2text(A.volume) + ")," if (istype(M, /mob)) - M.attack_log += "\[[time_stamp()]\] [user]/[user.ckey] shot [M]/[M.ckey] with a syringegun ([R])" - user.attack_log += "\[[time_stamp()]\] [user]/[user.ckey] shot [M]/[M.ckey] with a syringegun ([R])" - log_attack("[user] ([user.ckey]) shot [M] ([M.ckey]) with a syringegun ([R])") + M.attack_log += "\[[time_stamp()]\] [user]/[user.ckey] shot [M]/[M.ckey] with a dartgun ([R])" + user.attack_log += "\[[time_stamp()]\] [user]/[user.ckey] shot [M]/[M.ckey] with a dartgun ([R])" + msg_admin_attack("[user] ([user.ckey]) shot [M] ([M.ckey]) with a dartgun ([R]) (JMP)") else - M.attack_log += "\[[time_stamp()]\] UNKNOWN SUBJECT (No longer exists) shot [M]/[M.ckey] with a syringegun ([R])" - log_attack("UNKNOWN shot [M] ([M.ckey]) with a syringegun ([R])") + M.attack_log += "\[[time_stamp()]\] UNKNOWN SUBJECT (No longer exists) shot [M]/[M.ckey] with a dartgun ([R])" + msg_admin_attack("UNKNOWN shot [M] ([M.ckey]) with a dartgun ([R]) (JMP)") if(D.reagents) D.reagents.trans_to(M, 15) diff --git a/code/modules/reagents/reagent_containers/borghydro.dm b/code/modules/reagents/reagent_containers/borghydro.dm index 130ea2ba7ac..1dffb8209a1 100644 --- a/code/modules/reagents/reagent_containers/borghydro.dm +++ b/code/modules/reagents/reagent_containers/borghydro.dm @@ -104,4 +104,4 @@ empty = 0 if(empty) - usr << "\blue It is currently empty. Allow some time for the internal syntheszier to produce more." + usr << "\blue It is currently empty. Allow some time for the internal syntheszier to produce more." diff --git a/code/modules/reagents/reagent_containers/dropper.dm b/code/modules/reagents/reagent_containers/dropper.dm index 22ea087b13f..09da254712c 100644 --- a/code/modules/reagents/reagent_containers/dropper.dm +++ b/code/modules/reagents/reagent_containers/dropper.dm @@ -63,15 +63,16 @@ for(var/mob/O in viewers(world.view, user)) O.show_message(text("\red [] squirts something into []'s eyes!", user, target), 1) src.reagents.reaction(target, TOUCH) - var/mob/M = target - var/R - if(src.reagents) - for(var/datum/reagent/A in src.reagents.reagent_list) - R += A.id + " (" - R += num2text(A.volume) + ")," - user.attack_log += "\[[time_stamp()]\] [user]/[user.ckey] squirted [M]/[M.ckey] with ([R])" - M.attack_log += "\[[time_stamp()]\] [user]/[user.ckey] squirted [M]/[M.ckey] with ([R])" - log_attack("\[[time_stamp()]\] [user]/[user.ckey] squirted [M]/[M.ckey] with ([R])") + + var/mob/living/M = target + + var/list/injected = list() + for(var/datum/reagent/R in src.reagents.reagent_list) + injected += R.name + var/contained = english_list(injected) + M.attack_log += text("\[[time_stamp()]\] Has been squirted with [src.name] by [user.name] ([user.ckey]). Reagents: [contained]") + user.attack_log += text("\[[time_stamp()]\] Used the [src.name] to squirt [M.name] ([M.key]). Reagents: [contained]") + msg_admin_attack("[user.name] ([user.ckey]) squirted [M.name] ([M.key]) with [src.name]. Reagents: [contained] (INTENT: [uppertext(user.a_intent)]) (JMP)") trans = src.reagents.trans_to(target, amount_per_transfer_from_this) user << "\blue You transfer [trans] units of the solution." diff --git a/code/modules/reagents/reagent_containers/food/condiment.dm b/code/modules/reagents/reagent_containers/food/condiment.dm index e360062fec0..73e44a85f02 100644 --- a/code/modules/reagents/reagent_containers/food/condiment.dm +++ b/code/modules/reagents/reagent_containers/food/condiment.dm @@ -45,8 +45,7 @@ M.attack_log += text("\[[time_stamp()]\] Has been fed [src.name] by [user.name] ([user.ckey]) Reagents: [reagentlist(src)]") user.attack_log += text("\[[time_stamp()]\] Fed [src.name] by [M.name] ([M.ckey]) Reagents: [reagentlist(src)]") - - log_attack("[user.name] ([user.ckey]) fed [M.name] ([M.ckey]) with [src.name] (INTENT: [uppertext(user.a_intent)])") + msg_admin_attack("[user.name] ([user.ckey]) fed [M.name] ([M.ckey]) with [src.name] (INTENT: [uppertext(user.a_intent)]) (JMP)") if(reagents.total_volume) reagents.reaction(M, INGEST) diff --git a/code/modules/reagents/reagent_containers/food/drinks.dm b/code/modules/reagents/reagent_containers/food/drinks.dm index dfa67cdef29..66a1b3e343e 100644 --- a/code/modules/reagents/reagent_containers/food/drinks.dm +++ b/code/modules/reagents/reagent_containers/food/drinks.dm @@ -45,8 +45,7 @@ M.attack_log += text("\[[time_stamp()]\] Has been fed [src.name] by [user.name] ([user.ckey]) Reagents: [reagentlist(src)]") user.attack_log += text("\[[time_stamp()]\] Fed [M.name] by [M.name] ([M.ckey]) Reagents: [reagentlist(src)]") - - log_attack("[user.name] ([user.ckey]) fed [M.name] ([M.ckey]) with [src.name] (INTENT: [uppertext(user.a_intent)])") + log_attack("[user.name] ([user.ckey]) fed [M.name] ([M.ckey]) with [src.name] Reagents: [reagentlist(src)] (INTENT: [uppertext(user.a_intent)]) (JMP)") if(reagents.total_volume) reagents.reaction(M, INGEST) diff --git a/code/modules/reagents/reagent_containers/food/drinks/bottle.dm b/code/modules/reagents/reagent_containers/food/drinks/bottle.dm index 36016e92c14..c958b351fa5 100644 --- a/code/modules/reagents/reagent_containers/food/drinks/bottle.dm +++ b/code/modules/reagents/reagent_containers/food/drinks/bottle.dm @@ -99,7 +99,7 @@ //Attack logs user.attack_log += text("\[[time_stamp()]\] Has attacked [target.name] ([target.ckey]) with a bottle!") target.attack_log += text("\[[time_stamp()]\] Has been smashed with a bottle by [user.name] ([user.ckey])") - log_attack("[user.name] ([user.ckey]) attacked [target.name] with a bottle. ([target.ckey])") + msg_admin_attack("[user.name] ([user.ckey]) attacked [target.name] ([target.ckey]) with a bottle. (INTENT: [uppertext(user.a_intent)]) (JMP)") //The reagents in the bottle splash all over the target, thanks for the idea Nodrak if(src.reagents) diff --git a/code/modules/reagents/reagent_containers/food/snacks.dm b/code/modules/reagents/reagent_containers/food/snacks.dm index f15c3410947..664a4363442 100644 --- a/code/modules/reagents/reagent_containers/food/snacks.dm +++ b/code/modules/reagents/reagent_containers/food/snacks.dm @@ -66,8 +66,7 @@ M.attack_log += text("\[[time_stamp()]\] Has been fed [src.name] by [user.name] ([user.ckey]) Reagents: [reagentlist(src)]") user.attack_log += text("\[[time_stamp()]\] Fed [src.name] by [M.name] ([M.ckey]) Reagents: [reagentlist(src)]") - - log_attack("[user.name] ([user.ckey]) fed [M.name] ([M.ckey]) with [src.name] (INTENT: [uppertext(user.a_intent)])") + log_attack("[user.name] ([user.ckey]) fed [M.name] ([M.ckey]) with [src.name] Reagents: [reagentlist(src)] (INTENT: [uppertext(user.a_intent)])") for(var/mob/O in viewers(world.view, user)) O.show_message("\red [user] feeds [M] [src].", 1) diff --git a/code/modules/reagents/reagent_containers/glass.dm b/code/modules/reagents/reagent_containers/glass.dm index 9c8b004c479..000a671e0d3 100644 --- a/code/modules/reagents/reagent_containers/glass.dm +++ b/code/modules/reagents/reagent_containers/glass.dm @@ -72,16 +72,17 @@ return if(ismob(target) && target.reagents && reagents.total_volume) - var/mob/M = target user << "\blue You splash the solution onto [target]." - var/R - if(src.reagents) - for(var/datum/reagent/A in src.reagents.reagent_list) - R += A.id + " (" - R += num2text(A.volume) + ")," - user.attack_log += "\[[time_stamp()]\] [user]/[user.ckey] splashed [M]/[M.ckey] with ([R])" - M.attack_log += "\[[time_stamp()]\] [user]/[user.ckey] splashed [M]/[M.ckey] with ([R])" - log_attack("\[[time_stamp()]\] [user]/[user.ckey] splashed [M]/[M.ckey] with ([R])") + + var/mob/living/M = target + var/list/injected = list() + for(var/datum/reagent/R in src.reagents.reagent_list) + injected += R.name + var/contained = english_list(injected) + M.attack_log += text("\[[time_stamp()]\] Has been splashed with [src.name] by [user.name] ([user.ckey]). Reagents: [contained]") + user.attack_log += text("\[[time_stamp()]\] Used the [src.name] to splash [M.name] ([M.key]). Reagents: [contained]") + msg_admin_attack("[user.name] ([user.ckey]) splashed [M.name] ([M.key]) with [src.name]. Reagents: [contained] (INTENT: [uppertext(user.a_intent)]) (JMP)") + for(var/mob/O in viewers(world.view, user)) O.show_message(text("\red [] has been splashed with something by []!", target, user), 1) src.reagents.reaction(target, TOUCH) diff --git a/code/modules/reagents/reagent_containers/hypospray.dm b/code/modules/reagents/reagent_containers/hypospray.dm index 0b4a3c1e7e9..c7875b7fe62 100644 --- a/code/modules/reagents/reagent_containers/hypospray.dm +++ b/code/modules/reagents/reagent_containers/hypospray.dm @@ -39,15 +39,13 @@ var/list/injected = list() for(var/datum/reagent/R in src.reagents.reagent_list) injected += R.name + var/contained = english_list(injected) + M.attack_log += text("\[[time_stamp()]\] Has been injected with [src.name] by [user.name] ([user.ckey]). Reagents: [contained]") + user.attack_log += text("\[[time_stamp()]\] Used the [src.name] to inject [M.name] ([M.key]). Reagents: [contained]") + msg_admin_attack("[user.name] ([user.ckey]) injected [M.name] ([M.key]) with [src.name]. Reagents: [contained] (INTENT: [uppertext(user.a_intent)]) (JMP)") var/trans = reagents.trans_to(M, amount_per_transfer_from_this) - user << "\blue [trans] units injected. [reagents.total_volume] units remaining in [src]." - - var/contained = english_list(injected) - - log_attack("[user.name] ([user.ckey]) injected [M.name] ([M.ckey]) with [src.name], which had [contained] (INTENT: [uppertext(user.a_intent)])") - M.attack_log += text("\[[time_stamp()]\] Has been injected ([contained]) with [src.name] by [user.name] ([user.ckey])") - user.attack_log += text("\[[time_stamp()]\] Used the [src.name] to inject [M.name] ([M.ckey]) with [contained]") + user << "\blue [trans] units injected. [reagents.total_volume] units remaining in [src]." return diff --git a/code/modules/reagents/reagent_containers/pill.dm b/code/modules/reagents/reagent_containers/pill.dm index 0f89ad73488..3c4bbcdb7de 100644 --- a/code/modules/reagents/reagent_containers/pill.dm +++ b/code/modules/reagents/reagent_containers/pill.dm @@ -43,8 +43,7 @@ M.attack_log += text("\[[time_stamp()]\] Has been fed [src.name] by [user.name] ([user.ckey]) Reagents: [reagentlist(src)]") user.attack_log += text("\[[time_stamp()]\] Fed [M.name] by [M.name] ([M.ckey]) Reagents: [reagentlist(src)]") - - log_attack("[user.name] ([user.ckey]) fed [M.name] ([M.ckey]) with [src.name] (INTENT: [uppertext(user.a_intent)])") + msg_admin_attack("[user.name] ([user.ckey]) fed [M.name] ([M.ckey]) with [src.name] Reagents: [reagentlist(src)] (INTENT: [uppertext(user.a_intent)]) (JMP)") if(reagents.total_volume) reagents.reaction(M, INGEST) diff --git a/code/modules/reagents/reagent_containers/robodropper.dm b/code/modules/reagents/reagent_containers/robodropper.dm index a42d588f4ba..475a29c331e 100644 --- a/code/modules/reagents/reagent_containers/robodropper.dm +++ b/code/modules/reagents/reagent_containers/robodropper.dm @@ -61,15 +61,16 @@ for(var/mob/O in viewers(world.view, user)) O.show_message(text("\red [] squirts something into []'s eyes!", user, target), 1) src.reagents.reaction(target, TOUCH) + var/mob/M = target - var/R - if(src.reagents) - for(var/datum/reagent/A in src.reagents.reagent_list) - R += A.id + " (" - R += num2text(A.volume) + ")," - user.attack_log += "\[[time_stamp()]\] [user]/[user.ckey] squirted [M]/[M.ckey] with ([R])" - M.attack_log += "\[[time_stamp()]\] [user]/[user.ckey] squirted [M]/[M.ckey] with ([R])" - log_attack("\[[time_stamp()]\] [user]/[user.ckey] squirted [M]/[M.ckey] with ([R])") + var/list/injected = list() + for(var/datum/reagent/R in src.reagents.reagent_list) + injected += R.name + var/contained = english_list(injected) + M.attack_log += text("\[[time_stamp()]\] Has been squirted with [src.name] by [user.name] ([user.ckey]). Reagents: [contained]") + user.attack_log += text("\[[time_stamp()]\] Used the [src.name] to squirt [M.name] ([M.key]). Reagents: [contained]") + msg_admin_attack("[user.name] ([user.ckey]) squirted [M.name] ([M.key]) with [src.name]. Reagents: [contained] (INTENT: [uppertext(user.a_intent)]) (JMP)") + trans = src.reagents.trans_to(target, amount_per_transfer_from_this) user << "\blue You transfer [trans] units of the solution." diff --git a/code/modules/reagents/reagent_containers/syringes.dm b/code/modules/reagents/reagent_containers/syringes.dm index 38e9c6f6882..ebb4cb58440 100644 --- a/code/modules/reagents/reagent_containers/syringes.dm +++ b/code/modules/reagents/reagent_containers/syringes.dm @@ -145,6 +145,17 @@ for(var/mob/O in viewers(world.view, user)) O.show_message(text("\red [] injects [] with the syringe!", user, target), 1) + + if(istype(target,/mob/living)) + var/mob/living/M = target + var/list/injected = list() + for(var/datum/reagent/R in src.reagents.reagent_list) + injected += R.name + var/contained = english_list(injected) + M.attack_log += text("\[[time_stamp()]\] Has been injected with [src.name] by [user.name] ([user.ckey]). Reagents: [contained]") + user.attack_log += text("\[[time_stamp()]\] Used the [src.name] to inject [M.name] ([M.key]). Reagents: [contained]") + msg_admin_attack("[user.name] ([user.ckey]) injected [M.name] ([M.key]) with [src.name]. Reagents: [contained] (INTENT: [uppertext(user.a_intent)]) (JMP)") + src.reagents.reaction(target, INGEST) if(ismob(target) && target == user) src.reagents.reaction(target, INGEST) @@ -197,8 +208,7 @@ user.attack_log += "\[[time_stamp()]\] Attacked [target.name] ([target.ckey]) with [src.name] (INTENT: [uppertext(user.a_intent)])" target.attack_log += "\[[time_stamp()]\] Attacked by [user.name] ([user.ckey]) with [src.name] (INTENT: [uppertext(user.a_intent)])" - - log_attack(" [user.name] ([user.ckey]) attacked [target.name] ([target.ckey]) with [src.name] (INTENT: [uppertext(user.a_intent)])") + msg_admin_attack("[user.name] ([user.ckey]) attacked [target.name] ([target.ckey]) with [src.name] (INTENT: [uppertext(user.a_intent)]) (JMP)") if(istype(target, /mob/living/carbon/human)) diff --git a/code/modules/reagents/reagent_dispenser.dm b/code/modules/reagents/reagent_dispenser.dm index 93cb2356495..83196d384b6 100644 --- a/code/modules/reagents/reagent_dispenser.dm +++ b/code/modules/reagents/reagent_dispenser.dm @@ -214,4 +214,4 @@ New() ..() - reagents.add_reagent("virusfood", 1000) + reagents.add_reagent("virusfood", 1000) diff --git a/code/modules/reagents/syringe_gun.dm b/code/modules/reagents/syringe_gun.dm index eaa372bd45d..2600d11676c 100644 --- a/code/modules/reagents/syringe_gun.dm +++ b/code/modules/reagents/syringe_gun.dm @@ -87,11 +87,11 @@ if (istype(M, /mob)) M.attack_log += "\[[time_stamp()]\] [user]/[user.ckey] shot [M]/[M.ckey] with a syringegun ([R])" user.attack_log += "\[[time_stamp()]\] [user]/[user.ckey] shot [M]/[M.ckey] with a syringegun ([R])" - log_attack("[user] ([user.ckey]) shot [M] ([M.ckey]) with a syringegun ([R])") + msg_admin_attack("[user] ([user.ckey]) shot [M] ([M.ckey]) with a syringegun ([R]) (JMP)") else M.attack_log += "\[[time_stamp()]\] UNKNOWN SUBJECT (No longer exists) shot [M]/[M.ckey] with a syringegun ([R])" - log_attack("UNKNOWN shot [M] ([M.ckey]) with a syringegun ([R])") + msg_admin_attack("UNKNOWN shot [M] ([M.ckey]) with a syringegun ([R]) (JMP)") if(D.reagents) D.reagents.trans_to(M, 15) diff --git a/code/modules/recycling/disposal.dm b/code/modules/recycling/disposal.dm index 9f7d9f9c8ee..de028bd2967 100644 --- a/code/modules/recycling/disposal.dm +++ b/code/modules/recycling/disposal.dm @@ -114,7 +114,9 @@ for (var/mob/C in viewers(src)) C.show_message("\red [GM.name] has been placed in the [src] by [user].", 3) del(G) - log_attack("[usr] ([usr.ckey]) placed [GM] ([GM.ckey]) in a disposals unit.") + usr.attack_log += text("\[[time_stamp()]\] Has placed [GM.name] ([GM.ckey]) in disposals.") + GM.attack_log += text("\[[time_stamp()]\] Has been placed in disposals by [usr.name] ([usr.ckey])") + msg_admin_attack("[usr] ([usr.ckey]) placed [GM] ([GM.ckey]) in a disposals unit. (JMP)") return if(!I) return @@ -157,7 +159,10 @@ else if(target != user && !user.restrained() && !user.stat && !user.weakened && !user.stunned && !user.paralysis) msg = "[user.name] stuffs [target.name] into the [src]!" user << "You stuff [target.name] into the [src]!" - log_attack("[user] ([user.ckey]) placed [target] ([target.ckey]) in a disposals unit.") + + user.attack_log += text("\[[time_stamp()]\] Has placed [target.name] ([target.ckey]) in disposals.") + target.attack_log += text("\[[time_stamp()]\] Has been placed in disposals by [user.name] ([user.ckey])") + msg_admin_attack("[user] ([user.ckey]) placed [target] ([target.ckey]) in a disposals unit. (JMP)") else return if (target.client) diff --git a/code/modules/research/research_shuttle.dm b/code/modules/research/research_shuttle.dm index 1fe54587498..91c1464d36b 100644 --- a/code/modules/research/research_shuttle.dm +++ b/code/modules/research/research_shuttle.dm @@ -62,7 +62,7 @@ proc/move_research_shuttle() /obj/machinery/computer/research_shuttle name = "Research Shuttle Console" - icon = 'computer.dmi' + icon = 'icons/obj/computer.dmi' icon_state = "shuttle" req_access = list(access_research) circuit = "/obj/item/weapon/circuitboard/research_shuttle" @@ -105,7 +105,7 @@ proc/move_research_shuttle() usr << "You fried the consoles ID checking system. It's now available to everyone!" else if(istype(W, /obj/item/weapon/screwdriver)) - playsound(src.loc, 'Screwdriver.ogg', 50, 1) + playsound(src.loc, 'sound/items/Screwdriver.ogg', 50, 1) if(do_after(user, 20)) var/obj/structure/computerframe/A = new /obj/structure/computerframe( src.loc ) var/obj/item/weapon/circuitboard/research_shuttle/M = new /obj/item/weapon/circuitboard/research_shuttle( A ) diff --git a/code/modules/research/xenoarchaeology/artifact/artifact_crystal.dm b/code/modules/research/xenoarchaeology/artifact/artifact_crystal.dm index d5cd7a7b504..0f47eeb1106 100644 --- a/code/modules/research/xenoarchaeology/artifact/artifact_crystal.dm +++ b/code/modules/research/xenoarchaeology/artifact/artifact_crystal.dm @@ -1,7 +1,7 @@ /obj/structure/crystal name = "large crystal" - icon = 'xenoarchaeology.dmi' + icon = 'icons/obj/xenoarchaeology.dmi' icon_state = "crystal" density = 1 diff --git a/code/modules/research/xenoarchaeology/artifact/artifact_replicator.dm b/code/modules/research/xenoarchaeology/artifact/artifact_replicator.dm index 089c9084189..63999f99217 100644 --- a/code/modules/research/xenoarchaeology/artifact/artifact_replicator.dm +++ b/code/modules/research/xenoarchaeology/artifact/artifact_replicator.dm @@ -2,7 +2,7 @@ /obj/machinery/replicator name = "alien machine" desc = "It's some kind of pod with strange wires and gadgets all over it." - icon = 'xenoarchaeology.dmi' + icon = 'icons/obj/xenoarchaeology.dmi' icon_state = "borgcharger0(old)" density = 1 diff --git a/code/modules/research/xenoarchaeology/artifact/artifact_unknown.dm b/code/modules/research/xenoarchaeology/artifact/artifact_unknown.dm index 2b52d2cbb19..0030e31b21e 100644 --- a/code/modules/research/xenoarchaeology/artifact/artifact_unknown.dm +++ b/code/modules/research/xenoarchaeology/artifact/artifact_unknown.dm @@ -60,7 +60,7 @@ var/list/valid_secondary_effect_types = list(\ /obj/machinery/artifact name = "alien artifact" desc = "A large alien device." - icon = 'xenoarchaeology.dmi' + icon = 'icons/obj/xenoarchaeology.dmi' icon_state = "ano00" var/icon_num = 0 density = 1 diff --git a/code/modules/research/xenoarchaeology/artifact/artifact_unknown_old.dm b/code/modules/research/xenoarchaeology/artifact/artifact_unknown_old.dm index a313c56b967..3c779caa967 100644 --- a/code/modules/research/xenoarchaeology/artifact/artifact_unknown_old.dm +++ b/code/modules/research/xenoarchaeology/artifact/artifact_unknown_old.dm @@ -12,7 +12,7 @@ /obj/machinery/artifact name = "alien artifact" desc = "A large alien device." - icon = 'xenoarchaeology.dmi' + icon = 'icons/obj/xenoarchaeology.dmi' icon_state = "ano00" var/icon_num = 0 anchored = 0 diff --git a/code/modules/research/xenoarchaeology/finds/finds.dm b/code/modules/research/xenoarchaeology/finds/finds.dm index 8a03866d36f..7464e7c8b06 100644 --- a/code/modules/research/xenoarchaeology/finds/finds.dm +++ b/code/modules/research/xenoarchaeology/finds/finds.dm @@ -26,7 +26,7 @@ /obj/item/weapon/ore/strangerock name = "Strange rock" desc = "Seems to have some unusal strata evident throughout it." - icon = 'xenoarchaeology.dmi' + icon = 'icons/obj/xenoarchaeology.dmi' icon_state = "strange" var/obj/item/weapon/inside var/method = 0// 0 = fire, 1 = brush, 2 = pick @@ -80,7 +80,7 @@ /obj/item/weapon/archaeological_find name = "object" - icon = 'xenoarchaeology.dmi' + icon = 'icons/obj/xenoarchaeology.dmi' icon_state = "ano01" var/find_type = 0 @@ -114,7 +114,7 @@ if(1) item_type = "bowl" new_item = new /obj/item/weapon/reagent_containers/glass(src.loc) - new_item.icon = 'xenoarchaeology.dmi' + new_item.icon = 'icons/obj/xenoarchaeology.dmi' new_item.icon_state = "bowl" apply_image_decorations = 1 if(prob(20)) @@ -122,7 +122,7 @@ if(2) item_type = "urn" new_item = new /obj/item/weapon/reagent_containers/glass(src.loc) - new_item.icon = 'xenoarchaeology.dmi' + new_item.icon = 'icons/obj/xenoarchaeology.dmi' new_item.icon_state = "urn" apply_image_decorations = 1 if(prob(20)) @@ -192,7 +192,7 @@ if(11) item_type = "box" new_item = new /obj/item/weapon/storage/box(src.loc) - new_item.icon = 'xenoarchaeology.dmi' + new_item.icon = 'icons/obj/xenoarchaeology.dmi' new_item.icon_state = "box" if(prob(30)) apply_image_decorations = 1 @@ -271,7 +271,7 @@ new_item = new /obj/item/device/radio/beacon(src.loc) talkative = 0 new_item.icon_state = "unknown[rand(1,4)]" - new_item.icon = 'xenoarchaeology.dmi' + new_item.icon = 'icons/obj/xenoarchaeology.dmi' new_item.desc = "" if(19) apply_prefix = 0 @@ -351,7 +351,7 @@ var/obj/item/weapon/gun/projectile/new_gun = new /obj/item/weapon/gun/projectile(src.loc) new_item = new_gun new_item.icon_state = "gun[rand(1,4)]" - new_item.icon = 'xenoarchaeology.dmi' + new_item.icon = 'icons/obj/xenoarchaeology.dmi' //33% chance to be able to reload the gun with human ammunition if(prob(66)) @@ -420,7 +420,7 @@ //humanoid remains apply_prefix = 0 item_type = "humanoid [pick("remains","skeleton")]" - icon = 'blood.dmi' + icon = 'icons/effects/blood.dmi' icon_state = "remains" additional_desc = pick("They appear almost human.",\ "They are contorted in a most gruesome way.",\ @@ -435,7 +435,7 @@ //robot remains apply_prefix = 0 item_type = "[pick("mechanical","robotic","cyborg")] [pick("remains","chassis","debris")]" - icon = 'blood.dmi' + icon = 'icons/effects/blood.dmi' icon_state = "remainsrobot" additional_desc = pick("Almost mistakeable for the remains of a modern cyborg.",\ "They are barely recognisable as anything other than a pile of waste metals.",\ @@ -450,7 +450,7 @@ //xenos remains apply_prefix = 0 item_type = "alien [pick("remains","skeleton")]" - icon = 'blood.dmi' + icon = 'icons/effects/blood.dmi' icon_state = "remainsxeno" additional_desc = pick("It looks vaguely reptilian, but with more teeth.",\ "They are faintly unsettling.",\ diff --git a/code/modules/research/xenoarchaeology/finds/finds_fossils.dm b/code/modules/research/xenoarchaeology/finds/finds_fossils.dm index bd2e87fe83c..89fc33396d2 100644 --- a/code/modules/research/xenoarchaeology/finds/finds_fossils.dm +++ b/code/modules/research/xenoarchaeology/finds/finds_fossils.dm @@ -4,7 +4,7 @@ /obj/item/weapon/fossil name = "Fossil" - icon = 'xenoarchaeology.dmi' + icon = 'icons/obj/xenoarchaeology.dmi' icon_state = "bone" desc = "It's a fossil." @@ -44,7 +44,7 @@ /obj/skeleton name = "Incomplete skeleton" - icon = 'xenoarchaeology.dmi' + icon = 'icons/obj/xenoarchaeology.dmi' icon_state = "uskel" desc = "Incomplete skeleton." var/bnum = 1 diff --git a/code/modules/research/xenoarchaeology/finds/finds_misc.dm b/code/modules/research/xenoarchaeology/finds/finds_misc.dm index 6b995deff42..64184ec0b6f 100644 --- a/code/modules/research/xenoarchaeology/finds/finds_misc.dm +++ b/code/modules/research/xenoarchaeology/finds/finds_misc.dm @@ -40,7 +40,7 @@ //legacy crystal /obj/machinery/crystal name = "Crystal" - icon = 'mining.dmi' + icon = 'icons/obj/mining.dmi' icon_state = "crystal" /obj/machinery/crystal/New() diff --git a/code/modules/research/xenoarchaeology/geosample.dm b/code/modules/research/xenoarchaeology/geosample.dm index 22b67101d9c..91d5f1bd62c 100644 --- a/code/modules/research/xenoarchaeology/geosample.dm +++ b/code/modules/research/xenoarchaeology/geosample.dm @@ -17,7 +17,7 @@ /obj/item/weapon/rocksliver name = "rock sliver" desc = "It looks extremely delicate." - icon = 'xenoarchaeology.dmi' + icon = 'icons/obj/xenoarchaeology.dmi' icon_state = "sliver1" //0-4 w_class = 1 //item_state = "electronic" diff --git a/code/modules/research/xenoarchaeology/machinery/analysis_ion_mobility.dm b/code/modules/research/xenoarchaeology/machinery/analysis_ion_mobility.dm index 70fde828dfe..9b37d20df91 100644 --- a/code/modules/research/xenoarchaeology/machinery/analysis_ion_mobility.dm +++ b/code/modules/research/xenoarchaeology/machinery/analysis_ion_mobility.dm @@ -4,7 +4,7 @@ obj/machinery/anomaly/ion_mobility name = "Ion Mobility Spectrometer" desc = "A specialised, complex analysis machine." - icon = 'virology.dmi' + icon = 'icons/obj/virology.dmi' icon_state = "analyser" obj/machinery/anomaly/ion_mobility/ScanResults() diff --git a/code/modules/research/xenoarchaeology/machinery/analysis_isotope_ratio.dm b/code/modules/research/xenoarchaeology/machinery/analysis_isotope_ratio.dm index 604015d31c3..04efb278ad9 100644 --- a/code/modules/research/xenoarchaeology/machinery/analysis_isotope_ratio.dm +++ b/code/modules/research/xenoarchaeology/machinery/analysis_isotope_ratio.dm @@ -4,7 +4,7 @@ obj/machinery/anomaly/isotope_ratio name = "Isotope ratio spectrometer" desc = "A specialised, complex analysis machine." - icon = 'virology.dmi' + icon = 'icons/obj/virology.dmi' icon_state = "analyser" obj/machinery/anomaly/isotope_ratio/ScanResults() diff --git a/code/modules/research/xenoarchaeology/machinery/artifact_analyser_old.dm b/code/modules/research/xenoarchaeology/machinery/artifact_analyser_old.dm index 706343e8f62..ff1415997b1 100644 --- a/code/modules/research/xenoarchaeology/machinery/artifact_analyser_old.dm +++ b/code/modules/research/xenoarchaeology/machinery/artifact_analyser_old.dm @@ -4,7 +4,7 @@ /obj/machinery/artifact_analyser name = "Artifact Analyser" desc = "Studies the structure of artifacts to discover their uses." - icon = 'virology.dmi' + icon = 'icons/obj/virology.dmi' icon_state = "analyser" anchored = 1 density = 1 @@ -302,7 +302,7 @@ /obj/machinery/analyser_pad name = "artifact analysis pad" desc = "Studies the structure of artifacts to discover their uses." - icon = 'stationobjs.dmi' + icon = 'icons/obj/stationobjs.dmi' icon_state = "tele0" anchored = 1 density = 0 diff --git a/code/modules/research/xenoarchaeology/machinery/artifact_harvester.dm b/code/modules/research/xenoarchaeology/machinery/artifact_harvester.dm index 426b9165a13..117be557daf 100644 --- a/code/modules/research/xenoarchaeology/machinery/artifact_harvester.dm +++ b/code/modules/research/xenoarchaeology/machinery/artifact_harvester.dm @@ -1,7 +1,7 @@ /obj/machinery/artifact_harvester name = "Exotic Particle Harvester" - icon = 'virology.dmi' + icon = 'icons/obj/virology.dmi' icon_state = "incubator" //incubator_on anchored = 1 density = 1 diff --git a/code/modules/research/xenoarchaeology/machinery/artifact_scanner.dm b/code/modules/research/xenoarchaeology/machinery/artifact_scanner.dm index cb03b91c276..3d440bf85ab 100644 --- a/code/modules/research/xenoarchaeology/machinery/artifact_scanner.dm +++ b/code/modules/research/xenoarchaeology/machinery/artifact_scanner.dm @@ -2,7 +2,7 @@ /obj/machinery/artifact_scanpad name = "Anomaly Scanner Pad" desc = "Place things here for scanning." - icon = 'stationobjs.dmi' + icon = 'icons/obj/stationobjs.dmi' icon_state = "tele0" anchored = 1 density = 0 diff --git a/code/modules/research/xenoarchaeology/tools/ano_device_battery.dm b/code/modules/research/xenoarchaeology/tools/ano_device_battery.dm index 1f5af8753e1..c7779dd5ca8 100644 --- a/code/modules/research/xenoarchaeology/tools/ano_device_battery.dm +++ b/code/modules/research/xenoarchaeology/tools/ano_device_battery.dm @@ -18,7 +18,7 @@ /obj/item/weapon/anodevice name = "Anomaly power utilizer" - icon = 'xenoarchaeology.dmi' + icon = 'icons/obj/xenoarchaeology.dmi' icon_state = "anodev" var/cooldown = 0 var/activated = 0 diff --git a/code/modules/research/xenoarchaeology/tools/suspension_generator.dm b/code/modules/research/xenoarchaeology/tools/suspension_generator.dm index 36a75826f72..2831e5ccc1f 100644 --- a/code/modules/research/xenoarchaeology/tools/suspension_generator.dm +++ b/code/modules/research/xenoarchaeology/tools/suspension_generator.dm @@ -1,7 +1,7 @@ /obj/machinery/suspension_gen name = "suspension field generator" desc = "It has stubby legs bolted up against it's body for stabilising." - icon = 'xenoarchaeology.dmi' + icon = 'icons/obj/xenoarchaeology.dmi' icon_state = "suspension2" density = 1 req_access = list(access_research) diff --git a/code/modules/research/xenoarchaeology/tools/tools.dm b/code/modules/research/xenoarchaeology/tools/tools.dm index 60eb7ca5705..889e8332593 100644 --- a/code/modules/research/xenoarchaeology/tools/tools.dm +++ b/code/modules/research/xenoarchaeology/tools/tools.dm @@ -5,7 +5,7 @@ /obj/item/device/gps name = "relay positioning device" desc = "Triangulates the approximate co-ordinates using a nearby satellite network." - icon = 'device.dmi' + icon = 'icons/obj/device.dmi' icon_state = "locator" item_state = "locator" w_class = 2 diff --git a/code/modules/research/xenoarchaeology/tools/tools_coresampler.dm b/code/modules/research/xenoarchaeology/tools/tools_coresampler.dm index e060fc44ae7..d00b945c607 100644 --- a/code/modules/research/xenoarchaeology/tools/tools_coresampler.dm +++ b/code/modules/research/xenoarchaeology/tools/tools_coresampler.dm @@ -16,7 +16,7 @@ /obj/item/device/core_sampler name = "core sampler" desc = "Used to extract geological core samples." - icon = 'device.dmi' + icon = 'icons/obj/device.dmi' icon_state = "sampler0" item_state = "screwdriver_brown" w_class = 1.0 diff --git a/code/modules/research/xenoarchaeology/tools/tools_depthscanner.dm b/code/modules/research/xenoarchaeology/tools/tools_depthscanner.dm index 1ad3d233b83..23a4e2ca174 100644 --- a/code/modules/research/xenoarchaeology/tools/tools_depthscanner.dm +++ b/code/modules/research/xenoarchaeology/tools/tools_depthscanner.dm @@ -6,7 +6,7 @@ /obj/item/device/depth_scanner name = "depth analysis scanner" desc = "Used to check spatial depth and density of rock outcroppings." - icon = 'pda.dmi' + icon = 'icons/obj/pda.dmi' icon_state = "crap" item_state = "analyzer" w_class = 1.0 diff --git a/code/modules/research/xenoarchaeology/tools/tools_locater.dm b/code/modules/research/xenoarchaeology/tools/tools_locater.dm index ea86c6de9d5..64f6caec5be 100644 --- a/code/modules/research/xenoarchaeology/tools/tools_locater.dm +++ b/code/modules/research/xenoarchaeology/tools/tools_locater.dm @@ -5,7 +5,7 @@ /obj/item/device/beacon_locator name = "locater device" desc = "Used to scan and locate signals on a particular frequency according ." - icon = 'device.dmi' + icon = 'icons/obj/device.dmi' icon_state = "pinoff" //pinonfar, pinonmedium, pinonclose, pinondirect, pinonnull item_state = "electronic" var/frequency = 1459 diff --git a/code/modules/surgery/braincore.dm b/code/modules/surgery/braincore.dm index 977f90489ec..f4d81d37f59 100644 --- a/code/modules/surgery/braincore.dm +++ b/code/modules/surgery/braincore.dm @@ -87,10 +87,7 @@ user.attack_log += "\[[time_stamp()]\] Debrained [target.name] ([target.ckey]) with [tool.name] (INTENT: [uppertext(user.a_intent)])" target.attack_log += "\[[time_stamp()]\] Debrained by [user.name] ([user.ckey]) with [tool.name] (INTENT: [uppertext(user.a_intent)])" - - log_admin("ATTACK: [user] ([user.ckey]) debrained [target] ([target.ckey]) with [tool].") - message_admins("ATTACK: [user] ([user.ckey]) debrained [target] ([target.ckey]) with [tool].") - log_attack("[user.name] ([user.ckey]) debrained [target.name] ([target.ckey]) with [tool.name] (INTENT: [uppertext(user.a_intent)])") + msg_admin_attack("[user.name] ([user.ckey]) debrained [target.name] ([target.ckey]) with [tool.name] (INTENT: [uppertext(user.a_intent)]) (JMP)") var/obj/item/brain/B = new(target.loc) B.transfer_identity(target) diff --git a/code/modules/virus2/analyser.dm b/code/modules/virus2/analyser.dm index 21471a8379b..50673d403cb 100644 --- a/code/modules/virus2/analyser.dm +++ b/code/modules/virus2/analyser.dm @@ -1,6 +1,6 @@ /obj/machinery/disease2/diseaseanalyser name = "Disease Analyser" - icon = 'virology.dmi' + icon = 'icons/obj/virology.dmi' icon_state = "analyser" anchored = 1 density = 1 diff --git a/code/modules/virus2/biohazard destroyer.dm b/code/modules/virus2/biohazard destroyer.dm index 3e5f16df59f..abd1803de86 100644 --- a/code/modules/virus2/biohazard destroyer.dm +++ b/code/modules/virus2/biohazard destroyer.dm @@ -1,6 +1,6 @@ /obj/machinery/disease2/biodestroyer name = "Biohazard destroyer" - icon = 'disposal.dmi' + icon = 'icons/obj/pipes/disposal.dmi' icon_state = "disposalbio" var/list/accepts = list(/obj/item/clothing,/obj/item/weapon/virusdish/,/obj/item/weapon/cureimplanter,/obj/item/weapon/diseasedisk,/obj/item/weapon/reagent_containers) density = 1 @@ -11,7 +11,7 @@ if(I.type in typesof(path)) user.drop_item() del(I) - overlays += image('disposal.dmi', "dispover-handle") + overlays += image('icons/obj/pipes/disposal.dmi', "dispover-handle") return user.drop_item() I.loc = src.loc diff --git a/code/modules/virus2/diseasesplicer.dm b/code/modules/virus2/diseasesplicer.dm index c39f1d02dfc..7a414e388ec 100644 --- a/code/modules/virus2/diseasesplicer.dm +++ b/code/modules/virus2/diseasesplicer.dm @@ -1,6 +1,6 @@ /obj/machinery/computer/diseasesplicer name = "Disease Splicer" - icon = 'computer.dmi' + icon = 'icons/obj/computer.dmi' icon_state = "crew" var/datum/disease2/effectholder/memorybank = null diff --git a/code/modules/virus2/dishincubator.dm b/code/modules/virus2/dishincubator.dm index 5d2771b2950..74d5470ec1a 100644 --- a/code/modules/virus2/dishincubator.dm +++ b/code/modules/virus2/dishincubator.dm @@ -2,7 +2,7 @@ name = "Pathogenic incubator" density = 1 anchored = 1 - icon = 'virology.dmi' + icon = 'icons/obj/virology.dmi' icon_state = "incubator" var/obj/item/weapon/virusdish/dish var/obj/item/weapon/reagent_containers/glass/beaker = null diff --git a/code/modules/virus2/isolator.dm b/code/modules/virus2/isolator.dm index 667ab67e999..53b47b95e1c 100644 --- a/code/modules/virus2/isolator.dm +++ b/code/modules/virus2/isolator.dm @@ -2,7 +2,7 @@ name = "Pathogenic Isolator" density = 1 anchored = 1 - icon = 'virology.dmi' + icon = 'icons/obj/virology.dmi' icon_state = "isolator" var/datum/disease2/disease/virus2 = null var/isolating = 0 diff --git a/code/modules/virus2/items_devices.dm b/code/modules/virus2/items_devices.dm index 25674ea2b6e..27b01513ea5 100644 --- a/code/modules/virus2/items_devices.dm +++ b/code/modules/virus2/items_devices.dm @@ -28,7 +28,7 @@ /obj/item/weapon/virusdish name = "Virus containment/growth dish" - icon = 'items.dmi' + icon = 'icons/obj/items.dmi' icon_state = "implantcase-b" var/datum/disease2/disease/virus2 = null var/growth = 0 @@ -69,7 +69,7 @@ /obj/item/weapon/diseasedisk name = "Blank GNA disk" - icon = 'cloning.dmi' + icon = 'icons/obj/cloning.dmi' icon_state = "datadisk0" var/datum/disease2/effectholder/effect = null var/stage = 1 diff --git a/code/setup.dm b/code/setup.dm index 7395595cee5..e2f50a48f41 100644 --- a/code/setup.dm +++ b/code/setup.dm @@ -722,4 +722,4 @@ var/list/RESTRICTED_CAMERA_NETWORKS = list( //Those networks can only be accesse //Language flags. #define WHITELISTED 1 // Language is available if the speaker is whitelisted. -#define RESTRICTED 2 // Language can only be accquired by spawning or an admin. +#define RESTRICTED 2 // Language can only be accquired by spawning or an admin. diff --git a/html/changelog.html b/html/changelog.html index 844c8ce2bc3..f03cdfefe23 100644 --- a/html/changelog.html +++ b/html/changelog.html @@ -25,13 +25,9 @@ Header Section
-
Baystation 12 - A Space Station 13 Server
-

-
Visit our IRC channel: #bs12 on irc.sorcery.net
+
Space Station 13
+

Code licensed under GPLv3. Content licensed under CC BY-SA 3.0.

- -By playing to agreed to read and abide by the rules!
-
@@ -46,7 +42,6 @@ Header Section -