opse/justfile

146 lines
2.4 KiB
Plaintext
Raw Permalink Normal View History

2022-09-03 23:34:38 +00:00
# show all options
default:
just --list --unsorted
# show rec info
info:
@recinf db.rec
# plot, event, scene
new: plot event scene
# intensifier
butand:
@recsel -t intensifier -m 1 -P text db.rec
# yes/no equal odds
even:
@recsel -t even -m 1 -P text db.rec && just butand
# yes/no good odds
likely:
@recsel -t likely -m 1 -P text db.rec && just butand
# yes/no poor odds
unlikely:
@recsel -t unlikely -m 1 -P text db.rec && just butand
# set the scene
scene: altered
@recsel -t complication -m 1 -P text db.rec
# is the scene altered?
altered:
@recsel -t alteredscene -m 1 -P text db.rec
# ...if so, what is the alteration?
alteration:
@recsel -t alteration -m 1 -P text db.rec
# how big, good, strong, numerous, etc something is
how:
@recsel -t how -m 1 -P text db.rec
# when there is a lull
pacing:
@recsel -t pacing -m 1 -P text db.rec
# when things go bad
failure:
@recsel -t failure -m 1 -P text db.rec
# add a random event
event: action topic
# domain
domain:
@recsel -t domain -m 1 -P text db.rec
# what does it do?
action:
@recsel -t action -m 1 -P text db.rec && just domain
# what kind of thing is it?
detail:
@recsel -t detail -m 1 -P text db.rec && just domain
# what is this about?
topic:
@recsel -t topic -m 1 -P text db.rec && just domain
# generic generator
generate: action detail how
# objective
objective:
@recsel -t objective -m 1 -P text db.rec
# adversary
adversary:
@recsel -t adversary -m 1 -P text db.rec
# reward
reward:
@recsel -t reward -m 1 -P text db.rec
# plot hook
plot: objective adversary reward
# identity
identity: domain
@recsel -t identity -m 1 -P text db.rec
# goal
goal: domain
@recsel -t goal -m 1 -P text db.rec
# feature
feature:
@recsel -t feature -m 1 -P text db.rec
# NPC
npc: identity goal feature detail how topic
# dungeon theme
theme: detail action
# location
location:
@recsel -t location -m 1 -P text db.rec
# encounter
encounter:
@recsel -t encounter -m 1 -P text db.rec
# object
object:
@recsel -t object -m 1 -P text db.rec
# exits
exits:
@recsel -t exits -m 1 -P text db.rec
# dungeon location
dungeon: location encounter object exits
# region
hexterrain:
@recsel -t hexterrain -m 1 -P text db.rec
# contents
hexcontents:
@recsel -t hexcontents -m 1 -P text db.rec
# feature
hexfeature:
@recsel -t hexfeature -m 1 -P text db.rec
# event
hexevent:
@recsel -t hexevent -m 1 -P text db.rec
# hex
hex: hexterrain hexcontents hexfeature
@just --show hex