Skip to content

Commit

Permalink
autoGibber and miner removal UNUSED (#6802)
Browse files Browse the repository at this point in the history
# About the pull request
more unused legacy removals. this is NOT the gibber used in kitchen

# Explain why it's good for the game

unused junk removed


# Testing Photographs and Procedure
<details>
<summary>Screenshots & Videos</summary>

Put screenshots and videos here with an empty line between the
screenshots and the `<details>` tags.

</details>


# Changelog
:cl:
del: Removes autogibber and related objects
/:cl:

---------

Co-authored-by: vincibrv <[email protected]>
  • Loading branch information
cuberound and uuuuhuuuu authored Jul 29, 2024
1 parent 4147cb6 commit d91c4ef
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 53 deletions.
31 changes: 0 additions & 31 deletions code/game/machinery/kitchen/gibber.dm
Original file line number Diff line number Diff line change
Expand Up @@ -20,37 +20,6 @@
if (PF)
PF.flags_can_pass_all = PASS_HIGH_OVER_ONLY|PASS_AROUND|PASS_OVER_THROW_ITEM

//auto-gibs anything that bumps into it
/obj/structure/machinery/gibber/autogibber
var/turf/input_plate

/obj/structure/machinery/gibber/autogibber/New()
..()
spawn(5)
for(var/i in GLOB.cardinals)
var/obj/structure/machinery/mineral/input/input_obj = locate( /obj/structure/machinery/mineral/input, get_step(loc, i) )
if(input_obj)
if(isturf(input_obj.loc))
input_plate = input_obj.loc
qdel(input_obj)
break

if(!input_plate)
log_misc("a [src] didn't find an input plate.")
return

/obj/structure/machinery/gibber/autogibber/Collided(atom/A)
if(!input_plate) return

if(ismob(A))
var/mob/M = A

if(M.loc == input_plate
)
M.forceMove(src)
M.gib()


/obj/structure/machinery/gibber/New()
..()
overlays += image('icons/obj/structures/machinery/kitchen.dmi', "grjam")
Expand Down
22 changes: 0 additions & 22 deletions code/game/machinery/mining.dm
Original file line number Diff line number Diff line change
@@ -1,25 +1,3 @@
/obj/structure/machinery/mineral/input
icon = 'icons/mob/hud/screen1.dmi'
icon_state = "x2"
name = "Input area"
density = FALSE
anchored = TRUE

/obj/structure/machinery/mineral/input/Initialize(mapload, ...)
. = ..()
icon_state = "blank"

/obj/structure/machinery/mineral/output
icon = 'icons/mob/hud/screen1.dmi'
icon_state = "x"
name = "Output area"
density = FALSE
anchored = TRUE

/obj/structure/machinery/mineral/output/Initialize(mapload, ...)
. = ..()
icon_state = "blank"

/obj/structure/machinery/mineral/processing_unit
name = "material processor" //This isn't actually a goddamn furnace, we're in space and it's processing platinum and flammable phoron...
icon = 'icons/obj/structures/machinery/mining_machines.dmi'
Expand Down

0 comments on commit d91c4ef

Please sign in to comment.