Logic mistake #97
|
|
@ -80,7 +80,7 @@ pub fn generate_monsters_tex(
|
|||
write!(player_out, "{}", templates.render("rewards_row", reward)?)?;
|
||||
}
|
||||
write!(player_out, "{}", &config.monster.rewards_end)?;
|
||||
if args.master {
|
||||
if args.master || args.all {
|
||||
write!(master_out, "{}", &config.monster.body_parts_intro)?;
|
||||
for part in creature.body_parts.body_parts.iter() {
|
||||
write!(master_out, "{}", templates.render("body_parts_row", part)?)?;
|
||||
|
|
@ -126,12 +126,12 @@ pub fn generate_monsters_tex(
|
|||
}
|
||||
|
||||
if args.player || args.all {
|
||||
println!("Generating player bestiaire");
|
||||
println!("Generating Player Bestiaire");
|
||||
let mut f = File::create(format!("./{}/player_bestiaire.tex", args.destination))?;
|
||||
write!(f, "{}", player_out)?;
|
||||
}
|
||||
if args.master || args.all {
|
||||
println!("Generating master bestiaire");
|
||||
println!("Generating Master Bestiaire");
|
||||
let mut f = File::create(format!("./{}/master_bestiaire.tex", args.destination))?;
|
||||
write!(f, "{}", player_out)?;
|
||||
write!(f, "{}", master_out)?;
|
||||
|
|
|
|||
|
|
@ -297,7 +297,27 @@ Plan de combat & Graphique d'intentions \\
|
|||
\vfill
|
||||
'''
|
||||
color_table='''
|
||||
THB: ravred
|
||||
TBD:
|
||||
THB: ravred
|
||||
ATK: ravred
|
||||
MVT: ravblu
|
||||
DEF: ravgre
|
||||
REV: ravyel
|
||||
TRA: ravora
|
||||
STA: ravwhi
|
||||
CMB: ravred
|
||||
ASE: ravred
|
||||
TBU: ravred
|
||||
TBZ: ravred
|
||||
CLV: ravred
|
||||
AOE: ravred
|
||||
WID: ravred
|
||||
WIP: ravred
|
||||
SZO: ravwhi
|
||||
SIT: ravwhi
|
||||
HRG: ravpur
|
||||
SRG: ravpur
|
||||
CLM: ravyel
|
||||
GRB: ravred
|
||||
TSH: ravred
|
||||
'''
|
||||
default_color=''
|
||||
|
|
|
|||
Loading…
Reference in New Issue