Page 1 of 1

Pick up shot projectiles automatically?

Posted: Sat Dec 15, 2018 9:24 pm
by meadwarrior
Hello!

One of the great features Legend of Grimrock introduced to the dungeon crawler formula is the automatic pick up of shot projectiles (which are then put in the places of the inventory they were shot from).
:?: Has something like this already been done in DSB?

Where my question comes from:
I'd like to make the two back characters more useful in standard combat (except for slinging spells, of course).
One thing I noticed watching players play dungeon crawlers is that they rarely use projectile weapons, probably because picking all projectiles up one by one is so cumbersome.

Thanks!

Re: Pick up shot projectiles automatically?

Posted: Sat Dec 15, 2018 11:31 pm
by Sophia
DSB is designed to play like DM so it doesn't do anything like this automatically, but the base code definitely includes hooks to make this sort of thing easier. Every thrown projectile sets a last_owner exvar on itself, so it can easily be restored to the inventory of the person who threw it.

Re: Pick up shot projectiles automatically?

Posted: Sun Dec 16, 2018 12:11 am
by meadwarrior
It's definitely not something I could do myself, but it's good to know that something like this is possible.
Thanks!