wip"
This commit is contained in:
@@ -277,7 +277,7 @@ impl Construct {
|
||||
}
|
||||
|
||||
pub fn spec_add(&mut self, spec: Spec) -> Result<&mut Construct, Error> {
|
||||
if self.specs.len() >= 6 {
|
||||
if self.specs.len() >= 3 {
|
||||
return Err(err_msg("maximum specs equipped"));
|
||||
}
|
||||
|
||||
|
||||
+8
-3
@@ -1,7 +1,8 @@
|
||||
use rand::prelude::*;
|
||||
use rand::{thread_rng};
|
||||
|
||||
const FIRSTS: [&'static str; 25] = [
|
||||
const FIRSTS: [&'static str; 28] = [
|
||||
"artificial",
|
||||
"borean",
|
||||
"brewing",
|
||||
"bristling",
|
||||
@@ -15,6 +16,7 @@ const FIRSTS: [&'static str; 25] = [
|
||||
"leafy",
|
||||
"lurking",
|
||||
"metallic",
|
||||
"mossy",
|
||||
"mighty",
|
||||
"nocturnal",
|
||||
"nutritious",
|
||||
@@ -25,11 +27,12 @@ const FIRSTS: [&'static str; 25] = [
|
||||
"recalcitrant",
|
||||
"rogue",
|
||||
"subterranean",
|
||||
"synthetic",
|
||||
"sweet",
|
||||
"weary",
|
||||
];
|
||||
|
||||
const LASTS: [&'static str; 34] = [
|
||||
const LASTS: [&'static str; 36] = [
|
||||
"artifact",
|
||||
"assembly",
|
||||
"console",
|
||||
@@ -43,7 +46,6 @@ const LASTS: [&'static str; 34] = [
|
||||
"function",
|
||||
"information",
|
||||
"insulator",
|
||||
"kaffe",
|
||||
"layout",
|
||||
"lens",
|
||||
"mechanism",
|
||||
@@ -60,6 +62,9 @@ const LASTS: [&'static str; 34] = [
|
||||
"signal",
|
||||
"tower",
|
||||
"transmitter",
|
||||
"scaffold",
|
||||
"pattern",
|
||||
"receiver",
|
||||
"traveller",
|
||||
"warning",
|
||||
"wildlife",
|
||||
|
||||
Reference in New Issue
Block a user