mob
Login()
world << "Welcome to the 'SS13 stuff to do when you're bored thingy' beta!"
sleep(10)
world << "Click the Generate button to start"
sleep(15)
world << "Remember"
sleep(1)
world << "that"
sleep(1)
world << "this"
sleep(1)
world << "generator"
sleep(1)
world << "is"
sleep(1)
world << "in"
sleep(1)
world << "early development"
world << "Changes will occur in the near future"
sleep(15)
world << "There are currently 5 different verbs, and different nouns"
verb
Generate
var/result = rand(1-5)
var/nresult = rand (1-10)
var/comment = ""
var/ncomment = ""
if(result == 1)
comment = "steal"
if(result == 2)
comment = "make the shift suck for"
if(result == 3)
comment = "eat"
if(result == 4)
comment = "try to replace"
if(result == 5)
comment = "build a monument dedicated to"
if(nresult == 1)
ncomment = "The Captain"
if(nresult == 2)
ncomment = "The HoP"
if(nresult == 3)
ncomment = "The HoS"
if(nresult == 4)
ncomment = "Beer bottles"
if(nresult == 5)
ncomment = "The chefs two cows"
if(nresult == 6)
ncomment = "Ian"
if(nresult == 7)
ncomment = "Pizza"
if(nresult == 8)
ncomment = "Soap"
if(nresult == 9)
ncomment = "The first person you make direct conversation with"
if(nresult == 10)
ncomment = "sex"
world << "[comment] [ncomment]"
Problem description:
Basically I am making a generator of sorts, stuff to do when bored in Space Station 13. The only problem is that I amn't the best coder in the world, not even in my house, and I'm the only coder there.
I believe that I have formatted everything right, but that nasty little window on the bottom of the screen tells me the message we all hate...
"loading Gimmick Generator beta.dme
Boredthing.dm:25:error: Generate: invalid proc definition
Gimmick Generator beta.dmb - 1 error, 0 warnings"
*shudders*
Help, please?