Separates "counting english list" to its own proc

The code is two distinct branches anyway, might as well be like this.
This commit is contained in:
Amunak
2020-01-29 17:23:24 +01:00
parent 3a5448f741
commit be8afe95b0
2 changed files with 15 additions and 17 deletions

View File

@@ -74,7 +74,7 @@
to_chat(user, "It is full.")
if(!src.opened && isobserver(user))
to_chat(user, "It contains: [english_list(contents, output_counts = TRUE)].")
to_chat(user, "It contains: [counting_english_list(contents)].")
/obj/structure/closet/CanPass(atom/movable/mover, turf/target)
if(wall_mounted)