Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add helper methods for creating action logs #475

Closed
iamlogand opened this issue May 13, 2024 · 0 comments
Closed

Add helper methods for creating action logs #475

iamlogand opened this issue May 13, 2024 · 0 comments
Labels
refactoring Restructure the code without changing functionality

Comments

@iamlogand
Copy link
Owner

iamlogand commented May 13, 2024

It should be possible to create an action log with only create_action_log("personal_revenue", None, None), where the arguments are:

  1. Type
  2. Faction
  3. Data

This function can assume that the index of the action log is the index of the last action log + 1, and the step is the latest step.

There should also be a higher-level version called create_action_log_and_message, similar to the existing helper called create_step_and_message.

@iamlogand iamlogand added the refactoring Restructure the code without changing functionality label May 13, 2024
@iamlogand iamlogand changed the title Create a helper method for creating an action log Add helper methods for creating action logs Jul 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactoring Restructure the code without changing functionality
Projects
None yet
Development

No branches or pull requests

1 participant