Complete early roadmap foundation and calendar helpers
This commit is contained in:
@@ -23,7 +23,7 @@ def mapping_found(context, action, key_name):
|
||||
def main():
|
||||
action = load("/Game/Input/Actions/IA_Interact")
|
||||
context = load("/Game/Input/IMC_Default")
|
||||
character_bp = load("/Game/ThirdPerson/Blueprints/BP_ThirdPersonCharacter")
|
||||
character_bp = load("/Game/Agrarian/Blueprints/Characters/BP_AgrarianPlayerCharacter")
|
||||
character_cdo = unreal.get_default_object(character_bp.generated_class())
|
||||
|
||||
missing = []
|
||||
@@ -33,7 +33,7 @@ def main():
|
||||
|
||||
assigned_action = character_cdo.get_editor_property("InteractAction")
|
||||
if assigned_action != action:
|
||||
missing.append("BP_ThirdPersonCharacter InteractAction is not IA_Interact")
|
||||
missing.append("BP_AgrarianPlayerCharacter InteractAction is not IA_Interact")
|
||||
|
||||
if missing:
|
||||
raise RuntimeError("Interact input verification failed: " + "; ".join(missing))
|
||||
|
||||
Reference in New Issue
Block a user