[window] id = "title_screen" description = "The game's main menu."
[resolution]
definition = "title_screen"
{GUI_WINDOW_FULLSCREEN}
[tooltip]
[pick_up_item] | |
id=regen_amulet | |
name= _ "Amulet of Regeneration" | |
image=icons/jewelry_necklace_amber.png | |
description= _ "This amulet will allow its wearer to heal 8 HP per turn." | |
effect_type="continuous" | |
event=regen_necklace_taken | |
[command] | |
[object] | |
id=regen_necklace_e1s6 |
local helper = wesnoth.require "lua/helper.lua" | |
local location_set = wesnoth.require "lua/location_set.lua" | |
local wml_actions = wesnoth.wml_actions | |
local function get_image(cfg, speaker) | |
local image = cfg.image | |
if speaker and image == nil then | |
image = speaker.profile |
// | |
// Implementaiton borrowed from https://dev.to/thomasaudo/get-started-with-github-grapql-api--1g8b | |
// | |
require('dotenv-safe').config(); | |
const Axios = require('axios'); | |
const endpt = 'https://api.github.com/graphql'; | |
const oauth = { Authorization: `bearer ${process.env.AUTH_TOKEN}`}; |
[window] id = "title_screen" description = "The game's main menu."
[resolution]
definition = "title_screen"
{GUI_WINDOW_FULLSCREEN}
[tooltip]
export const TextDayPicker = forwardRef( | |
({ date = '', onChange, format: displayFormat = 'Do MMMM YYYY', ...props }, ref) => { | |
const formatDate = newDate => (newDate ? format(newDate, displayFormat) : ''); | |
const [isEditing, setIsEditing] = useState(false); | |
const [value, setValue] = useState({ | |
raw: date, | |
formatted: formatDate(date), | |
}); |