Skip to content
36 changes: 21 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,23 +1,30 @@
# foundry_pushable
Pushable tokens for FoundryVTT.
# Pushable Tokens For FoundryVTT

## Notice:💓 Updated to Foundry V13!

Sum117: My changes aim to update this package to v13 foundry, using the new methods implemented in the new version. Not much has changed, just the way collision checks work.

If you want a foundry module revived, contact me through discord: masoria and I'll see what I can do.

If you like my work, please consider supporting me: https://ko-fi.com/sum117

Thank you [Leah Azure](https://github.com/LeahAzure) for the Foundry V12 update.

---

System agnostic.

## Installation

To set up, install the manifest below (or use the default Foundry installer), add some tokens, edit them (1) and mark them as pushable(2) and/or pullable(3).

![image](https://user-images.githubusercontent.com/8543541/160937714-1cc164bb-ee06-4bb7-a6c5-78081b15a387.png)

Install manually by adding the module manifest:

https://github.com/oOve/pushable/releases/latest/download/module.json

Version 1.1.1,
* tokens can now also be pulled. Default key for this is P. Hold down P, and move away from a token.
* Mark tokens individually as pushable, and/or pullable
* Configure Settings:
* "Enable pull as well", enables pulling of tokens, tokens must individually be marked as pullable.
* "Maximum pushed tokens" set the number of tokens that can be maximum pushed and pulled. Set to -1 if there is no limit.
* Configure Controls:
* The key that enables pulling
```
https://github.com/sum117/pushable/releases/download/10.0.4/module.json
```

## Localization
Current support for:
Expand All @@ -35,9 +42,8 @@ If you want to translate this module, download [this file](lang/en.json) and tra
}
`

## Demo:
## Demo

[![Sokoban puzzle using pushable tokens](http://img.youtube.com/vi/FOMEqN03SUU/0.jpg)](http://www.youtube.com/watch?v=FOMEqN03SUU "Sokoban video puzzle")

Do you like this module?; then please support me at [Patreon](https://www.patreon.com/drO_o).

Would you like to show off your creations or ask questions about the module feel free to drop in at my [discord channel](https://discord.gg/5CCAhsKFDp). 
124 changes: 70 additions & 54 deletions module.json
Original file line number Diff line number Diff line change
@@ -1,61 +1,77 @@
{
"name": "pushable",
"id": "pushable",
"title": "Pushable tokens",
"description": "Adds tokens that can be pushed around, respecting walls, and that will stop movement if you cannot push anything further.",
"version": "10.0.2",
"compatibility": {
"minimum": "10",
"verified": "10"},
"author": "o_Ove",
"authors": [{
"name": "pushable",
"id": "pushable",
"title": "Pushable Tokens",
"description": "Adds tokens that can be pushed around, respecting walls, and that will stop movement if you cannot push anything further.",
"version": "10.0.4",
"compatibility": {
"minimum": "13",
"verified": "13"
},
"author": "o_Ove",
"authors": [
{
"name": "o_Ove",
"discord": "Ove#4315",
"patreon": "https://www.patreon.com/drO_o"
}],
"languages": [
{
"lang": "en",
"name": "English",
"path": "lang/en.json"
},{
"lang": "pt-BR",
"name": "Português Brasileiro",
"path": "lang/pt-BR.json"
},{
"lang": "de",
"name": "deutsch",
"path": "lang/de.json"
},{
"lang": "ja",
"name": "日本語",
"path": "lang/ja.json"
}
],
"relationships": {
"requires": [
{"id":"socketlib", "type": "module"}
]
},
"socket": true,
"esmodules": ["./scripts/pushable.mjs"],
"url": "https://github.com/oOve/pushable",
"download": "https://github.com/oOve/pushable/archive/10.0.2.zip",
"manifest": "https://github.com/oOve/pushable/releases/latest/download/module.json",

"license": "LICENSE",
"readme": "README.md",
"styles":[],
"packs": [
{
"name": "Sum117",
"discord": "masoria",
"patreon": "https://ko-fi.com/sum117"
},
{
"name": "Azure",
"discord": "AzureProject",
"patreon": "-"
}
],
"languages": [
{
"lang": "en",
"name": "English",
"path": "lang/en.json"
},
{
"lang": "pt-BR",
"name": "Português Brasileiro",
"path": "lang/pt-BR.json"
},
{
"lang": "de",
"name": "Deutsch",
"path": "lang/de.json"
},
{
"lang": "ja",
"name": "日本語",
"path": "lang/ja.json"
}
],
"relationships": {
"requires": [
{
"entity": "Actor",
"name": "pushable",
"label": "Pushable Tokens",
"path": "./packs/pushable.db",
"type": "Actor",
"system": "dnd5e"
"id": "socketlib",
"type": "module"
}
],
"library": false,
"minimumCoreVersion": 10
}
]
},
"socket": true,
"esmodules": ["./scripts/pushable.mjs"],
"url": "https://github.com/sum117/pushable",
"download": "https://github.com/sum117/pushable/archive/refs/tags/10.0.4.zip",
"manifest": "https://github.com/sum117/pushable/releases/download/10.0.4/module.json",
"license": "LICENSE",
"readme": "README.md",
"styles": [],
"packs": [
{
"type": "Actor",
"name": "pushable",
"label": "Pushable Tokens",
"path": "./packs/pushable.db",
"system": "dnd5e"
}
],
"library": false
}
Loading