-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
52 changed files
with
886 additions
and
780 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,18 @@ | ||
const SCALING_FACTOR: u128 = 10_000; | ||
|
||
const TRAVEL_RISK: u8 = 100; // 30% chance of mugged | ||
const RUN_CHANCE: u8 = 30; // 30% chance of successfully getting away | ||
const TRAVEL_RISK: u8 = 30; // 30% chance of mugged | ||
const RUN_CHANCE: u8 = 50; // 50% chance of successfully getting away | ||
|
||
const RUN_PENALTY: u8 = 30; // 30% of cash lost | ||
const PAY_PENALTY: u8 = 10; // 10% of cash lost | ||
const BASE_PAYMENT: u128 = 400_0000; // base payment is $400 | ||
|
||
// max drug price is $300 | ||
// min drug price is $2 | ||
const MAX_QUANTITY: usize = 50_000; | ||
const MIN_QUANITTY: usize = 20_000; | ||
const MAX_CASH: u128 = 60_000_000_000; // $6Mil | ||
const MIN_CASH: u128 = 1_000_000_000; // $100k | ||
// max drug price is $300 = MAX_CASH / MIN_QUANTITY | ||
// min drug price is $50 = MIN_CASH / MAX_QUANTITY | ||
const MAX_QUANTITY: usize = 500; | ||
const MIN_QUANITTY: usize = 200; | ||
const MAX_CASH: u128 = 100_000_0000; // $100k | ||
const MIN_CASH: u128 = 25_000_0000; // $25k | ||
|
||
// cash players start with | ||
const STARTING_CASH: u128 = 20_000_000; // $2000 | ||
// starting stats | ||
const STARTING_CASH: u128 = 2000_0000; // $2000 | ||
const STARTING_BAG_LIMIT: usize = 100; // inventory size | ||
const STARTING_HEALTH: u8 = 100; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.