• 0 Posts
  • 20 Comments
Joined 11 days ago
cake
Cake day: March 20th, 2025

help-circle

  • The way The Sims does it is actually pretty interesting. The individual sims have very little behavioral coding involved. They’re basically just monitoring their individual needs. The vast majority of the objects contain “advertisements” that they broadcast, and the sims can simply look for nearby advertisements to decide on what to do.

    Basically, you have a sim. They are simply listening to advertisements that are being broadcasted by the objects around them. Maybe the kitchen sink says “Clean +3” while the shower says “Clean +7”. If the sim’s cleanliness meter is low, they’ll check for local “clean” advertisements and choose one. As their needs get lower and lower, they’ll be more likely to pick stronger advertisements. So a slightly dirty sim will be likely to choose the sink, but a very dirty sim will choose the shower.

    Then once they get to the chosen object, the object basically goes “okay, here’s how to interact with me”. The sim simply pulls from that pool of interactions for the specific object. There may be flags for specific interactions based on certain conditions, or certain traits that make a sim more likely to choose one object over another. For instance, if your sim is a witch, they may have specific magical interactions available. Or if a sim has the Active trait, they may be more likely to choose fitness-based advertisements.

    This makes adding expansions very easy. You don’t need to do a ton of coding for individual sims, to “teach” them how to use new objects. You simply add new advertisements to the objects you’re adding to the game, and make sure your interactions are properly flagged for the various conditions that can exist. And now those objects can be dropped directly into existing save files without any fuss.

    Worth noting that this advertisement system is what caused the infamous “my sim is using the bathroom sink to wash dishes” complaint that plagued the series for so long; the bathroom sink was nicer than the kitchen sink, so it had a better advertisement. The sim wasn’t looking at advertisements based on why they needed a sink. They just knew they needed a sink to wash dishes, and picked the one with the strongest advertisement.



  • To be precise, that’s a cogwheel. There are six cogs around the cogwheel in your image. The word “cog” refers specifically to the teeth around the wheel, not the wheel itself. The cogwheel may be colloquially called a cog, but it’s technically inaccurate; If you told a watchmaker that their watch was missing a single cog, it would have a very different meaning than if you told them it was missing a single cogwheel.







  • This is the worst way to go about doing it, because you should never assume a drawing is made to scale unless it is specifically marked as such. A protractor would be useless if the drawing isn’t to scale. Generally speaking, if a problem isn’t drawn to scale, it’s because all of the info you need to solve it is already present in the drawing. You don’t need to bust out the protractor to measure angles, because the angles can either be calculated from the available info, or aren’t needed in the first place.


  • Isn’t Gunzilla Games the company that released a bitcoin miner disguised as a mobile game? I swear I remember seeing something about them being banned from the various app stores for trying to bury miners in their shit, but a basic google search didn’t find anything.

    Edit: It looks like they’re trying to use blockchain to mint in-game items as NFTs.






  • mic_check_one_two@lemmy.dbzer0.comtoMemes@lemmy.mlshit...
    link
    fedilink
    English
    arrow-up
    9
    ·
    edit-2
    8 days ago

    This is how it works in Germany. Lots of their water bottles are made of glass, and end up with textured/worn rings along the bottle; The rings are from where it goes through the recycling machines to get prepped for the next use. The rings mean the bottle has been reused a lot, and has gone through the machines enough to get slightly worn.