Skip to content
This repository was archived by the owner on May 22, 2025. It is now read-only.

Commit 4ba0893

Browse files
committed
Fixing conflicts with psionics
1 parent e08bc19 commit 4ba0893

File tree

2 files changed

+55
-0
lines changed

2 files changed

+55
-0
lines changed

yogstation.dme

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4086,6 +4086,7 @@
40864086
#include "yogstation\code\game\gamemodes\clean_this_shit_up\blood_cult.dm"
40874087
#include "yogstation\code\game\gamemodes\clean_this_shit_up\clock_cult.dm"
40884088
#include "yogstation\code\game\gamemodes\clean_this_shit_up\other.dm"
4089+
#include "yogstation\code\game\gamemodes\infiltration\infiltration.dm"
40894090
#include "yogstation\code\game\machinery\suit_storage_unit.dm"
40904091
#include "yogstation\code\game\machinery\computer\arcade.dm"
40914092
#include "yogstation\code\game\machinery\computer\atmos_sim.dm"
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
// /datum/game_mode/infiltration
2+
// name = "infiltration"
3+
// config_tag = "infiltration"
4+
// false_report_weight = 10
5+
// required_players = 25
6+
// required_enemies = 3
7+
// recommended_enemies = 5
8+
// enemy_minimum_age = 21
9+
// antag_flag = ROLE_INFILTRATOR
10+
11+
// var/agents_possible = 5
12+
// var/agents_left = 1
13+
// var/list/pre_sit = list()
14+
15+
// var/datum/team/infiltrator/sit_team
16+
17+
// var/static/list/areas_that_can_finish = typecacheof(list(/area/shuttle/yogs/stealthcruiser, /area/yogs/infiltrator_base))
18+
19+
// /datum/game_mode/infiltration/pre_setup()
20+
// var/n_agents = min(max(CEILING(num_players() / 7, 1), 1), antag_candidates.len, agents_possible)
21+
// if(GLOB.Debug2 || n_agents >= required_enemies)
22+
// for(var/i = 0, i < n_agents, ++i)
23+
// var/datum/mind/new_sit = pick_n_take(antag_candidates)
24+
// pre_sit += new_sit
25+
// new_sit.assigned_role = "Syndicate Infiltrator"
26+
// new_sit.special_role = "Syndicate Infiltrator"
27+
// log_game("[key_name(new_sit)] has been selected as a syndicate infiltrator")
28+
// return TRUE
29+
// setup_error = "Not enough infiltrator candidates"
30+
// message_admins("Not enough infiltrator candidates! Was making [n_agents], but we need [required_enemies]!")
31+
// return FALSE
32+
33+
// /datum/game_mode/infiltration/post_setup()
34+
// sit_team = new /datum/team/infiltrator
35+
// for(var/datum/mind/sit_mind in pre_sit)
36+
// sit_mind.add_antag_datum(ANTAG_DATUM_INFILTRATOR, sit_team)
37+
// sit_team.update_objectives()
38+
// return ..()
39+
40+
// /datum/game_mode/infiltration/generate_report() //make this less shit
41+
// return "Reports show that the Syndicate is rounding up it's elite agents, possibly for a raid on a Nanotrasen-controlled station. Keep an eye out for unusual people."
42+
43+
// /datum/game_mode/infiltration/set_round_result()
44+
// ..()
45+
// var/result = sit_team.get_result()
46+
// switch(result)
47+
// if(INFILTRATION_ALLCOMPLETE)
48+
// SSticker.mode_result = "major win - objectives complete"
49+
// if(INFILTRATION_MOSTCOMPLETE)
50+
// SSticker.mode_result = "minor win - most objectives complete"
51+
// if(INFILTRATION_SOMECOMPLETE)
52+
// SSticker.mode_result = "neutral - some objectives complete"
53+
// else
54+
// SSticker.mode_result = "loss - no objectives complete"

0 commit comments

Comments
 (0)