// Gem.js
(function () {
/* global AdventureJS A */
/**
* @ajspath AdventureJS.Atom.Asset.Matter.Tangible.Thing.Gem
* @augments AdventureJS.Assets.Thing
* @class AdventureJS.Assets.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.Assets.Thing {
constructor(name, game_name, context_id = "", id = "") {
super(name, game_name, context_id, id);
this.class = "Gem";
this.singular = "gem";
this.synonyms = ["jewel"];
this.plural = "gems";
this.singularPluralPairs = [
["gem", "gems"],
["jewel", "jewels"],
];
this.setDOVs(["get", "take", "give", "put"]);
}
}
AdventureJS.Assets.Gem = Gem;
})();