diff options
| author | Robert Heinrich | 2012-04-15 23:21:36 +0200 |
|---|---|---|
| committer | Robert Heinrich | 2012-04-15 23:21:36 +0200 |
| commit | 4b3c8d46c1315683e6d80605c130c64d65fd26cc (patch) | |
| tree | 110b866a27fb612a91f497011416b79120001f79 /plugins/changeitem.cpp | |
| parent | 7aefae17d1b0173df99e4c788e58b5f347ebfd39 (diff) | |
| download | dfhack-4b3c8d46c1315683e6d80605c130c64d65fd26cc.tar.gz dfhack-4b3c8d46c1315683e6d80605c130c64d65fd26cc.tar.bz2 dfhack-4b3c8d46c1315683e6d80605c130c64d65fd26cc.tar.xz | |
zone: don't assign owned pets to a cage. the owner will release them, resulting into infinite hauling (df bug)
Diffstat (limited to 'plugins/changeitem.cpp')
| -rw-r--r-- | plugins/changeitem.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/changeitem.cpp b/plugins/changeitem.cpp index 5b02dc12..9c0a55ad 100644 --- a/plugins/changeitem.cpp +++ b/plugins/changeitem.cpp @@ -347,6 +347,9 @@ command_result changeitem_execute( // subtype and mode should match to avoid doing dumb stuff like changing boulders into meat whatever // changing a stone cabinet to wood is fine, though. as well as lots of other combinations. // still, it's better to make the user activate 'force' if he really wants to. + + // fixme: changing material of cloth items needs more work... + // <_Q> cloth items have a "CLOTH" improvement which tells you about the cloth that was used to make it if(force||(mat_old.subtype == mat_new.subtype && mat_old.mode==mat_new.mode)) { |
