ID:262119
 
mob/verb
save//problem here according to Dream Maker.
SaveMob()

mob/proc/base_ChooseCharacter()
SaveMob()

var/mob/BaseCamp/ChoosingCharacter/chooser

var/list/names = base_CharacterNames()
if (!length(names))
var/result = base_FirstTimePlayer()
if (!result)
del(src)
return

chooser = new()
mob = chooser
return

if (base_num_characters_allowed == 1)
base_LoadMob(names[1])
return

chooser = new()
mob = chooser
return

What is the problem?

o.o
Make it "save()"
Dragon warrior2662 wrote:
> mob/verb
> save//problem here according to Dream Maker.
> SaveMob()
>
> mob/proc/base_ChooseCharacter()
> SaveMob()
>
> var/mob/BaseCamp/ChoosingCharacter/chooser
>
> var/list/names = base_CharacterNames()
> if (!length(names))
> var/result = base_FirstTimePlayer()
> if (!result)
> del(src)
> return
>
> chooser = new()
> mob = chooser
> return
>
> if (base_num_characters_allowed == 1)
> base_LoadMob(names[1])
> return
>
> chooser = new()
> mob = chooser
> return
>

What is the problem?


where you have save is the problem. is save the name of the verb, or is it SaveMob()? it is as if you are defining a verb called save, then in the save verb the first thing done is to call SaveMob().
mob
verb
save()
SaveMob()

mob
proc
//base_ChooseCharacter()

SaveMob()
var/mob/BaseCamp/ChoosingCharacter/chooser
var/list/names = base_CharacterNames()
if (!length(names))
var/result = base_FirstTimePlayer()
if (!result)
del(src)
return
chooser = new()
mob = chooser
return
if (base_num_characters_allowed == 1)
base_LoadMob(names[1])
return
chooser = new()
mob = chooser
return

like what is said in one of the other posts
base_ChooseCharacter()
SaveMob()
are both on the same line so it makes 2 procs and the first one base_ChooseCharacter() is left to do beep all
all you got to do is highlight it all 'from SaveMob()
to mob = chooser'return to and press TAB once.

or you could use the sorted version which i find easyer
to edit and work with

also the way you set the verb up was with out its ()