Skip to content

Commit

Permalink
Codebase Cleanup - 2020-09-27 (#14472)
Browse files Browse the repository at this point in the history
* Codebase Cleanup - 2020-09-27

* Endings

* Forgot meta

* Farie Tweaks
  • Loading branch information
AffectedArc07 authored Oct 15, 2020
1 parent 632d913 commit f40a816
Show file tree
Hide file tree
Showing 48 changed files with 18 additions and 2,040 deletions.
50 changes: 0 additions & 50 deletions DLLSocket/DLLSocket.cbp

This file was deleted.

1 change: 0 additions & 1 deletion DLLSocket/compile.sh

This file was deleted.

133 changes: 0 additions & 133 deletions DLLSocket/main.cpp

This file was deleted.

51 changes: 0 additions & 51 deletions DLLSocket/server_controller.py

This file was deleted.

2 changes: 1 addition & 1 deletion _maps/map_files/MetaStation/z2.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -1312,7 +1312,7 @@
},
/area/vox_station)
"dA" = (
/obj/vox/win_button,
/obj/machinery/vox_win_button,
/turf/unsimulated/floor{
tag = "icon-light_on";
icon_state = "light_on"
Expand Down
2 changes: 1 addition & 1 deletion _maps/map_files/cyberiad/z2.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@
},
/area/holodeck/source_wildlife)
"ay" = (
/obj/vox/win_button,
/obj/machinery/vox_win_button,
/turf/unsimulated/floor/vox{
icon_state = "light_on"
},
Expand Down
File renamed without changes.
File renamed without changes.
6 changes: 3 additions & 3 deletions code/game/gamemodes/heist/heist.dm
Original file line number Diff line number Diff line change
Expand Up @@ -287,17 +287,17 @@ GLOBAL_LIST_EMPTY(cortical_stacks) //Stacks for 'leave nobody behind' objective.
return ..()


/obj/vox/win_button
/obj/machinery/vox_win_button
name = "shoal contact computer"
desc = "Used to contact the Vox Shoal, generally to arrange for pickup."
icon = 'icons/obj/computer.dmi'
icon_state = "tcstation"

/obj/vox/win_button/New()
/obj/machinery/vox_win_button/New()
. = ..()
overlays += icon('icons/obj/computer.dmi', "syndie")

/obj/vox/win_button/attack_hand(mob/user)
/obj/machinery/vox_win_button/attack_hand(mob/user)
if(!GAMEMODE_IS_HEIST || (world.time < 10 MINUTES)) //has to be heist, and at least ten minutes into the round
to_chat(user, "<span class='warning'>\The [src] does not appear to have a connection.</span>")
return 0
Expand Down
8 changes: 4 additions & 4 deletions code/game/objects/items/stacks/stack_recipe.dm
Original file line number Diff line number Diff line change
Expand Up @@ -24,27 +24,27 @@
src.on_floor = on_floor
src.window_checks = window_checks

/datum/stack_recipe/proc/post_build(var/obj/item/stack/S, var/obj/result)
/datum/stack_recipe/proc/post_build(obj/item/stack/S, obj/result)
return

/* Special Recipes */

/datum/stack_recipe/cable_restraints
/datum/stack_recipe/cable_restraints/post_build(var/obj/item/stack/S, var/obj/result)
/datum/stack_recipe/cable_restraints/post_build(obj/item/stack/S, obj/result)
if(istype(result, /obj/item/restraints/handcuffs/cable))
result.color = S.color
..()


/datum/stack_recipe/dangerous
/datum/stack_recipe/dangerous/post_build(/obj/item/stack/S, /obj/result)
/datum/stack_recipe/dangerous/post_build(obj/item/stack/S, obj/result)
var/turf/targ = get_turf(usr)
message_admins("[title] made by [key_name_admin(usr)](<A HREF='?_src_=holder;adminmoreinfo=\ref[usr]'>?</A>) in [get_area(usr)] [ADMIN_COORDJMP(targ)]!",0,1)
log_game("[title] made by [key_name_admin(usr)] at [get_area(usr)] [targ.x], [targ.y], [targ.z].")
..()

/datum/stack_recipe/rods
/datum/stack_recipe/rods/post_build(var/obj/item/stack/S, var/obj/result)
/datum/stack_recipe/rods/post_build(obj/item/stack/S, obj/result)
if(istype(result, /obj/item/stack/rods))
var/obj/item/stack/rods/R = result
R.update_icon()
Expand Down
67 changes: 0 additions & 67 deletions code/game/objects/items/weapons/fireworks.dm

This file was deleted.

1 change: 1 addition & 0 deletions code/game/objects/random/random.dm
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// TODO: Refactor these into spawners
/obj/random
name = "Random Object"
desc = "This item type is used to spawn random objects at round-start"
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading

0 comments on commit f40a816

Please sign in to comment.