Git Product home page Git Product logo

foundryvtt-scum-and-villainy's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

foundryvtt-scum-and-villainy's Issues

Improve Chat Style

Hi.

I'm using a macro with cooler chat message. I think you copy the style to the system.

Current Chat messages
image

New Style
image

code:

  static async styledChatMessage(myTitle, message1, message2='') {
    let chatData = {
      speaker: null,
      content: `<div style="position:relative; background: #ddd9d5;padding: 0.5rem; margin-left:-7px;margin-right:-7px;margin-bottom:-7px;margin-top:-27px"><label class="titulo" style="font-size:35px; color: #b02b2e;">${myTitle}</label><div style="position: absolute;top: 0;right: 0;width: 50px;height:50px;background: linear-gradient(45deg, #00000000 50%, #000000 50%);"></div><br><label style="font-size: 15px">${message1}</label><div style="margin-top:5px ;height: 5px;width: 100%;background: linear-gradient(20deg,  #000000 70%, #ddd9d500 70%);"></div><p>${message2}</p></div>`};
    ChatMessage.create(chatData, {});
  }

Thank you

I just want to thank you for the great module.
THANKS

Combat Tracker

Hi.

System like sav don't need a Combat Tracker. But, It's useful in many situations. If you tested the PBTA system you notice the CT works. I use it just to organize people anxiety lol.

If possible, please make it let you add chars to it and change the position.

Improve Item UI

Hi

Can you improve the item UI?

I want to add a big description to this Ur Artifact, but I can't format or link fvtt entities.
image

Suggestions:

  • Turn the description field into a standard foundry journal. You can format, you link stuff, you can add css, when you spam to the chat it can be nicely formated etc
  • Move the class field to the side of load. To much useless space.
  • Move effects to a title link or somewhere. Is AE useful for items? If so, can you share some snippets?

Update Macro

What do you think about update this macro? So, you can change stress too.
image

image

const version = '1.1';

/*
Source: https://raw.githubusercontent.com/brunocalado/mestre-digital/master/Foundry%20VTT/Macros/Forged%20in%20the%20Dark/BladesintheDark-XpBar.js
icon: icons/sundries/misc/lock-open-yellow.webp
*/

let tokenD;

if (canvas.tokens.controlled[0]===undefined){
  ui.notifications.warn("You must select a token!");    
} else {
  tokenD = canvas.tokens.controlled[0].actor;
  main();
}

async function main() {
  let attribute = [];
  if(tokenD.type === 'character'){
    attribute = Object.keys( game.system.model.Actor.character.attributes );
    attribute.push("class");
    attribute.push("stress");
  } else if(tokenD.type === 'ship'){
    attribute = ["crew"];
  }

  let attributeList = ``;
  attribute.map((t) => {
    attributeList += `<option value="${t}">${t}</option>`;
  });
  
  new Dialog({
    title: `XP/Stress Bar - Manager - v${version}`,
    content: `
    <h2>Bar Size</h2>
    <p>This will be the new max size.      
    </p>
    <p>      
      <input type="number" min=1 max=12 id="xpBarSize" value="6"/>
    </p><br>
    <h2>Choose Bar</h2>
    <p>    
      <select id="attribute" type="text" style="width: 100px;">
        ${attributeList}
      </select>  
    </p>    
    `,
    buttons: {
      roll: {
        label: "Change",
        callback: (html) => {
          changeActorSheetBar(html);
        }
      }, 
      cancel: {
        label: "Cancel"
      }
    }
  }).render(true)
}

async function changeActorSheetBar(html) {
  const xpBarSize = parseInt( html.find("#xpBarSize")[0].value );  
  let attribute = html.find("#attribute")[0].value;  
   
  console.log('--------------');
  console.log(xpBarSize);
  console.log(attribute);
  console.log('--------------');
  
  //attribute=''
  if (attribute==='class') {
    let updated = await Actor.updateDocuments([{_id: tokenD.id, "data.experienceMax": xpBarSize}]);
  } else if (attribute==='crew') {
    let updated = await Actor.updateDocuments([{_id: tokenD.id, "data.crew_experienceMax": xpBarSize}]);
  } else if (attribute==='stress') { // Stress   
    let updated = await Actor.updateDocuments([{_id: tokenD.id, "data.stress.max_default": xpBarSize}]);
  } else {
    let key = "data.attributes." + attribute + ".expMax"; 
    let updated = await Actor.updateDocuments([{_id: tokenD.id, [key]: xpBarSize}]);
  }
}

Dynamic Text Box

Would be possible to replace the text boxes for standard foundry journals?

This would make it auto cut space and also expand when required.

image

Notable People to NPCs

The NPC sheet is super useful. I'm even replacing player clocks with it, they can write about the project.

