From d242824904b75184022d5d4d8ef693a4ef54b998 Mon Sep 17 00:00:00 2001 From: HeNine <> Date: Sat, 27 May 2023 19:04:35 +0200 Subject: [PATCH] rename --- Cargo.toml | 2 +- examples/arena.rs | 2 +- examples/bob_v_drub.rs | 2 +- examples/bob_v_glob.rs | 2 +- examples/char_print_test.rs | 2 +- examples/random_char.rs | 11 +---------- 6 files changed, 6 insertions(+), 15 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 6b8ada1..28110ab 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = 'simrust' +name = 'kartsimrust' version = '0.1.0' edition = '2021' diff --git a/examples/arena.rs b/examples/arena.rs index b6d233c..84013a6 100644 --- a/examples/arena.rs +++ b/examples/arena.rs @@ -5,7 +5,7 @@ use std::{ use rand::{seq::SliceRandom, thread_rng}; // use rayon::prelude::*; -use simrust::{ +use kartsimrust::{ character::Character, combat::{make_them_fight, EncounterType}, random_character::random_character, diff --git a/examples/bob_v_drub.rs b/examples/bob_v_drub.rs index ec9710f..f88119e 100644 --- a/examples/bob_v_drub.rs +++ b/examples/bob_v_drub.rs @@ -1,4 +1,4 @@ -use simrust::{ +use kartsimrust::{ character::create_character, class::Class, combat::EncounterType, diff --git a/examples/bob_v_glob.rs b/examples/bob_v_glob.rs index cd78c3e..f718391 100644 --- a/examples/bob_v_glob.rs +++ b/examples/bob_v_glob.rs @@ -1,4 +1,4 @@ -use simrust::{ +use kartsimrust::{ character::create_character, class::Class, combat::EncounterType, diff --git a/examples/char_print_test.rs b/examples/char_print_test.rs index e3acf50..eff67de 100644 --- a/examples/char_print_test.rs +++ b/examples/char_print_test.rs @@ -1,4 +1,4 @@ -use simrust::{ +use kartsimrust::{ character::create_character, class::Class, equipment::{Armor, WeaponType}, diff --git a/examples/random_char.rs b/examples/random_char.rs index 08276d9..1c0636c 100644 --- a/examples/random_char.rs +++ b/examples/random_char.rs @@ -1,15 +1,6 @@ -use simrust::{random_character::{random_character}, combat::EncounterType}; +use kartsimrust::{combat::EncounterType, random_character::random_character}; fn main() { - // for _i in 0..10 { - // let sb = random_stat_adjust(); - // println!("{:?}", sb); - // println!( - // "{:?}", - // Vec::from(sb).iter().map(|x| { x.abs() }).sum::() / 2 - // ); - // } - for _i in 0..3 { let mut c = random_character(); c.init_dice_pool(EncounterType::Physical);