From b661afc70b0e06304339d81b9368bff3540a66c9 Mon Sep 17 00:00:00 2001 From: Mahtra Date: Fri, 17 Nov 2023 11:22:11 +1300 Subject: [PATCH] [scripts][safe-room] Add 'bush' to plant types --- safe-room.lic | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/safe-room.lic b/safe-room.lic index 71dc0edaa7..36537cb3b3 100644 --- a/safe-room.lic +++ b/safe-room.lic @@ -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 @@ -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