You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

101 lines
3.6 KiB

package org.poopki.duckdns.user_db.GUI;
import org.poopki.duckdns.user_db.UserInfo;
import java.util.HashMap;
import java.util.Map;
import java.util.UUID;
public class TechStat {
private Map<String, Integer> m_TechStat = new HashMap<String, Integer>();
public void InitTechTree(){
m_TechStat.put("agriculture",0);
m_TechStat.put("pottery",0);
m_TechStat.put("animal_husbandry",0);
m_TechStat.put("archery",0);
m_TechStat.put("mining",0);
m_TechStat.put("sailing",0);
m_TechStat.put("calendar",0);
m_TechStat.put("writing",0);
m_TechStat.put("trapping",0);
m_TechStat.put("wheel",0);
m_TechStat.put("masonry",0);
m_TechStat.put("bronze",0);
m_TechStat.put("optics",0);
m_TechStat.put("horseback",0);
m_TechStat.put("mathematics",0);
m_TechStat.put("construction",0);
m_TechStat.put("philosophy",0);
m_TechStat.put("drama",0);
m_TechStat.put("currency",0);
m_TechStat.put("engineering",0);
m_TechStat.put("iron_working",0);
m_TechStat.put("theology",0);
m_TechStat.put("civil_service",0);
m_TechStat.put("guilds",0);
m_TechStat.put("metal_casting",0);
m_TechStat.put("compass",0);
m_TechStat.put("education",0);
m_TechStat.put("chivalry",0);
m_TechStat.put("machinery",0);
m_TechStat.put("physics",0);
m_TechStat.put("steel",0);
m_TechStat.put("astronomy",0);
m_TechStat.put("acoustics",0);
m_TechStat.put("banking",0);
m_TechStat.put("printing_press",0);
m_TechStat.put("gunpowder",0);
m_TechStat.put("navigation",0);
m_TechStat.put("architecture",0);
m_TechStat.put("economics",0);
m_TechStat.put("metallurgy",0);
m_TechStat.put("chemistry",0);
m_TechStat.put("archaeology",0);
m_TechStat.put("scientific_theory",0);
m_TechStat.put("industrialization",0);
m_TechStat.put("rifling",0);
m_TechStat.put("military_science",0);
m_TechStat.put("fertilizer",0);
m_TechStat.put("biology",0);
m_TechStat.put("electricity",0);
m_TechStat.put("steam_power",0);
m_TechStat.put("dynamite",0);
m_TechStat.put("refrigeration",0);
m_TechStat.put("radio",0);
m_TechStat.put("flight",0);
m_TechStat.put("railroad",0);
m_TechStat.put("plastics",0);
m_TechStat.put("electronics",0);
m_TechStat.put("ballistics",0);
m_TechStat.put("combustion",0);
m_TechStat.put("penicillin",0);
m_TechStat.put("atomic_theory",0);
m_TechStat.put("radar",0);
m_TechStat.put("combined_arms",0);
m_TechStat.put("ecology",0);
m_TechStat.put("nuclear_fission",0);
m_TechStat.put("rocketry",0);
m_TechStat.put("computers",0);
m_TechStat.put("telecommunications",0);
m_TechStat.put("mobile_tactics",0);
m_TechStat.put("advanced_ballistics",0);
m_TechStat.put("satellites",0);
m_TechStat.put("robotics",0);
m_TechStat.put("lasers",0);
m_TechStat.put("the_internet",0);
m_TechStat.put("globalization",0);
m_TechStat.put("particle_physics",0);
m_TechStat.put("nuclear_fusion",0);
m_TechStat.put("nanotechnology",0);
m_TechStat.put("stealth",0);
}
public void EnableTechTree(String TechName){
m_TechStat.replace(TechName,1);
}
public int GetTachTree(String TechName){
return m_TechStat.get(TechName);
}
}