mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-27 23:27:34 +01:00
what has become of my life
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
/datum/buildmode_mode/boom
|
||||
key = "boom"
|
||||
|
||||
|
||||
var/devastation = -1
|
||||
var/heavy = -1
|
||||
var/light = -1
|
||||
@@ -10,24 +10,24 @@
|
||||
/datum/buildmode_mode/boom/show_help(client/c)
|
||||
to_chat(c, "<span class='notice'>***********************************************************</span>")
|
||||
to_chat(c, "<span class='notice'>Mouse Button on obj = Kaboom</span>")
|
||||
to_chat(c, "<span class='notice'>NOTE: Using the \"Config/Launch Supplypod\" verb allows you to do this in an IC way (ie making a cruise missile come down from the sky and explode wherever you click!)</span>")
|
||||
to_chat(c, "<span class='notice'>NOTE: Using the \"Config/Launch Supplypod\" verb allows you to do this in an IC way (i.e., making a cruise missile come down from the sky and explode wherever you click!)</span>")
|
||||
to_chat(c, "<span class='notice'>***********************************************************</span>")
|
||||
|
||||
/datum/buildmode_mode/boom/change_settings(client/c)
|
||||
devastation = input(c, "Range of total devastation. -1 to none", text("Input")) as num|null
|
||||
if(devastation == null)
|
||||
if(devastation == null)
|
||||
devastation = -1
|
||||
heavy = input(c, "Range of heavy impact. -1 to none", text("Input")) as num|null
|
||||
if(heavy == null)
|
||||
if(heavy == null)
|
||||
heavy = -1
|
||||
light = input(c, "Range of light impact. -1 to none", text("Input")) as num|null
|
||||
if(light == null)
|
||||
if(light == null)
|
||||
light = -1
|
||||
flash = input(c, "Range of flash. -1 to none", text("Input")) as num|null
|
||||
if(flash == null)
|
||||
if(flash == null)
|
||||
flash = -1
|
||||
flames = input(c, "Range of flames. -1 to none", text("Input")) as num|null
|
||||
if(flames == null)
|
||||
if(flames == null)
|
||||
flames = -1
|
||||
|
||||
/datum/buildmode_mode/boom/handle_click(client/c, params, obj/object)
|
||||
|
||||
@@ -42,7 +42,7 @@
|
||||
return
|
||||
G.defineRegion(cornerA, cornerB, 1)
|
||||
highlight_region(G.map)
|
||||
var/confirm = alert("Are you sure you want run the map generator?", "Run generator", "Yes", "No")
|
||||
var/confirm = alert("Are you sure you want to run the map generator?", "Run generator", "Yes", "No")
|
||||
if(confirm == "Yes")
|
||||
G.generate()
|
||||
log_admin("Build Mode: [key_name(c)] ran the map generator '[G.buildmode_name]' in the region from [AREACOORD(cornerA)] to [AREACOORD(cornerB)]")
|
||||
Reference in New Issue
Block a user