mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 07:07:35 +01:00
Add comment to eggs file
This commit is contained in:
@@ -1,5 +1,25 @@
|
|||||||
import {merge} from '../helpers';
|
import {merge} from '../helpers';
|
||||||
|
|
||||||
|
//--------------------------------------------------
|
||||||
|
// Eggs are generated from an array of pet keys
|
||||||
|
//
|
||||||
|
// <egg_key> : {
|
||||||
|
// text: t(<type>Egg<egg_key>Text),
|
||||||
|
// mountText: t(<type>Egg<egg_key>MountText),
|
||||||
|
// notes: t(<type>Egg<egg_key>Text,{
|
||||||
|
// eggText: this.text,
|
||||||
|
// eggAdjective: t(<type>Egg<egg_key>Adjective)
|
||||||
|
// }),
|
||||||
|
// canBuy: <canBuy_boolean>,
|
||||||
|
// value: 3,
|
||||||
|
// key: <egg_key>,
|
||||||
|
// }
|
||||||
|
//
|
||||||
|
// <egg_key> is the name of the pet associated with the egg
|
||||||
|
// <type> is the type of egg (drop, quest, etc) passed in as part of an options object
|
||||||
|
// <canBuy_boolean> is a boolean passed in as part of an options object
|
||||||
|
//--------------------------------------------------
|
||||||
|
|
||||||
import dropEggs from './drops';
|
import dropEggs from './drops';
|
||||||
import questEggs from './quest';
|
import questEggs from './quest';
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user