Nicer gold functions
This commit is contained in:
parent
91eab12d6c
commit
be8190c3a2
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user