mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 05:00:55 +01:00
Collars the singularity (#8509)
* Collars the singularity * Update singularity.dm * Update singularity.dm
This commit is contained in:
@@ -189,6 +189,11 @@
|
||||
var/atom/movable/movable_thing = thing
|
||||
if (get_dist(movable_thing, parent) > consume_range)
|
||||
movable_thing.singularity_pull(parent, singularity_size)
|
||||
//SKYRAT EDIT CHANGE
|
||||
else if(istype(movable_thing, /obj/machinery/field/containment))
|
||||
if(singularity_size > STAGE_FOUR)
|
||||
consume(src, movable_thing)
|
||||
// SKYRAT EDIT END
|
||||
else
|
||||
consume(src, movable_thing)
|
||||
|
||||
|
||||
@@ -99,7 +99,7 @@
|
||||
|
||||
/obj/structure/window/singularity_pull(S, current_size)
|
||||
..()
|
||||
if(anchored && current_size >= STAGE_TWO)
|
||||
if(anchored && current_size >= STAGE_FIVE) //SKYRAT EDIT CHANGE
|
||||
set_anchored(FALSE)
|
||||
if(current_size >= STAGE_FIVE)
|
||||
deconstruct(FALSE)
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
/obj/structure/railing/singularity_pull(S, current_size)
|
||||
..()
|
||||
if(anchored && current_size >= STAGE_FIVE)
|
||||
set_anchored(FALSE)
|
||||
@@ -0,0 +1,2 @@
|
||||
/obj/machinery/field/containment/singularity_act()
|
||||
return
|
||||
@@ -4008,6 +4008,7 @@
|
||||
#include "modular_skyrat\master_files\code\game\objects\items\devices\radio\encryption_key.dm"
|
||||
#include "modular_skyrat\master_files\code\game\objects\items\devices\radio\headset.dm"
|
||||
#include "modular_skyrat\master_files\code\game\objects\items\storage\boxes.dm"
|
||||
#include "modular_skyrat\master_files\code\game\objects\structures\railings.dm"
|
||||
#include "modular_skyrat\master_files\code\game\objects\structures\sauna_oven.dm"
|
||||
#include "modular_skyrat\master_files\code\game\objects\structures\tables_racks.dm"
|
||||
#include "modular_skyrat\master_files\code\game\objects\structures\trash_pile.dm"
|
||||
@@ -4059,6 +4060,7 @@
|
||||
#include "modular_skyrat\master_files\code\modules\mob\living\simple_animal\friendly\poppy.dm"
|
||||
#include "modular_skyrat\master_files\code\modules\mob\living\simple_animal\hostile\zombie.dm"
|
||||
#include "modular_skyrat\master_files\code\modules\power\lighting.dm"
|
||||
#include "modular_skyrat\master_files\code\modules\power\singularity\containment_field.dm"
|
||||
#include "modular_skyrat\master_files\code\modules\projectiles\guns\gun.dm"
|
||||
#include "modular_skyrat\master_files\code\modules\projectiles\guns\ballistic\automatic.dm"
|
||||
#include "modular_skyrat\master_files\code\modules\projectiles\guns\ballistic\revolver.dm"
|
||||
|
||||
Reference in New Issue
Block a user