This commit is contained in:
ntr
2019-07-20 18:04:08 +10:00
parent 3f1367172d
commit 145f8e6a35
12 changed files with 151 additions and 78 deletions
+1 -1
View File
@@ -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
View File
@@ -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",