Merge pull request #809 from BenLubar/benlubar-floodgate-alloc-2

Add support for grates and bars to Ruby.
develop
Lethosor 2016-01-31 16:26:56 -05:00
commit 91f85831a7
1 changed files with 4 additions and 0 deletions

@ -62,6 +62,10 @@ module DFHack
when :Coffin; bld.initBurialFlags
when :Trap; bld.ready_timeout = 500 if bld.trap_type == :PressurePlate
when :Floodgate; bld.gate_flags.closed = true
when :GrateWall; bld.gate_flags.closed = true
when :GrateFloor; bld.gate_flags.closed = true
when :BarsVertical; bld.gate_flags.closed = true
when :BarsFloor; bld.gate_flags.closed = true
end
bld
end