zarqon
Well-known member
I have come across several situations now where it would be much better if mafia adjusted goals when you acquire an item instead of only after adventuring somewhere:
1) Stasising monsters for elemental discs -- SS looks at is_goal(), so even after it gets the item it keeps stasising:
2) When a betweenBattleScript acquires goals by using container items, mafia will still adventure one more time before it realizes that goals are met.
3) Pickpocketing a goal item.
There may be more situations that arise. All of these situations could be avoided if mafia updated goals immediately whenever you acquire an item instead of during a post-adventure event.
1) Stasising monsters for elemental discs -- SS looks at is_goal(), so even after it gets the item it keeps stasising:
[2303] Seaside Megalopolis
Encounter: liquid metal robot
Round 0: zarqon wins initiative!
> Monster value: 0.0
> Profit per round: 0.0
> 1/8 monsters dropping goals.
> This monster drops all your remaining goals!
Round 1: zarqon uses the facsimile dictionary!
Round 2: zarqon uses the facsimile dictionary!
Round 3: zarqon uses the facsimile dictionary!
Round 4: liquid metal robot takes 67 damage.
Round 4: zarqon uses the facsimile dictionary!
Round 5: zarqon uses the facsimile dictionary!
Round 6: zarqon uses the facsimile dictionary!
Round 7: zarqon uses the facsimile dictionary!
Round 8: zarqon uses the facsimile dictionary!
Round 9: liquid metal robot takes 43 damage.
Round 9: zarqon uses the facsimile dictionary!
Round 10: zarqon uses the facsimile dictionary!
Round 11: zarqon uses the facsimile dictionary!
Round 12: zarqon uses the facsimile dictionary!
Round 13: zarqon uses the facsimile dictionary!
Round 14: zarqon attacks!
You acquire an item: essence of cold
Round 15: zarqon uses the facsimile dictionary!
Round 16: zarqon uses the facsimile dictionary!
Round 17: zarqon uses the facsimile dictionary!
Round 18: zarqon uses the facsimile dictionary!
Round 19: zarqon uses the facsimile dictionary!
Round 20: liquid metal robot takes 40 damage.
You lose 3 hit points
Round 20: zarqon uses the facsimile dictionary!
Round 21: zarqon uses the facsimile dictionary!
Round 22: zarqon uses the facsimile dictionary!
Round 23: zarqon uses the facsimile dictionary!
Round 24: liquid metal robot takes 41 damage.
You acquire an item: pool of liquid metal
You acquire an item: physiostim pill
You gain 10 muskewlairtees
You gain 12 mistikkaltees
You gain 24 mawksees
2) When a betweenBattleScript acquires goals by using container items, mafia will still adventure one more time before it realizes that goals are met.
3) Pickpocketing a goal item.
There may be more situations that arise. All of these situations could be avoided if mafia updated goals immediately whenever you acquire an item instead of during a post-adventure event.