mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-26 06:22:26 +01:00
@@ -25,7 +25,7 @@
|
||||
|
||||
/obj/structure/droppod_door/attack_hand(var/mob/user)
|
||||
if(deploying || deployed) return
|
||||
to_chat(user, "<span class='danger'>You prime the explosive bolts. Better get clear!</span>")
|
||||
to_chat(user, SPAN_DANGER("You prime the explosive bolts. Better get clear!"))
|
||||
sleep(30)
|
||||
deploy()
|
||||
|
||||
@@ -56,7 +56,7 @@
|
||||
return
|
||||
|
||||
deployed = 1
|
||||
visible_message("<span class='danger'>The explosive bolts on \the [src] detonate, throwing it open!</span>")
|
||||
visible_message(SPAN_DANGER("The explosive bolts on \the [src] detonate, throwing it open!"))
|
||||
playsound(src.loc, 'sound/effects/bang.ogg', 50, 1, 5)
|
||||
|
||||
// This is shit but it will do for the sake of testing.
|
||||
|
||||
@@ -26,13 +26,13 @@
|
||||
deep_count++
|
||||
// Sanity check.
|
||||
if(surface_count < MIN_SURFACE_COUNT)
|
||||
admin_notice("<span class='danger'>Insufficient surface minerals. Rerolling...</span>", R_DEBUG)
|
||||
admin_notice(SPAN_DANGER("Insufficient surface minerals. Rerolling..."), R_DEBUG)
|
||||
return 0
|
||||
else if(rare_count < MIN_RARE_COUNT)
|
||||
admin_notice("<span class='danger'>Insufficient rare minerals. Rerolling...</span>", R_DEBUG)
|
||||
admin_notice(SPAN_DANGER("Insufficient rare minerals. Rerolling..."), R_DEBUG)
|
||||
return 0
|
||||
else if(deep_count < MIN_DEEP_COUNT)
|
||||
admin_notice("<span class='danger'>Insufficient deep minerals. Rerolling...</span>", R_DEBUG)
|
||||
admin_notice(SPAN_DANGER("Insufficient deep minerals. Rerolling..."), R_DEBUG)
|
||||
return 0
|
||||
else
|
||||
return 1
|
||||
|
||||
@@ -63,7 +63,7 @@ GLOBAL_LIST_EMPTY(map_count)
|
||||
set_map_size()
|
||||
|
||||
var/start_time = world.timeofday
|
||||
if(!do_not_announce) admin_notice("<span class='danger'>Generating [name].</span>", R_DEBUG)
|
||||
if(!do_not_announce) admin_notice(SPAN_DANGER("Generating [name]."), R_DEBUG)
|
||||
CHECK_TICK
|
||||
|
||||
// Testing needed to see how reliable this is (asynchronous calls, called during worldgen), DM ref is not optimistic
|
||||
@@ -73,9 +73,9 @@ GLOBAL_LIST_EMPTY(map_count)
|
||||
|
||||
for(var/i = 0;i<max_attempts;i++)
|
||||
if(generate())
|
||||
if(!do_not_announce) admin_notice("<span class='danger'>[capitalize(name)] generation completed in [round(0.1*(world.timeofday-start_time),0.1)] seconds.</span>", R_DEBUG)
|
||||
if(!do_not_announce) admin_notice(SPAN_DANGER("[capitalize(name)] generation completed in [round(0.1*(world.timeofday-start_time),0.1)] seconds."), R_DEBUG)
|
||||
return
|
||||
if(!do_not_announce) admin_notice("<span class='danger'>[capitalize(name)] failed to generate ([round(0.1*(world.timeofday-start_time),0.1)] seconds): could not produce sane map.</span>", R_DEBUG)
|
||||
if(!do_not_announce) admin_notice(SPAN_DANGER("[capitalize(name)] failed to generate ([round(0.1*(world.timeofday-start_time),0.1)] seconds): could not produce sane map."), R_DEBUG)
|
||||
|
||||
/datum/random_map/proc/get_map_cell(var/x,var/y)
|
||||
if(!islist(map))
|
||||
|
||||
Reference in New Issue
Block a user