@aige/core
Version:
AI Game Engine
83 lines (82 loc) • 2.75 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const _1 = require(".");
exports.default = {
scene: {
type: 'string',
description: 'The new scene description after the action is committed. This is the main text that the player sees and must be different from the last scene'
},
scene_emoji: {
type: 'string',
description: 'An emoji that represents the new scene'
},
actions: _1.ActionsSchema,
rumor: {
type: 'string',
description: 'A rumor that the player has heard'
},
health_delta: {
type: 'number',
description: 'The change in health of the player (if armor is > 0, armor is damaged instead)'
},
health_description: {
type: 'string',
description: 'The description of the new health of the player (first-person perspective)'
},
armor_delta: {
type: 'number',
description: 'The change in armor of the player (if armor is 0, health is damaged instead)'
},
money_delta: {
type: 'number',
description: 'The change in money of the player'
},
experience_delta: {
type: 'number',
description: 'The change in experience of the player'
},
reputation_delta: {
type: 'number',
description: 'The change in reputation of the player'
},
reputation_description: {
type: 'string',
description: 'The description of the new reputation value of the player, values > 0 = good, values < 0 = bad'
},
inventory_removed: {
type: 'string',
description: 'The item removed from the inventory (if any)'
},
inventory_added: _1.InventoryItemSchema,
quest_removed: {
type: 'string',
description: 'The name of the quest removed (if any), if complete give rewards'
},
quest_added: _1.QuestSchema,
character_removed: {
type: 'string',
description: 'The character removed (if any)'
},
character_added: _1.CharacterSchema,
location: {
type: 'string',
description: 'The new location of the player (if changed)'
},
location_description: {
type: 'string',
description: 'The description of the new location of the player (if changed)'
},
appearance: {
type: 'string',
description: 'The new appearance of the player (if changed)'
},
weather: _1.WeatherSchema,
weather_emoji: {
type: 'string',
description: 'An emoji that represents the new weather of the location (if changed)'
},
weather_description: {
type: 'string',
description: 'The description of the new weather of the location (if changed)'
}
};