mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-26 14:39:58 +01:00
Abduction Update Two:
-SPRITES SPRITES SPRITES -Hopefully fixes create_antag and team problems -Fixes the Inactive Eye on follow list -Removes redundant and adds needed checks -Neater adv camera code -Minor balance tweaks -Fixes instant first activation of glands -Adds 3 mostly negative glands -Adds anti-tracking helmet to agent equipment -Makes experimental dissection ignore clothes -Way out for trapped humans : Mash random buttons -Abductors now virus immune (also golems and skeletons) -File cleanup -Teleporter functionality for camera
This commit is contained in:
@@ -506,7 +506,11 @@ client/proc/one_click_antag()
|
||||
teams_finished = round(ticker.mode.abductors.len / 2)
|
||||
var/number = teams_finished + 1
|
||||
|
||||
var/datum/game_mode/abduction/temp = new
|
||||
var/datum/game_mode/abduction/temp
|
||||
if(ticker.mode.config_tag == "abductor")
|
||||
temp = ticker.mode
|
||||
else
|
||||
temp = new
|
||||
|
||||
var/agent_mind = pick(candidates)
|
||||
candidates -= agent_mind
|
||||
@@ -525,13 +529,14 @@ client/proc/one_click_antag()
|
||||
temp.team_names.len = number
|
||||
temp.scientists[number] = scientist_mind
|
||||
temp.agents[number] = agent_mind
|
||||
temp.abductors = list(agent_mind,scientist_mind)
|
||||
temp.make_abductor_team(number)
|
||||
temp.abductors |= list(agent_mind,scientist_mind)
|
||||
temp.make_abductor_team(number,preset_scientist=scientist_mind,preset_agent=agent_mind)
|
||||
temp.post_setup_team(number)
|
||||
ticker.mode.abductors += temp.abductors
|
||||
if(ticker.mode.config_tag == "abductor")
|
||||
var/datum/game_mode/abduction/A = ticker.mode
|
||||
A.teams += 1
|
||||
else
|
||||
ticker.mode.abductors |= temp.abductors
|
||||
|
||||
return 1
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user