var
player
mob
var
score = 0
mob
Login()
player = "[usr.key]"
usr << "This is a single-player game, do not host. The player is [player]."
world/New()
..()
spawn() ClosePorts()
proc/ClosePorts()
set background = 1
while(1)
if(world.port)
world.OpenPort("none") //closes any open ports
mob
enemy
icon = 'enemy.dmi'
wander = 1
Click()
usr.score += 1
world << sound('gun.wav')
mob
var/wander
New()
if(wander) walk_rand(src)
..()
turf
grass
icon = 'grass.dmi'
spawner
icon = 'spawn.dmi'
proc/Respawn()
for()
new/mob/enemy(usr.loc)
spawn(20) Respawn()
New()
spawn() Respawn()
caller
icon = 'call.dmi'
Bump(O)
player.score -= 1
del(O)
The following are the errors:
loading Aracade.dme
Aracade.dm:59:error:player.score:undefined var
Aracade.dm:58:error:Bump :undefined proc
Aracade.dmb - 2 errors, 0 warnings (double-click on an error to jump to it)