api .php, intrinsic effects and familiar_wellfed

matt.chugg

Moderator
I was just looking at api.php?what=status mostly out of curiosity, and noticed 2 new fields,

Code:
    "familiar_wellfed": 0,

and

Code:
    "intrinsics": {
        "c3b40896d1596565f2f489b2774dd6ec": ["Kung Fu Fighting", "kungfu", "c3b40896d1596565f2f489b2774dd6ec"]
    },

Possibly the intrinsics one isn't new, and when veracity added the sample to ApiRequest.java she had no intrinsic effects, but possibly its new after the change from item granted effects "is not a thing" anymore, either way I figured i'd just put them here in case they are useful anywhere.
 

Veracity

Developer
Staff member
Code:
r10659 | veracity0 | 2012-02-28 02:16:58 -0500 (Tue, 28 Feb 2012) | 6 lines

charsheet.php does not have results in it
Do not parse effects from the charsheet, since it has no intrinsics
api.php now has the last missing things from the charpane: "feasted" status of
your current familiar, intrinsic effects, and Clancy status. Fetch all of those
from api.php and skip fetching charpane.php on login.
Thank you. You are only about six days late, but I really do appreciate your telling us about this. :)

(Eleron told me about those changes last Monday after rollover and I added support for the new fields a few hours later.)
 

matt.chugg

Moderator
[expletive deleted]

I didn't update my eclipse to head before I checked, ironic also since I wrote the damn thing to search the svn logs!

/me looks suitably ashamed of himself!
 
Last edited:
Top