'SIZE' tag in template, fails during reload to handle var or numerical value.

Description

If you initially apply hybrid for to a halfling wererat it correctly shows as small, however if you save and reload the character then the size is shown as fine. In the original character there are many templates which get removed when you apply the hybrid form template, but these seem to reappear on load. I've attached two characters, one before adding hybrid and one after.

Environment

Loading game Pathfinder_RPG and sources [Pathfinder RPG for Game Masters (includes Monsters)]

Activity

Show:
Andrew Maitland
September 16, 2013, 2:47 PM

You sure this is Data and not a code issue then?

Andrew Maitland
September 17, 2013, 10:16 AM

Well, I can't see any data culprit here: on a simple test - halfling, add the stuff the

SIZE:is set with a numerical quality of 3
0 = fine
1 = diminuitive
2 = tiny
3 = Small

Which means the size should not be changing.

I'm seeing several Code Issues:
1) VISIBLE:NO is not respected on reload - hence why a bunch of stuff is now appearing where it wasn't before. Only the Lycanthrope and Lycanthrope (Hybrid) should be visible.
2) SIZE isn't being correctly processed - the number is 3, the RACESIZE set by the halfling is S, I can only imagine there is an issue with DEFINE perhaps? I'll fiddle and see if DEFINE is a factor here.

My Size Changing changes aren't even in place, so I can't blame that. This appears to be completely Code Issues

Andrew Maitland
September 17, 2013, 10:50 AM

I have a hack to work around this, but the main issue is 'SIZE' I even have a note about it in my dragon revamp work.

SIZE:VarName doesn't like to work. There is your culprit.

I have a fix for the Werewolf and Wererat if that's what is requested, since it now works on my end. But I'd rather see this fixed properly.

Cheers,

James Dempsey
September 18, 2013, 5:04 AM

The code was only expecting races and templates to be involved in setting the size, not abilities. During the load the size was calculated before the Wererat ability was loaded, which is where the AnimalSize was defined. caused the value to then default to 0 rather than the racial size.

The code can now cope with any object being part of the size calculation, although the SIZE tag is still specific to race and templates.

Fixed

Assignee

James Dempsey

Reporter

James Dempsey

Labels

None

Theme

None

Epic/Theme

None

Pending User Input

None

Components

Fix versions

Affects versions

Priority

Minor
Configure