Added name entry

This commit is contained in:
Alex Kerr 2015-02-25 01:47:12 +00:00
parent 0580332d14
commit 3dfce1e7f6

View File

@ -276,6 +276,13 @@ sub set_alignment
$self->{personal}->{alignment} = shift;
}
# Sets the character's name to the passed string:
sub set_name
{
my $self = shift;
$self->{personal}->{name} = shift;
}
# Encodes the character to JSON:
sub as_json
{