Skip to content

Commit

Permalink
purge(garbage): removes unused atoms & icons
Browse files Browse the repository at this point in the history
  • Loading branch information
intercepti0n authored Apr 26, 2024
1 parent 55cf177 commit 89fd4d8
Show file tree
Hide file tree
Showing 32 changed files with 19 additions and 329 deletions.
5 changes: 0 additions & 5 deletions baystation12.dme
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,6 @@
#include "code\datums\helper_datums\events.dm"
#include "code\datums\helper_datums\getrev.dm"
#include "code\datums\helper_datums\global_iterator.dm"
#include "code\datums\helper_datums\icon_snapshot.dm"
#include "code\datums\helper_datums\teleport.dm"
#include "code\datums\helper_datums\topic_input.dm"
#include "code\datums\movement\_defines.dm"
Expand Down Expand Up @@ -1337,10 +1336,8 @@
#include "code\game\objects\structures\pit.dm"
#include "code\game\objects\structures\plasticflaps.dm"
#include "code\game\objects\structures\railing.dm"
#include "code\game\objects\structures\rails.dm"
#include "code\game\objects\structures\rock.dm"
#include "code\game\objects\structures\roulette.dm"
#include "code\game\objects\structures\rubble.dm"
#include "code\game\objects\structures\safe.dm"
#include "code\game\objects\structures\secure_door_assembly.dm"
#include "code\game\objects\structures\showcase.dm"
Expand Down Expand Up @@ -1629,11 +1626,9 @@
#include "code\modules\atmospherics\components\unary\vent_scrubber.dm"
#include "code\modules\augmentation\prosthetic\prosthetic.dm"
#include "code\modules\augmentation\prosthetic\bioprosthetic\weapons.dm"
#include "code\modules\awaymissions\bluespaceartillery.dm"
#include "code\modules\awaymissions\corpse.dm"
#include "code\modules\awaymissions\exile.dm"
#include "code\modules\awaymissions\gateway.dm"
#include "code\modules\awaymissions\loot.dm"
#include "code\modules\awaymissions\pamphlet.dm"
#include "code\modules\awaymissions\trigger.dm"
#include "code\modules\awaymissions\zlevel.dm"
Expand Down
16 changes: 9 additions & 7 deletions code/_onclick/ghost.dm
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,15 @@
// And here are some good things for free:
// Now you can click through portals, wormholes, gateways, and teleporters while observing. -Sayu

/obj/machinery/teleport/hub/attack_ghost(mob/user)
var/atom/l = loc
var/obj/machinery/computer/teleporter/cons = locate(/obj/machinery/computer/teleporter, locate(l.x - 2, l.y, l.z))
if(cons?.gate?.is_ready())
if(!cons.target_ref)
return
user.forceMove(get_turf(cons.target_ref.resolve()))
/obj/machinery/teleporter_gate/attack_ghost(mob/user)
if(isnull(console))
return

var/atom/target_atom = console.target_ref.resolve()
if(isnull(target_atom))
return

user.forceMove(get_turf(target_atom))

/obj/effect/portal/attack_ghost(mob/user)
if(target)
Expand Down
19 changes: 0 additions & 19 deletions code/datums/helper_datums/icon_snapshot.dm

This file was deleted.

4 changes: 2 additions & 2 deletions code/game/machinery/doors/firedoor_assembly.dm
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
else
..(C, user)

/obj/structure/firelock_frame/rcd_vals(mob/user, obj/item/construction/rcd/the_rcd)
/obj/structure/firedoor_assembly/rcd_vals(mob/user, obj/item/construction/rcd/the_rcd)
if(the_rcd.mode == RCD_DECONSTRUCT)
return list("delay" = 5 SECONDS, "cost" = 16)

Expand All @@ -78,7 +78,7 @@

return FALSE

