mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-22 03:27:46 +01:00
code/global.dm => code/_global_vars/ (#17244)
* 1 * Full conversion * . * . --------- Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
@@ -6,5 +6,5 @@
|
||||
if(!.)
|
||||
return
|
||||
|
||||
for(var/obj/machinery/light/L in machines)
|
||||
for(var/obj/machinery/light/L in GLOB.machines)
|
||||
L.fix()
|
||||
|
||||
@@ -7,15 +7,15 @@
|
||||
if(!.)
|
||||
return
|
||||
|
||||
switch(max_explosion_range)
|
||||
if(14) max_explosion_range = 16
|
||||
if(16) max_explosion_range = 20
|
||||
if(20) max_explosion_range = 28
|
||||
if(28) max_explosion_range = 56
|
||||
if(56) max_explosion_range = 128
|
||||
if(128) max_explosion_range = 14
|
||||
var/range_dev = max_explosion_range *0.25
|
||||
var/range_high = max_explosion_range *0.5
|
||||
var/range_low = max_explosion_range
|
||||
switch(GLOB.max_explosion_range)
|
||||
if(14) GLOB.max_explosion_range = 16
|
||||
if(16) GLOB.max_explosion_range = 20
|
||||
if(20) GLOB.max_explosion_range = 28
|
||||
if(28) GLOB.max_explosion_range = 56
|
||||
if(56) GLOB.max_explosion_range = 128
|
||||
if(128) GLOB.max_explosion_range = 14
|
||||
var/range_dev = GLOB.max_explosion_range *0.25
|
||||
var/range_high = GLOB.max_explosion_range *0.5
|
||||
var/range_low = GLOB.max_explosion_range
|
||||
message_admins(span_danger("[key_name_admin(user)] changed the bomb cap to [range_dev], [range_high], [range_low]"), 1)
|
||||
log_admin("[key_name_admin(user)] changed the bomb cap to [max_explosion_range]")
|
||||
log_admin("[key_name_admin(user)] changed the bomb cap to [GLOB.max_explosion_range]")
|
||||
|
||||
Reference in New Issue
Block a user