ID:140492
 
I cannot figure out this problem, Its probably quite simple and i would appretiate any help if possible, Here is the code then the error details!



mob
Login()
usr.icon_state = input("Play?") in list ("soldier")
usr.Move(locate(12,6,1))


The error says "Mobs.dm:19:error: expected expression"
When i double click it highlights Mob, I have no clue what to do!
The error is on the line before.
In response to Garthor
okay, Here is a more overview of the code!

mob
soldier
icon = 'mobs.dmi'
icon_state = "soldier"
var
Health = 10
Attack = 10

mob
Bill
icon = 'mobs.dmi'
icon_state = "Bill"
var
Health = 10
Attack = 5
verb
Talk()
"Hey you, Soldier go to the frontlines and defend us!!!"
mob
Login()
usr.icon_state = input("Play?") in list ("soldier")
usr.Move(locate(12,6,1))


mob
icon = 'mobs.dmi'
Login()
icon_state = gender
..()
In response to Kkirk15
Kkirk15 wrote:
        verb
Talk()
"Hey you, Soldier go to the frontlines and defend us!!!"


See if you can spot an error in these three lines.

Hint: What is the text supposed to do?
In response to Schnitzelnagler
The bottom line should tell the user what the mob is saying, I didnt say the message was directed to the user did I???
In response to Kkirk15
Take a look at what the DM Guide says about output (sending content to someone or some thing). Your missing something on that line which can easily be discovered in this section of the guide.

6. Generating Output

ts
In response to Tsfreaks
okay i found it, thanks