mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-26 22:50:26 +01:00
Merge pull request #15300 from Buggy123/patch-16
Makes the explosion size of BS artillery a configurable variable
This commit is contained in:
@@ -1,8 +1,10 @@
|
||||
|
||||
#define ARTILLERY_RELOAD_TIME 60
|
||||
#define EXPLOSION_SIZE 3
|
||||
|
||||
/obj/machinery/artillerycontrol
|
||||
var/reload = ARTILLERY_RELOAD_TIME
|
||||
var/explosionsize = EXPLOSION_SIZE
|
||||
name = "bluespace artillery control"
|
||||
icon_state = "control_boxp1"
|
||||
icon = 'icons/obj/machines/particle_accelerator.dmi'
|
||||
@@ -48,7 +50,7 @@
|
||||
for(var/turf/T in get_area_turfs(thearea.type))
|
||||
L+=T
|
||||
var/loc = pick(L)
|
||||
explosion(loc,2,5,11)
|
||||
explosion(loc,explosionsize,explosionsize*2,explosionsize*4)
|
||||
reload = 0
|
||||
|
||||
/*/mob/proc/openfire()
|
||||
|
||||
Reference in New Issue
Block a user