I think it can be even more useful. What do you think about replace the Notable People field with a default foundry journal and let us to drag entities to this field? So, you can replace this simple text with links to these notable people in a form of NPCs sheets.

This is useful to put then on a scene with tokens. It's also useful to use Theate and other modules.

image

Thank you

standard for ship´AE

I wrote a macro to track the AE and translate them. But, It could be more reliable if you make a standard class or type.

image

Thank you

Potentially incorrect loads

I'm loving the system work that you've done and I'm looking to use it for a Star Wars themed game I'm about to start, but I found a few things when I was testing it out that might need attention.

I believe the following loads are incorrect:

  • (My) Offerings should be 1 instead of 0
  • (My) Outdated Religious Outfit should be 0 instead of 1
  • (P) Fine Small Urbot should be 0 instead of 2
  • (S) Armor should be 2 instead of 1
  • (S) Heavy Blaster should be 2 instead of 1
  • (S) Medkit should be 2 instead of 1
  • (S) Spacesuit should be 2 instead of 1
  • (Sp) Large Luxury item (load 2) is missing

Version Update

Hi.

v9 let you use "compatibleCoreVersion": "9", what prevents the anoying warning. Wouldn't be good to use it?

image

New Class Exp Clue

Hi.

Can you create a way to add the exp clue to a new class?

I couldn't find a way.
image

Spam Items Description to the Chat

Hi

It's very common in other system to let the players spam the item text to the chat to quickly share. It's useful for the GM and the players.

Can you make that possible?

Thank you.

image

image

Faction Clock and Objectives Visible at Universe Sheet

Would be possible to add the faction objective clock to the universe sheet, with a clickable icon to show what is the objective?

That would have the effect to know at a quick glance how is the situation of all factions, perhaps throw some pressure at the players, especially if the "Note icon" only works if clicked by the GM.

to open every faction sheet to remember and adjust that is kind of a bummer, especially with many active factions...

Image add with the general concept

In any way thanks for the system, having a great time with it!

1

New Actor: NPC

Hi,

I'm making notes to the npcs in a journal.

Would be possible to create a new actor: npc

It just need a space like the journal to make notes.

This is useful to add tokens to maps.

Gambit Chat Message

Is it possible to send a message to the chat when the player change the gambits?

This would make easier to follow the changes in gambits.

Example:

Current cerberus gambits: 1
Current cerberus gambits: 3

Very simple.

Rework Starting Ability Feature

Hi. Very cool new feature.

I want to make a suggestion.

  • Remove special chars from the name and make this a checkbox in the item.
  • Read the checkbox and add a marker to the text instead of indicate what it is.
  • Xeno is also a starting ability if you want to replace.

image

Savage Worlds did this and broke lots of stuff (macros, translations). They rolled back and used the solution above. Symbol detection on items titles are not reliable.

Thank you for everything.

Weird update warning

I tried to install it again.

I delete it from the folder.

But, It still warning about an update.

The world shows:
image

The system:
image

(St) Thrillseekers

Hi. Thank you for everything you have done with this system.

Can you add something to change the default stress in the actor sheets? Is a macro the way to go?

image

Can't Translate Vice

Hi. I can't translate vice in the system.
image

  "BITD.vice": "Vício",
  "BITD.Vice": "Vício",

Thank you

Missing Cargo Eye

The Cargo Eye special ability from the Stardancer is missing in the compendium. I realized this last night when my group chose it as an option (of course).

Formating Issue

Hi.

I can't use HTML to format some entries. I need to use \n. Is there a way to make the text bold?

"description": "Você pode bloquear raios blaster com o Caminho (resistir com Convicção).\n\nSe resistir a um ataque de blaster, você pode gastar 1 de estresse para redirecionar o fogo e fazer seu próprio ataque com ele.",

Tooltip Issue

Hi.

If the text from the tooltip is to big it will show hide. You can scrolldown, but this will make the tooltip disapear.

image

Tks

Translation Issue: Can't Add to Actor Sheet

Hi.

This is a translation issue. It works well in english.

When you try to add something (ability, item, etc) translated items don't show.
image

Is there something you can do to help with this?

Thank you.

Change XP Bar Size

Is it possible to add an option to change the size of the XP bar?

This is useful to slow down player evolution;

Thank you.

image

Small Translation Issue

Hi!

Can you help me fixing this for the translation? I just want to decrease the font size. I think I need to add some css to the translation module.

image

Missing Translation Tags

Hi. Sorry bother you again. But, I think there is more missing tags for translation.

Is it possible to translate Fortune Roll and Roll?

image

Thank you.

Update

Everytime I push update system this message appears:

image

Can you fix it?

Thank you.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.