/obj/structure/firelock_frame/rcd_act(mob/user, obj/item/construction/rcd/the_rcd, list/rcd_data)
/obj/structure/firedoor_assembly/rcd_act(mob/user, obj/item/construction/rcd/the_rcd, list/rcd_data)
switch(rcd_data["[RCD_DESIGN_MODE]"])
if(RCD_UPGRADE_SIMPLE_CIRCUITS)
show_splash_text(user, "circuit installed", SPAN("notice", "You install the circuit into \the [src]!"))
Expand Down
4 changes: 2 additions & 2 deletions code/game/objects/items/weapons/policetape.dm
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//Define all tape types in policetape.dm
/obj/item/taperoll
name = "tape roll"
icon = 'icons/policetape.dmi'
icon = 'icons/obj/policetape.dmi'
icon_state = "tape"
w_class = ITEM_SIZE_SMALL
var/turf/start
Expand All @@ -28,7 +28,7 @@ var/list/tape_roll_applications = list()

/obj/item/tape
name = "tape"
icon = 'icons/policetape.dmi'
icon = 'icons/obj/policetape.dmi'
icon_state = "tape"
layer = ABOVE_DOOR_LAYER
randpixel = 0
Expand Down
16 changes: 0 additions & 16 deletions code/game/objects/structures/rails.dm

This file was deleted.

107 changes: 0 additions & 107 deletions code/game/objects/structures/rubble.dm

This file was deleted.

2 changes: 0 additions & 2 deletions code/modules/Z_item_worth/worths_list.dm
Original file line number Diff line number Diff line change
Expand Up @@ -717,7 +717,6 @@ var/list/worths = list(
/obj/machinery/sleeper = -4000,
/obj/machinery/space_heater = -500,
/obj/machinery/ai_status_display = -600,
/obj/machinery/teleport = -15000,
/obj/machinery/camera = -700,
/obj/machinery/airlock_sensor = -800,
/obj/machinery/door/airlock = -800,
Expand All @@ -735,7 +734,6 @@ var/list/worths = list(
/obj/machinery/computer/mecha = -1000,
/obj/machinery/shower = -300,
/obj/machinery/acting/changer = -3000,
/obj/machinery/artillerycontrol = -1400,
/obj/machinery/dnaforensics = -1200,
/obj/machinery/microscope = -550,
/obj/machinery/computer/account_database = -3000,
Expand Down
54 changes: 0 additions & 54 deletions code/modules/awaymissions/bluespaceartillery.dm

This file was deleted.

25 changes: 0 additions & 25 deletions code/modules/awaymissions/loot.dm

This file was deleted.

4 changes: 2 additions & 2 deletions code/modules/mining/machines/unloading.dm
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@

var/corner_turn_dir = 0

/obj/machinery/mineral/unload_item/examine(mob/user, infix)
/obj/machinery/mineral/unloading_machine/examine(mob/user, infix)
. = ..()
. += SPAN_NOTICE("It is currently turned [(stat & POWEROFF) ? "off" : "on"].")

/obj/machinery/mineral/unload_item/examine_more(mob/user)
/obj/machinery/mineral/unloading_machine/examine_more(mob/user)
. = ..()
. += SPAN_NOTICE("This machine must be manually turned on. Click on it with an empty hand to activate/deactivate.")

Expand Down
2 changes: 1 addition & 1 deletion code/modules/mob/living/simple_animal/friendly/parrot.dm
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
//These vars store their preffered perch and if they dont have one, what they can use as a perch
var/obj/parrot_perch = null
var/obj/desired_perches = list(/obj/structure/computerframe, /obj/structure/displaycase, \
/obj/structure/filingcabinet, /obj/machinery/teleport, \
/obj/structure/filingcabinet, /obj/machinery/teleporter_gate, \
/obj/machinery/computer, /obj/machinery/telecomms, \
/obj/machinery/nuclearbomb, /obj/machinery/particle_accelerator, \
/obj/machinery/recharge_station, /obj/machinery/smartfridge, \
Expand Down
2 changes: 1 addition & 1 deletion code/modules/multiz/industrial_lift/industrial_lift.dm
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ GLOBAL_LIST_EMPTY(lifts)
///////////////////////////////////
/obj/structure/industrial_lift/proc/AddItemOnLift(atom/AM)
SHOULD_NOT_SLEEP(TRUE)
if(istype(AM, /obj/structure/rail) || AM.invisibility == 101) //prevents the tram from stealing things like landmarks
if(AM.invisibility == 101) //prevents the tram from stealing things like landmarks
return
if(AM in lift_load)
return
Expand Down
Loading

0 comments on commit 89fd4d8

Please sign in to comment.