diff options
| author | Alexander Gavrilov | 2012-09-27 10:36:14 +0400 |
|---|---|---|
| committer | Alexander Gavrilov | 2012-09-27 10:36:14 +0400 |
| commit | 2e5f3c46201d8450a39b52117dbd4f1544771189 (patch) | |
| tree | 1215abb52b93463c894b459462bb30cf36be8c81 /plugins/ruby/map.rb | |
| parent | ac9e78a6130d896510f186cc8f8ed5046cac45be (diff) | |
| parent | 7cc29250f8622a317da464a2b7356a246082abc0 (diff) | |
| download | dfhack-2e5f3c46201d8450a39b52117dbd4f1544771189.tar.gz dfhack-2e5f3c46201d8450a39b52117dbd4f1544771189.tar.bz2 dfhack-2e5f3c46201d8450a39b52117dbd4f1544771189.tar.xz | |
Merge remote-tracking branch 'jjyg/master'
Diffstat (limited to 'plugins/ruby/map.rb')
| -rw-r--r-- | plugins/ruby/map.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/ruby/map.rb b/plugins/ruby/map.rb index 9629c3f9..37161470 100644 --- a/plugins/ruby/map.rb +++ b/plugins/ruby/map.rb @@ -198,7 +198,7 @@ module DFHack def dig(mode=:Default) if mode == :Smooth - if tilemat != :SOIL and caption !~ /smooth|pillar|fortification/i and # XXX caption.. + if (tilemat == :STONE or tilemat == :MINERAL) and caption !~ /smooth|pillar|fortification/i and # XXX caption.. designation.smooth == 0 and (designation.hidden or not df.world.job_list.find { |j| # the game removes 'smooth' designation as soon as it assigns a job, if we # re-set it the game may queue another :DetailWall that will carve a fortification |
