Giter VIP home page Giter VIP logo

Comments (3)

Pinacolada64 avatar Pinacolada64 commented on July 17, 2024

I was looking at this issue, it doesn't seem we have a drink command. Trying to research on how to create one. We could add a drinkable attribute to flasks and fountains.

from now.

Pinacolada64 avatar Pinacolada64 commented on July 17, 2024

Wait, there is a drink method associated with the fountain of refreshment. I'm confused where it is being called from. Hmm. Searching the repo for drink is returning any useful results.

Never mind.

def drink(self, caller): # TODO: Make this use a more generic def consume

from now.

AmberFennek avatar AmberFennek commented on July 17, 2024

This is a Mile 2 issue, and requires #8 to be completed first.

In the case of drink, it isn't actually a command, but a verb. If the particular object responds to the drink verb (e.g. it's drinkable), the drink method on the object class (the one on line 427) should be triggered to cause the drink effect to take place. Because that step is missing, verbs trigger, but only offer a generic response until the verb interaction functionality is added.

See verbs.

from now.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.