Git Product home page Git Product logo

ezdm's People

Contributors

ajventer avatar

Watchers

 avatar  avatar  avatar

ezdm's Issues

Missing classes

There are no subclasses given for wizards.
Priests only have the druid subclass.

Write manpages

The programs currently lack any external documentation, manpages should fill this void quite adequately and will also stop lintian complaining about their absence.

Drop Item from snippets etc.

Currently items used are automatically overwritten with the state of the item after running event code. This is problematic as it means for example that if snippet_code were to drop an item, then the item NOW in it's index would get overwritten by the older item, drops don't work, items can get overwritten and you may even have indexerror crashes.

Proposal:
Character class to get an update_item method which takes two parameters: the index being updated, and an instantiation of the object from the instance BEFORE the update.
update_item to compare the item in the index with the older instantiation and only overwrite if the items are the same.
This could be done by comparing names but this is still problematic, instead I propose that acquire item gives each item acquired a unique hash (much like map does with NPC additions) and this can be used to compare specific instances of items. While item-onuse code could change many item attributes they shouldn't alter the hash which is unique to this particular copy in the character's inventory.

Create windows package

The code should be fully portable and it should be possible to create a package for windows but since I have no windows systems, I'm hoping somebody else would volunteer to create and maintain one.

NPC - Death

Currently if an NPC is killed by an item's onuse event he does not get removed correctly from the map and is resurrected with full health after dropping loot.
This does not affect items or spells used over multiple rounds, the problem appears to be specific solely to item.onuse.

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.