Skip to content

Commit

Permalink
fix again
Browse files Browse the repository at this point in the history
  • Loading branch information
Antoonij authored Nov 6, 2024
1 parent b5a1273 commit a4c8d61
Showing 1 changed file with 8 additions and 12 deletions.
20 changes: 8 additions & 12 deletions code/datums/rituals.dm
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,7 @@
)

/datum/ritual/ashwalker/curse/del_things()
for(var/mob/living/carbon/human/human as anything in used_things)
for(var/mob/living/carbon/human/human in used_things)
human.gib()

return
Expand All @@ -519,7 +519,7 @@
if(!.)
return FALSE

for(var/mob/living/carbon/human/human as anything in used_things)
for(var/mob/living/carbon/human/human in used_things)
if(human.stat != DEAD)
to_chat(invoker, "Гуманоиды должны быть мертвы.")
return FALSE
Expand Down Expand Up @@ -812,7 +812,7 @@
return TRUE

/datum/ritual/ashwalker/population/del_things()
for(var/mob/living/living as anything in used_things)
for(var/mob/living/living in used_things)
living.gib()

return
Expand All @@ -823,7 +823,7 @@
if(!.)
return FALSE

for(var/mob/living/living as anything in used_things)
for(var/mob/living/living in used_things)
if(living.stat != DEAD)
to_chat(invoker, "Существа должны быть мертвы.")
return FALSE
Expand Down Expand Up @@ -969,13 +969,9 @@
return TRUE

/datum/ritual/ashwalker/transmutation/do_ritual(mob/living/carbon/human/invoker)
var/list/ore_types = list()

for(var/obj/item/stack/ore/ore as anything in subtypesof(/obj/item/stack/ore))
LAZYADD(ore_types, ore)
var/ore_type = pick(subtypesof(/obj/item/stack/ore))

var/obj/item/stack/ore/ore = pick(ore_types)
ore = new(get_turf(ritual_object))
var/obj/item/stack/ore/ore = new ore_type(get_turf(ritual_object))
ore.add(10)

return RITUAL_SUCCESSFUL
Expand Down Expand Up @@ -1113,7 +1109,7 @@
if(!.)
return FALSE

for(var/mob/living/carbon/human/human as anything in used_things)
for(var/mob/living/carbon/human/human in used_things)
if(human.stat != DEAD)
to_chat(invoker, "Гуманоиды должны быть мертвы.")
return FALSE
Expand Down Expand Up @@ -1178,7 +1174,7 @@
if(!.)
return FALSE

for(var/mob/living/simple_animal/living as anything in used_things)
for(var/mob/living/simple_animal/living in used_things)
if(living.client)
to_chat(invoker, "Существо должно быть бездушным.")
return FALSE
Expand Down

0 comments on commit a4c8d61

Please sign in to comment.