Bitte kucken, kA wie ich das nennen soll

  • Zitat

    function show_info( planet_id, planet_name, building_name, building_time, shipyard_name, shipyard_time, defense_name, defense_time, people, res_metal, res_crystal, res_plastic, res_fuel, res_food, use_power, prod_power, store_metal, store_crystal, store_plastic, store_fuel, store_food, people_place) { //Planetinfo Anzeigen document.getElementById("planet_info_name").firstChild.nodeValue=planet_name; document.getElementById("planet_info_building_name").firstChild.nodeValue=building_name; document.getElementById("planet_info_building_time").firstChild.nodeValue=building_time; document.getElementById("planet_info_shipyard_name").firstChild.nodeValue=shipyard_name; document.getElementById("planet_info_shipyard_time").firstChild.nodeValue=shipyard_time; document.getElementById("planet_info_defense_name").firstChild.nodeValue=defense_name; document.getElementById("planet_info_defense_time").firstChild.nodeValue=defense_time; //Alle Beschriftungen anzeigen document.getElementById("planet_info_text_building").innerHTML ='Bauhof:'; document.getElementById("planet_info_text_shipyard").innerHTML ='Schiffswerft:'; document.getElementById("planet_info_text_defense").innerHTML ='Waffenfabrik:'; document.getElementById("planet_info_text_res").firstChild.nodeValue='Ressourcen'; document.getElementById("planet_info_text_res_metal").firstChild.nodeValue='Titan:'; document.getElementById("planet_info_text_res_crystal").firstChild.nodeValue='Silizium:'; document.getElementById("planet_info_text_res_plastic").firstChild.nodeValue='PVC:'; document.getElementById("planet_info_text_res_fuel").firstChild.nodeValue='Tritium:'; document.getElementById("planet_info_text_res_food").firstChild.nodeValue='Nahrung:'; document.getElementById("planet_info_text_people").firstChild.nodeValue='Bewohner:'; document.getElementById("planet_info_text_power").firstChild.nodeValue='Energie:'; var check_metal = store_metal-res_metal; var check_crystal = store_crystal-res_crystal; var check_plastic = store_plastic-res_plastic; var check_fuel = store_fuel-res_fuel; var check_food = store_food-res_food; var check_people = people_place-people; var rest_power = prod_power-use_pow

    Was ist das?

Jetzt mitmachen!

Du hast noch kein Benutzerkonto auf unserer Seite? Registriere dich kostenlos und nimm an unserer Community teil!