Skip to content
This repository has been archived by the owner on Dec 4, 2020. It is now read-only.

Mystery box additions #434

Merged
merged 11 commits into from
Mar 26, 2020
Merged

Mystery box additions #434

merged 11 commits into from
Mar 26, 2020

Conversation

cocosolos
Copy link
Contributor

Adds a function to load vectors full of obtainable item ids from each mystery box dial on map init. Adds a function to select a random item id from one of those vectors, using the dial number as an argument. Updated Arbitrix to use this function and give out items, and hold onto an item until collected by the player when inventory is full.

I affirm:

  • that I agree to Project Topaz's Limited Contributor License Agreement, as written on this date
  • that I've tested my code since the last commit in the PR, and will test after any later commits

Copy link
Contributor

@ibm2431 ibm2431 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for taking this on, cocosolos!

But you know me; always looking for how we can make stuff more concise~! 😉

scripts/zones/Windurst_Walls/npcs/Arbitrix.lua Outdated Show resolved Hide resolved
src/map/lua/lua_baseentity.cpp Outdated Show resolved Hide resolved
@ibm2431 ibm2431 added the reviewed Has been reviewed by at least one Staff Member label Mar 25, 2020
@zircon-tpl zircon-tpl merged commit 9daa61c into project-topaz:mystery Mar 26, 2020
@cocosolos cocosolos deleted the mystery branch April 5, 2020 05:19
@ibm2431 ibm2431 added the focus Related to a current project focus label May 7, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
focus Related to a current project focus reviewed Has been reviewed by at least one Staff Member
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants