mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-26 06:29:23 +01:00
Remove data systems in favor of global datums (#82943)
This commit is contained in:
@@ -45,9 +45,9 @@
|
||||
RegisterSignal(src, COMSIG_ATOM_ENTERING, PROC_REF(on_entering_atom))
|
||||
|
||||
if(special_target)
|
||||
DSmove_manager.home_onto(src, special_target)
|
||||
GLOB.move_manager.home_onto(src, special_target)
|
||||
else
|
||||
DSmove_manager.move_towards(src, real_destination)
|
||||
GLOB.move_manager.move_towards(src, real_destination)
|
||||
|
||||
/obj/effect/immovablerod/Destroy(force)
|
||||
UnregisterSignal(src, COMSIG_ATOM_ENTERING)
|
||||
@@ -113,7 +113,7 @@
|
||||
return
|
||||
|
||||
visible_message(span_danger("[src] phases into reality."))
|
||||
DSmove_manager.home_onto(src, special_target)
|
||||
GLOB.move_manager.home_onto(src, special_target)
|
||||
|
||||
if(loc == target_turf)
|
||||
complete_trajectory()
|
||||
@@ -264,7 +264,7 @@
|
||||
* Stops your rod's automated movement. Sit... Stay... Good rod!
|
||||
*/
|
||||
/obj/effect/immovablerod/proc/sit_stay_good_rod()
|
||||
DSmove_manager.stop_looping(src)
|
||||
GLOB.move_manager.stop_looping(src)
|
||||
|
||||
/**
|
||||
* Allows your rod to release restraint level zero and go for a walk.
|
||||
@@ -278,7 +278,7 @@
|
||||
/obj/effect/immovablerod/proc/go_for_a_walk(walkies_location = null)
|
||||
if(walkies_location)
|
||||
special_target = walkies_location
|
||||
DSmove_manager.home_onto(src, special_target)
|
||||
GLOB.move_manager.home_onto(src, special_target)
|
||||
return
|
||||
|
||||
complete_trajectory()
|
||||
@@ -294,7 +294,7 @@
|
||||
*/
|
||||
/obj/effect/immovablerod/proc/walk_in_direction(direction)
|
||||
destination_turf = get_edge_target_turf(src, direction)
|
||||
DSmove_manager.move_towards(src, destination_turf)
|
||||
GLOB.move_manager.move_towards(src, destination_turf)
|
||||
|
||||
/**
|
||||
* Rod will push the tram to a landmark if it hits the tram from the front/back
|
||||
|
||||
@@ -43,7 +43,7 @@
|
||||
/datum/round_event/shuttle_insurance/start()
|
||||
insurance_message = new("Shuttle Insurance", "Hey, pal, this is the [ship_name]. Can't help but notice you're rocking a wild and crazy shuttle there with NO INSURANCE! Crazy. What if something happened to it, huh?! We've done a quick evaluation on your rates in this sector and we're offering [insurance_evaluation] to cover for your shuttle in case of any disaster.", list("Purchase Insurance.","Reject Offer."))
|
||||
insurance_message.answer_callback = CALLBACK(src, PROC_REF(answered))
|
||||
DScommunications.send_message(insurance_message, unique = TRUE)
|
||||
GLOB.communications_controller.send_message(insurance_message, unique = TRUE)
|
||||
|
||||
/datum/round_event/shuttle_insurance/proc/answered()
|
||||
if(EMERGENCY_AT_LEAST_DOCKED)
|
||||
|
||||
Reference in New Issue
Block a user