added iron gods "always allowed" races, for sharing with playgroup

master
Rachel Fae Fox (foxiepaws) 2021-10-19 15:52:14 -04:00
parent 39983f5c56
commit 50389f3808
1 changed files with 20 additions and 0 deletions

View File

@ -54,6 +54,16 @@ my %pf_races = (
Android => .25,
);
# allowed Races for my iron gods game
my %ig_allowed = (
Ratfolk => .5,
Aasimar => .25,
Tiefling => .25,
Orc => .25,
Changling => .25,
Androids => .1,
);
my %dd_races = (
Dragonborn => 1,
Tiefling => 1,
@ -216,6 +226,16 @@ sub pathfinder :Local {
$c->stash({title => "random pathfinder character concept generator", game => "pathfinder", sources => $pfstatement, chars => \@characters, template => 'char.tt'});
}
sub irongods :Local {
my ( $self, $c ) = @_;
my %races = (%core_races, %ig_allowed);
my %classes = (%core_classes, %base_classes, %hybrid_classes);
my @characters = randomlist(10, \%races, \%classes);
$c->stash({title => "random pathfinder character concept generator", game => "pathfinder", sources => $pfstatement, chars => \@characters, template => 'char.tt'});
}
sub index :Path :Arg(0) {
my ( $self, $c ) = @_;
$c->stash({title => "random character concept generators", template => 'index.tt'});