Compose item completion with validated remainders and cooldowns

This commit is contained in:
Ludovic Marie
2026-10-07 09:25:56 +02:00
parent af42edd017
commit 0c85e0f5c2
12 changed files with 1128 additions and 3 deletions
@@ -188,3 +188,9 @@ impl<K: Eq, V: PartialEq> PartialEq for ComponentMap<K, V> {
map_equal(&self.prototype.0, &other.prototype.0) && map_equal(&self.patch.0, &other.patch.0)
}
}
impl<K: Eq, V: PartialEq> PartialEq for Patch<K, V> {
fn eq(&self, other: &Self) -> bool {
map_equal(&self.0, &other.0)
}
}