Skip to content

Commit

Permalink
have you been telling me a lie??
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Atlas committed Nov 17, 2024
1 parent f577c8c commit c83de88
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 12 deletions.
8 changes: 4 additions & 4 deletions code/_onclick/observer.dm
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
. = ..()

// Oh by the way this didn't work with old click code which is why clicking shit didn't spam you
/atom/proc/attack_ghost(mob/abstract/ghost/user as mob)
/atom/proc/attack_ghost(mob/abstract/ghost/user)
if(user.client && user.client.inquisitive_ghost)
examinate(user, src)
return
Expand All @@ -40,7 +40,7 @@
// And here are some good things for free:
// Now you can click through portals, wormholes, gateways, and teleporters while observing. -Sayu

/obj/machinery/teleport/pad/attack_ghost(mob/user as mob)
/obj/machinery/teleport/pad/attack_ghost(mob/user)
if(locked_obj)
var/obj/teleport_obj = locked_obj.resolve()
if(teleport_obj)
Expand All @@ -50,13 +50,13 @@
if(target)
user.forceMove(get_turf(target))

/obj/machinery/gateway/centerstation/attack_ghost(mob/user as mob)
/obj/machinery/gateway/centerstation/attack_ghost(mob/user)
if(awaygate)
user.forceMove(awaygate.loc)
else
to_chat(user, "[src] has no destination.")

/obj/machinery/gateway/centeraway/attack_ghost(mob/user as mob)
/obj/machinery/gateway/centeraway/attack_ghost(mob/user)
if(stationgate)
user.forceMove(stationgate.loc)
else
Expand Down
2 changes: 1 addition & 1 deletion code/game/gamemodes/endgame/supermatter_cascade/blob.dm
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
return

// /vg/: Don't let ghosts fuck with this.
/turf/unsimulated/wall/supermatter/attack_ghost(mob/user as mob)
/turf/unsimulated/wall/supermatter/attack_ghost(mob/user)
examinate(user, src)

/turf/unsimulated/wall/supermatter/attack_ai(mob/user as mob)
Expand Down
4 changes: 2 additions & 2 deletions code/game/machinery/computer/law.dm
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
to_chat(user, "[src.current.name] selected for law changes.")
return

/obj/machinery/computer/aiupload/attack_ghost(user as mob)
/obj/machinery/computer/aiupload/attack_ghost(user)
return 1


Expand Down Expand Up @@ -98,5 +98,5 @@
to_chat(user, "[src.current.name] selected for law changes.")
return

/obj/machinery/computer/borgupload/attack_ghost(user as mob)
/obj/machinery/computer/borgupload/attack_ghost(user)
return 1
2 changes: 1 addition & 1 deletion code/game/machinery/nuclear_bomb.dm
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ var/bomb_set
return TRUE
return ..()

/obj/machinery/nuclearbomb/attack_ghost(mob/user as mob)
/obj/machinery/nuclearbomb/attack_ghost(mob/user)
attack_hand(user)

/obj/machinery/nuclearbomb/attack_hand(mob/user as mob)
Expand Down
2 changes: 1 addition & 1 deletion code/game/objects/items/spirit_board.dm
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
forceMove(get_turf(usr))
usr.put_in_hands(src)

/obj/item/spirit_board/attack_ghost(var/mob/abstract/ghost/observer/user)
/obj/item/spirit_board/attack_ghost(var/mob/abstract/ghost/user)
spirit_board_pick_letter(user)
return ..()

Expand Down
2 changes: 1 addition & 1 deletion code/modules/hydroponics/trays/tray.dm
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@
return TRUE
return ..()

/obj/machinery/portable_atmospherics/hydroponics/attack_ghost(var/mob/abstract/ghost/observer/user)
/obj/machinery/portable_atmospherics/hydroponics/attack_ghost(var/mob/abstract/ghost/user)
if(!(seed && ispath(seed.product_type, /mob)))
to_chat(user, SPAN_WARNING("This tray doesn't have any seeds, or the planted seeds does not spawn a mob!"))
return
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@
else if(scan_mode == SCANNER_GAS)
analyze_gases(A, user)

/obj/item/modular_computer/attack_ghost(var/mob/abstract/ghost/observer/user)
/obj/item/modular_computer/attack_ghost(var/mob/abstract/ghost/user)
if(enabled)
ui_interact(user)
else if(check_rights(R_ADMIN, 0, user) || isstoryteller(user))
Expand Down
2 changes: 1 addition & 1 deletion code/modules/reagents/reagent_dispenser.dm
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@

return ..()

/obj/structure/reagent_dispensers/fueltank/attack_ghost(mob/user as mob)
/obj/structure/reagent_dispensers/fueltank/attack_ghost(mob/user)
if(user.client && user.client.inquisitive_ghost)
examine()
if(!user.client.holder)
Expand Down

0 comments on commit c83de88

Please sign in to comment.