miketweaver / dailynews Goto Github PK
View Code? Open in Web Editor NEWDailyNews Mod for Stardew Valley
Home Page: http://www.nexusmods.com/stardewvalley/mods/1141/
License: GNU General Public License v3.0
DailyNews Mod for Stardew Valley
Home Page: http://www.nexusmods.com/stardewvalley/mods/1141/
License: GNU General Public License v3.0
If you "Exit to Title" then go back to the same save, the news for that day does not appear.
It seems "TimeEvents.DayOfMonthChanged" does not change when you load the save again.
Check if mail is received or event is seen and not show it if the condition isn't met.
{
"newsItems": [
"mail_12 : LOCAL FARM PRODUCES GIANT CROPS",
"event_3 : LOCAL GIRL STUNS TOWNFOLK BY EATING GEMSTONE, ASKS FOR MORE",
"event_14 : CHILD GOES MISSING. IN OTHER NEWS, RARE DOVE SIGHTING IN TOWN",
"MOUSE OPENS HAT SHOP. DOOMED TO FAIL?",
"FARMER FOUND SLEEPING IN OWN FIELDS... CHARGED FEE FOR RESCUE?",
"mail_134 : LOCAL DOCTOR STRUGGLES TO MAKE ENDS MEET",
"CRAZY OLD FISHERMAN CLAIMS HE ALMOST CAUGHT A LEGENDARY RED FISH",
"SHADOWY CREATURE SPOTTED IN SEWERS. URBAN LEGEND OR ADVANCE SCOUT?",
"FAIRIES ARE REAL? LOCAL FARMER SAYS SO",
"TOWN TRAPPED IN TIME! LOCAL WIZARD TO BLAME?"
]
}
mail###, event###, friendship_###NPC, minelevel### and a few others could be easy enough to check.
There isn't very much news to choose from. There needs to be 100+.
Hi!
Thanks for making the news channel mod I, really enjoyed it.
I do a lot of SDV gardening videos so people joked I should have my own TV channel, so here I am. I did the art and text for a gardening channel I just need code for it to work. I am not a programmer so I was hoping you could help me.
Do I have permission please, to use your code to make the two TV channels?
I saw on nexus you are open to collaborations. If you don't have time to help me config no worries, I have spoken to someone who has offered to help me on the coding part so I can pester them with questions. To my understanding I would need the file thingy too, before it was compressed into a dll because that is where the days of the week are configured.
Best regard,
Hisame
PS. I came here from the SDV discord group, they said to message you in the issue section. Not sure how anything works here so hope I sent the message in the right place.
If you use FB or gmail we can talk faster there https://www.facebook.com/hisame.artworks/ :)
@Platonymous requested that we set the Notifications as Optional. This can be done in the config.
Not just load the one specific json file but a whole folder, so others could add to it without overriding.
Add the png for the newscaster as a parameter in the json so others who add their own news-json could also add their own newscaster.
{
"newsItems": [
"mail_12 : LOCAL FARM PRODUCES GIANT CROPS",
"event_3 : LOCAL GIRL STUNS TOWNFOLK BY EATING GEMSTONE, ASKS FOR MORE",
"event_14 : CHILD GOES MISSING. IN OTHER NEWS, RARE DOVE SIGHTING IN TOWN",
"MOUSE OPENS HAT SHOP. DOOMED TO FAIL?",
"FARMER FOUND SLEEPING IN OWN FIELDS... CHARGED FEE FOR RESCUE?",
"mail_134 : LOCAL DOCTOR STRUGGLES TO MAKE ENDS MEET",
"CRAZY OLD FISHERMAN CLAIMS HE ALMOST CAUGHT A LEGENDARY RED FISH",
"SHADOWY CREATURE SPOTTED IN SEWERS. URBAN LEGEND OR ADVANCE SCOUT?",
"FAIRIES ARE REAL? LOCAL FARMER SAYS SO",
"TOWN TRAPPED IN TIME! LOCAL WIZARD TO BLAME?"
],
"newscaster": "assets/news.png"
}
This is specifically the "newscaster": "assets/news.png"
part.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.