Coder Social home page Coder Social logo

eotaddons's People

Contributors

colinsoleim avatar mako-taco avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

colinsoleim

eotaddons's Issues

`/donation prices` should open UI for assigning values to items

We need to feed gold-per-item values into our system so that we can automatically assess value for a given donation

Save to EOT_Prices data in this form:

EOT_Prices = {
  {
    name = "Elixir of the Mongoose",
    gold = 2.5,
    date = 1565256633
  },
  {
    name = "Stonescale Eel",
    gold = 1.1,
    date = 1565252210
  }
}

Add command /ptr roster

We need the ability to copy the entire roster of the current raid for pasting into gdocs easily.
This helps us quickly ensure the assignment sheets are identical to our current raid groups.

The easiest way I have seen other addons do this is through a large, multi-line EditBox. You populate the edit box, and the user copy/pastes. You can use EOT_ForEachGroupMember for iterating over the raid group (https://github.com/mako-taco/EoTAddons/blob/master/EoTUtils/ForEachGroupMember.lua).

The format of the edit box should be newline-separated names of players, e.g.

Lne
Xvk
Tipsi
Donvito

`/donation accept` should open and parse donations

  • Autoloot items with the subject 'donation', 'donations' or 'donate'
  • Populate gold value based on persisted data saved at EOT_Prices
  • DO NOT open/loot mail if any items in it are not listed in EOT_Prices. Display an error instead.
  • Save a copy of the letters
  • Open a copy-box populated with donations recieved in the following (tab separated) format (name, date, description, value):
Xvk	8/1/2019	2x Elixir of the mongoose	10
Xvk	8/1/2019	2x Greater Fire Protection Potion	8
Lne	8/2/2019	10x Enchanted Thorium Bar	100
  • Save all processed donations in SavedVariables so we can use them to auto-delete saved letters in the future

Change `/ptr phase X` to petrify offenders

When /ptr phase X is enabled, then spell casts for ranks which aren't in phase X should cause the caster to be afflicted by Petrification (.nameaura 17624 playername), and give them a whisper to explain what happened.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.