Code Monkey home page Code Monkey logo

Comments (17)

shawncplus avatar shawncplus commented on May 28, 2024

I consider some things self-documenting. Like player attributes there is just an object in src/player.js that is commented // Attributes that you can just add to. As far as authentication could you provide more specifics on what you mean by authentication?

from ranviermud.

whiskers75 avatar whiskers75 commented on May 28, 2024

I still think you should document the self-documenting areas for those who do not know much about N

from ranviermud.

whiskers75 avatar whiskers75 commented on May 28, 2024

ode. And about authentication - how to change the messages it gives at the login screen.

from ranviermud.

shawncplus avatar shawncplus commented on May 28, 2024

I can certainly do that. Until I add that you just edit this file https://github.com/shawncplus/ranviermud/blob/master/data/motd

from ranviermud.

whiskers75 avatar whiskers75 commented on May 28, 2024

Could you also document an example of l10n in action and how to parse JSON files?

from ranviermud.

shawncplus avatar shawncplus commented on May 28, 2024

For l10n in action see the Practical Example section of https://github.com/shawncplus/ranviermud/wiki/Localization and what about parsing JSON files that's a bit ambiguous.

from ranviermud.

whiskers75 avatar whiskers75 commented on May 28, 2024

In your README you mention that the JSONs can be parsed put do not mention how.

from ranviermud.

whiskers75 avatar whiskers75 commented on May 28, 2024

And please document the items such as attributes for people who just want to make a MUD.

from ranviermud.

whiskers75 avatar whiskers75 commented on May 28, 2024

You mention the attributes file - but how would you change an attribute in a script file?

from ranviermud.

shawncplus avatar shawncplus commented on May 28, 2024

What are you referencing when you say i mention an attributes file?

from ranviermud.

whiskers75 avatar whiskers75 commented on May 28, 2024

Your post here.

from ranviermud.

shawncplus avatar shawncplus commented on May 28, 2024

Well, I said that there's an Attributes section of src/player.js if that's what you meant. What do you mean change an attribute in a script file? Like, you have a script and you want to change a player's health or something?

from ranviermud.

shawncplus avatar shawncplus commented on May 28, 2024

See https://github.com/shawncplus/ranviermud/wiki/Skills-and-Affects which shows how to set affects/attributes

from ranviermud.

whiskers75 avatar whiskers75 commented on May 28, 2024

Yes I do mean a script to change an attribute - trying to create a money attribute and do not know how to change the amount per player.

from ranviermud.

whiskers75 avatar whiskers75 commented on May 28, 2024

And also the Skills and Affects doesn't mention attributes in player.js as far as I can see...

from ranviermud.

shawncplus avatar shawncplus commented on May 28, 2024

All of the skills and affects are driven by setting/getting player attributes, look at the setAttribute/getAttribute methods

from ranviermud.

seanohue avatar seanohue commented on May 28, 2024

@whiskers75 Check out my fork of the project for some practical examples of adding custom attributes, classes, effects, skills, etc. You will need, at least, a basic working knowledge of JS to make a MUD using ranvier's engine, to be honest.

from ranviermud.

Related Issues (20)

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.