mob
verb
setbgcolor(c as color)
set hidden = 1
bgcolor = c
winset(usr,"default","background-color=[bgcolor]")
mob
var
bgcolor = 0
saved_x
saved_y
saved_z
Write(savefile/F)
saved_x = x
saved_y = y
saved_z = z
..()
Read(savefile/F)
..()
Move(locate(saved_x,saved_y,saved_z))
Problem description:
Ive tried for a half hour to get the player chosen background color to save but I keep failing! Please give advice, and please dont link me to the dm guide XD.
As for the background color not being saved... it IS being saved. You just aren't loading it. You'll need to do a winset() upon reading the savefile, though you also want to do if(client) to ensure the mob being loaded is actually a player's mob.