wintersleepAI / foundry-swnr

Stars Without Number: Revised for Foundry VTT
GNU Affero General Public License v3.0
31 stars 21 forks source link

Token HP isn't tied to Actor HP for PCs, and default token isn't very usable #40

Open thebwt opened 1 year ago

thebwt commented 1 year ago

Originally reported in discord:

Suggestion: Player Token HP and char sheet HP are not connected by default. Lost HP is not shown correctly when char sheet is opened. This is ok for npc, but can it be different by default for player chars?

@wintersleepAI followed up with

If I am understanding you correctly this is a foundry behavior. By default tokens are not linked to the prototype actor, but requires that someone checks the box manually to link (see the diagram above). This means all tokens are about the same actor vs creating a new one when dragged. I think I do have the code to link by default for an actor type (eg characters could come linked by default) -- this is what factions do. I hesitated doing this on actors as it changes a core behavior and might go against what someone expects.

IMO, there are a few things to take from this: