1 // NAME : include_basic_global_variables
8 global LEVEL_G = getLevel();
9 global CORES_G = getCores();
11 global ME_G = getLeek();
15 function pushIfAbsentAndNotNull(@list_p, element_p){
18 debugE("Error : pushIfAbsentAndNotNull(" + list_p + ", " + element_p + ")");
21 if(element_p === null){
24 var isInList_l = false;
25 for(var listIt_l in list_p){
26 isInList_l != (listIt_l === element_p);
29 push(list_p, element_p);
35 function getItemName(item_p){
39 itemName_l = getWeaponName(item_p);
40 }else if(isChip(item_p)){
41 itemName_l = getChipName(item_p);
43 debugE("Error : getItemName(" + item_p + ") impossible");