jorio / OttoMatic

Pangea Software’s Otto Matic 🤖
https://pangeasoft.net/otto
Other
141 stars 13 forks source link

Seperate/add cheats #5

Open jpenguin opened 2 years ago

jpenguin commented 2 years ago

Maybe a bit much, I don't know- something to think about.

Growth can crash game in most levels

foote-darrell commented 2 years ago

The growth potion can crash the levels? Wouldn't you have to compile it to have tested it?

jpenguin commented 2 years ago

Yes, I compiled an appimage for my system. If you use a growth potion in a level where it was never intended (like 1 or 5) https://images2.imgbox.com/8a/ae/oUBu0CRV_o.png

So, it's not a bug- but something he may not want to make easily accessible

jorio commented 2 years ago

Call LoadSoundEffect(EFFECT_GIANTFOOTSTEP) when triggering the cheat to bypass this error. Also, you should modify TossGrowthVial so it does nothing outside of the jungle levels, otherwise it may display some garbage mesh or crash the game.

jpenguin commented 2 years ago

While looking, I got an idea, why not not give the potion outside of the jungle. It seems to work.

foote-darrell commented 2 years ago

The point of this idea was that it could be tried out on other levels. How would you encode such a call into the syntax? I'm still kind of new to this.

jpenguin commented 2 years ago

@foote-darrell yes, possible. I added it in the last change