mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 18:22:39 +00:00
Drops the machinery part of the singularity.
This commit is contained in:
@@ -32,7 +32,7 @@
|
||||
else
|
||||
dust()
|
||||
|
||||
/mob/proc/see_narsie(var/obj/machinery/singularity/narsie/large/N, var/dir)
|
||||
/mob/proc/see_narsie(var/obj/singularity/narsie/large/N, var/dir)
|
||||
if(N.chained)
|
||||
if(narsimage)
|
||||
del(narsimage)
|
||||
|
||||
@@ -125,7 +125,7 @@
|
||||
/obj/structure/mineral_door/wood/cultify()
|
||||
return
|
||||
|
||||
/obj/machinery/singularity/cultify()
|
||||
/obj/singularity/cultify()
|
||||
var/dist = max((current_size - 2), 1)
|
||||
explosion(get_turf(src), dist, dist * 2, dist * 4)
|
||||
qdel(src)
|
||||
|
||||
@@ -190,7 +190,7 @@ var/list/sacrificed = list()
|
||||
cultists += 1
|
||||
if(cultists.len >= 9)
|
||||
log_and_message_admins_many(cultists, "summoned Nar-sie.")
|
||||
new /obj/machinery/singularity/narsie/large(src.loc)
|
||||
new /obj/singularity/narsie/large(src.loc)
|
||||
return
|
||||
else
|
||||
return fizzle()
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/*** EXIT PORTAL ***/
|
||||
|
||||
/obj/machinery/singularity/narsie/large/exit
|
||||
/obj/singularity/narsie/large/exit
|
||||
name = "Bluespace Rift"
|
||||
desc = "NO TIME TO EXPLAIN, JUMP IN"
|
||||
icon = 'icons/obj/rift.dmi'
|
||||
@@ -14,23 +14,23 @@
|
||||
|
||||
consume_range = 6
|
||||
|
||||
/obj/machinery/singularity/narsie/large/exit/New()
|
||||
/obj/singularity/narsie/large/exit/New()
|
||||
..()
|
||||
processing_objects.Add(src)
|
||||
|
||||
/obj/machinery/singularity/narsie/large/exit/update_icon()
|
||||
/obj/singularity/narsie/large/exit/update_icon()
|
||||
overlays = 0
|
||||
|
||||
/obj/machinery/singularity/narsie/large/exit/process()
|
||||
/obj/singularity/narsie/large/exit/process()
|
||||
for(var/mob/M in player_list)
|
||||
if(M.client)
|
||||
M.see_rift(src)
|
||||
eat()
|
||||
|
||||
/obj/machinery/singularity/narsie/large/exit/acquire(var/mob/food)
|
||||
/obj/singularity/narsie/large/exit/acquire(var/mob/food)
|
||||
return
|
||||
|
||||
/obj/machinery/singularity/narsie/large/exit/consume(const/atom/A)
|
||||
/obj/singularity/narsie/large/exit/consume(const/atom/A)
|
||||
if(!(A.singuloCanEat()))
|
||||
return 0
|
||||
|
||||
@@ -62,7 +62,7 @@
|
||||
//thou shall always be able to see the rift
|
||||
var/image/riftimage = null
|
||||
|
||||
/mob/proc/see_rift(var/obj/machinery/singularity/narsie/large/exit/R)
|
||||
/mob/proc/see_rift(var/obj/singularity/narsie/large/exit/R)
|
||||
if((R.z == src.z) && (get_dist(R,src) <= (R.consume_range+10)) && !(R in view(src)))
|
||||
if(!riftimage)
|
||||
riftimage = image('icons/obj/rift.dmi',src.loc,"rift",LIGHTING_LAYER+2,1)
|
||||
|
||||
@@ -54,7 +54,7 @@
|
||||
cult.allow_narsie = 0
|
||||
PlayerSet()
|
||||
|
||||
new /obj/machinery/singularity/narsie/large/exit(pick(endgame_exits))
|
||||
new /obj/singularity/narsie/large/exit(pick(endgame_exits))
|
||||
spawn(rand(30,60) SECONDS)
|
||||
var/txt = {"
|
||||
There's been a galaxy-wide electromagnetic pulse. All of our systems are heavily damaged and many personnel are dead or dying. We are seeing increasing indications of the universe itself beginning to unravel.
|
||||
|
||||
@@ -916,7 +916,7 @@ datum/objective/heist/salvage
|
||||
explanation_text = "Summon Nar-Sie via the use of the appropriate rune (Hell join self). It will only work if nine cultists stand on and around it. The convert rune is join blood self."
|
||||
|
||||
/datum/objective/cult/eldergod/check_completion()
|
||||
return (locate(/obj/machinery/singularity/narsie/large) in machines)
|
||||
return (locate(/obj/singularity/narsie/large) in machines)
|
||||
|
||||
/datum/objective/cult/sacrifice
|
||||
explanation_text = "Conduct a ritual sacrifice for the glory of Nar-Sie."
|
||||
|
||||
@@ -95,7 +95,7 @@
|
||||
if(surplus() < 1500)
|
||||
if(user) user << "<span class='notice'>The connected wire doesn't have enough current.</span>"
|
||||
return
|
||||
for(var/obj/machinery/singularity/singulo in world)
|
||||
for(var/obj/singularity/singulo in world)
|
||||
if(singulo.z == z)
|
||||
singulo.target = src
|
||||
icon_state = "[icontype]1"
|
||||
@@ -106,7 +106,7 @@
|
||||
|
||||
|
||||
/obj/machinery/power/singularity_beacon/proc/Deactivate(mob/user = null)
|
||||
for(var/obj/machinery/singularity/singulo in world)
|
||||
for(var/obj/singularity/singulo in world)
|
||||
if(singulo.target == src)
|
||||
singulo.target = null
|
||||
icon_state = "[icontype]0"
|
||||
|
||||
@@ -59,7 +59,7 @@
|
||||
investigate_log("has become a singularity. Caused by [user.key]","singulo")
|
||||
user << "\red The Bluespace interfaces of the two devices catastrophically malfunction!"
|
||||
del(W)
|
||||
var/obj/machinery/singularity/singulo = new /obj/machinery/singularity (get_turf(src))
|
||||
var/obj/singularity/singulo = new /obj/singularity (get_turf(src))
|
||||
singulo.energy = 300 //should make it a bit bigger~
|
||||
message_admins("[key_name_admin(user)] detonated a bag of holding")
|
||||
log_game("[key_name(user)] detonated a bag of holding")
|
||||
|
||||
Reference in New Issue
Block a user