// Gem.js
(function () {
/* global adventurejs A */
/**
* @ajspath adventurejs.Atom.Asset.Matter.Tangible.Thing.Gem
* @augments adventurejs.Thing
* @class adventurejs.Gem
* @ajsconstruct MyGame.createAsset({ "class":"Gem", "name":"foo", [...] })
* @ajsconstructedby adventurejs.Game#createAsset
* @ajsnavheading FoodDrinkClasses
* @param {String} game_name The name of the top level game object.
* @param {String} name A name for the object, to be serialized and used as ID.
* @summary Trick or treat, give me something good to eat.
* @classdesc
* <p>
* <strong>Gem</strong> has no special properties.
* </p>
**/
class Gem extends adventurejs.Thing {
constructor(name, game_name) {
super(name, game_name);
this.class = "Gem";
this.noun = "gem";
this.synonyms = ["jewel"];
this.plural = "gems";
this.singlePluralPairs = [
["gem", "gems"],
["jewel", "jewels"],
];
this.setDOVs(["get", "take", "give", "put"]);
}
}
adventurejs.Gem = Gem;
})();