Collect items on passing #43

Closed
opened 2016-11-09 09:53:39 +01:00 by nik · 2 comments
nik commented 2016-11-09 09:53:39 +01:00 (Migrated from edugit.org)

Implementation details:

Support a variable named auto_collect_radius. Numbers smaller than 0 mean do not autocollect, absence of the variable means do not autocollect.

When the player updates their position, trigger code that looks for all autocollectable items within auto_collect_radius, then runs the existing collect code on them.

You can wrap existing distance calculation code in a property method to be able to use it as filter.

Implementation details: Support a variable named auto_collect_radius. Numbers smaller than 0 mean do not autocollect, absence of the variable means do not autocollect. When the player updates their position, trigger code that looks for all autocollectable items within auto_collect_radius, then runs the existing collect code on them. You can wrap existing distance calculation code in a property method to be able to use it as filter.
nik commented 2016-11-30 10:31:01 +01:00 (Migrated from edugit.org)

@Creeparoo, will you do this 😃?

@Creeparoo, will you do this 😃?
nik commented 2016-12-16 18:34:55 +01:00 (Migrated from edugit.org)

Does not work.

Does not work.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
nik/veripeditus-server#43
No description provided.