Commit graph

78 commits

Author SHA1 Message Date
Michael Green
fd077ff9ba replace {{select}} handlebars helper with {{selectOptions}} helper due to deprecation warning as of V12 2025-03-15 18:46:28 +01:00
Kim Mantas
a4a29865e0
Release Polish language translation 2023-06-19 15:26:01 +01:00
Kim Mantas
bbe5486d98
Add Polish language entry. 2023-06-19 14:52:17 +01:00
Operativ
c3ab8c74e3 Create pl.json
Polish language file.
2023-06-19 14:48:39 +01:00
Kim Mantas
9d07910918
Release version 0.8.1. 2023-06-01 16:57:43 +01:00
Kim Mantas
5d776f8056
[#56] Fix issue with actors and items being created with the base document type. 2023-06-01 16:56:35 +01:00
Kim Mantas
2bd28e939d
[#46] Fix sheets entering an inconsistent state if they throw an error during form data marshalling. 2023-05-16 14:20:48 +01:00
Kim Mantas
0996cf810c
[#51] Fix deprecation warning when creating a new actor/item. 2023-05-16 13:22:14 +01:00
Kim Mantas
73addd7866
[#41] [#50] Fix manifest issues. Fix TYPES deprecation warning. Bump v11 compatibility. 2023-05-16 12:44:09 +01:00
Kim Mantas
7bea16df17
Release version 0.7.2. 2022-10-20 16:48:43 +01:00
Matt Smith
3343d3bf6c
Fix v10 bug for shorthand attributes (#52)
Co-authored-by: Kim Mantas <kim.mantas@gmail.com>
2022-10-20 16:39:10 +01:00
Kim Mantas
9e726433ea
Merge pull request #47 from foundryvtt/html-fields 2022-09-08 21:24:57 +01:00
fyorl
05a7aedb90
Ensure template.json has htmlFields specified to trigger server-side sanitisation of HTML. 2022-09-08 18:11:49 +01:00
Andrew
218aa2897a Worldbuilding release 0.7.1 2022-08-31 13:57:20 -04:00
Andrew
e23893b6ca V10 compatibility with 0.7.0-alpha1 release 2022-08-23 21:23:59 -04:00
Andrew
107aec3244 Migrate source code to GitHub 2022-06-07 16:50:00 -04:00
fyorl
a6ebc7b4fa
Merge branch '0.6.x' 2022-01-17 16:53:53 +00:00
fyorl
297cce85ec
[#40] Fix issue with using non-resource type attributes for token bars. 2022-01-17 16:51:03 +00:00
Kim Mantas
5446680d9f Merge branch '0.6.x' into 'master'
Release 0.6.3

See merge request foundrynet/worldbuilding!23
2022-01-13 15:52:15 +00:00
fyorl
78926508a6
Release 0.6.3. 2022-01-13 15:50:45 +00:00
Kim Mantas
67d630b29b Merge branch '063-fixes' into '0.6.x'
0.6.3 fixes

See merge request foundrynet/worldbuilding!22
2022-01-13 15:48:20 +00:00
fyorl
9b19f8b590
[#32] Draw available tracked resources from world actors rather than system model. 2022-01-13 15:14:37 +00:00
fyorl
db34d156af
[#27] Do not throw an error when dropping an item onto a hotbar slot. 2022-01-13 13:31:46 +00:00
fyorl
d799fb1c56
[#25] Ensure resource attribute values are clamped between their min and max. Ensure token attribute update deltas are applied correctly to resource attributes. Draw attribute bars appropriately when attribute min is non-zero. 2022-01-13 13:31:41 +00:00
Andrew
abc9e949a7 Merge branch '28-attribute-groups' into 'master'
28: Fix issue with reserved groups

Closes #28

See merge request foundrynet/worldbuilding!20
2022-01-12 17:44:21 +00:00
Matt Smith
6eee073a24 28: Fix issue with reserved groups 2022-01-12 17:44:20 +00:00
Andrew
7d8eb74ee7 Merge branch '37-overrided-getBarAttribute' into 'master'
37: Fix custom attribute token bars being marked as not editable in token HUD

Closes #37

See merge request foundrynet/worldbuilding!21
2022-01-05 18:42:52 +00:00
Lich
e723598a6c 37: Fix custom attribute token bars being marked as not editable in token HUD 2022-01-05 18:42:52 +00:00
Kim Mantas
93d86fc459 Merge branch '0.6.x' into 'master'
[#36] Fix incorrect variable reference.

See merge request foundrynet/worldbuilding!19
2021-12-21 15:18:10 +00:00
fyorl
e8aa4a462e
[#36] Fix incorrect variable reference. 2021-12-21 14:19:14 +00:00
Kim Mantas
9a84692489 Merge branch '0.6.x' into 'master'
Release 0.6.1

See merge request foundrynet/worldbuilding!18
2021-12-13 17:28:10 +00:00
Kim Mantas
57f7c67272 Merge branch 'v8-compat' into '0.6.x'
[#35] Use different ID attributes for sidebar documents depending on foundry version.

See merge request foundrynet/worldbuilding!17
2021-12-13 17:27:22 +00:00
fyorl
84562bd9c2
[#35] Use different ID attributes for sidebar documents depending on foundry version. 2021-12-13 17:16:03 +00:00
Kim Mantas
bea3bf18d1 Merge branch '0.6.x' into 'master'
Update for v9 compatibility.

See merge request foundrynet/worldbuilding!16
2021-12-13 15:55:05 +00:00
fyorl
e966775723
Update for v9 compatibility. 2021-12-13 15:45:53 +00:00
Andrew
fb0add4cbc Update Simple Worldbuilding for Foundry 0.8.x Compatibility 2021-05-23 19:35:02 -04:00
Andrew
ee8814b76a Remove outdated GPLv3 License tag from the code header 2021-05-03 10:01:22 -04:00
Andrew
e53d4a7e52 Merge branch '22-attribute-roll-bug' into 'master'
22: Refactor roll attributes in helper class

Closes #22

See merge request foundrynet/worldbuilding!12
2020-10-30 16:08:33 +00:00
Matt Smith
b385af307a 22: Refactor roll attributes in helper class
- Updated `rollData` in helper.js to use actor as the data source rather
  than the object. This allows for items to reference attributes by
  assuming the parent actor is the source of truth and item attributes
  would be referenced as either `@item.attr` or `@items.ITEMNAME.attr`
- Refactored formula replacement to prevent values from being replaced
  with 0s unintentionally.
2020-10-30 10:21:58 -05:00
Andrew
5560fc24d4 Simplify macro creation for formula attributes 2020-10-19 18:30:53 -07:00
Andrew
6bf056b3d4 Tidy the worldbuilding system for 0.40 release 2020-10-19 17:34:32 -07:00
Andrew
d641ff96b0 Merge branch 'add-073-support' into 'master'
Add support for Foundry 0.7.3

See merge request foundrynet/worldbuilding!11
2020-10-12 18:24:36 +00:00
Matt Smith
8daec8bd92 Add support for Foundry 0.7.3
- Fixed an issue with the actor/item creation dialog that prevented
  it from working on Foundry 0.7.x versions.
- Removed obsolete translation string.
- Bumped minimum core version now that 0.7.3 is in beta.
2020-10-09 19:49:56 -05:00
Andrew
f69f9c80ea Merge branch '10-item-attr-groups' into 'master'
10: Add item attribute groups

See merge request foundrynet/worldbuilding!10
2020-10-06 17:20:00 +00:00
Matt Smith
8b958dd232 10: Refactor actor sheet code
- Refactored actor-sheet.js to move most of its logic into a separate
  helper.js module as static methods on a new SimpleHelper class. This
  doesn't add anything functional at the moment, but it's in
  preparation of re-using the same code for the item-sheet.js file.
2020-10-06 17:20:00 +00:00
Andrew
8a2ba78203 Ensure worldbuilding changes are working on legacy worldbuilding world and adjust attribute form styling 2020-09-28 09:21:11 -07:00
Andrew
977fb4b76b Merge branch '10-attribute-groups' into 'master'
Add attribute groups to actors

See merge request foundrynet/worldbuilding!9
2020-09-28 15:54:14 +00:00
Matt Smith
f69e3841ff 10: Add attribute groups base implementation
- Added support for attribute groups
- Added rollable buttons to formula attributes
- Added additional i18n translation strings
2020-09-28 15:54:14 +00:00
Andrew
c515f8d5b7 Merge branch '9-actor-templates-integration' into 'master'
9: Add actor templates

See merge request foundrynet/worldbuilding!8
2020-08-31 02:09:21 +00:00
Matt Smith
bac1d023c3 9: Add POC for actor templates
- This commit adds a proof-of-concept for retrieving actor template
  types. These are actors using the `worldbuilding.isTemplate` flag set
  to true. If there are multiple actors with that flag set to true,
  clicking the create actor button will pull up a prompt to choose from
  one of those types, which will then create an actor by duplicating
  the template actor's data. The flag will be unset on the new actor.
2020-08-31 02:09:21 +00:00