I have 2 errors I will give them to you after the code
mob
icon='person.dmi' //make it so all mobs will be created with the person icon
Login()
icon_state=gender
..()
verb
say(msg as text) //a way to communicate
world<<"[usr]says//:[msg]" //to use an msg
mob
var
HP=30
mob
verb
attack(mob/M as mob in oview(1))
usr<<"you attack[M]"
var/damage=rand(1,10)
world<<"[damage]damage!"
M.HP-=damage
M.deathcheck()
turf
grass
icon_state="grass"
black_pit
icon_state="black_pit"
holy_water
icon_state="holy_water"
snow
icon_state="snow"
water
icon_state="water"
valley_of_the_shadow_of_death
icon_state="valley_of_the_shadow_of_death"
ice
icon_state="ice"
floor
icon_state="floor"
wall
icon_state="wall"
church
icon_state="church"
the_cave
icon_state="the_cave"
glory_of_god
icon_state="glory_of_god"
mob
icon='person.dmi'
Login()
loc=locate(/turf/glory_of_god)
..()
turf/snow
Enter(mob/M)
if(!M.client||M.level>70)
..()
turf
wall
density=1
opacity=1
church
density=1
the_cave
density=1
obj
helmet_of_salvation
luminosity=1
breastplate_of_righteousness
luminosity=2
shield_of_faith
luminosity=3
the_sword_of_the_spirit
luminosity=4
feet_shod_with_the_gospel_of_truth
luminosity=6
mob
monster
Click()//click on a monster to attack
//just some random monsters with set health values (all except grouped_demons will run away :P)
rookie_demon
HP = 20
grouped_demons
HP = 500
fallen_angel
HP = 250
satans_right_hand_man
HP = 1000
satan
HP=100000
icon = 'turf.dmi'
icon_state = "mob"//all mobs have this attribute
turf//main turf
icon = 'turf.dmi'
icon_state = "grass"
now remember this is all of my code for my game so here are the errors
M.level undifined proc
M.deathcheck undifined proc
help!
thank you
ID:143921
May 27 2007, 7:38 am
|
|
You never defined level as a var and deathcheck() as a proc.
You should read the DM Guide