mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-24 05:30:05 +01:00
[MIRROR] Fixes BRPED/rigged cell exploit and allows it to booby trap BRPEDs instead (#2357)
* Fixes BRPED/rigged cell exploit and allows it to booby trap BRPEDs instead (#55447) BRPEDs can teleport rigged power cells. Through cameras. These rigged power cells will then pretty much immediately explode. This is a tad imbalanced. Behaviour modified. Attempting to use a BRPED on a machine and having it attempt to swap over a rigged cell will cause the rigged cell to immediately go to maximum charge and explode. Adds some logging to accompany it. Why It's Good For The Game Blowing things up from across the cosmos is bad. Rigging BRPEDs to be able to explode when some poor sucker uses it to change over a power cell is cool. * Fixes BRPED/rigged cell exploit and allows it to booby trap BRPEDs instead Co-authored-by: Timberpoes <silent_insomnia_pp@hotmail.co.uk>
This commit is contained in:
@@ -115,6 +115,10 @@
|
||||
rigged = FALSE
|
||||
corrupt()
|
||||
return
|
||||
|
||||
message_admins("[ADMIN_LOOKUPFLW(usr)] has triggered a rigged/corrupted power cell explosion at [AREACOORD(T)].")
|
||||
log_game("[key_name(usr)] has triggered a rigged/corrupted power cell explosion at [AREACOORD(T)].")
|
||||
|
||||
//explosion(T, 0, 1, 2, 2)
|
||||
explosion(T, devastation_range, heavy_impact_range, light_impact_range, flash_range)
|
||||
qdel(src)
|
||||
|
||||
Reference in New Issue
Block a user