mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
no_dura -> no_durability
This commit is contained in:
parent
713f5afdfa
commit
fbe32a9047
@ -50,7 +50,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
- Some sprites can be sat on.
|
- Some sprites can be sat on.
|
||||||
- Pet birds can now sit on the player's shoulder as they explore the world.
|
- Pet birds can now sit on the player's shoulder as they explore the world.
|
||||||
- Adlet caves
|
- Adlet caves
|
||||||
- Durability free areas (`/area_add <area_name> no_dura ...`)
|
- Durability free areas (`/area_add <area_name> no_durability ...`)
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|
||||||
|
@ -114,7 +114,7 @@ lazy_static! {
|
|||||||
|
|
||||||
souls
|
souls
|
||||||
};
|
};
|
||||||
static ref AREA_KINDS: Vec<String> = vec!["build".to_string(), "no_dura".to_string()];
|
static ref AREA_KINDS: Vec<String> = vec!["build".to_string(), "no_durability".to_string()];
|
||||||
static ref OBJECTS: Vec<String> = comp::object::ALL_OBJECTS
|
static ref OBJECTS: Vec<String> = comp::object::ALL_OBJECTS
|
||||||
.iter()
|
.iter()
|
||||||
.map(|o| o.to_string().to_string())
|
.map(|o| o.to_string().to_string())
|
||||||
|
@ -2009,7 +2009,7 @@ fn get_areas_mut<'l>(kind: &str, state: &'l mut State) -> CmdResult<&'l mut Area
|
|||||||
"build" => state
|
"build" => state
|
||||||
.mut_resource::<AreasContainer<BuildArea>>()
|
.mut_resource::<AreasContainer<BuildArea>>()
|
||||||
.deref_mut(),
|
.deref_mut(),
|
||||||
"no_dura" => state
|
"no_durability" => state
|
||||||
.mut_resource::<AreasContainer<NoDurabilityArea>>()
|
.mut_resource::<AreasContainer<NoDurabilityArea>>()
|
||||||
.deref_mut(),
|
.deref_mut(),
|
||||||
_ => Err(format!("Invalid area type '{kind}'"))?,
|
_ => Err(format!("Invalid area type '{kind}'"))?,
|
||||||
|
Loading…
Reference in New Issue
Block a user