mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-26 22:50:26 +01:00
Removes the limit for how many times you can emag an emag (#93916)
## About The Pull Request Original PR [#84219](https://github.com/tgstation/tgstation/pull/84219) Removes <img width="499" height="59" alt="image" src="https://github.com/user-attachments/assets/ba7d283f-2df3-47f5-999b-9dddf4f59f7a" /> (changed to 127 - non-player facing (realistically). prevents overflow incase someone somehow manages to stick 128 emags onto eachother) <img width="677" height="135" alt="Screenshot 2025-11-12 232035" src="https://github.com/user-attachments/assets/5b962f8a-5f4a-47f7-91ce-46f4de66ed9b" /> <img width="765" height="456" alt="Screenshot 2025-11-12 231114" src="https://github.com/user-attachments/assets/55b50dc5-eba3-475a-9e27-a647922d2e4a" /> <img width="1858" height="982" alt="Screenshot 2025-11-12 231814" src="https://github.com/user-attachments/assets/8a58df5d-476f-4b74-b550-6799fa9702f3" /> ## Why It's Good For The Game - Progtot was removed, so there is less TC to go around - Niche use case - has to be willing, and there has to be an emag discount, or traitors coming together to combine TC - Fun ## Changelog 🆑 ArchBTW del: Removes the limit for how many times you can emag an emag (6->127 max) /🆑
This commit is contained in:
@@ -31,8 +31,7 @@
|
||||
var/emag_count = 0
|
||||
for(var/obj/item/card/emag/emag in get_all_contents() + emag_card.get_all_contents()) // This is including itself
|
||||
emag_count++
|
||||
if(emag_count > 6) // 1 uplink's worth is the limit
|
||||
to_chat(user, span_warning("Nope, lesson learned. No more."))
|
||||
if(emag_count >= 128) // prevent overlay sprite overload allowed on a single item, incase someone manages to (somehow) emag an emag 128 times
|
||||
return FALSE
|
||||
if(emag_card.loc != loc) // Both have to be in your hand (or TK shenanigans)
|
||||
return FALSE
|
||||
|
||||
Reference in New Issue
Block a user