ID:138771
 
I'm trying to put the map on but nothing works. I made a code.
turf
floor
icon = 'floor.dmi'
wall
icon = 'wall.dmi'
grass
icon = 'floor.dmi'
world
turf = /turf/grass
obj
wall
icon = 'wall.dmi'

nothing works.
anyways im totally green at coding thing.
It would be helpful to know what specifically is the problem. The map cannot load due to an error? The list of stuff appears but no icons? Cannot find file? Etc.

Without information, we can't really help you much... for the above Qs:
- Fix the problem, compile, then edit the map ^_^

- Make sure you have the correct icon_state defined. Remember, case sensitivity DOES matter. Icons in a file with no icon_state = default

- As you will learn, case sensitivity does matter
turf
grass //name of turf
icon = 'turf.dmi' // file which holds all turfs
icon_state = "grass" //the state of the turf in the .dmi

world // the whole game
turf = /turf/grass //defines the world to be filled with grass

/*
turf
floor
icon = 'floor.dmi' *here you are defining floor is lsited in floor.dmi
wall
icon = 'wall.dmi'
grass
icon = 'floor.dmi' *here you define grass is in floor.dmi

My assumption and correct assumption is that the compiler is thinking you have two floor icons
this is why it is a good habit to define the icon state which you do by icon_state = "name of state here"
you put icon_state = "name here" directly under icon = 'dmi file name here'
If you have any questions/concerns about the code snippet I provided you with,
just post a reply here and I'll check back in. It should fix your problem.

world
turf = /turf/grass

obj
wall
icon = 'wall.dmi'

*/
In response to EclipseCovertAgent
No, that is the not the problem. It is very possible to give two objects the same icon. They will both look the same. Try it yourself.
In response to Lugia319
Lugia319 wrote:
No, that is the not the problem. It is very possible to give two objects the same icon. They will both look the same. Try it yourself.


Well I define icon_state, always to avoid a problem like this. I don't see what else would be causing the problem that if he compiles and run nothing else is showing up the compiler is not reading the two icons properly.
In response to EclipseCovertAgent
Assuming proper indentation, his code should work.