From 35d357776c72e191f8d793aca1a6a4fda02c6cf9 Mon Sep 17 00:00:00 2001 From: scamtank Date: Sun, 8 Feb 2015 23:41:22 +0200 Subject: [PATCH] Substitute removed jobtypes with working ones Replaced StoreItemInChest with StoreItemInHospital and StoreItemInCabinet with StoreOwnedItem. Seem to work on the basic level with waterskins and uniform cloaks. --- plugins/fix-armory.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/fix-armory.cpp b/plugins/fix-armory.cpp index e2c917f7e..8b062290b 100644 --- a/plugins/fix-armory.cpp +++ b/plugins/fix-armory.cpp @@ -509,11 +509,11 @@ static bool try_store_item(df::building *target, df::item *item) job->flags.bits.specific_dropoff = true; break; case building_type::Cabinet: - job->job_type = job_type::StoreItemInCabinet; + job->job_type = job_type::StoreOwnedItem; dest = true; break; default: - job->job_type = job_type::StoreItemInChest; + job->job_type = job_type::StoreItemInHospital; dest = true; break; }