dfhack/scripts/devel/unforbidall.rb

4 lines
77 B
Ruby

# unforbid all items
df.world.items.all.each { |i| i.flags.forbid = false }