ID:141801
 
I have been trying for 2 days checking tuturials to help code my Grass icon. I just need them to be showing in the object tab so i can use them for mapping. I have tried some ways and they worked in getting the icons in the objects tab but they are gray, nothing shows. Here is my code that i input.

turf
Grass
icon = "Grass"
icon_state="Grass"


There. Many thx.

If u could just show me what to put in that would be fine too.
For files, you use ' instead of ". And you include extensions.

//For Grass.dmi, you put this:
'Grass.dmi'

//Wrong
"Grass"
"Grass.dmi'
'Grass'


Also for future reference, put <DM> tags around code.
In response to Kaiochao
can u give me the whole thing plz?
starting with turf?
In response to Kyubikid13
Here I'll show you all of them.


turf
Grass
icon = 'Grass.dmi' // This uses the ''
icon_state = "Grass" // This uses the ""
density = 0
obj
Grass
icon = 'Grass.dmi' // This uses the ''
icon_state = "Grass" // This uses the ""
density = 0


That's how you code Grass to turfs or obj.
In response to Gizhy Games
thank you very much u dont know how much this helped me. Many thx
In response to Kyubikid13
No problem.