Skip to content

Large overhaul#29

Merged
qui3xote merged 52 commits into
masterfrom
dev
Feb 11, 2022
Merged

Large overhaul#29
qui3xote merged 52 commits into
masterfrom
dev

Conversation

@qui3xote
Copy link
Copy Markdown
Owner

No description provided.

Deleted old expressions file
Split interpreter into smaller parts. Pass pieces to OttoContext.
Input class now handles most of the var/entity parsing and evaluation so 
commands don't have to think about it.
"value" renamed to _value. Classes should never call .value except on 
themselves.
Slight rework of Command class to allow setting of static kwargs more 
easily.
ExampleInterpreter removed entirely
Also started linting parser_definitions for better readability.
Triggers now return a flat list of dictionaries.
qui3xote and others added 22 commits February 7, 2022 10:07
To avoid annoying pytest
Removed old 'fetch' argument.
Var attributes now correctly handle entities
Added a copy function to ottobase. Otto classes now store a copy of 
their parse results so they can 'recreate' themselves.
Also removed If/Then classes in favor of generic Conditions, 
CommandBlock. 
Some linting and cruft cleanup
Removed a few old lines of code & killed all Or's in favor of matchfirst
@qui3xote qui3xote merged commit c0a50e0 into master Feb 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant