Nicer gold functions

This commit is contained in:
Alex Kerr 2015-01-28 09:34:27 +00:00
parent 91eab12d6c
commit be8190c3a2
9 changed files with 9 additions and 9 deletions

View File

@ -5,7 +5,7 @@ use OSRIC::Util qw/d/;
# A sub to get the maximum amount of starting gold (for sorting) and one to get
# an actual amount of starting gold:
sub max_starting_gold { 120 }
sub get_gold { ((d(6) + d(6)) * 10) } # 2d6 * 10
sub get_gold { (d(6, 2) * 10) } # 2d6 * 10
# Minimum score requirements:
sub minimum_scores

View File

@ -5,7 +5,7 @@ use OSRIC::Util qw/d/;
# A sub to get the maximum amount of starting gold (for sorting) and one to get
# an actual amount of starting gold:
sub max_starting_gold { 180 }
sub get_gold { ((d(6) + d(6) + d(6)) * 10) } # 3d6 * 10
sub get_gold { (d(6, 3) * 10) } # 3d6 * 10
# Minimum score requirements:
sub minimum_scores

View File

@ -5,7 +5,7 @@ use OSRIC::Util qw/d/;
# A sub to get the maximum amount of starting gold (for sorting) and one to get
# an actual amount of starting gold:
sub max_starting_gold { 180 }
sub get_gold { ((d(6) + d(6) + d(6)) * 10) } # 3d6 * 10
sub get_gold { (d(6, 3) * 10) } # 3d6 * 10
# Minimum score requirements:
sub minimum_scores

View File

@ -5,7 +5,7 @@ use OSRIC::Util qw/d/;
# A sub to get the maximum amount of starting gold (for sorting) and one to get
# an actual amount of starting gold:
sub max_starting_gold { 200 }
sub get_gold { (((d(6) + d(6) + d(6)) + 2) * 10) } # (3d6 + 2) * 10
sub get_gold { ((d(6, 3) + 2) * 10) } # (3d6 + 2) * 10
# Minimum score requirements:
sub minimum_scores

View File

@ -5,7 +5,7 @@ use OSRIC::Util qw/d/;
# A sub to get the maximum amount of starting gold (for sorting) and one to get
# an actual amount of starting gold:
sub max_starting_gold { 80 }
sub get_gold { ((d(4) + d(4)) * 10) } # 2d4 * 10
sub get_gold { (d(4, 2) * 10) } # 2d4 * 10
# Minimum score requirements:
sub minimum_scores

View File

@ -5,7 +5,7 @@ use OSRIC::Util qw/d/;
# A sub to get the maximum amount of starting gold (for sorting) and one to get
# an actual amount of starting gold:
sub max_starting_gold { 80 }
sub get_gold { ((d(4) + d(4)) * 10) } # 2d4 * 10
sub get_gold { (d(4, 2) * 10) } # 2d4 * 10
# Minimum score requirements:
sub minimum_scores

View File

@ -5,7 +5,7 @@ use OSRIC::Util qw/d/;
# A sub to get the maximum amount of starting gold (for sorting) and one to get
# an actual amount of starting gold:
sub max_starting_gold { 200 }
sub get_gold { (((d(6) + d(6) + d(6)) + 2) * 10) } # (3d6 + 2) * 10
sub get_gold { ((d(6, 3) + 2) * 10) } # (3d6 + 2) * 10
# Minimum score requirements:
sub minimum_scores

View File

@ -5,7 +5,7 @@ use OSRIC::Util qw/d/;
# A sub to get the maximum amount of starting gold (for sorting) and one to get
# an actual amount of starting gold:
sub max_starting_gold { 200 }
sub get_gold { (((d(6) + d(6) + d(6)) + 2) * 10) } # (3d6 + 2) * 10
sub get_gold { ((d(6, 3) + 2) * 10) } # (3d6 + 2) * 10
# Minimum score requirements:
sub minimum_scores

View File

@ -5,7 +5,7 @@ use OSRIC::Util qw/d/;
# A sub to get the maximum amount of starting gold (for sorting) and one to get
# an actual amount of starting gold:
sub max_starting_gold { 120 }
sub get_gold { ((d(6) + d(6)) * 10) } # 2d6 * 10
sub get_gold { (d(6, 2) * 10) } # 2d6 * 10
# Minimum score requirements:
sub minimum_scores