Stuff ad things
This commit is contained in:
@@ -41,6 +41,9 @@ export class ItemAttributes {
|
||||
|
||||
/** @constant @readonly @type {string[]} Type of ammo that this item is, or that this item uses */
|
||||
skills = [];
|
||||
|
||||
/** @constant @readonly @type {boolean} Can a person wearing this armor be stealthy? */
|
||||
sneak;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -53,7 +56,7 @@ export class ItemBlueprint extends ItemAttributes {
|
||||
/**
|
||||
* Constructor
|
||||
*
|
||||
* @param {object} o Object whose attributes we copy
|
||||
* @param {ItemAttributes} o Object whose attributes we copy
|
||||
*/
|
||||
constructor(o) {
|
||||
super();
|
||||
@@ -106,4 +109,4 @@ export class ItemBlueprint extends ItemAttributes {
|
||||
* arrows that are consumed. In this case, each individual arrow is not tracked
|
||||
* as its own entity, only the quiver is tracked.
|
||||
*/
|
||||
export class Item extends ItemAttributes {}
|
||||
export class Item extends ItemAttributes { }
|
||||
|
||||
Reference in New Issue
Block a user