Award verified war medals and deliver distinct personal and native Level XP once

This commit is contained in:
Dev 2026-11-25 19:12:58 +01:00
commit efc8d341ea

View file

@ -8,7 +8,7 @@ function dune_recognition_catalog(){
return$catalog;
}
function dune_recognition_labels(){
$labels=[];$c=dune_recognition_catalog();foreach(array_merge($c['manual'],$c['forum'],$c['quest']??[])as$a)$labels[$a['key']]=$a['label'];return$labels;
$labels=[];$c=dune_recognition_catalog();foreach(array_merge($c['manual'],$c['forum'],$c['quest']??[],$c['war']??[])as$a)$labels[$a['key']]=$a['label'];return$labels;
}
function dune_recognition_keys(){return array_keys(dune_recognition_labels());}
function dune_signature_staff_ranks($ranks){foreach($ranks as$rank)if(str_starts_with($rank,'web_')||str_starts_with($rank,'game_')||in_array($rank,['staff','corestaff','owners','official_account'],true))return true;return false;}