ID:143663
 
Code:
mob/NPC
Merlin
icon = 'npcs.dmi'
icon_state = "Merlin"
Click()
usr<< ("The war between Mario and Bowser continues! What is your job? Level up gain experince gather items and destroy the enemies! ALOT to do many bosses, ENJOY!")


mob/NPC
Star Villager
icon = 'npcs.dmi'
icon_state = "Star Villager"
Click()
usr<< ("...")


Problem description:
I get 6 errors... Am I NOT allowed to have 2 NPC's or somthing?
Please help and explain I want to learn as much about this as possible.
Thank you.

If you want people to help, you have to actually tell them what the problem is. Like, for example, what errors?
I havent programmed in a while but cant you jus do this? =]


mob/NPC
Merlin
icon = 'npcs.dmi'
icon_state = "Merlin"
Click()
usr<< ("The war between Mario and Bowser continues! What is your job? Level up gain experince gather items and destroy the enemies! ALOT to do many bosses, ENJOY!")
Star Villager
icon = 'npcs.dmi'
icon_state = "Star Villager"
Click()
usr<< ("...")
In response to Foomer
Foomer wrote:
If you want people to help, you have to actually tell them what the problem is. Like, for example, what errors?

NPC's.dm:10:error:Click:instruction not allowed here
NPC's.dm:11:error:usr:duplicate definition
NPC's.dm:11:error:"...":duplicate definition
NPC's.dm:11:error:<< :instruction not allowed here
NPC's.dm:11:error::empty type name (indentation error?)
NPC's.dm:7:error:Star Villager:value not allowed here

Whats wrong??
In response to Jazzyfizzle
You can't have a space in the name of a datum. Change "Star Villager" to "Star_Villager" or something and it should work.


-TKL
In response to XDPhantomXD
Yes, but its just a matter of personal taste. It doesn't effect the code any.