Skip to content

Commit

Permalink
fix oopsie causing xeno cultists to always use default hive
Browse files Browse the repository at this point in the history
  • Loading branch information
fira committed Oct 14, 2023
1 parent 8100348 commit 531e4c1
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 9 deletions.
5 changes: 2 additions & 3 deletions code/modules/admin/player_panel/actions/antag.dm
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,8 @@
if(params["leader"])
preset = GLOB.gear_path_presets_list[/datum/equipment_preset/other/xeno_cultist/leader]


preset.load_race(H, params["hivenumber"])
preset.load_status(H)
preset.load_race(H)
preset.load_status(H, params["hivenumber"])

var/title = params["leader"]? "xeno cultist leader" : "cultist"

Expand Down
8 changes: 4 additions & 4 deletions code/modules/admin/topic/topic.dm
Original file line number Diff line number Diff line change
Expand Up @@ -836,14 +836,14 @@

if(href_list["makecultist"])
var/datum/equipment_preset/preset = GLOB.gear_path_presets_list[/datum/equipment_preset/other/xeno_cultist]
preset.load_race(H, hive.hivenumber)
preset.load_status(H)
preset.load_race(H)
preset.load_status(H, hive.hivenumber)
message_admins("[key_name_admin(usr)] has made [key_name_admin(H)] into a cultist for [hive.name].")

else if(href_list["makecultistleader"])
var/datum/equipment_preset/preset = GLOB.gear_path_presets_list[/datum/equipment_preset/other/xeno_cultist/leader]
preset.load_race(H, hive.hivenumber)
preset.load_status(H)
preset.load_race(H)
preset.load_status(H, hive.hivenumber)
message_admins("[key_name_admin(usr)] has made [key_name_admin(H)] into a cultist leader for [hive.name].")

H.faction = hive.internal_faction
Expand Down
4 changes: 2 additions & 2 deletions code/modules/mob/living/carbon/human/human_abilities.dm
Original file line number Diff line number Diff line change
Expand Up @@ -414,8 +414,8 @@ CULT
return

var/datum/equipment_preset/preset = GLOB.gear_path_presets_list[/datum/equipment_preset/other/xeno_cultist]
preset.load_race(chosen, H.hivenumber)
preset.load_status(chosen)
preset.load_race(chosen)
preset.load_status(chosen, H.hivenumber)

to_chat(chosen, SPAN_ROLE_HEADER("You are now a Xeno Cultist!"))
to_chat(chosen, SPAN_ROLE_BODY("Worship the Xenomorphs and listen to the Cult Leader for orders. The Cult Leader is typically the person who transformed you. Do not kill anyone unless you are wearing your black robes, you may defend yourself."))
Expand Down

0 comments on commit 531e4c1

Please sign in to comment.