Complete early roadmap foundation and calendar helpers
This commit is contained in:
@@ -9,7 +9,7 @@ def load(path):
|
||||
|
||||
|
||||
def main():
|
||||
game_mode_bp = load("/Game/ThirdPerson/Blueprints/BP_ThirdPersonGameMode")
|
||||
game_mode_bp = load("/Game/Agrarian/Blueprints/Characters/BP_AgrarianGameMode")
|
||||
game_mode_cdo = unreal.get_default_object(game_mode_bp.generated_class())
|
||||
expected_hud_class = unreal.load_class(None, "/Script/AgrarianGame.AgrarianDebugHUD")
|
||||
character_class = unreal.load_class(None, "/Script/AgrarianGame.AgrarianGameCharacter")
|
||||
@@ -20,7 +20,7 @@ def main():
|
||||
if not expected_hud_class:
|
||||
missing.append("could not load AgrarianDebugHUD class")
|
||||
elif game_mode_cdo.get_editor_property("hud_class") != expected_hud_class:
|
||||
missing.append("BP_ThirdPersonGameMode HUD class is not AgrarianDebugHUD")
|
||||
missing.append("BP_AgrarianGameMode HUD class is not AgrarianDebugHUD")
|
||||
elif hud_cdo:
|
||||
if not bool(hud_cdo.get_editor_property("bShowInteractionPrompt")):
|
||||
missing.append("AgrarianDebugHUD bShowInteractionPrompt is disabled")
|
||||
|
||||
Reference in New Issue
Block a user