|
|
@ -9,7 +9,6 @@ use crate::ship::items::state::{ItemState, ItemStateProxy, ItemStateError, Indiv |
|
|
|
use crate::ship::items::itemstateaction::{ItemStateAction, ItemAction};
|
|
|
|
use crate::ship::items::inventory::InventoryItem;
|
|
|
|
use crate::ship::items::floor::FloorItem;
|
|
|
|
use crate::ship::items::apply_item::ApplyItemAction;
|
|
|
|
use crate::entity::item::ItemModifier;
|
|
|
|
use crate::ship::shops::ShopItem;
|
|
|
|
use crate::ship::trade::TradeItem;
|
|
|
@ -283,7 +282,7 @@ where |
|
|
|
let item_state_proxy = ItemStateProxy::new(item_state.clone());
|
|
|
|
let ((item_state_proxy, transaction), (pkts, new_character)) = ItemStateAction::default()
|
|
|
|
.act(actions::take_item_from_inventory(character.id, *item_id, amount))
|
|
|
|
.act(actions::use_consumed_item(&character))
|
|
|
|
.act(actions::use_consumed_item(character))
|
|
|
|
.act(actions::fork(
|
|
|
|
actions::foreach(actions::apply_item_action_packets(character.id, area_client)),
|
|
|
|
actions::apply_item_action_character(character)
|
|
|
|