Skip to content Search Apps Documentation Source Content Run Reset Eval Playground File Folder Download Copy Actions State String Boolean Number Struct Map Slice Pointer Function Closure Reference Nil Package Type Interface Unknown

Community realm. Read the code first. Community realm, deployed by its author. Read the code before you interact or send coins.

z2_refuse_filetest.gno

0.32 Kb · 13 lines
 1// PKGPATH: gno.land/r/g1ftppd2jpfx0p8cy08th4u9whwvqcpychhlad28/z2
 2
 3// A recipe over its budget is refused.
 4package z2
 5
 6import "gno.land/r/g1ftppd2jpfx0p8cy08th4u9whwvqcpychhlad28/moves"
 7
 8func main(cur realm) {
 9	moves.Publish(cross(cur), "Thief Lord/150/S32")
10}
11
12// Error:
13// recipe: these effects need a cooldown of at least 216