Today's Prompt: Paw
[html]

Today's vignette is about my cat dying earlier this year and how my spouse and I have processed the grief. RIP to the late and great Juniper Jones. Today also happens to be her birthday.
Today comes with a lot of victories, so I'm posting code for posterity.
I finally got the tagging system for drawings to (mostly) work! Here's how the code there looks now.
isTransparent: function (drawing) {
return drawing.name && drawing.name.indexOf('transparent') !== -1;
},After struggling with the avatar by room hack for a bit, I decided that I would just use the user-generated room name and that would help me in the long-run anyway. And it did. I was having problems with making the ID of the sprite I wanted to use 'B' instead of the arbitrary procedurally-generated ID, so I duplicated the sprite and used it's new ID. So now we have the avatar by room code looking like this
permanent: false, avatarByRoom: {
'Open': 'A',
'Explore 4': 'rainz',
'Checkpoint 1': 'A',
'Checkpoint 2': 'A',
'Explore 1': 'rainz',
'Explore 2': 'rainz',
'Explore 3': 'rainz',
'Start': 'A',
'Private 1': 'rainz',
'Private 2': 'rainz',
'Round': 'rainz',
'Rainfall 1': 'rainz',
'Rainfall 2': 'rainz',
'Rainfall 3': 'rainz',
'Studio Side Closet Yes Rain': 'A',
'Armor': 'rainz',
'Paw': 'rainz',
},Which is heavy but also whatever I'm glad that it works.
I keep going back and doing little fixes to different parts of the text and I predict that will happen for the rest of this month of working on this. MONTH.
I'm about 20% through the month and I like watching the file size just get bigger and bigger. Satisfying.
I'm afraid to rename things now so I'm going to leave that all alone and have some messy back-end files. This is my first forray so that feels right anyway. I've learned a lot already.
After the success of today, I almost went right in to trying to use the follower hack, but then I decided to save that for another day. Especially since I only want a follower for one room right now. I think the options are going to look something like this (leaving in notes)? I might play with it later today.
var hackOptions = {
allowFollowerCollision: false, followers: ['raino'], // ids or names of sprites to be followers; use [] to start without a follower
delay: 100, stack: false,
};Hacks Used: Sean's Avatar by Room and Transparent sprite hack via Borsky