Hi! There seems to be error with how the anniversary day is being recorded. I got married on the 5th of spring but the token registered the anniversary day as the 6th for some reason.
I don't have any wedding tweaking mods. SMAPI Patch summary (Both on the day of the wedding (first one) and the day after the wedding (second one): https://smapi.io/log/6a1b531b99fa4ca8aa180f72242d4564
Let me know if you want me to provide anything else.
The anniversary token is split into two parts with the AnniversaryDay part containing the day of the season the player was married on, and the AnniversarySeason part containing the season.
To check whether the current day is the player's anniversary (both the correct day and season) you could use "When": { "Query: {{TheMightyAmondee.CustomTokens/AnniversaryDay}} = {{Day}} AND '{{TheMightyAmondee.CustomTokens/AnniversarySeason}}' = '{{Season}}'": true }
Unfortunately the update rate is limited by Content Patcher. The mod will always provide the most recent value to CP, but CP updates its patches at a different rate (usually at the start of each day).
While it should be possible to add a distance to NPC token, the slower update rate of CP will mean patches which use the token are unlikely to update fast enough to make the token usable. As such, it's unlikely to happen.
I'm trying to use Children tokens and having nil success. Can I please DM you here or on Discord to discuss? Wait... I just checked and the description here does not match the code given in the Github instructions. which is: TheMightyAmondee.CustomTokens:player=host|childindex=1|daysold (it seems to be missing a /Child
Just an info, when I download this file, my browser (Chrome) says it's an unusual file and potentially dangerous to the computer. It /isn't/ dangerous, but I was wondering if anyone else gets that when they download the file?
This mod is amazing, thank you so much!! Not sure if this is something would consider or not, but do you think you would ever consider adding a token for player birthday? If not, then no worries, ignore this. Regardless, this mod is amazing, and I appreciate it ^^!
I like the MineLevel Tracking and the other things this Mod has to offer thank you for creating it.
Issue I have is that at the beginning of each day it forgets my mine level progress and resets the number to 0. I'm trying to use it to Control when certain weapon are sold in a custom shop via STF. Shop Tile Framework will only update on a daily in the morning so having it reset back down to zero doesn't have the desired effect I was hoping to achieve. I know this mod is designed to work with Content Patch, but it appears it would work with STF as well.
Is there any chance that a near future update could retain the deepest mine level reached and carry it over until the next day? That would be amazing.
Thank you for adding this so quickly.. I'm sure it'll help myself and others. I'll admit I also ask Cherry to add it to Expanded Preconditions Utility if possible, Because it's already a dependency for Shop Tile Framework. And they maintain both. Plus I was looking for this feature because I'm helping another Modder with parts of their mod and having spoke with them they'd prefer not to add another dependency to their mod. So I might not end up using this for my current needs anyways. I'm absolutely certain it'll get used by people either way. Again thank you so so much for such a fast update to incorporate the new token. Now I just have to figure out the appropriate syntax lol that usually takes me a couple tries but I get it figured out.
30 comments
I don't have any wedding tweaking mods.
SMAPI Patch summary (Both on the day of the wedding (first one) and the day after the wedding (second one): https://smapi.io/log/6a1b531b99fa4ca8aa180f72242d4564
Let me know if you want me to provide anything else.
Good catch! Looks like my calculations were slightly off. I've uploaded a new version to fix that.
am i write it right?
To check whether the current day is the player's anniversary (both the correct day and season) you could use
"When": {
"Query: {{TheMightyAmondee.CustomTokens/AnniversaryDay}} = {{Day}} AND '{{TheMightyAmondee.CustomTokens/AnniversarySeason}}' = '{{Season}}'": true
}
And... is it possible to increase the update rate?
Unfortunately the update rate is limited by Content Patcher. The mod will always provide the most recent value to CP, but CP updates its patches at a different rate (usually at the start of each day).
While it should be possible to add a distance to NPC token, the slower update rate of CP will mean patches which use the token are unlikely to update fast enough to make the token usable. As such, it's unlikely to happen.
Thanks for the suggestion though!
https://smapi.io/json/none/04c0dca1e14f407fab5863d71d110011
Unfortunately, Custom Tokens will only work with Content Patcher and not with the Mail Framework Mod.
Can I please DM you here or on Discord to discuss?
Wait...
I just checked and the description here does not match the code given in the Github instructions.
which is:
TheMightyAmondee.CustomTokens:player=host|childindex=1|daysold
(it seems to be missing a/Child
My apologies, I don't know how I missed that. Yes, there should be a /Child after the unique mod id. I've just corrected that on Github.
Thanks for picking it up. Let me know if you have any other issues.
Issue I have is that at the beginning of each day it forgets my mine level progress and resets the number to 0. I'm trying to use it to Control when certain weapon are sold in a custom shop via STF. Shop Tile Framework will only update on a daily in the morning so having it reset back down to zero doesn't have the desired effect I was hoping to achieve. I know this mod is designed to work with Content Patch, but it appears it would work with STF as well.
Is there any chance that a near future update could retain the deepest mine level reached and carry it over until the next day? That would be amazing.
Great Mod, please keep up the hard work :)