mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-27 15:17:01 +01:00
[MIRROR] Updates policy to better warn players for any existing antagonist policy [MDB IGNORE] (#19341)
* Updates policy to better warn players for any existing antagonist policy * Update job.dm * Update job.dm --------- Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com> Co-authored-by: Zonespace <41448081+Zonespace27@users.noreply.github.com>
This commit is contained in:
co-authored by
MrMelbert
Zonespace
parent
6b266e0f32
commit
34ad67a4fc
@@ -48,9 +48,6 @@
|
||||
var/datum/species/golem/X = mob_species
|
||||
to_chat(new_spawn, "[initial(X.info_text)]")
|
||||
if(!owner)
|
||||
var/policy = get_policy(ROLE_FREE_GOLEM)
|
||||
if (policy)
|
||||
to_chat(new_spawn, policy)
|
||||
to_chat(new_spawn, "Build golem shells in the autolathe, and feed refined mineral sheets to the shells to bring them to life! You are generally a peaceful group unless provoked.")
|
||||
try_keep_home(new_spawn)
|
||||
else
|
||||
@@ -64,9 +61,9 @@
|
||||
G.owner = owner
|
||||
H.set_cloned_appearance()
|
||||
if(has_owner && new_spawn.mind)
|
||||
new_spawn.mind.set_assigned_role(SSjob.GetJobType(/datum/job/servant_golem))
|
||||
new_spawn.mind.set_assigned_role_with_greeting(SSjob.GetJobType(/datum/job/servant_golem))
|
||||
else
|
||||
new_spawn.mind.set_assigned_role(SSjob.GetJobType(/datum/job/free_golem))
|
||||
new_spawn.mind.set_assigned_role_with_greeting(SSjob.GetJobType(/datum/job/free_golem))
|
||||
|
||||
/obj/effect/mob_spawn/ghost_role/human/golem/proc/try_keep_home(mob/new_spawn)
|
||||
var/static/list/allowed_areas = typecacheof(list(/area/icemoon, /area/lavaland, /area/ruin)) + typecacheof(/area/misc/survivalpod)
|
||||
|
||||
Reference in New Issue
Block a user