Add support for grates and bars to Ruby.

See also: DFHack@248331a1967d2527a13bcf259f35bffe4dec86b8, DFHack#808
develop
Ben Lubar 2016-01-31 15:19:58 -06:00
parent 881fd6bd8d
commit afa1199f98
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