generated from acm-ndsu/byte_le_engine
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "Merge remote-tracking branch 'origin/dev' into quinn"
- Loading branch information
Showing
13 changed files
with
96 additions
and
219 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,51 @@ | ||
from game.common.node import Node | ||
from game.common.enums import LocationType | ||
from game.common.stats import GameStats | ||
|
||
|
||
class Grass_Lands(Node): | ||
def __init__(self): | ||
super().__init__() | ||
self.location_type = LocationType.grass_lands | ||
self.reward_modifier = GameStats.location_reward_modifier[self.location_type] | ||
self.difficulty_modifier = GameStats.node_difficulty_modifier[self.location_type] | ||
|
||
|
||
class Nord_Dakotia(Node): | ||
def __init__(self): | ||
super().__init__() | ||
self.location_type = LocationType.nord_dakotia | ||
self.reward_modifier = GameStats.location_reward_modifier[self.location_type] | ||
self.difficulty_modifier = GameStats.location_difficulty_modifier[self.location_type] | ||
|
||
|
||
class Mobave_Desert(Node): | ||
def __init__(self): | ||
super().__init__() | ||
self.location_type = LocationType.mobave_desert | ||
self.reward_modifier = GameStats.location_reward_modifier[self.location_type] | ||
self.difficulty_modifier = GameStats.location_difficulty_modifier[self.location_type] | ||
|
||
|
||
class Mount_Vroom(Node): | ||
def __init__(self): | ||
super().__init__() | ||
self.location_type = LocationType.mount_vroom | ||
self.reward_modifier = GameStats.location_reward_modifier[self.location_type] | ||
self.difficulty_modifier = GameStats.location_difficulty_modifier[self.location_type] | ||
|
||
|
||
class Loblantis(Node): | ||
def __init__(self): | ||
super().__init__() | ||
self.location_type = LocationType.loblantis | ||
self.reward_modifier = GameStats.location_reward_modifier[self.location_type] | ||
self.difficulty_modifier = GameStats.location_difficulty_modifier[self.location_type] | ||
|
||
|
||
class Tropical_Cop_Land(Node): | ||
def __init__(self): | ||
super().__init__() | ||
self.location_type = LocationType.tropical_cop_land | ||
self.reward_modifier = GameStats.location_reward_modifier[self.location_type] | ||
self.difficulty_modifier = GameStats.location_difficulty_modifier[self.location_type] |
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 was deleted.
Oops, something went wrong.
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,21 +1,21 @@ | ||
from game.common.enums import Region | ||
from game.common.enums import LocationType | ||
|
||
|
||
class GameStats: | ||
region_reward_modifier = { | ||
Region.grass_lands: .5, | ||
Region.nord_dakotia: .6, | ||
Region.mobave_desert: .7, | ||
Region.mount_vroom: .8, | ||
Region.loblantis: .8, | ||
Region.tropical_cop_land: .9, | ||
location_reward_modifier = { | ||
LocationType.grass_lands: .5, | ||
LocationType.nord_dakotia: .6, | ||
LocationType.mobave_desert: .7, | ||
LocationType.mount_vroom: .8, | ||
LocationType.loblantis: .8, | ||
LocationType.tropical_cop_land: .9, | ||
} | ||
|
||
region_difficulty_modifier = { | ||
Region.grass_lands: .5, | ||
Region.nord_dakotia: .6, | ||
Region.mobave_desert: .7, | ||
Region.mount_vroom: .8, | ||
Region.loblantis: .8, | ||
Region.tropical_cop_land: .9, | ||
location_difficulty_modifier = { | ||
LocationType.grass_lands: .5, | ||
LocationType.nord_dakotia: .6, | ||
LocationType.mobave_desert: .7, | ||
LocationType.mount_vroom: .8, | ||
LocationType.loblantis: .8, | ||
LocationType.tropical_cop_land: .9, | ||
} |
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.