Skip to content

Commit

Permalink
removes autogibber
Browse files Browse the repository at this point in the history
  • Loading branch information
uuuuhuuuu committed Jul 26, 2024
1 parent 2a78285 commit ffe6e0f
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 61 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
29 changes: 0 additions & 29 deletions code/game/machinery/mining.dm

This file was deleted.

1 change: 0 additions & 1 deletion colonialmarines.dme
Original file line number Diff line number Diff line change
Expand Up @@ -868,7 +868,6 @@
#include "code\game\machinery\line_nexter.dm"
#include "code\game\machinery\machinery.dm"
#include "code\game\machinery\mass_driver.dm"
#include "code\game\machinery\mining.dm"
#include "code\game\machinery\misc.dm"
#include "code\game\machinery\navbeacon.dm"
#include "code\game\machinery\newscaster.dm"
Expand Down

0 comments on commit ffe6e0f

Please sign in to comment.