mirror of
https://github.com/yogstation13/Yogstation.git
synced 2025-02-26 09:04:50 +00:00
Conditional department goals (#9457)
* just need to autodoc * some autodocs * autodocs SSYogs * removes the cargo tesla goal
This commit is contained in:
@@ -646,6 +646,10 @@ GLOBAL_DATUM(main_supermatter_engine, /obj/machinery/power/supermatter_crystal)
|
||||
investigate_log("has been powered for the first time.", INVESTIGATE_SUPERMATTER)
|
||||
message_admins("[src] has been powered for the first time [ADMIN_JMP(src)].")
|
||||
has_been_powered = TRUE
|
||||
var/datum/department_goal/eng/additional_supermatter/goal = locate() in SSYogs.department_goals
|
||||
if(goal)
|
||||
goal.complete()
|
||||
|
||||
else if(takes_damage)
|
||||
damage += Proj.damage * config_bullet_energy
|
||||
return BULLET_ACT_HIT
|
||||
|
||||
Reference in New Issue
Block a user