mirror of
https://github.com/KabKebab/GS13.git
synced 2026-07-13 00:47:42 +01:00
bsuckers get their objectives and also limits thrallling to 1 per 10 levels
This commit is contained in:
+15
-13
@@ -364,20 +364,22 @@
|
||||
output += memory
|
||||
|
||||
|
||||
for(var/datum/antagonist/A in antag_datums)
|
||||
output += A.antag_memory
|
||||
var/list/all_objectives = list()
|
||||
for(var/datum/antagonist/A in antag_datums)
|
||||
output += A.antag_memory
|
||||
all_objectives |= A.objectives
|
||||
|
||||
if(objectives.len)
|
||||
output += "<B>Objectives:</B>"
|
||||
var/obj_count = 1
|
||||
for(var/datum/objective/objective in objectives)
|
||||
output += "<br><B>Objective #[obj_count++]</B>: [objective.explanation_text]"
|
||||
var/list/datum/mind/other_owners = objective.get_owners() - src
|
||||
if(other_owners.len)
|
||||
output += "<ul>"
|
||||
for(var/datum/mind/M in other_owners)
|
||||
output += "<li>Conspirator: [M.name]</li>"
|
||||
output += "</ul>"
|
||||
if(all_objectives.len)
|
||||
output += "<B>Objectives:</B>"
|
||||
var/obj_count = 1
|
||||
for(var/datum/objective/objective in all_objectives)
|
||||
output += "<br><B>Objective #[obj_count++]</B>: [objective.explanation_text]"
|
||||
var/list/datum/mind/other_owners = objective.get_owners() - src
|
||||
if(other_owners.len)
|
||||
output += "<ul>"
|
||||
for(var/datum/mind/M in other_owners)
|
||||
output += "<li>Conspirator: [M.name]</li>"
|
||||
output += "</ul>"
|
||||
|
||||
if(window)
|
||||
recipient << browse(output,"window=memory")
|
||||
|
||||
@@ -255,7 +255,7 @@
|
||||
if(user.blood_volume < convert_cost + 5)
|
||||
to_chat(user, "<span class='notice'>You don't have enough blood to initiate the Dark Communion with [target].</span>")
|
||||
return
|
||||
if(bloodsuckerdatum.count_vassals(user)*5 > bloodsuckerdatum.vamplevel)
|
||||
if(!bloodsuckerdatum || bloodsuckerdatum.vassals.len * 10 > bloodsuckerdatum.vamplevel)
|
||||
to_chat(user, "<span class='notice'>Your power is yet too weak to bring more vassals under your control....</span>")
|
||||
return
|
||||
// Prep...
|
||||
|
||||
Reference in New Issue
Block a user