Skip to content

Commit

Permalink
Development
Browse files Browse the repository at this point in the history
  • Loading branch information
Anykan committed Jul 27, 2016
1 parent a93c701 commit c5c2328
Show file tree
Hide file tree
Showing 103 changed files with 384 additions and 77 deletions.
61 changes: 46 additions & 15 deletions ark.class.php
Expand Up @@ -65,8 +65,12 @@ public function profilefields(){
$this->load_type('equip_leg', array($this->lang));
$this->load_type('equip_feet', array($this->lang));
$this->load_type('equip_hand', array($this->lang));
$this->load_type('equip_offhand', array($this->lang));
$this->load_type('resources', array($this->lang));
$this->load_type('engram_thatch', array($this->lang));
$this->load_type('engram_wood', array($this->lang));
$this->load_type('engram_stone', array($this->lang));
$this->load_type('dossiers', array($this->lang));
$fields = array(
//Profilfelden reiter charakter
'level' => array(
Expand All @@ -78,6 +82,16 @@ public function profilefields(){
'undeletable' => true,
'sort' => 1,
),
//Dinos
'dino' => array(
'type' => 'multiselect',
'category' => 'character',
'lang' => 'uc_dossier',
'undeletable' => true,
'visible' => true,
'options' => $this->dossiers[$this->lang],
'sort' => 2,
),
//Profilfelden reiter Stats
'life' => array(
'type' => 'spinner',
Expand Down Expand Up @@ -178,9 +192,9 @@ public function profilefields(){
'undeletable' => true,
'sort' => 11,
),
// Equipment
//Profilfelden reiter Equipment
'head' => array(
'type' => 'multiselect',
'type' => 'dropdown',
'category' => 'equip',
'lang' => 'uc_equip_head',
'undeletable' => true,
Expand All @@ -189,7 +203,7 @@ public function profilefields(){
'sort' => 1,
),
'body' => array(
'type' => 'multiselect',
'type' => 'dropdown',
'category' => 'equip',
'lang' => 'uc_equip_body',
'undeletable' => true,
Expand All @@ -198,7 +212,7 @@ public function profilefields(){
'sort' => 2,
),
'legs' => array(
'type' => 'multiselect',
'type' => 'dropdown',
'category' => 'equip',
'lang' => 'uc_equip_leg',
'undeletable' => true,
Expand All @@ -207,7 +221,7 @@ public function profilefields(){
'sort' => 3,
),
'feet' => array(
'type' => 'multiselect',
'type' => 'dropdown',
'category' => 'equip',
'lang' => 'uc_equip_feet',
'undeletable' => true,
Expand All @@ -216,43 +230,60 @@ public function profilefields(){
'sort' => 4,
),
'hand' => array(
'type' => 'multiselect',
'type' => 'dropdown',
'category' => 'equip',
'lang' => 'uc_equip_hand',
'undeletable' => true,
'visible' => true,
'options' => $this->equip_hand[$this->lang],
'sort' => 5,
),
// Engrams
'offhand' => array(
'type' => 'dropdown',
'category' => 'equip',
'lang' => 'uc_equip_offhand',
'undeletable' => true,
'visible' => true,
'options' => $this->equip_offhand[$this->lang],
'sort' => 6,
),
//Profilfelden reiter Engrams
'resources' => array(
'type' => 'multiselect',
'category' => 'engram',
'lang' => 'uc_resources',
'undeletable' => true,
'visible' => true,
'options' => $this->resources[$this->lang],
'sort' => 1,
),
'thatch' => array(
'type' => 'multiselect',
'category' => 'engram',
'lang' => 'uc_engram_thatch',
'lang' => 'uc_thatch',
'undeletable' => true,
'visible' => true,
'options' => $this->engram_thatch[$this->lang],
'sort' => 1,
'sort' => 2,
),
'wood' => array(
'type' => 'multiselect',
'category' => 'engram',
'lang' => 'uc_engram_wood',
'lang' => 'uc_wood',
'undeletable' => true,
'visible' => true,
'options' => $this->engram_wood[$this->lang],
'sort' => 2,
'sort' => 3,
),
/* 'stone' => array(
'stone' => array(
'type' => 'multiselect',
'category' => 'engram',
'lang' => 'uc_engram_stone',
'lang' => 'uc_stone',
'undeletable' => true,
'visible' => true,
'options' => $this->engram_stone[$this->lang],
'sort' => 3,
'sort' => 4,
),
*/
);
return $fields;
}
Expand Down

0 comments on commit c5c2328

Please sign in to comment.