Skip to content

Commit

Permalink
хим взрывы в бомб капе (BlueMoon-Labs#845)
Browse files Browse the repository at this point in the history
* хим взрывы существуют в капе

* комментарии
  • Loading branch information
FelixRuin authored Mar 24, 2024
1 parent 8555d00 commit 3307e53
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion code/datums/explosion.dm
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,7 @@ GLOBAL_LIST_EMPTY(explosions)
A.color = null
A.maptext = ""

/proc/dyn_explosion(turf/epicenter, power, flash_range, adminlog = TRUE, ignorecap = TRUE, flame_range = 0, silent = FALSE, smoke = TRUE)
/proc/dyn_explosion(turf/epicenter, power, flash_range, adminlog = TRUE, ignorecap = FALSE, flame_range = 0, silent = FALSE, smoke = TRUE) //BLUEMOON CHANGE ранее был ignorecap = TRUE (нелимитированные взрывы - плохо)
if(!power)
return
var/range = 0
Expand Down
2 changes: 1 addition & 1 deletion code/modules/admin/admin_verbs.dm
Original file line number Diff line number Diff line change
Expand Up @@ -624,7 +624,7 @@ GLOBAL_PROTECT(admin_verbs_hideable)
var/ex_power = input("Explosive Power:") as null|num
var/turf/epicenter = mob.loc
if(ex_power && epicenter)
dyn_explosion(epicenter, ex_power)
dyn_explosion(epicenter, ex_power, ignorecap = TRUE) //BLUEMOON CHANGE нелимитированные взрывы - круто
message_admins("[ADMIN_LOOKUPFLW(usr)] creating an admin explosion at [epicenter.loc].")
log_admin("[key_name(usr)] created an admin explosion at [epicenter.loc].")
SSblackbox.record_feedback("tally", "admin_verb", 1, "Drop Dynamic Bomb") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
Expand Down

0 comments on commit 3307e53

Please sign in to comment.