mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Remove unused imports
This commit is contained in:
parent
fefe745508
commit
cbe4d9d807
@ -1,12 +1,9 @@
|
||||
use serde::{Deserialize, Serialize};
|
||||
use std::{cmp::Ordering, convert::TryFrom};
|
||||
|
||||
use crate::comp::{
|
||||
inventory::{
|
||||
item::{armor, armor::ArmorKind, tool, ItemKind},
|
||||
loadout::LoadoutSlotId,
|
||||
},
|
||||
item,
|
||||
use crate::comp::inventory::{
|
||||
item::{armor, armor::ArmorKind, tool, ItemKind},
|
||||
loadout::LoadoutSlotId,
|
||||
};
|
||||
|
||||
#[derive(Debug, PartialEq)]
|
||||
|
@ -1,6 +1,6 @@
|
||||
use crate::{
|
||||
combat::{
|
||||
self, Attack, AttackDamage, AttackEffect, CombatBuff, CombatBuffStrength, CombatEffect,
|
||||
Attack, AttackDamage, AttackEffect, CombatBuff, CombatBuffStrength, CombatEffect,
|
||||
CombatRequirement, Damage, DamageKind, DamageSource, GroupTarget, Knockback, KnockbackDir,
|
||||
},
|
||||
comp::{
|
||||
|
@ -7,7 +7,6 @@ use crate::{
|
||||
},
|
||||
lottery::LootSpec,
|
||||
npc::{self, NPC_NAMES},
|
||||
trade,
|
||||
trade::SiteInformation,
|
||||
};
|
||||
use serde::Deserialize;
|
||||
|
@ -2,7 +2,7 @@ use crate::{client::Client, Server};
|
||||
use common::{
|
||||
comp::{
|
||||
self,
|
||||
group::{self, ChangeNotification, Group, GroupManager},
|
||||
group::{ChangeNotification, Group, GroupManager},
|
||||
invite::{InviteKind, PendingInvites},
|
||||
ChatType, GroupManip,
|
||||
},
|
||||
|
@ -12,7 +12,7 @@ use common::{
|
||||
use common_ecs::{Job, Origin, Phase, System};
|
||||
use common_net::msg::{
|
||||
CharacterInfo, ClientRegister, DisconnectReason, PlayerInfo, PlayerListUpdate, RegisterError,
|
||||
ServerGeneral, ServerRegisterAnswer,
|
||||
ServerGeneral,
|
||||
};
|
||||
use hashbrown::HashMap;
|
||||
use plugin_api::Health;
|
||||
|
@ -1,7 +1,7 @@
|
||||
/// this contains global housekeeping info during simulation
|
||||
use crate::{
|
||||
site::{
|
||||
economy::{self, Economy, DAYS_PER_MONTH, DAYS_PER_YEAR, INTER_SITE_TRADE},
|
||||
economy::{Economy, DAYS_PER_MONTH, DAYS_PER_YEAR, INTER_SITE_TRADE},
|
||||
SiteKind,
|
||||
},
|
||||
Index,
|
||||
|
@ -22,7 +22,6 @@ pub use map_types::Labor;
|
||||
use map_types::{GoodIndex, GoodMap, LaborIndex, LaborMap, NaturalResources};
|
||||
mod context;
|
||||
pub use context::simulate_economy;
|
||||
use context::Environment;
|
||||
|
||||
const INTER_SITE_TRADE: bool = true;
|
||||
const DAYS_PER_MONTH: f32 = 30.0;
|
||||
|
@ -27,7 +27,7 @@ use common::{
|
||||
spiral::Spiral2d,
|
||||
store::{Id, Store},
|
||||
terrain::{Block, BlockKind, SpriteKind, TerrainChunkSize},
|
||||
trade::{self, Good, SiteInformation},
|
||||
trade::{Good, SiteInformation},
|
||||
vol::{BaseVol, ReadVol, RectSizedVol, RectVolSize, WriteVol},
|
||||
};
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
use super::*;
|
||||
use crate::{
|
||||
site::namegen::NameGen,
|
||||
site2::{self, aabr_with_z, Fill, Primitive, Structure as SiteStructure},
|
||||
site2::{aabr_with_z, Fill, Primitive, Structure as SiteStructure},
|
||||
util::{attempt, Grid, RandomField, Sampler, CARDINALS, DIRS},
|
||||
Land,
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user