Commit graph

56 commits

Author SHA1 Message Date
Oliver-Akins
ec6378092f Snapshot pre-AE data on actors (closes #178) 2024-04-23 19:47:14 -06:00
Oliver-Akins
c466e0e539 Some ActiveEffect shenanigans with training levels 2024-04-20 23:12:38 -06:00
Oliver-Akins
cfaed0d230 Add a generic ActiveEffect class + proxy 2024-04-20 22:08:23 -06:00
Oliver-Akins
6198146c6c Make it so that Materials can only be in unknown location or your inventory 2024-04-19 19:06:15 -06:00
Oliver-Akins
0ac7f07081 Fix a bug with the Sync actor 2024-04-06 12:00:06 -06:00
Oliver-Akins
dd5a980f4e Add the locations selector (closes #153) 2024-03-31 15:35:46 -06:00
Oliver-Akins
be31e98dea Tweak the way that the logic for usedCapacity is working to make it correct and bit easier to read 2024-03-30 13:00:05 -06:00
Oliver-Akins
71c091e04a Fix an issue with the capacity calculation not working on items that don't have a quantity (surprisingly more than expected) 2024-03-25 22:55:58 -06:00
Oliver-Akins
649381cfdd Make the friendly duration be a getter on the Aspect class 2024-03-24 16:53:12 -06:00
Oliver-Akins
96f5b17785 Implement a button to create items of a specific subtype in the player inventory (closes #120) 2024-03-22 23:35:04 -06:00
Oliver-Akins
b3e699bc32 Harden the preCreate quantity increase to use source IDs in finding the item 2024-03-22 21:47:29 -06:00
Oliver-Akins
18cdc2addc Get the item embedding working in a cleaner way where most of the item embedding logic is handled in the item's class instead of the actor's class 2024-03-22 20:23:28 -06:00
Oliver-Akins
0605542d62 Remove console log 2024-03-21 21:24:37 -06:00
Oliver-Akins
bad95f8c18 Begin making the pre-embed quantity change logic based on source IDs and not name 2024-03-21 21:24:26 -06:00
Oliver-Akins
a383225b8c Add a couple of notes for a method I want to tweak later 2024-03-21 00:26:36 -06:00
Oliver-Akins
df38113533 Simplify logic that I did weirdly for some reason 2024-03-20 21:20:51 -06:00
Oliver-Akins
aa5c6d5aba Improve how capacity consumption calculations are performed 2024-03-20 17:56:41 -06:00
Oliver-Akins
0304af3695 Move sheet logic into the sheet class... 2024-03-19 23:29:14 -06:00
Oliver-Akins
59b64f57db Fix the instanceof operators on the proxy to include the default class 2024-03-19 19:35:14 -06:00
Oliver-Akins
30ed81cafa Prevent data from being undefined within actors and sheets because of my attempt at getting TS to play nicely 2024-03-18 23:28:55 -06:00
Oliver-Akins
33ccb01a6f Change import order 2024-03-18 23:20:54 -06:00
Oliver-Akins
62554d1622 Remove console logs 2024-03-18 23:20:27 -06:00
Oliver-Akins
cd98e66484 Make the system use Proxy and proper subclassing instead of the weird middle-ground polymorphism (closes #86) 2024-03-18 23:16:17 -06:00
Oliver-Akins
931b6a96d0 Add EOF newlines to all files that don't have it already for consistency 2024-02-10 22:55:45 -07:00
Oliver-Akins
30fee77c8e Cleanup log statement 2024-02-10 13:22:20 -07:00
Oliver-Akins
914b6e5862 Implement initiative rolling within Foundry 2024-02-10 01:03:49 -07:00
Oliver-Akins
1002b1387c Add rest dice tracking for the Sync actors 2024-02-08 23:25:55 -07:00
Oliver-Akins
7067615da7 Some miscellanious cleanup 2024-02-06 20:42:56 -07:00
Oliver-Akins
2f8ec1b79c Finish the Inventory item improvements 2024-02-06 19:29:05 -07:00
Oliver-Akins
1bc141d91a Remove data migration stuff that doesn't need to exist 2024-02-03 17:50:01 -07:00
Oliver-Akins
15aaf4edd0 Add missing export 2024-01-28 16:26:27 -07:00
Oliver-Akins
028b8629fe Implement Mob Sheet 2024-01-28 16:00:14 -07:00
Oliver-Akins
efc9316c31 Implement Spell send to chat 2024-01-26 22:43:26 -07:00
Oliver-Akins
b30aa18a27 Pets and misc changes 2024-01-26 21:40:27 -07:00
Oliver-Akins
9a61b9f127 Tweak the embedded item updating method to make it retrieve the value correctly 2024-01-20 14:49:16 -07:00
Oliver-Akins
6700c8c1fb Remove some stuff that I started but began to overwhelm me 2024-01-19 20:38:22 -07:00
Oliver-Akins
762b297895 Add the data model for structures and prevent them from being embedded in most actors. 2024-01-16 19:25:16 -07:00
Oliver-Akins
eb8d4f7c11 Work on creating more of the necessary data models 2024-01-15 22:47:47 -07:00
Oliver-Akins
3e40d0f8c5 Add setting to limit how many Aspects a character can have equipped 2024-01-14 01:00:51 -07:00
Oliver-Akins
3791a7199c Make it so that the actor can reject embedded items using the Item pre-create hook 2024-01-13 16:03:43 -07:00
Oliver-Akins
38fcb1193a Add an ItemHandler class and prevent players from having more than 1 aspect. 2024-01-13 15:03:00 -07:00
Oliver-Akins
82108bfe5f Convert to using a module instead of a "static" class 2024-01-13 01:25:11 -07:00
Oliver-Akins
2ba9ab2b21 Remove console log 2024-01-12 23:27:57 -07:00
Oliver-Akins
7d990fe64b Allow creating custom embedded documents of any type from the sheet, and add functionality to the aspect create button 2024-01-12 23:26:55 -07:00
Oliver-Akins
10dcec3bd7 Work towards better editing of embedded items 2024-01-11 23:20:35 -07:00
Oliver-Akins
7381a2a7fe Allow editing embedded documents (used for spells here) in the item's sheet itself. 2024-01-11 19:03:24 -07:00
Oliver-Akins
dcdc1b7764 Add event listening for embedded item deletion 2024-01-10 19:17:44 -07:00
Oliver-Akins
68ed570552 Work on generic embedded document handling 2024-01-09 22:42:25 -07:00
Oliver-Akins
e5bd1e8338 Finish implementing the Add Spell button 2024-01-09 22:24:22 -07:00
Oliver-Akins
27fe6076ba Remove flawed implementation 2024-01-08 23:55:20 -07:00