Giter VIP home page Giter VIP logo

requestor's People

Contributors

krbz999 avatar mhilbrunner avatar poketch avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

requestor's Issues

Improve readme with more example uses

DnD5e: 2.0.2
Foundry: 10.285 (Forge hosted)
Requestor: 10.0.2

It could be something I'm doing wrong, but when I try to use (as a macro) the following for example,

Requestor.dnd5e.rollAbilitySave("str", 12);

what gets displayed in the chat log is instead a request for an intelligence saving throw of DC 10. No matter what text is put in the quotes for the save type or what number is given for the dc, it's always the same. If I try the previous code without quotes, there's an error, as well as using curly brackets in the parenthesis (at first I copied the code from the description page as is but foundry didn't seem to accept the curly brackets).

Any help on how to how to get it working as expected would be much appreciated!

Enhancement Request: Chat Window optional

I love the Popout feature and would like to use it exclusively. I believe it would help to have a way to make sure Requestor calls in a macro uses Popout ONLY and does NOT generate a chat box request.

Requestor response in private message

Hello,
I did not understand how I could configure so that the result of the dice roll does not appear in the chat but just in private in response to the GM (but maybe it's not possible).
Thank you for your answer.

How to create one time request?

I want to create "one shot" request and remove it after button press. Is there a way to do it without parsing chat's HTML?

How do you submit out of scope options

I am trying to send the actor that is being targeted by the player when the button is created so that the GM can choose to click the button to execute the macro.

I have a handle to the actor and am able to get the name to add to the button label but I want to send it via the buttonData. However, when the GM clicks the button, the scope has changed.

How can you send additional/out of scope data since when I send active_target it fails.

const targets = game.user.targets;
const targetToken = Array.from(targets)[0]
const active_target = targetToken.document._actor

await Requestor.request({
  description: "Request for GM.",
  buttonData: [{
    permission: "GM",
    label: Apply Fatigue to " + active_target.name
    action: async () => {
      await game.hm3.macros.changeFatigue("+1", active_target)
    }
  }]
});

Add examples of using `whisper` and `speaker`

I'm sorry, I dont understand how I should use the whisper array nor the speaker object. Tried many things but i'm not finding something that works. Could you show me a syntax example?

Module page is misformatted

Hi!

Your github page/readme is wonderfully formatted. The page on foundry looks pretty rough. I spent 5 or so minutes thinking I needed to include the / script in the macros themselves before realizing that was formatting for something else. Not sure if there's any way to fix that but it would be nice for newbs such as myself.

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.