diff --git a/admin-commands/index.html b/admin-commands/index.html index 36e449e..f2a06d3 100644 --- a/admin-commands/index.html +++ b/admin-commands/index.html @@ -1,13 +1,13 @@ - ARK Admin Commands & Spawn Commands | ARK: Survival Evolved + ARK Admin Commands & Spawn Commands | ARK: Survival Ascended & Evolved - + @@ -181,7 +181,7 @@

diff --git a/js/admin.js b/js/admin.js index f1dbfd2..bff73ac 100644 --- a/js/admin.js +++ b/js/admin.js @@ -817,9 +817,9 @@ $(document).ready(function() { updateURLWithPreservedParams(newPath); if(catID == 3){ - document.title = cat.n + " | Admin Commands | Dododex"; + document.title = cat.n + " | ARK Admin Commands | Dododex"; } else { - document.title = cat.n + " | Spawn Codes | Dododex"; + document.title = cat.n + " | ARK Spawn Codes | Dododex"; } if(typeof event == "object"){ // console.log("PREVENT"); @@ -852,7 +852,7 @@ function initFromID(id){ currentBP = getBPByID(id); // console.log('currentBP',currentBP) if(currentBP){ - document.title = currentBP.l + " Admin Command ID & GFI | Dododex"; + document.title = currentBP.l + " Admin Command ID & GFI | ARK: Survival Ascended & Evolved | Dododex"; // "l":"Malfunctioned Tek Triceratops", @@ -862,8 +862,6 @@ function initFromID(id){ // "bp":"PrimalEarth/Dinos/Trike/BionicTrike_Character_BP_Malfunctioned.BionicTrike_Character_BP_Malfunctioned" - - $(resultsEl).html(''); @@ -871,19 +869,26 @@ function initFromID(id){ if(isDinoCat(currentBP.t)){ $(resultsEl).html(` -

${currentBP.l} Spawn Commands

- ${currentBP.t ? - `

Type: ${currentBP.t}

` - : ``} - - ${currentBP.cid ? - `
ARK ${currentBP.l}
` - : ``} +
+
+

${currentBP.l} Spawn Commands

+ ${currentBP.t ? + `

Type: ${currentBP.t}

` + : ``} + ${currentBP.cid ? + `` + : ``} +
+ ${currentBP.cid ? + `
ARK ${currentBP.l}
` + : ``} +
${currentBP.id ? `

To spawn a ${currentBP.l}, you can use the GMSummon command "${currentBP.id}".

` : ``} + ${currentBP.id ? `

${currentBP.l} Spawn Command (Tamed)

The spawn command for a tamed ${currentBP.l} is "${currentBP.id}".

@@ -943,9 +948,6 @@ function initFromID(id){ ` : ``} - ${currentBP.cid ? - `
${currentBP.l} on Dododex »
` - : ``} @@ -953,11 +955,22 @@ function initFromID(id){ } else { + var theItemURL = "http://www.dododex.com" + itemURL({ id: currentBP.item_id, name: currentBP.l }); + + $(resultsEl).html(` -

${currentBP.l}

- ${currentBP.t ? - `

Type: ${currentBP.t}

` - : ``} +
+
+

${currentBP.l}

+ ${currentBP.t ? + `

Type: ${currentBP.t}

` + : ``} + +
+ ${currentBP.img ? + `
${currentBP.l}
` + : ``} +