ID:149378
 
obj/menu
icon='turfs.dmi'
icon_state="menu"
New(client/C)
screen_loc="1,13"
C.screen+=src
New(client/C)
screen_loc="2,13"
C.screen+=src
New(client/C)
screen_loc="3,13"
C.screen+=src
New(client/C)
screen_loc="4,13"
C.screen+=src
New(client/C)
screen_loc="5,13"
C.screen+=src
New(client/C)
screen_loc="6,13"
C.screen+=src
New(client/C)
screen_loc="7,13"
C.screen+=src
New(client/C)
screen_loc="8,13"
C.screen+=src
New(client/C)
screen_loc="9,13"
C.screen+=src
New(client/C)
screen_loc="10,13"
C.screen+=src
New(client/C)
screen_loc="11,13"
C.screen+=src
New(client/C)
screen_loc="12,13"
C.screen+=src
New(client/C)
screen_loc="13,13"
C.screen+=src
New(client/C)
screen_loc="14,13"
C.screen+=src
New(client/C)
screen_loc="15,13"
C.screen+=src
New(client/C)
screen_loc="16,13"
C.screen+=src


client/New()
..()
new/obj/menu(src)


This code won't work. It only makes the obj appear on the last one. Would I need to use a loop?
Each New() proc is overriding the other New procs. If you change the screen_loc, it just moves the item's display on the screen anyway. Fortunately, screen_loc allows you to display a single item in a range of screen_locs.

screen_loc="1,13 to 16,13"