mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Rename Teleport to Boost
This commit is contained in:
parent
075827698f
commit
512d2d9a8e
@ -78,7 +78,7 @@ pub enum ConsumptionEffect {
|
||||
|
||||
#[derive(Copy, Clone, Debug, PartialEq, Eq, Hash, Serialize, Deserialize)]
|
||||
pub enum Debug {
|
||||
Teleport,
|
||||
Boost,
|
||||
}
|
||||
|
||||
#[derive(Clone, Debug, PartialEq, Eq, Hash, Serialize, Deserialize)]
|
||||
|
@ -72,7 +72,7 @@ impl Default for Inventory {
|
||||
slots: vec![None; 24],
|
||||
};
|
||||
|
||||
inventory.push(Item::Debug(Debug::Teleport));
|
||||
inventory.push(Item::Debug(Debug::Boost));
|
||||
inventory.push(Item::Tool {
|
||||
kind: Tool::Daggers,
|
||||
power: 10,
|
||||
|
@ -137,7 +137,7 @@ impl<'a> System<'a> for Sys {
|
||||
character.action = Idle;
|
||||
}
|
||||
}
|
||||
Some(Item::Debug(item::Debug::Teleport)) => {
|
||||
Some(Item::Debug(item::Debug::Boost)) => {
|
||||
if controller.main {
|
||||
local_emitter.emit(LocalEvent::Boost {
|
||||
entity,
|
||||
|
Loading…
Reference in New Issue
Block a user