Forcing an AI to do my CHORES! | Tavern Team Devlog #7
Vložit
- čas přidán 20. 05. 2024
- In order to keep your lovely tavern clean, I implemented multiple chores to do, I have a huge issue though.
I just got home from working all day, sat down and realized I don't want to do any more chores. So I built AI staff that you can hire to not only run your tavern, but to keep it clean as well. Im gonna break down the specific logic I set up, and at the end, put them to the test to see if they can run the tavern entirely by themselves for a night.
Come hang out on Discord: / discord
Check out the Synty store by using my affiliate link to support the channel! syntystore.com?ref:TJ
Twitter: / tjgamedev
FootStep script I mentioned: github.com/dropecho/unity_foo...
Most of you know what tavern team is at this point, it's a first person sim Ive been working on where you run the Tavern, serve customers, manage resources.
Synty Assets:
assetstore.unity.com/packages...
Music in order of play -
edamame - bbno$ & Rich Brian: • bbno$ & Rich Brian - e...
jump man 93 - bruh: • jump man 93 - bruh
No Matter - Family Barbeque: / no-matter
Yung Bae - You’ve Got Me: / youve-got-me
About me -
Hi I'm TJ, a developer who is passionate about learning gamedev. I primarily develop games on the unity platform using C# but any code is fair game. I’m still learning a lot but hope you’ll enjoy my
Software Used -
Unity Version: 2021.1.22f1
Visual Studio Code: code.visualstudio.com/
Adobe Premiere Pro: www.adobe.com/products/premier
Adobe Photoshop: www.adobe.com/products/photoshop
PC Specs -
NVIDIA GeForce RTX 3080
AMD Ryzen 7 2700x
32GB RAM
Way too much caffeine
#unity3d #indiedev #gamedev #indiegame #gamedevelopment #devlog #madewithunity
#indiedev - Věda a technologie
6:28
"This is actually working"
*Guy phase shifts through bar table*
Gold.
I need to hire Snorlax for my AI Pathfinding, its a bit of a disaster held together by duct tape
- Add musician as a job
- Someone said add barfight, which could add bouncer as a job
- You could add a kinglike npc that could spawn randomly and comes with some soldiers. It would “overwhelm” the pub, but if you can still manage it, it is rewarding.
- You could add so that some people cannot pay their drinks, so they have to clean the mugs.
Musicians will be added, I’ll have to figure out how to make the bouncer interesting if there are no fights going on
@@TJGameDev If there are no fights happening, have it so the bouncers walk and talk with the regulars which could boost happiness a small amount.
@@TJGameDev for bouncer
there is a 2D game on steam called travellers rest in Early access.
they have ppl occasionally shout in the bar, and you must go up to them and tell them to stop or it lowers happiness.
sometimes they they quiet down, other times they walk to another table and start bothering ppl. you hit them with the mop to get them to leave
maybe something like that, where drunken troublemakers will get a red aura/outline and start getting loud, and your bouncer can manhandle/drag them out screaming XD
would love to see a dwarf get dragged out by a dainty elf bouncer XD
Try to add some sort of Bar fight, it would be pretty cool
Love the game soo far
This also would be a good way to add security
Haha everyone keeps asking, it'll get added
@@TJGameDev extra idea : how more populated it gets how more chance there will be for an bar fight
@@TJGameDev also needs a betting system. 😎
was thinking this exact same thing.
"it's me from the future, gas is still expensive"
"I added the mug counter"
😂
Since it is a game about service sector business, I want to see the ultimate villian, Karen.
Oh god no, a customer that just complains all the time 😂😂
Oh I missed this dev log, you already did some chores and hiring staff, cool! I can add that it may be cool to make visitors spread the dirt with their feets after stepping in the spill, so that way you'd probably want to remove all the spills asap. And also it can be a nice touch of realism, as well as a way to balance out your chores load with amount of customers and amount of staff hires. Either way, very cool update! Cheers, mate!
Tracking spills around is a great idea, it’ll get added to the list
Thanks for your fun devlogs and hard efforts to bring them to the public eye. Might I suggest thinking about Bouncers as an employee utility AI, they could handle rowdy tables when theyve drunk too much, stop barred riff raff returning at the door, ad probably more ha!! :)
If you decided that the ale barrels aren't infinite, you could add a basement for storage, and then add a grunt who carries barrels and such. You could also have a place where you could order barrels, and they show up behind the tavern in a wagon. The grunt could also unload the barrels and put them in storage.
Good ideas, I have a storage closet in the back for them but wasn’t sure how they’d show up, I think I’ll use that idea
I like it. Here are some ideas to help your scope creep:
- Rats as another chore
- Negotiating minigame to upsell customers to the better Ale
- Flair bartending minigame. (physics or quicktime events?)
- Flirt option
- Ability to move the furniture into different arrangements for customization
- In-game achievements/events that make banners - eventually cover your walls with them like trophies.
- Demo of game that allows you to visit another person's tavern as a guest - this would enable exposure as Streamers could run a bar and their audience/patrons visit and hang out there. Kind of meta. Would work well with more mini-games for patrons.
- Trivia
- Darts
- Card game(s)
- Drunkenness UI for when a Patron has had too much - gets worse at walking, darts, trivia; sounds change slightly, etc.
Great ideas. The rats can be like in overcooked where you have to swat them when they steal food or whatever. Negotiating can be like in Kingdom Come: Deliverance, where if you haggle too high, the person will get fed up.
very nice job man, can only imagine how satisfying it must have been seeing all your systems working in tandem
Absolutely, thanks Babitch!
found this channel, watched a few vids, realized he's jacked, then watched till the end, man's a god damn unit
can't wait for the next updates!
Haha thanks man! 💪💪
Perhaps add a chef that makes simple snacks like a charcuterie boards and salads and stuff. This would be a pretty late game though
Sure, then maybe a waiter to bring the food around
you need a BARD! A Lute playing Bard that can be either cheered or booed by the visitors. If its a good bar people buy more drinks, + NPC bar fights you have to control!
Absolutely, trying to figure out how I’ll do it
i found your channel yesterday and instantly had to binge-watch your devlog series. thank you so much for this!! it's amazing to see all your progress.
Hey thanks so much! Glad you’re enjoying the series
you need to do like Rimworld and allow the player to set the task, so the player needs to balance between cleaning mugs, or cleaning floor, but he will have to go to leave/ pick up the broom, which would waste some time, to force the player to be more efficient with the schedule
That’s a good idea thanks
This game is fairly interesting, I imagine there could be a sort of night rush mode in the distance future when the game is done. Could be a neat challenge.
Yeah good thought, thanks man
this is so insanely super polished. exceptional work
Thank you!
You have some really cool ideas man, I'm looking foward to begin a game project myself in the near future as well, hope everything goes well for both of us. Keep up the great work
Thanks man, best of luck to you!
I think the spill logic would also be cool if it takes into account how many beverages the customer has had on top of the race
Yeah that’s a good point
BAR FIGHT! You need bouncers.
I think will be cool to add stats for your employees, like a screen were they have some stats, and if a certain stat is low they probably mess up something, like giving the wrong beer o forgetting the order. I suggest it cause if they are all perfect you don't need to play anymore and the game just becomes you watching AI doing everything.
Yeah stats are a good idea, thanks
The game looks like it’s coming along really well! Nice work
Thanks man
loving this series, the attention to detail really is nice!
keep it up!
Hi
Glad you enjoy it!
An idea that would be cool to see is you could Hire people that come into the Tavern so over time the people working for you would be people you chose. An example could be a Bard. If you hire him he would play music and people could tip him and working happiness would play a factor into how well they work
Hmm I like that. Maybe people can come up and ask for a job
@@TJGameDev yes!
This game looks great really like your editing style
Thanks dude!
Clearly need to steal a sword vackshealth animation for that mop.
Super nice video, I love how the game is turning out.
I think it would be cool to have a daily special menu item which requires more resources to cook but gives a bigger income
Hmm, or maybe a daily special that you don’t make as much money off of but it attracts more customers. Thanks
This looks and feels amazing! Subbed!
Thanks man!
You could add a chef and a person who welcomes people into the bar and shows them to there chair
Oh good idea, chef will definitely be added eventually
Awesome work on this game!
Thanks man!
It would be cool to see a hiring system where candidates have certain modifier, making them faster or better service etc, and you have to pay them a daily rate or something like that based on their skills on so on
Yeah true, I’d like to add that at some point
@@TJGameDev Cool! I think you'll end up making this into something really great, keep up the good work
Job idea: Bouncer, as other people have said but if you don't hire one you as the player can also do the job and break up fights.
Fights stop people from buying drinks since they are watching and cheering so it's in the players interest to break up the fight to make more money.
Also for those that don't want to break up the fight... Bar fight gambling system???🤯
Yes, if there’s fights going on some of the customers should also leave!
Someone here mentioned gambling. Would be cool to add an additional layer of multiplayer to have real people enter the pub to play cards games, magic tricks, that knife-finger game, perhaps?
With that, adding incentives on making the night a success for the pub (making friends with the patrons, buying more drinks), or making the staff fail the night (spilling drinks, picking fights without getting removed from the bouncer).
Edit: more ideas!
Adding an intoxication level. Every pint increases how drunk the patrons/players are. The bouncer will need to monitor those who get to 4+ pints and remove them accordingly/bar tenders won’t be able to serve steaming people. The more drunk people, the more likely there is to be a brawl. There’s probably a lot you can do with this.
Is there a goal for the night? Turning profits? Happy customers? How does your team win?
I can also see a lot of potential for adding more races with unique attributes to increase difficulty. Ghouls who don’t drink and make everyone miserable, hobbits who are too short for the table/bar, orcs/bad guys who are aggressive and pick fights… what would wizards do? (Clearly LOTR inspired). Also love the idea of adding situational NPCs (kind of like modifiers).
Real cool concept, looking forward to watching the progress.
Damn, screenshoted this as I like a lot of the ideas. Thanks so much man!
Just a random idea, but you could do something like, if someone waks in a spill, it will spawn a few spills footprints. I think it would make a little challenge about priotizing chores :)
That’s a really great idea. I’ll absolutely add it
Adding a security staff member to handle unruly patrons would be a cool feature add :)
Sure
let’s go TJ
Thanks n8!
AI Staff Idea... Chef:
takes orders of customers who are ordering food
buys random ingredients (can repeat if they don't buy the required ingredients to make any variation of the customer's orders)
uses logic to make the best possible meal with those ingredients
brings the meal to the customer
repeats
Alternatively... you could program a wooden barrel/bucket with ice in it that would function like a fridge that could store meals
buys random ingredients (can repeat if he doesn't have ingredients to make ANY food)
uses logic to make the best possible meal with those ingredients
places meal in the new cooler you coded
repeats
Great ideas! A chef will be added at some point!
You should add bards as a hireable staff member. Better bards cost more, multiple bards could play more instruments. This would add to the enjoyment or mood of your customers. The more skill of the bard the better they play, the more enjoyable the song. The more instruments the better the song. Customers could have random interests in instruments making them enjoy the song more or less. Customers could tip the bard making them want to come back or maybe it is how they "Level".
What would make this extra awesome would be if you had a single song with multiple tracks for each instrument. Select the track depending on what instrument the bard(s). So it would be cool to see the customers interacting with the song in some way. Bobbing their head, tapping their toes, raising a glass, singing along.
Damn lots of great ideas. Different tracks for instruments would be hard to do as I have no musical talent but it would be amazing
@@TJGameDev yeah and unfortunately I have no idea what a multi track song like this would cost. You're probably going to at some point get a music pack from somewhere for this game maybe from the asset store or a humble bundle. You might be able to use some audio recording software to split the songs into instruments Like this czcams.com/video/9oNHoE4wHc8/video.html. If that does not work you could possibly message the artist of the pack you get if you could get a version of the song split out for you. As long as you buy their tracks this might work.
Ay Windrose. Keep up the good work man, loving it more everyday.
Thanks man!
Brains and brawn, you young man are a chad.
Zee world iz yourz. Kill it homie. Cant wait to play the game!
Thanks so much man! 💪
bruh, love your game devs! Really well polished. I know the assets are a huge part, but your use of them is what gives it that extra sweet immerssion. Also, nice deadlift! That's like 200kg in each side?
Thanks man! Yeah the assets are really helping me, I’m loving them. And yes 200kg. It comes out to 945lbs and we were bummed cause we didn’t have enough room to hit 1000 haha
They spill drinks a lot sheesh
Could be cool if the customers sang from time to time, like a random event that messes up the table and everything around it
True, thanks
you should defiantly have an orc bouncer
Yeah, but he’s the max level bouncer. You’ll have to hire smaller guys first
I've been binging these videos; looking great so far. It would be good to have skill levels for the staff. For example a better bartender can take multiple orders at once and carry several drinks together. A skilled cleaner can clean a larger mess with a single action etc
This is coming along amazingly. I am catching up in your devlogs, but wanted to ask. I know you said the Player has to hire all of these workers, so the Player starts off running it all by themselves. Would it be possible for the workers to not be a permanent hiring? Meaning, if you fail to pay them their wage, and can and will quit, which could be horrific for the Player, especially depending on how much they upgraded the tavern and how many regulars they amassed. If a bartender (How many can you have? Can you upgrade the bar to be bigger with up to 3 bartenders to handle the influx as you tavern grows more popular?) quits, you have to handle all those people, which may lead to them getting impatient and leaving, especially if you haven't directly served anyone in a while.
These are just some of my thoughts after watching, though sorry for how long that got. I wish you luck on the rest of your game! Can't wait to see what else you come up with and implement. Take care! 🙌👍
BarMaid to take orders from tables to the barkeep, then deliver the orders. Also can flirt a little for a chance at extra income.
Great idea
The game's looking better every day, good idea with the automated work. A great way to spend some in game coin lol 😉
Thanks man!
Idea for job:
The bouncer (ogres are best)
And the musician (elves play very different songs from for example dwarfs and they suit different customers)
A cook
The juggler
Maybe also some unique special npcs: (maybe with unique behaviour)
The storyteller
The historian
The thief
The lord
The curtisain
Lots of good ideas, thanks man.
@@TJGameDev Thank you love your project
You can add the people-caller person, that will stay on the street and call people inside. But you will need to add street :D Buuut, you can add tavern outlook customization and upgrading as a new mechanic. And, maybe errand person, that will go and find some stuff, that you run out of.
Hmm, I like the errand guy idea!
Can't wait try this game if launching in play store
Google play store?
@@TJGameDev yeah
Nice Gains💪
💪
Idea:If tavern customisation and tavern fame implemented make it so you can make an area for nobles/high-class and area for commoner/low /mid-class people
Hmm good idea
@@TJGameDev thank you
They need a stress meter. The more work you put on them the more pay they need.
Maybe have the meter drop between shifts or slowly deplete as things slow down and are less stressful.
The more you pay the slower the meter fills.
Also if it gets too high they rage out and quit 🤣
Oh geez great idea on the stress. I needed to figure how to balance pay and that might be a good idea
Dope idea, and maybe you could even gift them and build friendships with them to lower the meter
@@supremestudios5667 yeah I was thinking maybe send them home early , before they spurg out.
But would make the shift harder on you and everyone else, so would be a balancing act between stress levels.
Or give bonuses if they get really high. Drop them down faster.
Or if they are lazy just work em hard until they leave lol 🤣
Very cool
Thanks man!
Already seeing comments for what I was going to suggest. Possible bar fight, some sort of musician (maybe a bard.) what about some sort of simple bar game. Not sure what they would play or do back then. Maybe a cup/dice game of some kind, darts? 🤷🏼♂️ definitely a cool game so far love the work.
Dice sounds easy enough to implement, didn’t kingdom come deliverance have something like that?
nice idea! You should add a stripper which only comes out when a customer has Birthday (rare occasion) and everyone dances and throwes money.
Then get the AI to collect the money so your tavern makes extra stocks!!! JOOOOHHH
also please let me on your dc I cant accept the invite :3
you should add an entertainer to dance on a stage somewhere
Yeah, good idea!
Make a entertainer that increases customer happiness or whatever
Yeah like a bard? Good idea
Have a volume of drink be a "mega pint" LOL
Lmaoo of course!
I humbly request BAR FIGHTS!
Yes sir!
Hi... nice work at all. Can you explain which lightning settings you are using or how you set this
Yeah Unity URP. If you join the discord I’ll send you a screenshot of the settings
@@TJGameDev Great :-)
Hire a pickpocket to work your bar.
How about a micro brewery out the back so you can create limited ales using unique hops etc? Bands/musicians a good idea or how about a comedian that boots NPC happiness depending on their race. Great looking game :)
Great ideas man! I had never thought of a micro brewing game I’ll have to consider it
Try adding bouncers. It could go with the dissatisfied meter you mentioned in an erlier video. The more dissatisfied a patron is, the more likely to start trouble. A bouncer reduces that chance, and will attempt to intervene should trouble occur anyway
Really awesome, I always love seeing AI. What are your plans to keep players engaged after the robots 'replace' them though?
Making them cost a lot of money, and increase the amount of stuff to do. Basically it’ll be really expensive so you’ll only be able to hire one or two. Maybe play games with the customers while the ai does the chores
@@TJGameDev That sounds like a really creative solution :D
I love watching your videos! Any suggestions on a tutorial for how to do something like this?
Check out Sebastian graves
@@TJGameDev thanks!
If you like the concept of dwarven metal, check out Finntroll and Saboton.
I second having a bard or musician system for some ye olde entertainment if you're looking for scope creep.
And unrelated: what's your arm routine? Your bis have a great shape
Thanks man, I just make sure to do 3 different bi curls once a week. Hammer, preacher, ezcurl bar. Hits both heads and the bracialis tendon. And sabaton is one of my all time favorites!
Mabye like a jester that does tricks like juggleling and some guests take turns watching him or her idk that whould be cool but if the A.i is hard to so you don't have to do it just a cool idea i had anyway sooo yea.
Yeah definitely sounds doable, I’ll add it to the list.
I think it was would be cool if you added tavern fights that happen randomly and you can chose to either try to stop it or join the fight
Yes sir, will add eventually
EMPLOYEE UNIFORMS!
Hmm, hadn’t thought of that but good idea
Pog
Hey.. Would be nice when your tavern is doing good enough you can start hiring bards. That way you can bards playing the actual soundtrack as you progress?
Good thought!
Workers are a good idea, but it would be too easy if they could do everything smoothly from the start. I suggest adding experience to the workers, so that they make mistakes at first but the more they work the more experience and less mistakes. You should also add a system for gathering coins for service and pay the workers, that way you'll need to think a bit more about how to use the money wisely. I've got lots of ideas seeing this game but too much for one comment/video ✌️
Very very good ideas! Feel free to join the discord there’s a channel there for game ideas
Add a functionality where you can throw your mug at the rack and it automatically shelves
Maybe add security, like if there a bar fight or something
Loving these videos. I think there should be some way to tend to patrons that have already taken a seat, and maybe have a waiter/waitress to go out and see to them.
Also, powerlifting content? 👀
Yeah that seems a necessity. Haha probably no powerlifting content on this channel but I might add a gym in the tavern just for the memes
Do you have plans for doing multiple "levels/nights". So players will have to make a decision to buy certain ales and food for the next night? Would also work well with the musicians idea someone commented.
Yep, customers will spawn over maybe five minutes, then once they all leave you can make preparations for the next night
Looking good although I can't help but notice that when the bartender puts down the bubble filled drink the cup becomes empty(I did notice a few other things also but eh).
hmm, yeah some bug there. Thanks for pointing it out I'll get it fixed
Maybe let the AI forget something, I think that makes it more human
Oh good idea
@@TJGameDev Thanks!^^
IDK if anyone else has said it TJ but why not make it a mop if it's liquid you are cleaning up?
Yeah true, it looked like a broom so I kept confusing myself
This game looks like Tavern Master but 1st person.
Yeah we’re using the same assets. I’ve talked to the dev a bunch and he actually gave me a free copy of the game to try for inspiration haha. He’s a super nice guy
Could have difficulty in work for your worker between newbie to pro and also could decrease the spilling.
Yeah yeah good idea
this would be a good VR game
Dude I want to add VR at some point
@@TJGameDev that would be awesome I really want to get a valve index once I move house and get some money
Same haha
I think it would be cool if the player could buy customization for certain parts of their tavern, like mugs and tables.
Yes sir, next video most likely
U asked what should I add in my game
I think u should add security guards or bouncers
Maybe add an extra personell category, a Bard?
Sure, will be added eventually
"I don't want to work anymore"
Proceeds to work on the game to not work in the game
Hahaha exactly
I want a "get out of my pub" staff
Haha I’m thinking of shrek yelling get out of my swamp
@@TJGameDev ah its reference to an Englisn show called Eastenders.. its older than you and I.. the owner of a pub seems to say it a lot
Add a band like a string player or a drummer of some sort… some type of entertainers
you need a bouncer u cab hire, he can watch out for thieves and drunks that start fights
Absolutely
Hey i think you should add some sort of robbers to the game let me explain
I think you should add Bandits/Robbers who come and try to take your money and the only way to make them leave is to call catch them so they might order but then they might try to steal some money from you i think you should add a vault and the ability to yell at them to make them run away and leave i think it would be fun and you should make it so more bandits spawn at happy hour
Haha I saw your comment on discord man! I like it it like it, thanks. Bouncers could deal with them
maybe a system like the customers rate your store and the more stars you have the more money you get Like 1 star = 1$ and 5 stars = 3$
I like it
Are you gonna try get this on Switch? Just wondering cause more Indie devs get their games on there now, that’s how I would preferably play it.
Not at the start sorry. Since it’s my first game I think prioritizing pc is the way to go. If it does well and there is a demand for consoles I’ll consider it, but as I currently don’t know how to do that it is unlikely sorry
@@TJGameDev As much as it would be cool, I completely understand that :)
Could be fun if bartenders made mistakes once in a while, or take longe. So that the player has a reason to do it himself. Or maybe make the workers have a level. The higher rated make less mistakes but cost more.
Yeah, the bartenders dropping mugs occasionally would make sense
can i Wishlist it on steam ?
Not yet, I’ll announce when I actually do that
How about add a costumer that's heartbroken
Aww poor guy, but customer emotions are a cool idea
You need to make a Steam page
Yeah I really do
@@TJGameDev Yea, but don't just say that, actually do it.
This isn't Tavern Master. Change my mind....
Haha I actually am friends with the dev, he reached out to me back in February and we’ve worked together on some stuff since! He’s a great guy
Add robbers or not. robbers would sometime come to your tavern if there are not a lot of people or you just open they would rob they would not rob if a lot of people in the tavern the bartender and the cleaner they would be rob they also attack you you can fight back or just hire a guard for your tavern. elves don't rob dwarves maybe humans sometimes but if you only want to add this it's ok if not
Good idea! Robberies would be hard to stop if there’s a bunch of little goblins or something