Skip to content

Commit

Permalink
+
Browse files Browse the repository at this point in the history
  • Loading branch information
SmiLeYre committed Nov 30, 2023
1 parent f0b1cd8 commit a9706b8
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
7 changes: 4 additions & 3 deletions code/game/gamemodes/dynamic/dynamic_rulesets_midround.dm
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@
antag_flag_override = ROLE_FAMILIES
restricted_roles = list("AI", "Cyborg", "Prisoner", "Shaft Miner", "NanoTrasen Representative", "Lawyer", "Blueshield", "Peacekeeper", "Brig Physician", "Security Officer", "Warden", "Detective", "Head of Security", "Captain", "Head of Personnel", "Quartermaster", "Chief Engineer", "Chief Medical Officer", "Research Director") //BLUEMOON CHANGES
required_candidates = 9
required_round_type = list(ROUNDTYPE_DYNAMIC_TEAMBASED, ROUNDTYPE_DYNAMIC_HARD, ROUNDTYPE_DYNAMIC_MEDIUM) // BLUEMOON ADD
required_round_type = list(ROUNDTYPE_DYNAMIC_LIGHT) // BLUEMOON ADD
weight = 4 //BLUEMOON CHANGES
cost = 10 //BLUEMOON CHANGES - низкая цена, т.к. надо в соло поднять семью
requirements = list(101,101,101,50,30,20,10,10,10,10)
Expand Down Expand Up @@ -688,13 +688,14 @@
name = "Blob Infection"
antag_datum = /datum/antagonist/blob
antag_flag = "blob mid"
antag_flag_override = ROLE_BLOB
protected_roles = list("Prisoner", "Blueshield", "Peacekeeper", "Brig Physician", "Security Officer", "Warden", "Detective", "Head of Security", "Captain") //BLUEMOON CHANGES
restricted_roles = list("Cyborg", "AI", "Positronic Brain")
enemy_roles = list("Blueshield", "Peacekeeper", "Brig Physician", "Security Officer", "Warden", "Detective", "Head of Security", "Captain") //BLUEMOON CHANGES
required_enemies = list(0,0,0,0,0,0,0,0,0,0)
required_candidates = 1
required_round_type = list(ROUNDTYPE_DYNAMIC_TEAMBASED, ROUNDTYPE_DYNAMIC_HARD, ROUNDTYPE_DYNAMIC_MEDIUM) // BLUEMOON ADD
weight = 3 //BLUEMOON CHANGES
weight = 2
cost = 10
requirements = list(101,101,101,101,50,40,30,20,10,10)
repeatable = TRUE
Expand All @@ -713,7 +714,7 @@

/datum/dynamic_ruleset/midround/blob_infection/execute()
// BLUEMOON ADD START - если нет кандидатов и не выданы все роли, иначе выдаст рантайм
if(!length(candidates))
if(candidates.len <= 0)
message_admins("Рулсет [name] не был активирован по причине отсутствия кандидатов.")
return FALSE
// BLUEMOON ADD END
Expand Down
2 changes: 1 addition & 1 deletion code/game/gamemodes/dynamic/dynamic_rulesets_roundstart.dm
Original file line number Diff line number Diff line change
Expand Up @@ -550,7 +550,7 @@
required_candidates = 3 //BLUEMOON CHANGES
weight = 3
cost = 15
required_round_type = list(ROUNDTYPE_DYNAMIC_TEAMBASED, ROUNDTYPE_DYNAMIC_HARD, ROUNDTYPE_DYNAMIC_MEDIUM) // BLUEMOON ADD
required_round_type = list(ROUNDTYPE_DYNAMIC_LIGHT) // BLUEMOON ADD
requirements = list(0,101,101,101,40,20,20,10,10,10) //BLUEMOON CHANGES
flags = HIGH_IMPACT_RULESET
antag_cap = list("denominator" = 5, "offset" = 1) //BLUEMOON ADDITION
Expand Down
5 changes: 5 additions & 0 deletions code/game/objects/items/devices/traitordevices.dm
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,11 @@ effective or pretty fucking useless.
if(on)
charge = max(0, charge - 1500)

/obj/item/shadowcloak/check_block(mob/living/carbon/human/owner, atom/movable/hitby, attack_text = "the attack", final_block_chance = 0, damage = 0, attack_type = ATTACK_TYPE_MELEE)
. = ..()
if(on)
charge = max(0, charge - 1500)

/obj/item/jammer
name = "radio jammer"
desc = "Device used to disrupt nearby radio communication."
Expand Down

0 comments on commit a9706b8

Please sign in to comment.