ID:149535
 
I have many problems. Here is all my code:


world/hub = "Drafonis.DBZOtaron"

world
world
name = "Dragonball Z Otaron"





mob/var/Power=1000
mob/var/MaxPower=1000
mob/var/Strength=5
mob/var/Defense=5
mob/var/Health = 100
mob/var/MaxHealth = 100
mob/var/Experince = 0
mob/var/MaxExperince = 120
mob/var/Level = 1
mob/var/Blocking = 0
mob/var/Punching = 0


mob
Stat()
..()
statpanel("Status")
stat("[src]",src)
stat("Health",src.Health)
stat("Maximum Health",src.MaxHealth)
stat("Powerlvl",src.Power)
stat("Maximum Powerlvl",src.MaxPower)
stat("Strength",src.Strength)
stat("Defense",src.Defense)
stat("Experince",src.Experince)
stat("Experince Need",src.MaxExperince)
stat("Level",src.Level)
stat("By Kappa the Imp")
statpanel("Inventory",contents)

//Now for the Procs....
mob/proc/Increate_Stats()
sleep(40)
src.Power+=20
src.Defense+=5
src.Strength+=5
src <<"Your stats begin to get higher as you feel stronger!"

mob/proc/Level_Up()
if(src.Experince>= src.MaxExperince)
src.Health+=50
src.Level+=1
src.Experince=0//Sets the Experince back to 0 to try and gain another Level
src.MaxExperince+=50//They now have to get up 50 more.
src <<"You gained a Level!"
else
..()




mob/proc/Death_Check(mob/M)
if(M.Health<= 0)
if(M.client)//If its a real player
M.loc = locate(1,1,1)//Moves them to that location
M <<"You have died,[usr] killed you!"
usr <<"You have killed [M]!"
else
M.loc = locate(1,6,9)
usr << "You have killed the [M] do not attack it anymore!"

//Now for the attacking stuff.

mob/verb/Punch(mob/M in oview(1))
set category = "Battle"
if(M.Blocking>= 1)
usr <<"[M] is blocking!"
M <<"You block [M]'s attack!"
return
else
M <<"[usr] Punches you!"
usr <<"You punch [M]!"
var/Damage = usr.Strength*usr.Level
M.Health-=Damage
usr.Experince+=100
usr.Level_Up()
usr.Increate_Stats()
usr.Death_Check(M)
usr.Punching = 1
sleep(50)
usr.Punching = 0
mob/verb/Block(mob/M in oview(1))
set category = "Battle"
if(M.Punching>= 1)
usr.Blocking = 1
usr <<"You begin blocking."
sleep(100)
usr.Blocking = 0
else
usr <<"[M] is not punching you,whats the point?"
return

//Just a Say Verb to make the fun of it.

mob/verb/Say(msg as text)
world <<"[usr]: [msg]"

mob/verb/Revert()
icon_state = "player"

mob/verb/SSJ()
icon_state = "SSJ"
src.Strength+= 100

mob/verb/SSJ2()
icon_state = "SSJ2"
src.Strength+= 1000



mob
icon = 'player.dmi'
icon_state = "player"

turf
grass
icon = 'turfs.dmi'
icon_state = "grass"

turf
dgrass
icon = 'turfs.dmi'
icon_state = "dark grass"

turf
dwater
icon = 'turfs.dmi'
icon_state = "deep water"
density = 1

turf
water
icon = 'turfs.dmi'
icon_state = "water"

turf
waterfall
icon = 'turfs.dmi'
icon_state = "waterfall"
density = 1

turf
sand
icon = 'turfs.dmi'
icon_state = "desert"

turf
falledge
icon = 'turfs.dmi'
icon_state = "1"
density = 1


world
turf = /turf/grass

It says the .rsc file is locked and 'player.dmi' can't be found.
That's because you changed an icon file and tried to compile while the game is running, close the game then compile.
In response to Nadrew
Ah.
In response to Nadrew
I tried it and it failed.
In response to Drafonis
Is there a player.dmi?