Award verified war medals and deliver distinct personal and native Level XP once
This commit is contained in:
parent
395f224c1c
commit
efc8d341ea
1 changed files with 83 additions and 17 deletions
|
|
@ -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;}
|
||||
|
|
|
|||
Loading…
Reference in a new issue

Staff