Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Light Grenade and an Ai shell
#1
As an AI shell robot with a light grenade nearby. Left clicking the grenade does nothing, but right clicking and dragging instakills the robot. This does not force you back to your ai shell, it ghosts you.
#2
Light grenades are kind of hacky.
The code for them is right here:
https://github.com/goonstation/goonstati...es.dm#L351

The part that actually kills you is this:

Code:
                spawn(2)
                    random_brute_damage(user, 200)
                    spawn(1)
                        logTheThing("combat", user, null, "was killed by touching a [src] at [log_loc(src)].")
                        var/mob/dead/observer/newmob
                        newmob = new/mob/dead/observer(user)
                        user.client.mob = newmob
                        user.mind.transfer_to(newmob)
                        qdel(user)

As you can see, it just creates a ghost and then transfers you to the ghost before deleting your old body.

This is ridiculously hacky and bypasses many things, including, but not limited to: 
  • A wizard's Soul Guard
  • The Shield of Souls
  • An admin setting a mob's nodamage var to 1
Of course, it might be intentionally hacky, but it might also just be so goddamn old that deaths weren't handled properly yet.
#3
should be fix


Forum Jump:


Users browsing this thread: 2 Guest(s)