obj/choose/good
icon = 'blank.dmi'
name = "Good"
layer = MOB_LAYER+55
density = 1
Click()
usr.alignment = "Good"
usr << "Your Alignment is now: <u>Good</u>."
obj/choose/submit
icon = 'blank.dmi'
name = "Submit"
layer = MOB_LAYER+55
density = 1
Click()
var/mob/new_mob
if(usr.alignment == null)
usr << "Choose an alignment first!"
else
if(usr.prerace == "Saiya-jin")
new_mob = new /mob/characters/saiyajin()
new_mob.icon = usr.preicon
new_mob.move = 1
new_mob.alignment = usr.alignment
new_mob.focused = 0
new_mob.powerlevel = 5
new_mob.maxpowerlevel = 5
new_mob.strength = 1
new_mob.dead = 0
new_mob.rage = 0
new_mob.faceicon = 'default.dmi'
new_mob.gonessj = 0
new_mob.stamina = 100
new_mob.maxstamina = 100
new_mob.zenni = 3000
new_mob.will = 0
new_mob.honor = 0
new_mob.gonessj = 0
new_mob.state = "Normal"
new_mob.purity = 0
new_mob.kitech = "None"
new_mob.auratech = "None"
new_mob.kitechlearn = 0
new_mob.bangtechlearn=0
new_mob.auratechlearn = 0
new_mob.kaioken = 0
new_mob.maxstamina = 100
new_mob.mother = "Unknown"
new_mob.father = "Unknown"
new_mob.focustechlearn = 0
new_mob.kicolor = "None"
new_mob.focus = "None"
new_mob.moon = 1
new_mob.flightlearn = 0
new_mob.race = "Saiya-jin"
new_mob.overlays += /obj/tail
new_mob.title = ""
new_mob.talk = 1
new_mob.oicon = new_mob.icon
new_mob.npp = 0
switch(input("Do you want a face icon?", "Face Icon",text) in list("Yes","No"))
if("Yes")
var/class = input("What kind of face icon?","Icon Choose") in list("Icon","Preset Icon","Cancel")
switch(class)
if("Icon")
var/econ = input("Pick icon:","Icon") as icon
new_mob.faceicon = econ
if("Preset Icon")
switch(input("What icon do you want to use?", "Icon Choose") in list ("Goku","Gohan","Vegeta","Trunks","Goten","Kami","Dende","Turles","Vegeta2","Frieza"))
if("Goku")
new_mob.faceicon = 'goku.bmp'
if("Vegeta")
new_mob.faceicon = 'vegeta.bmp'
if("Gohan")
new_mob.faceicon = 'gohan.bmp'
if("Trunks")
new_mob.faceicon = 'trunks.bmp'
if("Dende")
new_mob.faceicon = 'dende.bmp'
if("Goten")
new_mob.faceicon = 'goten.bmp'
if("Kami")
new_mob.faceicon = 'kame.bmp'
if("Raditz")
new_mob.faceicon = 'raditz.bmp'
if("Turles")
new_mob.faceicon = 'turles.bmp'
if("Vegeta2")
new_mob.faceicon = 'vegeta2.bmp'
if("Frieza")
new_mob.faceicon = 'icer.bmp'
var/icon/I = new('hair_goku.dmi')
I.Blend(usr.rgb)
new_mob.overlays += I
new_mob.name = usr.prename
usr.client.mob = new_mob
usr.verbs += /mob/verb/save_me
usr.verbs += /mob/verb/AFK
usr.loc=locate(77,77,1)
Problem description:
i have theese to obj on a third screen the good just sets the usr alignment, while the submit sets takes all of the usrs pre stats and makes a new_mob then new_mob becomes the users mob. the thing is theese to objs don't seems to show up I put them on the map and run it but when i scroll over where they should be the name doesn't show up and when i click nothing happens.
Lummox JR