mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-12 15:45:25 +01:00
modules misc (#18315)
This commit is contained in:
@@ -1847,7 +1847,7 @@
|
||||
P.myeffect = eviltype
|
||||
P.mytarget = H
|
||||
if(alert("Do you want the Evil Fax to activate automatically if [H] tries to ignore it?",,"Yes", "No") == "Yes")
|
||||
P.activate_on_timeout = 1
|
||||
P.activate_on_timeout = TRUE
|
||||
P.x = rand(-2, 0)
|
||||
P.y = rand(-1, 2)
|
||||
P.offset_x += P.x
|
||||
@@ -1954,7 +1954,7 @@
|
||||
P.master_commander = H
|
||||
P.universal_speak = TRUE
|
||||
P.universal_understand = TRUE
|
||||
P.can_collar = 1
|
||||
P.can_collar = TRUE
|
||||
P.faction = list("neutral")
|
||||
var/obj/item/clothing/accessory/petcollar/C = new
|
||||
P.add_collar(C)
|
||||
@@ -3365,7 +3365,7 @@
|
||||
to_chat(usr, "<span class='warning'>ERROR: Could not create eventmob. Could not pick key.</span>")
|
||||
return
|
||||
var/datum/mind/hunter_mind = new /datum/mind(key_of_hunter)
|
||||
hunter_mind.active = 1
|
||||
hunter_mind.active = TRUE
|
||||
var/mob/living/carbon/human/hunter_mob = new /mob/living/carbon/human(pick(GLOB.latejoin))
|
||||
hunter_mind.transfer_to(hunter_mob)
|
||||
hunter_mob.equipOutfit(O, FALSE)
|
||||
|
||||
@@ -712,14 +712,14 @@ GLOBAL_PROTECT(AdminProcCallSpamPrevention)
|
||||
|
||||
for(var/obj/machinery/power/emitter/E in GLOB.machines)
|
||||
if(E.anchored)
|
||||
E.active = 1
|
||||
E.active = TRUE
|
||||
|
||||
for(var/obj/machinery/field/generator/F in GLOB.machines)
|
||||
if(F.active == 0)
|
||||
F.active = 1
|
||||
if(!F.active)
|
||||
F.active = TRUE
|
||||
F.state = 2
|
||||
F.power = 250
|
||||
F.anchored = 1
|
||||
F.anchored = TRUE
|
||||
F.warming_up = 3
|
||||
F.start_fields()
|
||||
F.update_icon()
|
||||
|
||||
@@ -35,9 +35,9 @@
|
||||
var/dresscode = input("Select Outfit", "Dress-a-mob") as null|anything in outfit_list
|
||||
if(isnull(dresscode))
|
||||
return
|
||||
var/is_syndicate = 0
|
||||
var/is_syndicate = FALSE
|
||||
if(alert("Do you want these characters automatically classified as antagonists?",,"Yes","No")=="Yes")
|
||||
is_syndicate = 1
|
||||
is_syndicate = TRUE
|
||||
|
||||
var/datum/outfit/O = outfit_list[dresscode]
|
||||
var/list/players_to_spawn = list()
|
||||
|
||||
@@ -1084,12 +1084,12 @@ Traitors and the like can also be revived with the previous role mostly intact.
|
||||
return
|
||||
|
||||
if(SSticker.mode.ert_disabled)
|
||||
SSticker.mode.ert_disabled = 0
|
||||
SSticker.mode.ert_disabled = FALSE
|
||||
to_chat(usr, "<span class='notice'>ERT has been <b>Enabled</b>.</span>")
|
||||
log_admin("Admin [key_name(src)] has enabled ERT calling.")
|
||||
message_admins("Admin [key_name_admin(usr)] has enabled ERT calling.", 1)
|
||||
else
|
||||
SSticker.mode.ert_disabled = 1
|
||||
SSticker.mode.ert_disabled = TRUE
|
||||
to_chat(usr, "<span class='warning'>ERT has been <b>Disabled</b>.</span>")
|
||||
log_admin("Admin [key_name(src)] has disabled ERT calling.")
|
||||
message_admins("Admin [key_name_admin(usr)] has disabled ERT calling.", 1)
|
||||
|
||||
Reference in New Issue
Block a user