Comments (17)
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.
I still think you should document the self-documenting areas for those who do not know much about N
from ranviermud.
ode. And about authentication - how to change the messages it gives at the login screen.
from ranviermud.
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.
Could you also document an example of l10n in action and how to parse JSON files?
from ranviermud.
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.
In your README you mention that the JSONs can be parsed put do not mention how.
from ranviermud.
And please document the items such as attributes for people who just want to make a MUD.
from ranviermud.
You mention the attributes file - but how would you change an attribute in a script file?
from ranviermud.
What are you referencing when you say i mention an attributes file?
from ranviermud.
Your post here.
from ranviermud.
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.
See https://github.com/shawncplus/ranviermud/wiki/Skills-and-Affects which shows how to set affects/attributes
from ranviermud.
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.
And also the Skills and Affects doesn't mention attributes in player.js as far as I can see...
from ranviermud.
All of the skills and affects are driven by setting/getting player attributes, look at the setAttribute/getAttribute methods
from ranviermud.
@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)
- Rudimentary way to specify other required bundles
- When attempting to lower a positive attribute (e.g. from 5 to 3), Math.min forces it to 0 instead HOT 2
- Question: Integration into existing system HOT 4
- Computed Attributes RFC HOT 9
- NPC properties and inheritance HOT 2
- Scriptable Areas RFC HOT 2
- 3.x TODO List
- Player Character Duplication HOT 1
- Equipment Slot Manager HOT 10
- 3.0 - Help Files (YAML Directories) Not Loading After Data Handling Merge HOT 2
- Comment incorrectly suggests that a tick is "every half second" HOT 4
- NPC Metadata is shared amongst instances of the same NPC HOT 7
- Command Lag
- slack invitation has expired HOT 1
- Last line character cut off using netcat - is this some \n vs \r\n issue? HOT 1
- npm start includes options that aren't supported in the current ranvier script
- How to localize exit names HOT 6
- How to create a dungeon? HOT 1
- find module 'ranvier-telnet' HOT 1
- impossible git clone and install bundle
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ranviermud.