ID:179230
 
I keep getting a run time error (when I select the new_game verb) saying I can't create objects of type /obj/tile/one_c. What am I doing wrong?

Here is the relevant code:

obj/tile/one_c
icon = '1_city.dmi'
freq = 5

mob/player/verb/new_game()
var/list/tile_types = newlist(/obj/tile/one_c)
dramstud wrote:
I keep getting a run time error (when I select the new_game verb) saying I can't create objects of type /obj/tile/one_c. What am I doing wrong?

The code you posted should work, and I confirmed it with a little test case. Can you give more details?