Sha256: 4330f3900b3f3d520fa474cdd197fda2bd6500fa6e5f78dab0b72f92be27592a
Contents?: true
Size: 450 Bytes
Versions: 1
Compression:
Stored size: 450 Bytes
Contents
# frozen_string_literal: true module Gamefic module Standard module Actions module Quit extend Gamefic::Scriptable yes_or_no :standard_confirm_quit do |actor, props| actor.cue :default_conclusion if props.yes? end meta :quit do |actor| actor.tell 'Are you sure you want to quit?' actor.cue :standard_confirm_quit end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
gamefic-standard-3.3.0 | lib/gamefic-standard/actions/quit.rb |