-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
System for storing/retrieving npc drops #192
Comments
This issue has been marked as stale because it has not had any recent activity. It will be closed if no further activity occurs. |
This issue has been closed because it has not had any recent activity. Feel free to re-open this issue or create another one if the problem isn't resolved. |
Drop table instances can already be created so there's that out of the way. The second issue is just creating a system for linking those tables to certain attributes of an NPC. These could be drop tables linked to NPCs by
npcDrop(1) {
val tables = ... ;// Create table(s)
return NpcDropTableSet(tables)
}
val npc = ...;
npc.dropTable = NpcDropTableSet(DropTables.MY_TABLES) |
The fields that need to be stored are:
We should consider support for drop table sharing, where multiple Npcs share the same item drop data. For example, Giant spiders have three different ids, each with a different combat level, but all share the same drop data.
As well, we should support item amount randomization, where we have a minimum and maximum range of items dropped for single a drop entry.
The text was updated successfully, but these errors were encountered: