ID:146227
 
mob
if(src.race == "raditz")
usr.zenni += 2500
world << "<font color=red><b><u>[usr] has killed Raditz!"
usr << "<b>You get 2500 zenni from that kill."
world << "<font color=lime><b>NEW SAGA: Vegeta-Napa"
saga = "vegeta"
sagarefresh()
var/vege = /mob/monsters/Vegeta
new vege(locate(122,28,1))
var/napp = /mob/monsters/Nappa
new napp(locate(122,29,1))
usr.maxpowerlevel += (rand(1,200))
src.loc=locate(0,0,0)
sleep(2000)
del(src)

if(src.race == "Buu (NPC)")
usr.zenni += 5000
usr << "<b>You get 5000 zenni from that kill."
usr.maxpowerlevel += (rand(1,1000))
src.loc=locate(0,0,0)
src.random = rand(1,5)
if(src.race == "Vegeta (NPC)")
usr.zenni += 250000
world << "<font color=red><b><u>[usr] has killed Vegeta!"
vegetadead = 1
sagarefresh()
usr << "<b>You get 250000 zenni from that kill."
if(nappadead == 1)
world << "<font color=lime><b>NEW SAGA: Ginew Force"
saga = "ginew"
sagarefresh()
var/gi = /mob/monsters/Ginew
new gi(locate(98,51,5))
var/gii = /mob/monsters/Gurudo
new gii(locate(84,54,5))
var/giii = /mob/monsters/Burter
new giii(locate(106,53,5))
var/giiii = /mob/monsters/Jeise
new giiii(locate(107,53,5))
var/giiiii = /mob/monsters/Recoom
new giiiii(locate(101,42,5))
usr.maxpowerlevel += (rand(1,200))
src.loc=locate(0,0,0)
sleep(2000)
del(src)
if(src.race == "Nappa (NPC)")
usr.zenni += 250000
nappadead = 1
sagarefresh()
world << "<font color=red><b><u>[usr] has killed Nappa!"
usr << "<b>You get 250000 zenni from that kill."
if(vegetadead == 1)
world << "<font color=lime><b>NEW SAGA: Ginew Force"
saga = "ginew"
sagarefresh()
var/gi = /mob/monsters/Ginew
new gi(locate(98,51,5))
var/gii = /mob/monsters/Gurudo
new gii(locate(84,54,5))
var/giii = /mob/monsters/Burter
new giii(locate(106,53,5))
var/giiii = /mob/monsters/Jeise
new giiii(locate(107,53,5))
var/giiiii = /mob/monsters/Recoom
new giiiii(locate(101,42,5))
usr.maxpowerlevel += (rand(1,200))
src.loc=locate(0,0,0)
sleep(2000)
del(src)
if(src.race == "Ginew Force")
usr.zenni += 250000
ginewleft -= 1
sagarefresh()
world << "<font color=red><b><u>[usr] has killed [src.name]!"
usr << "<b>You get 250000 zenni from that kill."
if(ginewleft == 0)
world << "<font color=lime><b>NEW SAGA: Frieza"
saga = "frieza"
var/fi = /mob/monsters/Lord_Frieza
new fi(locate(98,51,5))
sagarefresh()
usr.maxpowerlevel += (rand(1,200))
src.loc=locate(0,0,0)
sleep(2000)
del(src)
if(src.race == "Lord Frieza")
sagarefresh()
world << "<font color=red><b><u>[usr] has <u></b>angered</u><b> [src.name]!"
world << "<font color=lime><b>Frieza goes to attack mode!"
world << "<font color=lime><i>FRIEZA: <u>Okay, kiddies, it's time to play!"
saga = "frieza1"
sagarefresh()
var/fi = /mob/monsters/Frieza
new fi(locate(usr.x,usr.y - 1,usr.z))
src.loc=locate(0,0,0)
sleep(2000)
del(src)
if(src.race == "Frieza")
if(src.state == "Normal")
sagarefresh()
world << "<font color=red><b><u>[usr] has <u></b>angered</u><b> [src.name]!"
world << "<font color=lime><b>Frieza goes to Form-2!"
world << "<font color=lime><i>FRIEZA: <u>You're beggining to annoy me, play time's over!!"
saga = "frieza2"
sagarefresh()
var/fi = /mob/monsters/Frieza2
new fi(locate(usr.x,usr.y - 1,usr.z))
src.loc=locate(0,0,0)
sleep(2000)
del(src)
if(src.state == "Form-2")
sagarefresh()
world << "<font color=red><b><u>[usr] has <u></b>angered</u><b> [src.name]!"
world << "<font color=lime><b>Frieza goes to Form-3!"
world << "<font color=lime><i>FRIEZA: <u>Enough! You will not survive me!!"
saga = "frieza3"
sagarefresh()
var/fi = /mob/monsters/Frieza3
new fi(locate(usr.x,usr.y - 1,usr.z))
src.loc=locate(0,0,0)
sleep(2000)
del(src)
if(src.state == "Form-3")
sagarefresh()
world << "<font color=red><b><u>[usr] has <u></b>greatly angered</u><b> [src.name]!"
world << "<font color=lime><b>Frieza goes to his final form!!!"
world << "<font color=lime><i>FRIEZA: <u>Ah! You will now feel my TRUE POWER!!!"
saga = "frieza4"
sagarefresh()
var/fi = /mob/monsters/Frieza4
new fi(locate(usr.x,usr.y - 1,usr.z))
src.loc=locate(0,0,0)
sleep(2000)
del(src)
if(src.state == "Form-4")
sagarefresh()
world << "<font color=red><b><u>[usr] has <u></b>destroyed</u><b> [src.name]!"
world << "<font color=lime><b>NEW SAGA: Frieza/Android"
saga = "frieza5"
sagarefresh()
var/fi = /mob/monsters/Frieza5
new fi(locate(113,28,1))
var/fii = /mob/monsters/King_Kold
new fii(locate(114,28,1))
src.loc=locate(0,0,0)
sleep(2000)
del(src)
if(src.state == "Rebuilt")
usr.zenni += 250000
world << "<font color=red><b><u>[usr] has killed Frieza!"
friezadead = 1
sagarefresh()
usr << "<b>You get 250000 zenni from that kill."
if(kingkolddead == 1)
world << "<font color=lime><b>NEW SAGA: Android"
saga = "android"
sagarefresh()
var/fi = /mob/monsters/Android19
new fi(locate(110,28,1))
var/fi2 = /mob/monsters/Android20
new fi2(locate(108,28,1))
usr.maxpowerlevel += (rand(1,200))
src.loc=locate(0,0,0)
sleep(2000)
del(src)
if(src.state == "King-Kold")
usr.zenni += 250000
world << "<font color=red><b><u>[usr] has killed King Kold!"
kingkolddead = 1
sagarefresh()
usr << "<b>You get 250000 zenni from that kill."
if(friezadead == 1)
world << "<font color=lime><b>NEW SAGA: Android"
saga = "android"
sagarefresh()
var/fi = /mob/monsters/Android19
new fi(locate(110,28,1))
var/fi2 = /mob/monsters/Android20
new fi2(locate(108,28,1))
usr.maxpowerlevel += (rand(1,200))
src.loc=locate(0,0,0)
sleep(2000)
del(src)
if(src.race == "19")
usr.zenni += 250000
world << "<font color=red><b><u>[usr] has killed Android 19!!"
jo = 1
sagarefresh()
usr << "<b>You get 250000 zenni from that kill."
if(jo1 == 1)
world << "<font color=lime><b>Gero activated Androids 16, 17, and 18!!"
saga = "android2"
sagarefresh()
var/an = /mob/monsters/Android16
new an(locate(108,28,1))
var/ann = /mob/monsters/Android17
new ann(locate(109,28,1))
var/annn = /mob/monsters/Android18
new annn(locate(107,28,1))
usr.maxpowerlevel += (rand(1,200))
src.loc=locate(0,0,0)
sleep(2000)
del(src)
if(src.race == "20")
usr.zenni += 250000
world << "<font color=red><b><u>[usr] has killed Android 20!!"
jo1 = 1
sagarefresh()
usr << "<b>You get 250000 zenni from that kill."
if(jo == 1)
world << "<font color=lime><b>Gero activated Androids 16, 17, and 18!!"
saga = "android2"
sagarefresh()
var/an = /mob/monsters/Android16
new an(locate(108,28,1))
var/ann = /mob/monsters/Android17
new ann(locate(109,28,1))
var/annn = /mob/monsters/Android18
new annn(locate(107,28,1))
usr.maxpowerlevel += (rand(1,200))
src.loc=locate(0,0,0)
sleep(2000)
del(src)
if(src.race == "16")
usr.zenni += 250000
world << "<font color=red><b><u>[usr] has killed Android 16!!"
sixdead = 1
sagarefresh()
usr << "<b>You get 250000 zenni from that kill."
if(sixdead == 1)
if(sevendead == 1)
if(eightdead == 1)
world << "<font color=lime><b>Cell has appeared!!"
saga = "cell"
sagarefresh()
var/ce = /mob/monsters/Cell1
new ce (locate(107,28,1))
usr.maxpowerlevel += (rand(1,200))
src.loc=locate(0,0,0)
sleep(2000)
del(src)
if(src.race == "17")
usr.zenni += 250000
world << "<font color=red><b><u>[usr] has killed Android 17!!"
sevendead = 1
sagarefresh()
usr << "<b>You get 250000 zenni from that kill."
if(sixdead == 1)
if(sevendead == 1)
if(eightdead == 1)
world << "<font color=lime><b>Cell has appeared!!"
saga = "cell"
sagarefresh()
var/ce = /mob/monsters/Cell1
new ce (locate(107,28,1))
usr.maxpowerlevel += (rand(1,200))
src.loc=locate(0,0,0)
sleep(2000)
del(src)
if(src.race == "18")
usr.zenni += 250000
world << "<font color=red><b><u>[usr] has killed Android 18!!"
eightdead = 1
sagarefresh()
usr << "<b>You get 250000 zenni from that kill."
if(sixdead == 1)
if(sevendead == 1)
if(eightdead == 1)
world << "<font color=lime><b>Cell has appeared!!"
saga = "cell"
sagarefresh()
var/ce = /mob/monsters/Cell1
new ce (locate(107,28,1))
usr.maxpowerlevel += (rand(1,200))
src.loc=locate(0,0,0)
sleep(2000)
del(src)
if(src.race == "Cell")
if(src.state == "Form-1")
world << "<font color=red><b><u>Cell has absorbed Android 17!!"
sagarefresh()
saga = "cell2"
sagarefresh()
var/ce = /mob/monsters/Cell2
new ce (locate(107,28,1))
usr.maxpowerlevel += (rand(1,200))
src.loc=locate(0,0,0)
sleep(2000)
del(src)
if(src.race == "Cell")
if(src.state == "Form-2")
world << "<font color=red><b><u>Cell has absorbed Android 18!!"
world << "<font color=lime><i>CELL: <u>Haha! I am now PERFECT! You will all die at my hands!!"
sagarefresh()
saga = "cell3"
sagarefresh()
var/ce = /mob/monsters/Cell3
new ce (locate(105,28,1))
usr.maxpowerlevel += (rand(1,200))
src.loc=locate(0,0,0)
sleep(2000)
del(src)
if(src.race == "Cell")
if(src.state == "Form-3")
world << "<font color=red><b><u>[usr] as killed Cell!!"
world << "<font color=lime><b>NEW SAGA: Buu"
world << "<font color=lime><i>BABIDI: <u>Go Majin Buu! Destroy them all!"
sagarefresh()
saga = "buu"
sagarefresh()
var/bu = /mob/monsters/majinbuu
new bu (locate(103,28,1))
var/buu = /mob/monsters/Babidi
new buu (locate(104,28,1))
var/buuu = /mob/monsters/Dabura
new buuu (locate(105,28,1))
usr.maxpowerlevel += (rand(1,200))
src.loc=locate(0,0,0)
sleep(2000)
del(src)
if(src.race == "Buu")
buudead = 1
sagarefresh()
if(buudead == 1)
if(daburadead == 1)
if(babididead == 1)
world << "<font color=red><b><u>Buu Transforms into Punk Buu!"
saga = "buu2"
sagarefresh()
var/bu = /mob/monsters/Buu2
new bu (locate(107,29,1))
usr.maxpowerlevel += (rand(1,200))
src.loc=locate(0,0,0)
sleep(2000)
del(src)
if(src.race == "Dabura")
daburadead = 1
sagarefresh()
if(buudead == 1)
if(daburadead == 1)
if(babididead == 1)
world << "<font color=red><b><u>Buu Transforms into Punk Buu!"
saga = "buu2"
sagarefresh()
var/bu = /mob/monsters/Buu2
new bu (locate(107,29,1))
usr.maxpowerlevel += (rand(1,200))
src.loc=locate(0,0,0)
sleep(2000)
del(src)
if(src.race == "Babidi")
babididead = 1
sagarefresh()
if(buudead == 1)
if(daburadead == 1)
if(babididead == 1)
world << "<font color=red><b><u>Buu Transforms into Punk Buu!"
saga = "buu2"
sagarefresh()
var/bu = /mob/monsters/Buu2
new bu (locate(107,29,1))
usr.maxpowerlevel += (rand(1,200))
src.loc=locate(0,0,0)
sleep(2000)
del(src)
if(src.race == "PunkBuu")
world << "<font color=red><b><u>Buu Transforms into Buutenks!"
saga = "buu3"
sagarefresh()
var/bu = /mob/monsters/Buu3
new bu(locate(108,28,1))
src.loc=locate(0,0,0)
sleep(2000)
del(src)
if(src.race == "Buutenks")
world << "<font color=red><b><u>Buu Transforms into Buucillo!"
saga = "buu4"
sagarefresh()
var/bu = /mob/monsters/Buu4
new bu(locate(108,28,1))
src.loc=locate(0,0,0)
sleep(2000)
del(src)
if(src.race == "Buucillo")
world << "<font color=red><b><u>Buu Transforms into Buuhan!"
saga = "buu5"
sagarefresh()
var/bu = /mob/monsters/Buu5
new bu(locate(109,28,1))
src.loc=locate(0,0,0)
sleep(2000)
del(src)
if(src.race == "Buuhan")
world << "<font color=red><b><u>Buu Transforms into .ULTIMATE KID BUU!"
alert(usr,"If you've reached this far, you are either a great player, a cheating GM, or a stupid cheater with a hex editor, ok, now fight this guy =)")
saga = "buu6"
sagarefresh()
var/bu = /mob/monsters/Buu6
new bu(locate(109,28,1))
src.loc=locate(0,0,0)
sleep(2000)
del(src)
if(src.race == "Kid Buu")
world << "<font color=red><b><u>[usr] somehow managed to kill Kid Buu,....YAY!"
alert(usr,"God, I can't believe you won 0_o")
saga = "end"
sagarefresh()
src.loc=locate(0,0,0)
sleep(2000)
del(src)


Now i get these errors

bsystem.dm:2:error:src.race:duplicate definition
bsystem.dm:2:error:"raditz":duplicate definition
bsystem.dm:2:error:== :instruction not allowed here
bsystem.dm:2:error::duplicate definition
bsystem.dm:18:error:src.race:duplicate definition
bsystem.dm:18:error:"Buu (NPC)":duplicate definition
bsystem.dm:18:error:== :instruction not allowed here
bsystem.dm:18:error::duplicate definition
bsystem.dm:24:error:src.race:duplicate definition
bsystem.dm:24:error:"Vegeta (NPC)":duplicate definition
bsystem.dm:24:error:== :instruction not allowed here
bsystem.dm:24:error::duplicate definition
bsystem.dm:48:error:src.race:duplicate definition
bsystem.dm:48:error:"Nappa (NPC)":duplicate definition
bsystem.dm:48:error:== :instruction not allowed here
bsystem.dm:48:error::duplicate definition
bsystem.dm:88:error:src.race:duplicate definition
bsystem.dm:88:error:"Lord Frieza":duplicate definition
bsystem.dm:88:error:== :instruction not allowed here
bsystem.dm:88:error::duplicate definition
bsystem.dm:113:error:src.state:duplicate definition
bsystem.dm:113:error:"Form-2":duplicate definition
bsystem.dm:113:error:== :instruction not allowed here
bsystem.dm:113:error::duplicate definition
bsystem.dm:125:error:src.state:duplicate definition
bsystem.dm:125:error:"Form-3":duplicate definition
bsystem.dm:125:error:== :instruction not allowed here
bsystem.dm:125:error::duplicate definition
bsystem.dm:137:error:src.state:duplicate definition
bsystem.dm:137:error:"Form-4":duplicate definition
bsystem.dm:137:error:== :instruction not allowed here
bsystem.dm:137:error::duplicate definition
bsystem.dm:150:error:src.state:duplicate definition
bsystem.dm:150:error:"Rebuilt":duplicate definition
bsystem.dm:150:error:== :instruction not allowed here
bsystem.dm:150:error::duplicate definition
bsystem.dm:186:error:src.race:duplicate definition
bsystem.dm:186:error:"19":duplicate definition
bsystem.dm:186:error:== :instruction not allowed here
bsystem.dm:186:error::duplicate definition
bsystem.dm:192:error:jo1:duplicate definition
bsystem.dm:192:error:1:duplicate definition
bsystem.dm:192:error:== :instruction not allowed here
bsystem.dm:192:error::duplicate definition
bsystem.dm:206:error:src.race:duplicate definition
bsystem.dm:206:error:"20":duplicate definition
bsystem.dm:206:error:== :instruction not allowed here
bsystem.dm:206:error::duplicate definition
bsystem.dm:226:error:src.race:duplicate definition
bsystem.dm:226:error:"16":duplicate definition
bsystem.dm:226:error:== :instruction not allowed here
bsystem.dm:226:error::duplicate definition
bsystem.dm:232:error:sixdead:duplicate definition
bsystem.dm:232:error:1:duplicate definition
bsystem.dm:232:error:== :instruction not allowed here
bsystem.dm:232:error::duplicate definition
bsystem.dm:262:error:src.race:duplicate definition
bsystem.dm:262:error:"18":duplicate definition
bsystem.dm:262:error:== :instruction not allowed here
bsystem.dm:262:error::duplicate definition
bsystem.dm:280:error:src.race:duplicate definition
bsystem.dm:280:error:"Cell":duplicate definition
bsystem.dm:280:error:== :instruction not allowed here
bsystem.dm:280:error::duplicate definition
bsystem.dm:281:error:src.state:duplicate definition
bsystem.dm:281:error:"Form-1":duplicate definition
bsystem.dm:281:error:== :instruction not allowed here
bsystem.dm:281:error::duplicate definition
bsystem.dm:292:error:src.race:duplicate definition
bsystem.dm:292:error:"Cell":duplicate definition
bsystem.dm:292:error:== :instruction not allowed here
bsystem.dm:292:error::duplicate definition
bsystem.dm:305:error:src.race:duplicate definition
bsystem.dm:305:error:"Cell":duplicate definition
bsystem.dm:305:error:== :instruction not allowed here
bsystem.dm:305:error::duplicate definition
bsystem.dm:306:error:src.state:duplicate definition
bsystem.dm:306:error:"Form-3":duplicate definition
bsystem.dm:306:error:== :instruction not allowed here
bsystem.dm:306:error::duplicate definition
bsystem.dm:323:error:src.race:duplicate definition
bsystem.dm:323:error:"Buu":duplicate definition
bsystem.dm:323:error:== :instruction not allowed here
bsystem.dm:323:error::duplicate definition
bsystem.dm:338:error:src.race:duplicate definition
bsystem.dm:338:error:"Dabura":duplicate definition
bsystem.dm:338:error:== :instruction not allowed here
bsystem.dm:338:error::duplicate definition
bsystem.dm:353:error:src.race:duplicate definition
bsystem.dm:353:error:"Babidi":duplicate definition
bsystem.dm:353:error:== :instruction not allowed here
bsystem.dm:353:error::duplicate definition
bsystem.dm:368:error:src.race:duplicate definition
bsystem.dm:368:error:"PunkBuu1":duplicate definition
bsystem.dm:368:error:== :instruction not allowed here
bsystem.dm:368:error::duplicate definition
bsystem.dm:377:error:src.race:duplicate definition
bsystem.dm:377:error:"Buutenks":duplicate definition
bsystem.dm:377:error:== :instruction not allowed here

So How can i Fix them up? when i try and change race to somthing else i get the same eror and same for others
...make sure there's no other file with the same information/data checked off... it seems like to me that's the cause (there's another file with the same info and it's checked off)

Also, The main cause of it (other than my theory above this... I think this one here is the real culprit) is that you just have mob at the top, maybe you deleted a line like proc/Death() or something
In response to GhostAnime
GhostAnime wrote:
...make sure there's no other file with the same information/data checked off... it seems like to me that's the cause (there's another file with the same info and it's checked off)

Also, The main cause of it (other than my theory above this... I think this one here is the real culprit) is that you just have mob at the top, maybe you deleted a line like proc/Death() or something

The if statements aren't under anything, they're just sitting there.
Also, you can use && in if statements to check 2 things at once.
And yes, I agree with Ghost.
By the way, the code severely needs redoing, WAY too many if statements, and, well, there's too much stuff for me to mention. Go read the DM guide and make your own code.
In response to Sinoflife
I am still getting these errors

bsystem.dm:3:error:src.race:duplicate definition
bsystem.dm:3:error:"raditz":duplicate definition
bsystem.dm:3:error:== :instruction not allowed here
bsystem.dm:3:error::duplicate definition
bsystem.dm:19:error:src.race:duplicate definition
bsystem.dm:19:error:"Buu (NPC)":duplicate definition
bsystem.dm:19:error:== :instruction not allowed here
bsystem.dm:19:error::duplicate definition
bsystem.dm:25:error:src.race:duplicate definition
bsystem.dm:25:error:"Vegeta (NPC)":duplicate definition
bsystem.dm:25:error:== :instruction not allowed here
bsystem.dm:25:error::duplicate definition
bsystem.dm:49:error:src.race:duplicate definition
bsystem.dm:49:error:"Nappa (NPC)":duplicate definition
bsystem.dm:49:error:== :instruction not allowed here
bsystem.dm:49:error::duplicate definition
bsystem.dm:89:error:src.race:duplicate definition
bsystem.dm:89:error:"Lord Frieza":duplicate definition
bsystem.dm:89:error:== :instruction not allowed here
bsystem.dm:89:error::duplicate definition
bsystem.dm:114:error:src.state:duplicate definition
bsystem.dm:114:error:"Form-2":duplicate definition
bsystem.dm:114:error:== :instruction not allowed here
bsystem.dm:114:error::duplicate definition
bsystem.dm:126:error:src.state:duplicate definition
bsystem.dm:126:error:"Form-3":duplicate definition
bsystem.dm:126:error:== :instruction not allowed here
bsystem.dm:126:error::duplicate definition
bsystem.dm:138:error:src.state:duplicate definition
bsystem.dm:138:error:"Form-4":duplicate definition
bsystem.dm:138:error:== :instruction not allowed here
bsystem.dm:138:error::duplicate definition
bsystem.dm:151:error:src.state:duplicate definition
bsystem.dm:151:error:"Rebuilt":duplicate definition
bsystem.dm:151:error:== :instruction not allowed here
bsystem.dm:151:error::duplicate definition
bsystem.dm:187:error:src.race:duplicate definition
bsystem.dm:187:error:"19":duplicate definition
bsystem.dm:187:error:== :instruction not allowed here
bsystem.dm:187:error::duplicate definition
bsystem.dm:193:error:jo1:duplicate definition
bsystem.dm:193:error:1:duplicate definition
bsystem.dm:193:error:== :instruction not allowed here
bsystem.dm:193:error::duplicate definition
bsystem.dm:207:error:src.race:duplicate definition
bsystem.dm:207:error:"20":duplicate definition
bsystem.dm:207:error:== :instruction not allowed here
bsystem.dm:207:error::duplicate definition
bsystem.dm:227:error:src.race:duplicate definition
bsystem.dm:227:error:"16":duplicate definition
bsystem.dm:227:error:== :instruction not allowed here
bsystem.dm:227:error::duplicate definition
bsystem.dm:233:error:sixdead:duplicate definition
bsystem.dm:233:error:1:duplicate definition
bsystem.dm:233:error:== :instruction not allowed here
bsystem.dm:233:error::duplicate definition
bsystem.dm:263:error:src.race:duplicate definition
bsystem.dm:263:error:"18":duplicate definition
bsystem.dm:263:error:== :instruction not allowed here
bsystem.dm:263:error::duplicate definition
bsystem.dm:281:error:src.race:duplicate definition
bsystem.dm:281:error:"Cell":duplicate definition
bsystem.dm:281:error:== :instruction not allowed here
bsystem.dm:281:error::duplicate definition
bsystem.dm:282:error:src.state:duplicate definition
bsystem.dm:282:error:"Form-1":duplicate definition
bsystem.dm:282:error:== :instruction not allowed here
bsystem.dm:282:error::duplicate definition
bsystem.dm:293:error:src.race:duplicate definition
bsystem.dm:293:error:"Cell":duplicate definition
bsystem.dm:293:error:== :instruction not allowed here
bsystem.dm:293:error::duplicate definition
bsystem.dm:306:error:src.race:duplicate definition
bsystem.dm:306:error:"Cell":duplicate definition
bsystem.dm:306:error:== :instruction not allowed here
bsystem.dm:306:error::duplicate definition
bsystem.dm:307:error:src.state:duplicate definition
bsystem.dm:307:error:"Form-3":duplicate definition
bsystem.dm:307:error:== :instruction not allowed here
bsystem.dm:307:error::duplicate definition
bsystem.dm:324:error:src.race:duplicate definition
bsystem.dm:324:error:"Buu":duplicate definition
bsystem.dm:324:error:== :instruction not allowed here
bsystem.dm:324:error::duplicate definition
bsystem.dm:339:error:src.race:duplicate definition
bsystem.dm:339:error:"Dabura":duplicate definition
bsystem.dm:339:error:== :instruction not allowed here
bsystem.dm:339:error::duplicate definition
bsystem.dm:354:error:src.race:duplicate definition
bsystem.dm:354:error:"Babidi":duplicate definition
bsystem.dm:354:error:== :instruction not allowed here
bsystem.dm:354:error::duplicate definition
bsystem.dm:369:error:src.race:duplicate definition
bsystem.dm:369:error:"PunkBuu":duplicate definition
bsystem.dm:369:error:== :instruction not allowed here
bsystem.dm:369:error::duplicate definition
bsystem.dm:378:error:src.race:duplicate definition
bsystem.dm:378:error:"Buutenks":duplicate definition
bsystem.dm:378:error:== :instruction not allowed here

Here is my Coding

mob
Die()
if(src.race == "raditz")
usr.zenni += 2500
world << "<font color=red><b><u>[usr] has killed Raditz!"
usr << "<b>You get 2500 zenni from that kill."
world << "<font color=lime><b>NEW SAGA: Vegeta-Napa"
saga = "vegeta"
sagarefresh()
var/vege = /mob/monsters/Vegeta
new vege(locate(122,28,1))
var/napp = /mob/monsters/Nappa
new napp(locate(122,29,1))
usr.maxpowerlevel += (rand(1,200))
src.loc=locate(0,0,0)
sleep(2000)
del(src)

if(src.race == "Buu (NPC)")
usr.zenni += 5000
usr << "<b>You get 5000 zenni from that kill."
usr.maxpowerlevel += (rand(1,1000))
src.loc=locate(0,0,0)
src.random = rand(1,5)
if(src.race == "Vegeta (NPC)")
usr.zenni += 250000
world << "<font color=red><b><u>[usr] has killed Vegeta!"
vegetadead = 1
sagarefresh()
usr << "<b>You get 250000 zenni from that kill."
if(nappadead == 1)
world << "<font color=lime><b>NEW SAGA: Ginew Force"
saga = "ginew"
sagarefresh()
var/gi = /mob/monsters/Ginew
new gi(locate(98,51,5))
var/gii = /mob/monsters/Gurudo
new gii(locate(84,54,5))
var/giii = /mob/monsters/Burter
new giii(locate(106,53,5))
var/giiii = /mob/monsters/Jeise
new giiii(locate(107,53,5))
var/giiiii = /mob/monsters/Recoom
new giiiii(locate(101,42,5))
usr.maxpowerlevel += (rand(1,200))
src.loc=locate(0,0,0)
sleep(2000)
del(src)
if(src.race == "Nappa (NPC)")
usr.zenni += 250000
nappadead = 1
sagarefresh()
world << "<font color=red><b><u>[usr] has killed Nappa!"
usr << "<b>You get 250000 zenni from that kill."
if(vegetadead == 1)
world << "<font color=lime><b>NEW SAGA: Ginew Force"
saga = "ginew"
sagarefresh()
var/gi = /mob/monsters/Ginew
new gi(locate(98,51,5))
var/gii = /mob/monsters/Gurudo
new gii(locate(84,54,5))
var/giii = /mob/monsters/Burter
new giii(locate(106,53,5))
var/giiii = /mob/monsters/Jeise
new giiii(locate(107,53,5))
var/giiiii = /mob/monsters/Recoom
new giiiii(locate(101,42,5))
usr.maxpowerlevel += (rand(1,200))
src.loc=locate(0,0,0)
sleep(2000)
del(src)
if(src.race == "Ginew Force")
usr.zenni += 250000
ginewleft -= 1
sagarefresh()
world << "<font color=red><b><u>[usr] has killed [src.name]!"
usr << "<b>You get 250000 zenni from that kill."
if(ginewleft == 0)
world << "<font color=lime><b>NEW SAGA: Frieza"
saga = "frieza"
var/fi = /mob/monsters/Lord_Frieza
new fi(locate(98,51,5))
sagarefresh()
usr.maxpowerlevel += (rand(1,200))
src.loc=locate(0,0,0)
sleep(2000)
del(src)
if(src.race == "Lord Frieza")
sagarefresh()
world << "<font color=red><b><u>[usr] has <u></b>angered</u><b> [src.name]!"
world << "<font color=lime><b>Frieza goes to attack mode!"
world << "<font color=lime><i>FRIEZA: <u>Okay, kiddies, it's time to play!"
saga = "frieza1"
sagarefresh()
var/fi = /mob/monsters/Frieza
new fi(locate(usr.x,usr.y - 1,usr.z))
src.loc=locate(0,0,0)
sleep(2000)
del(src)
if(src.race == "Frieza")
if(src.state == "Normal")
sagarefresh()
world << "<font color=red><b><u>[usr] has <u></b>angered</u><b> [src.name]!"
world << "<font color=lime><b>Frieza goes to Form-2!"
world << "<font color=lime><i>FRIEZA: <u>You're beggining to annoy me, play time's over!!"
saga = "frieza2"
sagarefresh()
var/fi = /mob/monsters/Frieza2
new fi(locate(usr.x,usr.y - 1,usr.z))
src.loc=locate(0,0,0)
sleep(2000)
del(src)
if(src.state == "Form-2")
sagarefresh()
world << "<font color=red><b><u>[usr] has <u></b>angered</u><b> [src.name]!"
world << "<font color=lime><b>Frieza goes to Form-3!"
world << "<font color=lime><i>FRIEZA: <u>Enough! You will not survive me!!"
saga = "frieza3"
sagarefresh()
var/fi = /mob/monsters/Frieza3
new fi(locate(usr.x,usr.y - 1,usr.z))
src.loc=locate(0,0,0)
sleep(2000)
del(src)
if(src.state == "Form-3")
sagarefresh()
world << "<font color=red><b><u>[usr] has <u></b>greatly angered</u><b> [src.name]!"
world << "<font color=lime><b>Frieza goes to his final form!!!"
world << "<font color=lime><i>FRIEZA: <u>Ah! You will now feel my TRUE POWER!!!"
saga = "frieza4"
sagarefresh()
var/fi = /mob/monsters/Frieza4
new fi(locate(usr.x,usr.y - 1,usr.z))
src.loc=locate(0,0,0)
sleep(2000)
del(src)
if(src.state == "Form-4")
sagarefresh()
world << "<font color=red><b><u>[usr] has <u></b>destroyed</u><b> [src.name]!"
world << "<font color=lime><b>NEW SAGA: Frieza/Android"
saga = "frieza5"
sagarefresh()
var/fi = /mob/monsters/Frieza5
new fi(locate(113,28,1))
var/fii = /mob/monsters/King_Kold
new fii(locate(114,28,1))
src.loc=locate(0,0,0)
sleep(2000)
del(src)
if(src.state == "Rebuilt")
usr.zenni += 250000
world << "<font color=red><b><u>[usr] has killed Frieza!"
friezadead = 1
sagarefresh()
usr << "<b>You get 250000 zenni from that kill."
if(kingkolddead == 1)
world << "<font color=lime><b>NEW SAGA: Android"
saga = "android"
sagarefresh()
var/fi = /mob/monsters/Android19
new fi(locate(110,28,1))
var/fi2 = /mob/monsters/Android20
new fi2(locate(108,28,1))
usr.maxpowerlevel += (rand(1,200))
src.loc=locate(0,0,0)
sleep(2000)
del(src)
if(src.state == "King-Kold")
usr.zenni += 250000
world << "<font color=red><b><u>[usr] has killed King Kold!"
kingkolddead = 1
sagarefresh()
usr << "<b>You get 250000 zenni from that kill."
if(friezadead == 1)
world << "<font color=lime><b>NEW SAGA: Android"
saga = "android"
sagarefresh()
var/fi = /mob/monsters/Android19
new fi(locate(110,28,1))
var/fi2 = /mob/monsters/Android20
new fi2(locate(108,28,1))
usr.maxpowerlevel += (rand(1,200))
src.loc=locate(0,0,0)
sleep(2000)
del(src)
if(src.race == "19")
usr.zenni += 250000
world << "<font color=red><b><u>[usr] has killed Android 19!!"
jo = 1
sagarefresh()
usr << "<b>You get 250000 zenni from that kill."
if(jo1 == 1)
world << "<font color=lime><b>Gero activated Androids 16, 17, and 18!!"
saga = "android2"
sagarefresh()
var/an = /mob/monsters/Android16
new an(locate(108,28,1))
var/ann = /mob/monsters/Android17
new ann(locate(109,28,1))
var/annn = /mob/monsters/Android18
new annn(locate(107,28,1))
usr.maxpowerlevel += (rand(1,200))
src.loc=locate(0,0,0)
sleep(2000)
del(src)
if(src.race == "20")
usr.zenni += 250000
world << "<font color=red><b><u>[usr] has killed Android 20!!"
jo1 = 1
sagarefresh()
usr << "<b>You get 250000 zenni from that kill."
if(jo == 1)
world << "<font color=lime><b>Gero activated Androids 16, 17, and 18!!"
saga = "android2"
sagarefresh()
var/an = /mob/monsters/Android16
new an(locate(108,28,1))
var/ann = /mob/monsters/Android17
new ann(locate(109,28,1))
var/annn = /mob/monsters/Android18
new annn(locate(107,28,1))
usr.maxpowerlevel += (rand(1,200))
src.loc=locate(0,0,0)
sleep(2000)
del(src)
if(src.race == "16")
usr.zenni += 250000
world << "<font color=red><b><u>[usr] has killed Android 16!!"
sixdead = 1
sagarefresh()
usr << "<b>You get 250000 zenni from that kill."
if(sixdead == 1)
if(sevendead == 1)
if(eightdead == 1)
world << "<font color=lime><b>Cell has appeared!!"
saga = "cell"
sagarefresh()
var/ce = /mob/monsters/Cell1
new ce (locate(107,28,1))
usr.maxpowerlevel += (rand(1,200))
src.loc=locate(0,0,0)
sleep(2000)
del(src)
if(src.race == "17")
usr.zenni += 250000
world << "<font color=red><b><u>[usr] has killed Android 17!!"
sevendead = 1
sagarefresh()
usr << "<b>You get 250000 zenni from that kill."
if(sixdead == 1)
if(sevendead == 1)
if(eightdead == 1)
world << "<font color=lime><b>Cell has appeared!!"
saga = "cell"
sagarefresh()
var/ce = /mob/monsters/Cell1
new ce (locate(107,28,1))
usr.maxpowerlevel += (rand(1,200))
src.loc=locate(0,0,0)
sleep(2000)
del(src)
if(src.race == "18")
usr.zenni += 250000
world << "<font color=red><b><u>[usr] has killed Android 18!!"
eightdead = 1
sagarefresh()
usr << "<b>You get 250000 zenni from that kill."
if(sixdead == 1)
if(sevendead == 1)
if(eightdead == 1)
world << "<font color=lime><b>Cell has appeared!!"
saga = "cell"
sagarefresh()
var/ce = /mob/monsters/Cell1
new ce (locate(107,28,1))
usr.maxpowerlevel += (rand(1,200))
src.loc=locate(0,0,0)
sleep(2000)
del(src)
if(src.race == "Cell")
if(src.state == "Form-1")
world << "<font color=red><b><u>Cell has absorbed Android 17!!"
sagarefresh()
saga = "cell2"
sagarefresh()
var/ce = /mob/monsters/Cell2
new ce (locate(107,28,1))
usr.maxpowerlevel += (rand(1,200))
src.loc=locate(0,0,0)
sleep(2000)
del(src)
if(src.race == "Cell")
if(src.state == "Form-2")
world << "<font color=red><b><u>Cell has absorbed Android 18!!"
world << "<font color=lime><i>CELL: <u>Haha! I am now PERFECT! You will all die at my hands!!"
sagarefresh()
saga = "cell3"
sagarefresh()
var/ce = /mob/monsters/Cell3
new ce (locate(105,28,1))
usr.maxpowerlevel += (rand(1,200))
src.loc=locate(0,0,0)
sleep(2000)
del(src)
if(src.race == "Cell")
if(src.state == "Form-3")
world << "<font color=red><b><u>[usr] as killed Cell!!"
world << "<font color=lime><b>NEW SAGA: Buu"
world << "<font color=lime><i>BABIDI: <u>Go Majin Buu! Destroy them all!"
sagarefresh()
saga = "buu"
sagarefresh()
var/bu = /mob/monsters/Buu
new bu (locate(103,28,1))
var/buu = /mob/monsters/Babidi
new buu (locate(104,28,1))
var/buuu = /mob/monsters/Dabura
new buuu (locate(105,28,1))
usr.maxpowerlevel += (rand(1,200))
src.loc=locate(0,0,0)
sleep(2000)
del(src)
if(src.race == "Buu")
buudead = 1
sagarefresh()
if(buudead == 1)
if(daburadead == 1)
if(babididead == 1)
world << "<font color=red><b><u>Buu Transforms into Punk Buu!"
saga = "buu2"
sagarefresh()
var/bu = /mob/monsters/Buu2
new bu (locate(107,29,1))
usr.maxpowerlevel += (rand(1,200))
src.loc=locate(0,0,0)
sleep(2000)
del(src)
if(src.race == "Dabura")
daburadead = 1
sagarefresh()
if(buudead == 1)
if(daburadead == 1)
if(babididead == 1)
world << "<font color=red><b><u>Buu Transforms into Punk Buu!"
saga = "buu2"
sagarefresh()
var/bu = /mob/monsters/Buu2
new bu (locate(107,29,1))
usr.maxpowerlevel += (rand(1,200))
src.loc=locate(0,0,0)
sleep(2000)
del(src)
if(src.race == "Babidi")
babididead = 1
sagarefresh()
if(buudead == 1)
if(daburadead == 1)
if(babididead == 1)
world << "<font color=red><b><u>Buu Transforms into Punk Buu!"
saga = "buu2"
sagarefresh()
var/bu = /mob/monsters/Buu2
new bu (locate(107,29,1))
usr.maxpowerlevel += (rand(1,200))
src.loc=locate(0,0,0)
sleep(2000)
del(src)
if(src.race == "PunkBuu")
world << "<font color=red><b><u>Buu Transforms into Buutenks!"
saga = "buu3"
sagarefresh()
var/bu = /mob/monsters/Buu3
new bu(locate(108,28,1))
src.loc=locate(0,0,0)
sleep(2000)
del(src)
if(src.race == "Buutenks")
world << "<font color=red><b><u>Buu Transforms into Buucillo!"
saga = "buu4"
sagarefresh()
var/bu = /mob/monsters/Buu4
new bu(locate(108,28,1))
src.loc=locate(0,0,0)
sleep(2000)
del(src)
if(src.race == "Buucillo")
world << "<font color=red><b><u>Buu Transforms into Buuhan!"
saga = "buu5"
sagarefresh()
var/bu = /mob/monsters/Buu5
new bu(locate(109,28,1))
src.loc=locate(0,0,0)
sleep(2000)
del(src)
if(src.race == "Buuhan")
world << "<font color=red><b><u>Buu Transforms into .ULTIMATE KID BUU!"
alert(usr,"If you've reached this far, you are either a great player, a cheating GM, or a stupid cheater with a hex editor, ok, now fight this guy =)")
saga = "buu6"
sagarefresh()
var/bu = /mob/monsters/Buu6
new bu(locate(109,28,1))
src.loc=locate(0,0,0)
sleep(2000)
del(src)
if(src.race == "Kid Buu")
world << "<font color=red><b><u>[usr] somehow managed to kill Kid Buu,....YAY!"
alert(usr,"God, I can't believe you won 0_o")
saga = "end"
sagarefresh()
src.loc=locate(0,0,0)
sleep(2000)
del(src)

mob/var
race
mob/var
loc
mob/var
name
</dm

Now How can i fix those mesages
In response to Govegtos
<==== By reading the DM guide.

If you just don't get it, hire a private tutor or something.
Because you're not gaining anything, all you are doing is saying is "Fix this".
In response to Flame Sage
Well how can i fix this when there is more than 1 scr what is the other option?

Here are the errors

bsystem.dm:3:error:src.race:duplicate definition
bsystem.dm:3:error:"Raditz1":duplicate definition
bsystem.dm:3:error:== :instruction not allowed here
bsystem.dm:3:error::duplicate definition
bsystem.dm:19:error:src.race:duplicate definition
bsystem.dm:19:error:"Buu (NPC)":duplicate definition
bsystem.dm:19:error:== :instruction not allowed here
bsystem.dm:19:error::duplicate definition
bsystem.dm:25:error:src.race:duplicate definition
bsystem.dm:25:error:"Vegeta (NPC)":duplicate definition
bsystem.dm:25:error:== :instruction not allowed here
bsystem.dm:25:error::duplicate definition
bsystem.dm:49:error:src.race:duplicate definition
bsystem.dm:49:error:"Nappa (NPC)":duplicate definition
bsystem.dm:49:error:== :instruction not allowed here
bsystem.dm:49:error::duplicate definition
bsystem.dm:89:error:src.race:duplicate definition
bsystem.dm:89:error:"Lord Frieza":duplicate definition
bsystem.dm:89:error:== :instruction not allowed here
bsystem.dm:89:error::duplicate definition
bsystem.dm:114:error:src.state:duplicate definition
bsystem.dm:114:error:"Form-2":duplicate definition
bsystem.dm:114:error:== :instruction not allowed here
bsystem.dm:114:error::duplicate definition
bsystem.dm:126:error:src.state:duplicate definition
bsystem.dm:126:error:"Form-3":duplicate definition
bsystem.dm:126:error:== :instruction not allowed here
bsystem.dm:126:error::duplicate definition
bsystem.dm:138:error:src.state:duplicate definition
bsystem.dm:138:error:"Form-4":duplicate definition
bsystem.dm:138:error:== :instruction not allowed here
bsystem.dm:138:error::duplicate definition
bsystem.dm:151:error:src.state:duplicate definition
bsystem.dm:151:error:"Rebuilt":duplicate definition
bsystem.dm:151:error:== :instruction not allowed here
bsystem.dm:151:error::duplicate definition
bsystem.dm:187:error:src.race:duplicate definition
bsystem.dm:187:error:"19":duplicate definition
bsystem.dm:187:error:== :instruction not allowed here
bsystem.dm:187:error::duplicate definition
bsystem.dm:193:error:jo1:duplicate definition
bsystem.dm:193:error:1:duplicate definition
bsystem.dm:193:error:== :instruction not allowed here
bsystem.dm:193:error::duplicate definition
bsystem.dm:207:error:src.race:duplicate definition
bsystem.dm:207:error:"20":duplicate definition
bsystem.dm:207:error:== :instruction not allowed here
bsystem.dm:207:error::duplicate definition
bsystem.dm:227:error:src.race:duplicate definition
bsystem.dm:227:error:"16":duplicate definition
bsystem.dm:227:error:== :instruction not allowed here
bsystem.dm:227:error::duplicate definition
bsystem.dm:233:error:sixdead:duplicate definition
bsystem.dm:233:error:1:duplicate definition
bsystem.dm:233:error:== :instruction not allowed here
bsystem.dm:233:error::duplicate definition
bsystem.dm:263:error:src.race:duplicate definition
bsystem.dm:263:error:"18":duplicate definition
bsystem.dm:263:error:== :instruction not allowed here
bsystem.dm:263:error::duplicate definition
bsystem.dm:281:error:src.race:duplicate definition
bsystem.dm:281:error:"Cell":duplicate definition
bsystem.dm:281:error:== :instruction not allowed here
bsystem.dm:281:error::duplicate definition
bsystem.dm:282:error:src.state:duplicate definition
bsystem.dm:282:error:"Form-1":duplicate definition
bsystem.dm:282:error:== :instruction not allowed here
bsystem.dm:282:error::duplicate definition
bsystem.dm:293:error:src.race:duplicate definition
bsystem.dm:293:error:"Cell":duplicate definition
bsystem.dm:293:error:== :instruction not allowed here
bsystem.dm:293:error::duplicate definition
bsystem.dm:306:error:src.race:duplicate definition
bsystem.dm:306:error:"Cell":duplicate definition
bsystem.dm:306:error:== :instruction not allowed here
bsystem.dm:306:error::duplicate definition
bsystem.dm:307:error:src.state:duplicate definition
bsystem.dm:307:error:"Form-3":duplicate definition
bsystem.dm:307:error:== :instruction not allowed here
bsystem.dm:307:error::duplicate definition
bsystem.dm:324:error:src.race:duplicate definition
bsystem.dm:324:error:"Buu":duplicate definition
bsystem.dm:324:error:== :instruction not allowed here
bsystem.dm:324:error::duplicate definition
bsystem.dm:339:error:src.race:duplicate definition
bsystem.dm:339:error:"Dabura":duplicate definition
bsystem.dm:339:error:== :instruction not allowed here
bsystem.dm:339:error::duplicate definition
bsystem.dm:354:error:src.race:duplicate definition
bsystem.dm:354:error:"Babidi":duplicate definition
bsystem.dm:354:error:== :instruction not allowed here
bsystem.dm:354:error::duplicate definition
bsystem.dm:369:error:src.race:duplicate definition
bsystem.dm:369:error:"PunkBuu":duplicate definition
bsystem.dm:369:error:== :instruction not allowed here
bsystem.dm:369:error::duplicate definition
bsystem.dm:378:error:src.race:duplicate definition
bsystem.dm:378:error:"Buutenks":duplicate definition
bsystem.dm:378:error:== :instruction not allowed here

So How do i go about this here is the full coding

mob
Die()
if(src.race == "Raditz1")
usr.zenni += 2500
world << "<font color=red><b><u>[usr] killed Raditz!"
usr << "<b>You get 2500 zenni from that kill."
world << "<font color=lime><b>NEW SAGA: Vegeta-Napa"
saga = "vegeta"
sagarefresh()
var/vege = /mob/monsters/Vegeta
new vege(locate(122,28,1))
var/napp = /mob/monsters/Nappa
new napp(locate(122,29,1))
usr.maxpowerlevel += (rand(1,200))
src.loc=locate(0,0,0)
sleep(2000)
del(src)

if(src.race == "Buu (NPC)")
usr.zenni += 5000
usr << "<b>You get 5000 zenni from that kill."
usr.maxpowerlevel += (rand(1,1000))
src.loc=locate(0,0,0)
src.random = rand(1,5)
if(src.race == "Vegeta (NPC)")
usr.zenni += 250000
world << "<font color=red><b><u>[usr] has killed Vegeta!"
vegetadead = 1
sagarefresh()
usr << "<b>You get 250000 zenni from that kill."
if(nappadead == 1)
world << "<font color=lime><b>NEW SAGA: Ginew Force"
saga = "ginew"
sagarefresh()
var/gi = /mob/monsters/Ginew
new gi(locate(98,51,5))
var/gii = /mob/monsters/Gurudo
new gii(locate(84,54,5))
var/giii = /mob/monsters/Burter
new giii(locate(106,53,5))
var/giiii = /mob/monsters/Jeise
new giiii(locate(107,53,5))
var/giiiii = /mob/monsters/Recoom
new giiiii(locate(101,42,5))
usr.maxpowerlevel += (rand(1,200))
src.loc=locate(0,0,0)
sleep(2000)
del(src)
if(src.race == "Nappa (NPC)")
usr.zenni += 250000
nappadead = 1
sagarefresh()
world << "<font color=red><b><u>[usr] has killed Nappa!"
usr << "<b>You get 250000 zenni from that kill."
if(vegetadead == 1)
world << "<font color=lime><b>NEW SAGA: Ginew Force"
saga = "ginew"
sagarefresh()
var/gi = /mob/monsters/Ginew
new gi(locate(98,51,5))
var/gii = /mob/monsters/Gurudo
new gii(locate(84,54,5))
var/giii = /mob/monsters/Burter
new giii(locate(106,53,5))
var/giiii = /mob/monsters/Jeise
new giiii(locate(107,53,5))
var/giiiii = /mob/monsters/Recoom
new giiiii(locate(101,42,5))
usr.maxpowerlevel += (rand(1,200))
src.loc=locate(0,0,0)
sleep(2000)
del(src)
if(src.race == "Ginew Force")
usr.zenni += 250000
ginewleft -= 1
sagarefresh()
world << "<font color=red><b><u>[usr] has killed [src.name]!"
usr << "<b>You get 250000 zenni from that kill."
if(ginewleft == 0)
world << "<font color=lime><b>NEW SAGA: Frieza"
saga = "frieza"
var/fi = /mob/monsters/Lord_Frieza
new fi(locate(98,51,5))
sagarefresh()
usr.maxpowerlevel += (rand(1,200))
src.loc=locate(0,0,0)
sleep(2000)
del(src)
if(src.race == "Lord Frieza")
sagarefresh()
world << "<font color=red><b><u>[usr] has <u></b>angered</u><b> [src.name]!"
world << "<font color=lime><b>Frieza goes to attack mode!"
world << "<font color=lime><i>FRIEZA: <u>Okay, kiddies, it's time to play!"
saga = "frieza1"
sagarefresh()
var/fi = /mob/monsters/Frieza
new fi(locate(usr.x,usr.y - 1,usr.z))
src.loc=locate(0,0,0)
sleep(2000)
del(src)
if(src.race == "Frieza")
if(src.state == "Normal")
sagarefresh()
world << "<font color=red><b><u>[usr] has <u></b>angered</u><b> [src.name]!"
world << "<font color=lime><b>Frieza goes to Form-2!"
world << "<font color=lime><i>FRIEZA: <u>You're beggining to annoy me, play time's over!!"
saga = "frieza2"
sagarefresh()
var/fi = /mob/monsters/Frieza2
new fi(locate(usr.x,usr.y - 1,usr.z))
src.loc=locate(0,0,0)
sleep(2000)
del(src)
if(src.state == "Form-2")
sagarefresh()
world << "<font color=red><b><u>[usr] has <u></b>angered</u><b> [src.name]!"
world << "<font color=lime><b>Frieza goes to Form-3!"
world << "<font color=lime><i>FRIEZA: <u>Enough! You will not survive me!!"
saga = "frieza3"
sagarefresh()
var/fi = /mob/monsters/Frieza3
new fi(locate(usr.x,usr.y - 1,usr.z))
src.loc=locate(0,0,0)
sleep(2000)
del(src)
if(src.state == "Form-3")
sagarefresh()
world << "<font color=red><b><u>[usr] has <u></b>greatly angered</u><b> [src.name]!"
world << "<font color=lime><b>Frieza goes to his final form!!!"
world << "<font color=lime><i>FRIEZA: <u>Ah! You will now feel my TRUE POWER!!!"
saga = "frieza4"
sagarefresh()
var/fi = /mob/monsters/Frieza4
new fi(locate(usr.x,usr.y - 1,usr.z))
src.loc=locate(0,0,0)
sleep(2000)
del(src)
if(src.state == "Form-4")
sagarefresh()
world << "<font color=red><b><u>[usr] has <u></b>destroyed</u><b> [src.name]!"
world << "<font color=lime><b>NEW SAGA: Frieza/Android"
saga = "frieza5"
sagarefresh()
var/fi = /mob/monsters/Frieza5
new fi(locate(113,28,1))
var/fii = /mob/monsters/King_Kold
new fii(locate(114,28,1))
src.loc=locate(0,0,0)
sleep(2000)
del(src)
if(src.state == "Rebuilt")
usr.zenni += 250000
world << "<font color=red><b><u>[usr] has killed Frieza!"
friezadead = 1
sagarefresh()
usr << "<b>You get 250000 zenni from that kill."
if(kingkolddead == 1)
world << "<font color=lime><b>NEW SAGA: Android"
saga = "android"
sagarefresh()
var/fi = /mob/monsters/Android19
new fi(locate(110,28,1))
var/fi2 = /mob/monsters/Android20
new fi2(locate(108,28,1))
usr.maxpowerlevel += (rand(1,200))
src.loc=locate(0,0,0)
sleep(2000)
del(src)
if(src.state == "King-Kold")
usr.zenni += 250000
world << "<font color=red><b><u>[usr] has killed King Kold!"
kingkolddead = 1
sagarefresh()
usr << "<b>You get 250000 zenni from that kill."
if(friezadead == 1)
world << "<font color=lime><b>NEW SAGA: Android"
saga = "android"
sagarefresh()
var/fi = /mob/monsters/Android19
new fi(locate(110,28,1))
var/fi2 = /mob/monsters/Android20
new fi2(locate(108,28,1))
usr.maxpowerlevel += (rand(1,200))
src.loc=locate(0,0,0)
sleep(2000)
del(src)
if(src.race == "19")
usr.zenni += 250000
world << "<font color=red><b><u>[usr] has killed Android 19!!"
jo = 1
sagarefresh()
usr << "<b>You get 250000 zenni from that kill."
if(jo1 == 1)
world << "<font color=lime><b>Gero activated Androids 16, 17, and 18!!"
saga = "android2"
sagarefresh()
var/an = /mob/monsters/Android16
new an(locate(108,28,1))
var/ann = /mob/monsters/Android17
new ann(locate(109,28,1))
var/annn = /mob/monsters/Android18
new annn(locate(107,28,1))
usr.maxpowerlevel += (rand(1,200))
src.loc=locate(0,0,0)
sleep(2000)
del(src)
if(src.race == "20")
usr.zenni += 250000
world << "<font color=red><b><u>[usr] has killed Android 20!!"
jo1 = 1
sagarefresh()
usr << "<b>You get 250000 zenni from that kill."
if(jo == 1)
world << "<font color=lime><b>Gero activated Androids 16, 17, and 18!!"
saga = "android2"
sagarefresh()
var/an = /mob/monsters/Android16
new an(locate(108,28,1))
var/ann = /mob/monsters/Android17
new ann(locate(109,28,1))
var/annn = /mob/monsters/Android18
new annn(locate(107,28,1))
usr.maxpowerlevel += (rand(1,200))
src.loc=locate(0,0,0)
sleep(2000)
del(src)
if(src.race == "16")
usr.zenni += 250000
world << "<font color=red><b><u>[usr] has killed Android 16!!"
sixdead = 1
sagarefresh()
usr << "<b>You get 250000 zenni from that kill."
if(sixdead == 1)
if(sevendead == 1)
if(eightdead == 1)
world << "<font color=lime><b>Cell has appeared!!"
saga = "cell"
sagarefresh()
var/ce = /mob/monsters/Cell1
new ce (locate(107,28,1))
usr.maxpowerlevel += (rand(1,200))
src.loc=locate(0,0,0)
sleep(2000)
del(src)
if(src.race == "17")
usr.zenni += 250000
world << "<font color=red><b><u>[usr] has killed Android 17!!"
sevendead = 1
sagarefresh()
usr << "<b>You get 250000 zenni from that kill."
if(sixdead == 1)
if(sevendead == 1)
if(eightdead == 1)
world << "<font color=lime><b>Cell has appeared!!"
saga = "cell"
sagarefresh()
var/ce = /mob/monsters/Cell1
new ce (locate(107,28,1))
usr.maxpowerlevel += (rand(1,200))
src.loc=locate(0,0,0)
sleep(2000)
del(src)
if(src.race == "18")
usr.zenni += 250000
world << "<font color=red><b><u>[usr] has killed Android 18!!"
eightdead = 1
sagarefresh()
usr << "<b>You get 250000 zenni from that kill."
if(sixdead == 1)
if(sevendead == 1)
if(eightdead == 1)
world << "<font color=lime><b>Cell has appeared!!"
saga = "cell"
sagarefresh()
var/ce = /mob/monsters/Cell1
new ce (locate(107,28,1))
usr.maxpowerlevel += (rand(1,200))
src.loc=locate(0,0,0)
sleep(2000)
del(src)
if(src.race == "Cell")
if(src.state == "Form-1")
world << "<font color=red><b><u>Cell has absorbed Android 17!!"
sagarefresh()
saga = "cell2"
sagarefresh()
var/ce = /mob/monsters/Cell2
new ce (locate(107,28,1))
usr.maxpowerlevel += (rand(1,200))
src.loc=locate(0,0,0)
sleep(2000)
del(src)
if(src.race == "Cell")
if(src.state == "Form-2")
world << "<font color=red><b><u>Cell has absorbed Android 18!!"
world << "<font color=lime><i>CELL: <u>Haha! I am now PERFECT! You will all die at my hands!!"
sagarefresh()
saga = "cell3"
sagarefresh()
var/ce = /mob/monsters/Cell3
new ce (locate(105,28,1))
usr.maxpowerlevel += (rand(1,200))
src.loc=locate(0,0,0)
sleep(2000)
del(src)
if(src.race == "Cell")
if(src.state == "Form-3")
world << "<font color=red><b><u>[usr] as killed Cell!!"
world << "<font color=lime><b>NEW SAGA: Buu"
world << "<font color=lime><i>BABIDI: <u>Go Majin Buu! Destroy them all!"
sagarefresh()
saga = "buu"
sagarefresh()
var/bu = /mob/monsters/Buu
new bu (locate(103,28,1))
var/buu = /mob/monsters/Babidi
new buu (locate(104,28,1))
var/buuu = /mob/monsters/Dabura
new buuu (locate(105,28,1))
usr.maxpowerlevel += (rand(1,200))
src.loc=locate(0,0,0)
sleep(2000)
del(src)
if(src.race == "Buu")
buudead = 1
sagarefresh()
if(buudead == 1)
if(daburadead == 1)
if(babididead == 1)
world << "<font color=red><b><u>Buu Transforms into Punk Buu!"
saga = "buu2"
sagarefresh()
var/bu = /mob/monsters/Buu2
new bu (locate(107,29,1))
usr.maxpowerlevel += (rand(1,200))
src.loc=locate(0,0,0)
sleep(2000)
del(src)
if(src.race == "Dabura")
daburadead = 1
sagarefresh()
if(buudead == 1)
if(daburadead == 1)
if(babididead == 1)
world << "<font color=red><b><u>Buu Transforms into Punk Buu!"
saga = "buu2"
sagarefresh()
var/bu = /mob/monsters/Buu2
new bu (locate(107,29,1))
usr.maxpowerlevel += (rand(1,200))
src.loc=locate(0,0,0)
sleep(2000)
del(src)
if(src.race == "Babidi")
babididead = 1
sagarefresh()
if(buudead == 1)
if(daburadead == 1)
if(babididead == 1)
world << "<font color=red><b><u>Buu Transforms into Punk Buu!"
saga = "buu2"
sagarefresh()
var/bu = /mob/monsters/Buu2
new bu (locate(107,29,1))
usr.maxpowerlevel += (rand(1,200))
src.loc=locate(0,0,0)
sleep(2000)
del(src)
if(src.race == "PunkBuu")
world << "<font color=red><b><u>Buu Transforms into Buutenks!"
saga = "buu3"
sagarefresh()
var/bu = /mob/monsters/Buu3
new bu(locate(108,28,1))
src.loc=locate(0,0,0)
sleep(2000)
del(src)
if(src.race == "Buutenks")
world << "<font color=red><b><u>Buu Transforms into Buucillo!"
saga = "buu4"
sagarefresh()
var/bu = /mob/monsters/Buu4
new bu(locate(108,28,1))
src.loc=locate(0,0,0)
sleep(2000)
del(src)
if(src.race == "Buucillo")
world << "<font color=red><b><u>Buu Transforms into Buuhan!"
saga = "buu5"
sagarefresh()
var/bu = /mob/monsters/Buu5
new bu(locate(109,28,1))
src.loc=locate(0,0,0)
sleep(2000)
del(src)
if(src.race == "Buuhan")
world << "<font color=red><b><u>Buu Transforms into .ULTIMATE KID BUU!"
alert(usr,"If you've reached this far, you are either a great player, a cheating GM, or a stupid cheater with a hex editor, ok, now fight this guy =)")
saga = "buu6"
sagarefresh()
var/bu = /mob/monsters/Buu6
new bu(locate(109,28,1))
src.loc=locate(0,0,0)
sleep(2000)
del(src)
if(src.race == "Kid Buu")
world << "<font color=red><b><u>[usr] somehow managed to kill Kid Buu,....YAY!"
alert(usr,"God, I can't believe you won 0_o")
saga = "end"
sagarefresh()
src.loc=locate(0,0,0)
sleep(2000)
del(src)

mob/var
loc
mob/var
name
Honestly Govegtos, this is really basic stuff you keep asking the forums to "fix". It gets repetitive and annoying. Like booing at the special olympics - it's just not on.

What are you trying to achieve by checking these players races? All you've done is shove an if check inside of mob.. it means nothing. Hence all of your errors.

~Sinyc.
In response to Govegtos
You're still getting errors because those if() statements still aren't part of a proc. Honestly, just look at the indentation right at the top.

Furthermore, do not use usr here. This proc needs to take an argument telling it who the killer is, and you should use that argument everywhere that usr has been used in this proc.

Lummox JR
Majins and Mystics by Kujila? My BS Detector is blowing up! Too much non-scratch source! Learn how to code maybe I will be safe again!

In response to Govegtos
mob
Die()


I told you, it should be a proc!

mob
proc/Die()


But than you have to indent everything by 1 so do this instead
mob/proc/Die()
In response to Lummox JR
Lummox JR wrote:
You're still getting errors because those if() statements still aren't part of a proc. Honestly, just look at the indentation right at the top.

Furthermore, do not use usr here. This proc needs to take an argument telling it who the killer is, and you should use that argument everywhere that usr has been used in this proc.

Lummox JR

How can i see if it know who the killer is?
In response to William22sa
William22sa wrote:
How can i see if it know who the killer is?

