mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 19:47:22 +01:00
Changed world loop to all_objective loop in cryopod check. Added all_objective add/remove procs to datum/objective.
Conflicts: code/game/machinery/cryopod.dm
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
//This file was auto-corrected by findeclaration.exe on 25.5.2012 20:42:31
|
||||
var/global/list/all_objectives = list()
|
||||
|
||||
var/list/potential_theft_objectives=typesof(/datum/theft_objective) \
|
||||
- /datum/theft_objective \
|
||||
@@ -14,9 +15,14 @@ datum/objective
|
||||
var/completed = 0 //currently only used for custom objectives.
|
||||
|
||||
New(var/text)
|
||||
all_objectives |= src
|
||||
if(text)
|
||||
explanation_text = text
|
||||
|
||||
Del()
|
||||
all_objectives -= src
|
||||
..()
|
||||
|
||||
proc/check_completion()
|
||||
return completed
|
||||
|
||||
|
||||
@@ -96,7 +96,6 @@ obj/machinery/computer/cryopod/Topic(href, href_list)
|
||||
frozen_items -= I
|
||||
|
||||
else if(href_list["crew"])
|
||||
|
||||
user << "\red Functionality unavailable at this time."
|
||||
|
||||
src.updateUsrDialog()
|
||||
@@ -227,7 +226,6 @@ obj/machinery/computer/cryopod/Topic(href, href_list)
|
||||
O.owner.objectives -= O
|
||||
del(O)
|
||||
|
||||
|
||||
//Handle job slot/tater cleanup.
|
||||
var/job = occupant.mind.assigned_role
|
||||
|
||||
|
||||
Reference in New Issue
Block a user