Skip to content

Commit

Permalink
ПЕРЕВОД ЛОГОВ
Browse files Browse the repository at this point in the history
  • Loading branch information
FatFatFat1 committed Aug 11, 2024
1 parent 5d8a00f commit 392c348
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 8 deletions.
6 changes: 4 additions & 2 deletions code/modules/mob/living/carbon/human/death.dm
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,11 @@
mind.transfer_to(P)
P.hud_used.set_parallax(PARALLAX_HEAVEN)
for(var/obj/item/I in contents)
I.remove_item_actions(P) //Если будет не лень, надо закинуть такую же штуку в майнд_трансфер мага, потому что сейчас там ниче не обновляется.
for(var/obj/effect/proc_holder/spell/S in P.spell_list) //В рай со своими спеллами нельзя, а то еще наколдуют чето.
I.remove_item_actions(P)
for(var/obj/effect/proc_holder/spell/S in P.spell_list)
P.RemoveSpell(S)
message_admins("Pluvian [key_name(P)] went to heaven! [ADMIN_JMP(P)]")
log_admin("Pluvian [key_name(P)] went to heaven! [ADMIN_JMP(P)]")

/mob/living/carbon/human/proc/check_pluvian_credits()
if(iscultist(src) && ischangeling(src) && isshadowthrall(src) || !mind)
Expand Down
4 changes: 2 additions & 2 deletions code/modules/mob/living/carbon/human/human.dm
Original file line number Diff line number Diff line change
Expand Up @@ -2295,8 +2295,8 @@
for(var/obj/item/I in spirit.my_corpse.contents)
I.add_item_actions(spirit.my_corpse)
spirit.my_corpse.hud_used.set_parallax(PARALLAX_CLASSIC)
message_admins("Плувиец [key_name(spirit.my_corpse)] стал живым святым [ADMIN_JMP(spirit.my_corpse)]")
log_admin("Плувиец [spirit.my_corpse] стал живым святым [ADMIN_JMP(spirit.my_corpse)]")
message_admins("Pluvian [key_name(spirit.my_corpse)] is living saint now [ADMIN_JMP(spirit.my_corpse)]")
log_admin("Pluvian [key_name(spirit.my_corpse)] is living saint now [ADMIN_JMP(spirit.my_corpse)]")
for(var/obj/item/W in spirit)
spirit.drop_from_inventory(W)
qdel(spirit)
Expand Down
8 changes: 4 additions & 4 deletions code/modules/religion/religion_types/pluvia.dm
Original file line number Diff line number Diff line change
Expand Up @@ -145,16 +145,16 @@ haram_threshold тоже должен как-то высчитываться, н
global.pluvia_religion.remove_member(target, HOLY_ROLE_PRIEST)
target.mind.social_credit = 0
to_chat(target, "<span class='warning'>\ <font size=5>[reason] Врата рая закрыты для вас. Ищите себе другого покровителя</span></font>")
log_admin("Плувиец [key_name(target)] вылетел из религии /datum/religion/pluvia [ADMIN_JMP(target)]")
message_admins("Плувиец [key_name(target)] вылетел из религии /datum/religion/pluvia [ADMIN_JMP(target)]" )
log_admin("Pluvian [key_name(target)] lose /datum/religion/pluvia [ADMIN_JMP(target)]")
message_admins("Pluvian [key_name(target)] lose /datum/religion/pluvia [ADMIN_JMP(target)]" )
target.playsound_local(null, 'sound/effects/heaven_fail.ogg', VOL_EFFECTS_MASTER, null, FALSE)
return TRUE
else
target.mind.haram_point += haram_amount
target.playsound_local(null, 'sound/effects/haram.ogg', VOL_EFFECTS_MASTER, null, FALSE)
to_chat(target, "<span class='warning'>\ <font size=3>[reason]</span></font>")
message_admins("Плувиец [key_name(target)] совершил харам - [reason] [ADMIN_JMP(target)]")
log_admin("Плувиец [key_name(target)] совершил харам - [reason] [ADMIN_JMP(target)]")
message_admins("Pluvian [key_name(target)] haram - [reason] [ADMIN_JMP(target)]")
log_admin("Pluvian [key_name(target)] haram - [reason] [ADMIN_JMP(target)]")
return FALSE

/datum/religion/pluvia/proc/harm_haram(datum/source, mob/living/carbon/human/target)
Expand Down

0 comments on commit 392c348

Please sign in to comment.