- Thread Author
- #1
Hi, im new to bot writing but not knew to programming in general. I am trying to write a simple TreeBot but fleshing it out first on Draw.io to visual the branches and leafs. However i want to check if the inventory is full then later on down 2 more branches check if it is full again, since it will become full during one of the leafs actions. Would it be best practice to rearrange the logic to only include 1 inventory check only, or would having the same logic in a different class name be fine, or better yet a way to differentiate which check its looking for within the same class.
I feel like im being dumb with this one, but can't work it out for the sake of me.
I feel like im being dumb with this one, but can't work it out for the sake of me.