Skip to content

Broken script: "ban-cooking tallow" gives error message, and does not function #1293

@AncalagonX

Description

@AncalagonX

I followed this post from @BenLubar , however it throws this error and does not function:

[DFHack]# ban-cooking tallow
E: NoMethodError: undefined method `&' for :Cook:Symbol
 hack/scripts/ban-cooking.rb:23:in `block in <top (required)>'
 hack/scripts/ban-cooking.rb:22:in `times'
 hack/scripts/ban-cooking.rb:22:in `<top (required)>'
 eval:2:in `load'
 eval:2:in `block in <main>'
 eval:2:in `catch'
 eval:2:in `<main>'
[DFHack]#

Thanks for handling this whenever there's time. Tallow management is pretty annoying for the first few years of fortress-running.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions