added iron gods "always allowed" races, for sharing with playgroup
parent
39983f5c56
commit
50389f3808
|
@ -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'});
|
||||
|
|
Loading…
Reference in New Issue