aoe2-probe 0.3.2

A rust library for editing aoe2scenario files from AoE2 DE.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use crate::{parse::Token, utils::PatchedMap};

pub struct PlayerDiplomacy;

impl PlayerDiplomacy {
    pub fn template() -> Token {
        let mut root = PatchedMap::with_capacity(1);
        root.push_back("stance_with_each_player", vec![(3_u32).into(); 16]);

        root.into()
    }
}