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.
|
||||
- Pet birds can now sit on the player's shoulder as they explore the world.
|
||||
- Adlet caves
|
||||
- Durability free areas (`/area_add <area_name> no_dura ...`)
|
||||
- Durability free areas (`/area_add <area_name> no_durability ...`)
|
||||
|
||||
### Changed
|
||||
|
||||
|
@ -114,7 +114,7 @@ lazy_static! {
|
||||
|
||||
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
|
||||
.iter()
|
||||
.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
|
||||
.mut_resource::<AreasContainer<BuildArea>>()
|
||||
.deref_mut(),
|
||||
"no_dura" => state
|
||||
"no_durability" => state
|
||||
.mut_resource::<AreasContainer<NoDurabilityArea>>()
|
||||
.deref_mut(),
|
||||
_ => Err(format!("Invalid area type '{kind}'"))?,
|
||||
|
Loading…
Reference in New Issue
Block a user