Skip to content

Commit

Permalink
Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
makidoll committed Feb 11, 2019
1 parent 29c2dd1 commit de28b55
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 8 deletions.
24 changes: 20 additions & 4 deletions foxEssentials/app/content.js
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,18 @@ var content = {
name: "<img src='entities/cute-things.svg' style='height: 50px'/>",
fontFamily: "'Dudu Caligraphy', 'Roboto', sans-serif",
entities: [
{
name: "lolipop",
thumbnail: "",
json: [{
name: "Lolipop",
type: "Model",
modelURL: "https://cutelab.space/u/29vNXT.fbx",
lifetime: 3600,
collisionless: true,
grab: {grabbable: true, grabFollowsController: false},
}],
},
{
name: "vulpie",
thumbnail: "entities/cute-things/vulpie.jpg",
Expand Down Expand Up @@ -548,14 +560,15 @@ var content = {
{
name: "general",
scripts: [
{
name: "<img src='scripts/snailsCustomTags.svg' style='height: 50px'/>",
link: "http://cdn.snail.rocks/scripting/customTags/tags.js"
},
{
name: "<img src='scripts/makisNametags.svg' style='height: 30px'/>",
link: "https://hifi.maki.cat/client-scripts/makisNametags/makisNametags.js"
},
{
name: "<img src='scripts/snailsCustomTags.svg' style='height: 50px'/>",
link: "http://cdn.snail.rocks/scripting/customTags/tags.js",
extra: "<span style='color:#f44336; font-weight:700;'>This script might crash your interface!</span>"
},
{
name: "<img src='scripts/portalDropper.svg' style='height: 30px'/>",
author: "FluffyJenkins",
Expand Down Expand Up @@ -755,6 +768,9 @@ content.scripts.forEach(category=>{
if (script.author)
tdName.innerHTML += "<p style='padding-left: 12px; opacity: 0.7;'>by "+script.author+"</p>";

if (script.extra)
tdName.innerHTML += "<p style='padding-left: 12px; opacity: 0.7;'>"+script.extra+"</p>";

tr.appendChild(tdCheckbox);
tr.appendChild(tdName);
table.appendChild(tr);
Expand Down
4 changes: 1 addition & 3 deletions foxEssentials/foxEssentials.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,8 @@
var uuid = "foxEssentials";
var tablet = Tablet.getTablet("com.highfidelity.interface.tablet.system");
var button = tablet.addButton({
//icon: 'data:image/svg;xml,<svg viewBox="0 0 81 76" fill="#fff" xmlns="http://www.w3.org/2000/svg"><path d="M14.551 152.05V56.152H0v-9.766h14.551V32.519c.13-10.482 2.555-18.522 7.275-24.121C26.546 2.799 33.073 0 41.406 0c3.776 0 7.259.553 10.449 1.66l-.781 9.961a36.102 36.102 0 0 0-8.789-1.074c-5.273 0-9.391 1.969-12.353 5.908-2.963 3.939-4.444 9.586-4.444 16.943v12.988h20.703v9.766H25.488v95.898H14.551zM95.762 154.004c-14.193 0-25.261-4.232-33.203-12.696-7.943-8.463-11.914-20.573-11.914-36.328v-8.398c0-16.667 3.645-29.525 10.937-38.575 7.292-9.049 17.741-13.574 31.348-13.574 13.281 0 23.274 4.242 29.98 12.725 6.706 8.484 10.124 21.046 10.254 37.687v13.553h-54.98c.39 7.846 2.115 13.584 5.175 17.213 3.06 3.629 7.78 5.443 14.161 5.443 9.244 0 16.959-3.157 23.144-9.472l10.84 16.699c-3.386 4.687-8.301 8.48-14.746 11.377-6.446 2.897-13.444 4.346-20.996 4.346zM78.379 89.16h27.637v-2.539c-.131-6.315-1.172-11.101-3.125-14.356-1.954-3.255-5.339-4.883-10.157-4.883-4.817 0-8.317 1.726-10.498 5.176-2.181 3.451-3.466 8.985-3.857 16.602z"/></svg>',
//icon: 'data:image/svg;xml,<svg viewBox="0 0 24 24" fill="#fff" xmlns="http://www.w3.org/2000/svg" ><path d="M3.891 23.695V8.751H1.623V7.229h2.268V5.068c.02-1.634.398-2.887 1.134-3.76C5.76.437 6.778 0 8.076 0c.589 0 1.131.086 1.629.259L9.583 1.81a5.626 5.626 0 0 0-1.37-.167c-.822 0-1.463.307-1.925.92-.462.614-.692 1.494-.692 2.64V7.23h3.226V8.75H5.596v14.944H3.89zM16.547 24c-2.212 0-3.937-.66-5.174-1.979-1.238-1.318-1.857-3.206-1.857-5.66v-1.31c0-2.597.568-4.6 1.704-6.011 1.137-1.41 2.765-2.116 4.886-2.116 2.07 0 3.627.662 4.672 1.984s1.577 3.28 1.598 5.873v2.112h-8.568c.06 1.222.33 2.117.806 2.682.477.566 1.213.848 2.207.848 1.44 0 2.643-.492 3.607-1.476l1.689 2.603c-.528.73-1.294 1.321-2.298 1.773-1.005.451-2.095.677-3.272.677zm-2.709-10.105h4.307v-.396c-.02-.984-.183-1.73-.487-2.237-.305-.507-.832-.761-1.583-.761-.75 0-1.296.269-1.636.806-.34.538-.54 1.4-.601 2.588z"/></svg>',
//icon: 'data:image/svg;xml,<svg viewBox="0 0 32 33" fill="#fff" xmlns="http://www.w3.org/2000/svg"><path d="M5.188 31.595V11.668H2.165v-2.03h3.023v-2.88c.027-2.179.531-3.85 1.512-5.013C7.68.582 9.037 0 10.77 0c.784 0 1.508.115 2.17.345l-.161 2.07a7.502 7.502 0 0 0-1.827-.223C9.856 2.192 9 2.6 8.384 3.419c-.615.819-.923 1.992-.923 3.52v2.7h4.302v2.029H7.46v19.927H5.188zM22.063 32c-2.949 0-5.249-.879-6.899-2.637-1.65-1.759-2.476-4.275-2.476-7.549v-1.745c0-3.463.758-6.135 2.273-8.016 1.515-1.88 3.686-2.82 6.514-2.82 2.76 0 4.836.881 6.23 2.644 1.393 1.763 2.103 4.373 2.13 7.831v2.816H18.411c.08 1.63.44 2.823 1.075 3.577.636.754 1.617 1.131 2.943 1.131 1.92 0 3.524-.656 4.809-1.968l2.252 3.47c-.703.974-1.725 1.762-3.064 2.364-1.34.602-2.793.903-4.363.903zm-3.612-13.473h5.743v-.528c-.027-1.312-.243-2.307-.65-2.983-.405-.676-1.109-1.015-2.11-1.015-1 0-1.728.36-2.181 1.076-.453.717-.72 1.867-.802 3.45z"/></svg>',
icon: 'data:image/svg;xml,<svg viewBox="0 0 48 48" fill="#fff" xmlns="http://www.w3.org/2000/svg"><path d="M7.782 47.391v-29.89H3.247v-3.043h4.535v-4.322c.04-3.267.796-5.773 2.268-7.518C11.52.873 13.555 0 16.152 0c1.177 0 2.263.173 3.257.518l-.243 3.104a11.253 11.253 0 0 0-2.74-.334c-1.643 0-2.927.613-3.85 1.84-.923 1.229-1.385 2.989-1.385 5.282v4.048h6.453v3.044H11.19v29.89H7.782zM33.095 48c-4.424 0-7.874-1.319-10.35-3.957-2.475-2.638-3.713-6.412-3.713-11.323v-2.617c0-5.195 1.136-9.202 3.41-12.023 2.272-2.82 5.529-4.23 9.77-4.23 4.14 0 7.254 1.321 9.344 3.965 2.09 2.645 3.156 6.56 3.196 11.747v4.224H27.616c.121 2.445.659 4.234 1.613 5.365.953 1.13 2.425 1.696 4.414 1.696 2.88 0 5.285-.984 7.213-2.952l3.379 5.205c-1.055 1.46-2.587 2.643-4.596 3.546-2.01.903-4.19 1.354-6.544 1.354zm-5.419-20.21h8.615v-.792c-.041-1.968-.366-3.46-.974-4.474-.61-1.015-1.665-1.522-3.166-1.522-1.502 0-2.593.538-3.272 1.613-.68 1.076-1.08 2.8-1.203 5.175z"/></svg>',
//icon: Script.resolvePath("icon.svg")+"?2",
text: "essentials",
sortOrder: 11
});
Expand Down
Binary file added foxEssentials/icon.afdesign
Binary file not shown.
13 changes: 12 additions & 1 deletion foxEssentials/icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit de28b55

Please sign in to comment.