salieric / swim Goto Github PK
View Code? Open in Web Editor NEWA collection of macros for the SWADE system on Foundry with a focus on immersion (i.e. by using sound effects)
License: GNU General Public License v3.0
A collection of macros for the SWADE system on Foundry with a focus on immersion (i.e. by using sound effects)
License: GNU General Public License v3.0
A full charge pack should not be lost when changing ammo.
Hi.
Can try to add Gang Up macro? Thank you
I'm working on a PC check macro. If you're interested, you could improve it.
Many macros have deprecation warnings and need to be updated to work in Foundry v.9
Bounty Notice: I have very limited time atm. Everyone who creates merge requests with (working) updates to the macros which respect changes from Foundry version 9 (and thus gets rid of the warnings in the console) will receive a reward in the form of a free, quality Battle Map¹. You may choose from one of these settings: Medieval Fantasy, Western or Pirates. A merge request covering three or more macros (that have not yet been covered) will be rewarded with an export of the selected map, set up with walls, lights and everything. The first merge request that covers all macros (whether they're already done or not) and works will be rewarded with a custom made battle map created with your specifications (within a reasonable degree of detail).
¹ Battle maps are created using Dungeon Draft. They may not meet the high standards of some patreons out there but they do reach a good quality and assets used are (mainly) those of Forgotten Adventures.
Since Special Abilities are a thing now, the macros must be able to search for them.
All macros need to be implemented and need to make use of the modules capabilities. Depends on #1.
On 8.9, I didn't have this issue. After updating to 9, whenever I try to click on the "configure settings" button to change module or system settings, nothing happens and I get this console error. Disabling SWIM allows the settings button to work again:
Edit: I just realized after reading the error more closely, that I didn't have "settings extender" enabled. That fixed it. Sorry about that.
I discovered that my "npc" actors start with 2 hidden bennies. The "Spend Benny" and "Unshake (SWADE)" macros will inappropriately spend them.
Edit: same fix for "Unstun"
macro-unstun.txt
I've attached updated macros that fix this by testing for wildcards:
macro-spend-benny.txt
macro-unshake-swade.txt
Use BR2 hooks if BR2 is used, adding them to BR2 if lacking first.
If you are (or think of) using SWIM please keep reading:
As of SWADE version 1, a lot of critical changes to the way, status effects are handled were introduced. It changed a lot of things SWIM was using unfortunately. This means I either have to get rid of CUB or wait until CUB can support the system again (currently not very likely and possibly not anytime soon).
I'm in a really uncomfortable situation right now and it feels incredibly bad and helpless but there is little I can do about it. At least as far as I can see right now.
Unfortunately this means you have to make a decision: Do you want to keep using SWIM? - Then stay on SWADE version 0.22.5. It's working fine right now. Do you rather want to use SWADE v. 1? - Then get rid of SWIM and CUB. It really is a bummer but that's how it is right now.
As said in #17.
PP Mgm macro currently does not support multiple ABs. I want a drop-down menu to select the AB.
Hey Salieri,
I am just playing around with the Unshake Macro (SWADE) and found it is not working like rules as written.
The rules state:
FAILURE: The character remains Shaken. She can only perform free actions.
SUCCESS: The character is no longer Shaken and may act normally.
Regarding Failure, the macro still removes Shaken, but it should leave it. Is this a House rule in effect?
Hi
The stun macro don't remove Distracted and Vulnerable on a raise. Only Vulnerable.
Success means he revives but is Distracted and Vulnerable
Settings shall get their own window with tabs to improve the ux after #42 is done.
Non-functional anyway.
If a shape shifter preset actor does not have OWNER
permissions set for the player, it causes an issue where the player is unable to select the token after shape shifting.
This'll be quite the task but should probably be done at some point as some people seem to speak other languages than englisch. xD
This could be neccessary in the future if the Injury Table is shall be used elsewhere at some point.
Can you to the Healing macro the rule for skill?
The player target a token and then can use the macro to roll the test, and auto apply the healing or damage.
p98: The Healing skill is used to remove Wounds. Each attempt requires 10 minutes per wound level of the patient. Subtract 1 from Healing rolls without a basic First Aid kit or similar supplies.
A success removes one Wound, and a raise removes two. Failure means no Wounds are removed. A Critical Failure increases the victim’s Wound level by one.
Create default setting for the new chase setup by @pmoore603 after #42 is dealt with and once the settings are pulled to their own window to make it easier to navigate (#43).
Hi, I would need help in creating a solution for the following problems:
The Fanmade Savage Ghostbusters as well as some Mass Effect Conversions for SWADE use Heat Buildup instead of Ammunition. Every round the weapon is not used, it reduces one heat, basically autoreloading 1 Ammo when not in use. Is it possible to automate this?
Alternatively it would be good if there were a possibility to reload not the full amount of ammunition. Like in a Colt Single Action Army, where you have to reload every single bullet, would it be possible to reload fewer bullets than just the full amount? This would work well also in pirate scenarios, where "Revolvers" with more than 3 barrels have actually every single barrel loaded seperately.
Actor with shape shift ability, fails when changing from one creature directly to another (i.e. no revert back to normal form in between). To reproduce, actor starts in normal form, runs script to change into a creature, then run script again to change into another creature.
In this example, Sapa Kangee (actor) successfully changed into a Cat. You can see "Cat (Sapa Kangee)" under [SWIM] Shape Changing actor folder. Then, when changing directly into a Fox, it creates the Fox in the same folder, but then the exception occurs: Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'bar1'):
I see what the problem is, and I will submit a fix.
The PP Management macro was neglected for too long. BR2 comes with its own version (also developed by me) but doesn't come with some options the SWIM version has. Also some players may prefer to not open up a card to access it. On the other hand BR2 offers some things missing in the SWIM Version (arcane PP for example).
The Update was scheduled for 0.15.0 but that seems unrealistic and will be done at a later time instead.
Sequencer is always setting scale to 1. It should set it to scCopy.data.token.scale
.
I've done all the code I can and play tested it. All known bugs have been resolved. Quite a complicated beast and I'm not sure how many people will want to use it as it requires multiple additional stats to be created. If one takes the effort however, it is quite fun. It will also receive BR2 integration once I can get everything from the BR2 chat cards I need.
What still needs to be done:
Hi I am not sure how to point this maco at the table I want to roll on.
Can you explain how I might do this please?
Good work on all of this.
If you're interested you could add this macro too.
Same as with the crit fail check, I want to put this in the swim class to make it available for all macros, allowing me to edit it centrally.
Hi.
This macro select all tokens in the scene and send them to the combat.
You can change it and remove the dialog.
I think it could be a good macro for immersive.
Most likely also affects fatigue if the number is zero.
Not sure if this is a bug or a problem in my environment, but I'm getting the following error when invoking the Fear Table script:
TypeError: Cannot read properties of undefined (reading 'draw')
I think it is not finding the fear table, yet it is present under "SWADE Tables" from swade-core-rules. In dev mode, game.tables only has one entry, which explains the error (it's not finding the table).
I changed a portion of code to be:
if (fearTableName) {
let fearTable = game.tables.getName(`${fearTableName}`)
if (fearTable) {
fearTable.draw({ roll });
} else {
ui.notifications.error("Unable to locate '" + fearTableName + "'.");
return;
}
}
And it is hitting the "Unable to locate..." error.
Seems like something is off in my world settings somehow. Any ideas?
As of FVTT 9.255 macro permissions are strictly enforced. As a result, players cannot execute macros in compendiums any longer. There is a quick workaround (creating temporary macros and deleting them after execution) but I'll take the opportunity to completely rework the module by setting up a proper API. This will also be more performant than the workaround as nothing temporary is created) and future-proof. Also the API might be useful for the user in general.
Naturally this'll take longer than the workaround but it is well worth it I think.
Macros done/to do:
Macros to deprecate:
I added some fields to let the GM customize size and location of the chase deck. See attached file.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.