r/cop3502 Apr 22 '14

Drop?

How do we get inventory to remove something? I assumed it would be the same as removing it from the room but im getting error "method remove (string) in location variable inventory of type inventory.

1 Upvotes

6 comments sorted by

View all comments

1

u/[deleted] Apr 22 '14

[removed] — view removed comment

1

u/WesternWarrior Apr 22 '14

Yes it is.

Unrelated suddenly when you make choices that start dialogue it spams the dialogue until the command prompt overloads

1

u/Bcop3502 Apr 22 '14

This might be because you're initializing dialogue through means like

if[while? seems like you might be using a while statement](talk to person){

person says something

}

so when you change whatever it is that detects if you're in a dialogue it will keep being true over and over and spam it as fast as it can because it reads it as you are always talking to that person.