mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 05:00:55 +01:00
Fixes flatgun drop code (#61453)
About The Pull Request Changes the drop code handling from being in pickup (requiring some shitcode to work) to instead handle the same code in equip. This behaviour is nonsense, but it at least now works as intended. fixes #61281 Why It's Good For The Game Shit ruin with bad loot and bullshit like this Changelog cl fix: Stickmen flatguns now properly drop out of your hands when picked up, as intended. /cl
This commit is contained in:
@@ -90,9 +90,9 @@
|
||||
mag_display = FALSE
|
||||
show_bolt_icon = FALSE
|
||||
|
||||
/obj/item/gun/ballistic/automatic/pistol/stickman/pickup(mob/living/user)
|
||||
SHOULD_CALL_PARENT(FALSE)
|
||||
to_chat(user, span_notice("As you try to pick up [src], it slips out of your grip.."))
|
||||
/obj/item/gun/ballistic/automatic/pistol/stickman/equipped(mob/user, slot)
|
||||
..()
|
||||
to_chat(user, span_notice("As you try to manipulate [src], it slips out of your possession.."))
|
||||
if(prob(50))
|
||||
to_chat(user, span_notice("..and vanishes from your vision! Where the hell did it go?"))
|
||||
qdel(src)
|
||||
@@ -100,4 +100,3 @@
|
||||
else
|
||||
to_chat(user, span_notice("..and falls into view. Whew, that was a close one."))
|
||||
user.dropItemToGround(src)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user