obj
BackLayer
name = ""
icon = 'white.dmi'
density = 0
layer = MOB_LAYER+99
InvisableWall
name = ""
Choice
layer = MOB_LAYER+99
Gender
name = ""
icon = 'BoyOrGirl.bmp'
Boy
icon = 'BoyChoice.png'
Click()
/* usr.Eyecolor()
usr.icon = 'player.dmi'
usr.icon_state = "MaleWhiteBase"
usr.layer = MOB_LAYER+45704357204503
*/
switch(alert("You want to be a boy?","Gender","Yes","No")in list("Yes","No"))
if("Yes")
var/obj/Background/Middle/M = new(usr.client.screen)
var/obj/Background/Bottom/B = new
var/obj/Background/Bottom_Left/BL = new
var/obj/Background/Bottom_Right/BR = new
var/obj/Background/Left/L = new
var/obj/Background/Right/R = new
var/obj/Background/Top/T = new
var/obj/Background/Top_Right/TR = new
var/obj/Background/Top_Left/TL = new
M.screen_loc = "1,1" to "20,16"
if("No")
return
Problem description:
The /obj/Background/Middle/M doesnt appear on screen
usr.client.screen += new /obj/Background/Middle/M
Dunno if it will work to tired but i hope it does :).