Search Apps Documentation Source Content File Folder Download Copy Actions Download State String Boolean Number Struct Map Slice Pointer Function Closure Reference Nil Package Type Interface Unknown

catalog.gno

0.81 Kb · 17 lines
 1package skins
 2
 3// catalog is the skin catalog at deploy, one design per line, sorted by id:
 4//
 5//	id|name|model|pilot|body|wing|accent|price
 6//
 7// The rules are those of SetSkin (see validate.gno); the tests check every
 8// line. The website reads this file too, at build, to serve the metadata of
 9// each design at https://gnofly.xyz/nft/skins/<id>.json: a design added later
10// with SetSkin needs a line here as well for its JSON to exist.
11//
12// Classic, the look every pilot flies by default, is not here: it is free and
13// drawn by the client, not a token.
14const catalog = `baron|Red Baron|biplane|none|#c1121f|#780000|#fdf0d5|7000000
15gnome|Garden Gnome|prop|none|#2a9d8f|#e9c46a|#264653|77000000
16goldie|Golden Goose|jet|none|#ffd60a|#ffc300|#000814|7777000000
17stealth|Night Shift|jet|none|#22223b|#4a4e69|#f72585|777000000`