Read-only archive of the Armageddon Games Forums Archive (2000–2026) · About this archive

Bomb Init Issue 509

4 replies · 945 views · Started 06 August 2007

I don't remember which build first had the issue that Link couldn't use bombs unless he picked them up (or they were checked in init data). The bug is that getting bombs from a 'More Bombs' room does not count as picking up a bomb. The quest is from 2.10, so setting bomb init data didn't exist back then. The best fix would be making the 'More Bombs' room give Link bombs as if he had picked them up so he can use them if they are his first bombs.

The good news is this was the only bug I encounted during the entire quest (it's a big quest), so the builds are getting better!

How many is he allowed to carry in init data?
I don't mean start with, I mean carry?
Remember the 2.10 test quest had that problem, that he was set to carry 0 so they didn't work.

Ah, Link had no bombs to start with! In order to use a bomb, Link must have
- a bomb equipment item
- at bomb counter of at least 1
Visiting a bomb increase room, without first picking up a separate bomb, increments the bomb counter, but does not give Link the bomb equipment item.

Fixing this problem is slightly tricky due to the possibility of a quest having custom bomb types; I've changed bomb upgrade rooms to give Link the bomb item of level 1, if such an item exists. This solution should fix old quests without (greatly) perturbing new ones.