The way for the proc to know this is for you to send that information when you call it. Give the proc an argument, like mob/killer, and then when you call the proc call it with that information. I.e., instead of M.Die(), you might call M.Die(usr) or M.Die(src) or M.Die(player) or so on as appropriate.

Lummox JR
In response to Lummox JR
Lummox JR wrote:
William22sa wrote:
How can i see if it know who the killer is?

The way for the proc to know this is for you to send that information when you call it. Give the proc an argument, like mob/killer, and then when you call the proc call it with that information. I.e., instead of M.Die(), you might call M.Die(usr) or M.Die(src) or M.Die(player) or so on as appropriate.

Lummox JR

    if(src.race == "raditz")
usr.zenni += 2500
world << "<font color=red><b><u>[usr] has killed Raditz!"
usr << "<b>You get 2500 zenni from that kill."
world << "<font color=lime><b>NEW SAGA: Vegeta-Napa"
saga = "vegeta"
sagarefresh()
var/vege = /mob/monsters/Vegeta
new vege(locate(122,28,1))
var/napp = /mob/monsters/Nappa
new napp(locate(122,29,1))
usr.maxpowerlevel += (rand(1,200))
src.loc=locate(0,0,0)
sleep(2000)
del(src)


Where in there should i put
M.Die(src)
?
In response to William22sa
Do remember William that if you are to use named arguments, you have to define it in the proc thing too. Kinda confuzzling to say, so examp.

mob/proc
Deathcheck(killer) //note the "(killer)" part


M.Die(src) //note src is in place of killer from above)


Just a heads up... just a heads up...
In response to William22sa
William22sa wrote:
Where in there should i put M.Die(src)?

Nowhere; the snippet you posted is from inside the Die() proc. Clearly you would not call the proc from inside itself.

Seriously, Govegtos, if you want to get help with your code issues you actually have to try to learn something at some point. Any time someone posts code to help you, you utterly fail not only to figure out what they're saying, but to learn anything for the next time. I mean heck, it's obvious that M.Die(src) is probably not the exact line you need in your code, but that it should be tailored for the place it goes. It's also obvious, because I already told you this, that it needs to replace the call to Die() that you already have. The only reason you're having problems with these issues is that you don't pay attention and you don't learn from experience.

The following is required reading, and will show you how your Die() proc is supposed to be set up. Please note that you're expected to learn at least something from this article so you'll stop posting questions on the same problems over and over and over and over and over again.

Dream Tutor: usr Unfriendly

Lummox JR