Skip to content

Commit

Permalink
Revert "Update tessera.lic"
Browse files Browse the repository at this point in the history
This reverts commit e932b0b.
  • Loading branch information
urbaj-dr committed Jun 25, 2024
1 parent 96073a0 commit 9f041d8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tessera.lic
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ class Tessera
@no_use_scripts = settings.tessera_no_use_scripts
@no_use_rooms = settings.tessera_no_use_rooms
@tessera = settings.tessera_noun
@tessera_mindstates = settings.tessera_mindstates

pause @startup_delay
passive_loop
Expand Down Expand Up @@ -68,7 +67,7 @@ class Tessera

# def to make sure when to use the tessera. The following conditions must NOT be true: hidden, invisible, cooldown active, hands full, not allowed scripts running and not standing in rooms that are not allowed.
def should_use_tessera?
!(hidden? || invisible? || tessera_on_cooldown? || hands_full? || running_no_use_scripts? || inside_no_use_room? || DRSkill.getxp('Trading') > @tessera_mindstates)
!(hidden? || invisible? || tessera_on_cooldown? || hands_full? || running_no_use_scripts? || inside_no_use_room?)
end

# def for checking if no_use_scripts (from yaml) are running. Used in should_use_tessera?.
Expand Down

0 comments on commit 9f041d8

Please sign in to comment.