mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-22 03:27:46 +01:00
End game turf changes now simply alters color.
This commit is contained in:
@@ -33,12 +33,11 @@ In short:
|
||||
|
||||
|
||||
/datum/universal_state/hell/OnTurfChange(var/turf/T)
|
||||
if(istype(T, /turf/space))
|
||||
T.color = "#FF0000"
|
||||
T.set_light(2, 2, "#FF0000")
|
||||
var/turf/space/S = T
|
||||
if(istype(S))
|
||||
S.color = "#FF0000"
|
||||
else
|
||||
T.color = initial(T.color)
|
||||
T.set_light(0)
|
||||
S.color = initial(S.color)
|
||||
|
||||
// Apply changes when entering state
|
||||
/datum/universal_state/hell/OnEnter()
|
||||
@@ -70,8 +69,7 @@ In short:
|
||||
L.update_lumcount(1, 0, 0)
|
||||
|
||||
for(var/turf/space/T in turfs)
|
||||
T.color = "#FF0000"
|
||||
T.set_light(2, 2, "#FF0000")
|
||||
OnTurfChange(T)
|
||||
|
||||
/datum/universal_state/hell/proc/MiscSet()
|
||||
for(var/turf/simulated/floor/T in turfs)
|
||||
|
||||
@@ -38,7 +38,7 @@ var/global/list/narsie_list = list()
|
||||
current_size = 12
|
||||
consume_range = 12 // How many tiles out do we eat.
|
||||
var/announce=1
|
||||
var/narnar = 1
|
||||
var/cause_hell = 1
|
||||
|
||||
/obj/singularity/narsie/large/New()
|
||||
..()
|
||||
@@ -49,7 +49,7 @@ var/global/list/narsie_list = list()
|
||||
narsie_spawn_animation()
|
||||
|
||||
if(!narsie_cometh)//so we don't initiate Hell more than one time.
|
||||
if(narnar)
|
||||
if(cause_hell)
|
||||
SetUniversalState(/datum/universal_state/hell)
|
||||
narsie_cometh = 1
|
||||
|
||||
@@ -86,14 +86,14 @@ var/global/list/narsie_list = list()
|
||||
|
||||
|
||||
/obj/singularity/narsie/large/Bump(atom/A)
|
||||
if(!narnar) return
|
||||
if(!cause_hell) return
|
||||
if(isturf(A))
|
||||
narsiewall(A)
|
||||
else if(istype(A, /obj/structure/cult))
|
||||
qdel(A)
|
||||
|
||||
/obj/singularity/narsie/large/Bumped(atom/A)
|
||||
if(!narnar) return
|
||||
if(!cause_hell) return
|
||||
if(isturf(A))
|
||||
narsiewall(A)
|
||||
else if(istype(A, /obj/structure/cult))
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
move_self = 0
|
||||
announce=0
|
||||
narnar=0
|
||||
cause_hell=0
|
||||
|
||||
layer=LIGHTING_LAYER+2 // ITS SO BRIGHT
|
||||
|
||||
|
||||
@@ -13,13 +13,11 @@ var/global/universe_has_ended = 0
|
||||
return 0
|
||||
|
||||
/datum/universal_state/supermatter_cascade/OnTurfChange(var/turf/T)
|
||||
if(istype(T, /turf/space))
|
||||
T.color = "#0066FF"
|
||||
T.set_light(2, 2, "#0066FF")
|
||||
var/turf/space/S = T
|
||||
if(istype(S))
|
||||
S.color = "#0066FF"
|
||||
else
|
||||
T.color = initial(T.color)
|
||||
T.set_light(0)
|
||||
|
||||
S.color = initial(S.color)
|
||||
|
||||
/datum/universal_state/supermatter_cascade/DecayTurf(var/turf/T)
|
||||
if(istype(T,/turf/simulated/wall))
|
||||
@@ -103,8 +101,7 @@ The access requirements on the Asteroid Shuttles' consoles have now been revoked
|
||||
L.update_lumcount(0.0, 0.4, 1)
|
||||
|
||||
for(var/turf/space/T in turfs)
|
||||
T.color = "#0066FF"
|
||||
T.set_light(2, 2, "#0066FF")
|
||||
OnTurfChange(T)
|
||||
|
||||
/datum/universal_state/supermatter_cascade/proc/MiscSet()
|
||||
for (var/obj/machinery/firealarm/alm in machines)
|
||||
|
||||
@@ -2270,14 +2270,14 @@
|
||||
if("hellonearth")
|
||||
feedback_inc("admin_secrets_fun_used",1)
|
||||
feedback_add_details("admin_secrets_fun_used","NS")
|
||||
var/choice = input("You sure you want to end the round and summon narsie at your location? Misuse of this could result in removal of flags or halarity.") in list("PRAISE SATAN", "Cancel")
|
||||
var/choice = input("You sure you want to end the round and summon narsie at your location? Misuse of this could result in removal of flags or hilarity.") in list("PRAISE SATAN", "Cancel")
|
||||
if(choice == "PRAISE SATAN")
|
||||
new /obj/singularity/narsie/large(get_turf(usr))
|
||||
message_admins("[key_name_admin(usr)] has summoned narsie and brought about a new realm of suffering.")
|
||||
if("supermattercascade")
|
||||
feedback_inc("admin_secrets_fun_used",1)
|
||||
feedback_add_details("admin_secrets_fun_used","SC")
|
||||
var/choice = input("You sure you want to destroy the universe and create a large explosion at your location? Misuse of this could result in removal of flags or halarity.") in list("NO TIME TO EXPLAIN", "Cancel")
|
||||
var/choice = input("You sure you want to destroy the universe and create a large explosion at your location? Misuse of this could result in removal of flags or hilarity.") in list("NO TIME TO EXPLAIN", "Cancel")
|
||||
if(choice == "NO TIME TO EXPLAIN")
|
||||
explosion(get_turf(usr), 8, 16, 24, 32, 1)
|
||||
new /turf/unsimulated/wall/supermatter(get_turf(usr))
|
||||
|
||||
@@ -78,6 +78,9 @@
|
||||
return 5000
|
||||
|
||||
/obj/machinery/power/supermatter/singularity_act()
|
||||
if(!src.loc)
|
||||
return
|
||||
|
||||
var/prints = ""
|
||||
if(src.fingerprintshidden)
|
||||
prints = ", all touchers : " + src.fingerprintshidden
|
||||
|
||||
Reference in New Issue
Block a user