mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 13:10:02 +01:00
Singularity_pull() standartize (#87304)
## About The Pull Request Previous attempt - https://github.com/tgstation/tgstation/pull/87227 `/atom/proc/singularity_pull(obj/singularity/singularity, current_size)` has first arg typed, but other procs were just referencing it as a un-typed variable. Since args are not standartized AND `atom/proc/singularity_pull(obj/singularity/singularity, current_size)` is out-dated, since it can be called by things that has `/datum/component/singularity` - not just by `obj/singularity/singularity` - This PR just adds args to every `proc/singularity_pull()` as follows: `proc/singularity_pull(atom/singularity, current_size)` ## Why It's Good For The Game Standartization ## Changelog No changelog needed
This commit is contained in:
@@ -57,7 +57,7 @@
|
||||
qdel(sight_blocker)
|
||||
return ..()
|
||||
|
||||
/obj/structure/necropolis_gate/singularity_pull()
|
||||
/obj/structure/necropolis_gate/singularity_pull(atom/singularity, current_size)
|
||||
return 0
|
||||
|
||||
/obj/structure/necropolis_gate/CanAllowThrough(atom/movable/mover, border_dir)
|
||||
@@ -88,7 +88,7 @@
|
||||
opacity = TRUE
|
||||
anchored = TRUE
|
||||
|
||||
/obj/structure/opacity_blocker/singularity_pull()
|
||||
/obj/structure/opacity_blocker/singularity_pull(atom/singularity, current_size)
|
||||
return FALSE
|
||||
|
||||
//ATTACK HAND IGNORING PARENT RETURN VALUE
|
||||
@@ -242,7 +242,7 @@ GLOBAL_DATUM(necropolis_gate, /obj/structure/necropolis_gate/legion_gate)
|
||||
|
||||
AddComponent(/datum/component/seethrough, SEE_THROUGH_MAP_DEFAULT_TWO_TALL)
|
||||
|
||||
/obj/structure/necropolis_arch/singularity_pull()
|
||||
/obj/structure/necropolis_arch/singularity_pull(atom/singularity, current_size)
|
||||
return 0
|
||||
|
||||
//stone tiles for boss arenas
|
||||
@@ -266,7 +266,7 @@ GLOBAL_DATUM(necropolis_gate, /obj/structure/necropolis_gate/legion_gate)
|
||||
give_turf_traits = string_list(list(TRAIT_LAVA_STOPPED, TRAIT_CHASM_STOPPED, TRAIT_IMMERSE_STOPPED))
|
||||
AddElement(/datum/element/give_turf_traits, give_turf_traits)
|
||||
|
||||
/obj/structure/stone_tile/singularity_pull()
|
||||
/obj/structure/stone_tile/singularity_pull(atom/singularity, current_size)
|
||||
return
|
||||
|
||||
/obj/structure/stone_tile/block
|
||||
|
||||
Reference in New Issue
Block a user