Skip to content

Commit

Permalink
[scripts][safe-room] Add 'bush' to plant types
Browse files Browse the repository at this point in the history
  • Loading branch information
MahtraDR committed Nov 16, 2023
1 parent adcce18 commit b661afc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions safe-room.lic
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ class SafeRoom

DRC.release_invisibility

if /.*vela.tohr (\w+)/ =~ DRRoom.room_objs.grep(/vela'tohr (plant|thicket)/).to_s
if /.*vela.tohr (\w+)/ =~ DRRoom.room_objs.grep(/vela'tohr (plant|thicket|bush)/).to_s
fput("touch #{Regexp.last_match(1)}")
end

Expand Down Expand Up @@ -265,10 +265,10 @@ class SafeRoom
return false unless empath

DRCT.walk_to room_id
return false unless DRRoom.pcs.include?(empath) || DRRoom.room_objs.grep(/vela'tohr (plant|thicket)/)
return false unless DRRoom.pcs.include?(empath) || DRRoom.room_objs.grep(/vela'tohr (plant|thicket|bush)/)

unless DRRoom.pcs.include?(empath)
if /.*vela.tohr (\w+)/ =~ DRRoom.room_objs.grep(/vela'tohr (plant|thicket)/).to_s
if /.*vela.tohr (\w+)/ =~ DRRoom.room_objs.grep(/vela'tohr (plant|thicket|bush)/).to_s
fput("touch #{Regexp.last_match(1)}")
end
end
Expand Down

0 comments on commit b661afc

Please sign in to comment.