diff --git a/Makefile b/Makefile index a0b40ae..6abb35b 100644 --- a/Makefile +++ b/Makefile @@ -1,12 +1,39 @@ -.PHONY: all clean printrun cardrun +.PHONY: all clean check printrun cardrun .PRECIOUS: %.pdf %.png -default: decks -all: decks export +default: check decks +all: check decks export -DECKLIST=$(shell ls cards/decks | sed -e 's/.txt//') +# Check existence of necessary executables +CONVERT:=$(shell command -v convert 2> /dev/null) +XELATEX:=$(shell command -v xelatex 2> /dev/null) +PDFTOPPM:=$(shell command -v pdftoppm 2> /dev/null) +PDFUNITE:=$(shell command -v pdfunite 2> /dev/null) + +check: +ifndef CONVERT + $(error "convert not found. Please install imagemagick") +endif +ifndef XELATEX + $(error "xelatex not found. Please install xetex") +endif +ifndef PDFTOPPM + $(error "pdftoppm not found. Please install poppler") +endif +ifndef PDFUNITE + $(error "pdfunite not found. Please install poppler") +endif + +SHORT_DECKLIST=$(shell ls cards/decks | grep -v run | sed -e 's/.txt//') +DECKLIST=$(SHORT_DECKLIST) printrun cardrun DEPENDLIST=$(DECKLIST:%=%.d) +outputs/printrun.txt: $(SHORT_DECKLIST) + cat $^ | sort > $@ + +outputs/cardrun.txt: $(SHORT_DECKLIST) + cat $^ | sort -u > $@ + outputs/%.d: cards/decks/%.txt echo -n 'outputs/$*.pdf:' > $@ tr '\n' ' ' < $< >> $@ @@ -23,7 +50,7 @@ outputs/iditaleft[face].png: iditaboard.png convert outputs/iditaleft[face]-raw.png -set option:distort:viewport 2475x2475-37-37 -virtual-pixel Edge -distort SRT 0 outputs/iditaleft[face].png outputs/iditaleft[back].png: iditasingle.png - convert iditasingle.png -crop 2400x2400+37+37 outputs/iditaleft[back]-raw.png + convert iditarules.png -crop 2400x2400+37+37 outputs/iditaleft[back]-raw.png convert outputs/iditaleft[back]-raw.png -set option:distort:viewport 2475x2475-37-37 -virtual-pixel Edge -distort SRT 0 outputs/iditaleft[back].png outputs/iditaright[face].png: iditaboard.png @@ -31,7 +58,7 @@ outputs/iditaright[face].png: iditaboard.png convert outputs/iditaright[face]-raw.png -set option:distort:viewport 2475x2475-37-37 -virtual-pixel Edge -distort SRT 0 outputs/iditaright[face].png outputs/iditaright[back].png: iditasingle.png - convert iditasingle.png -crop 2400x2400+2437+37 outputs/iditaright[back]-raw.png + convert iditarules.png -crop 2400x2400+2437+37 outputs/iditaright[back]-raw.png convert outputs/iditaright[back]-raw.png -set option:distort:viewport 2475x2475-37-37 -virtual-pixel Edge -distort SRT 0 outputs/iditaright[back].png outputs/cardback.png: cardback.png @@ -48,8 +75,8 @@ outputs/stretchback2.png: cardback.png rm tmp.png outputs/stretchback3.png: cardback.png - convert $< -fuzz 50% -fill \#9F9F9F -opaque white tmp.png - convert tmp.png -fuzz 50% -fill \#5F5FFF -opaque black $@ + convert $< -fuzz 50% -fill \#5F5FFF -opaque white tmp.png + convert tmp.png -fuzz 50% -fill \#9F9F9F -opaque black $@ rm tmp.png outputs/stretchback4.png: cardback.png diff --git a/cards/attachments/a_hat.tex b/cards/attachments/a_hat.tex index 5858241..5f9b958 100644 --- a/cards/attachments/a_hat.tex +++ b/cards/attachments/a_hat.tex @@ -7,7 +7,7 @@ \energy{2} \health{2} \name{A Hat} - \text{Draw an extra card at the start of each day.} + \text{\daydraw{1}} \flava{I bet its a valve hat.} \type{attachment} \end{card} diff --git a/cards/attachments/flashlight.tex b/cards/attachments/flashlight.tex new file mode 100644 index 0000000..ae0e21e --- /dev/null +++ b/cards/attachments/flashlight.tex @@ -0,0 +1,19 @@ +\documentclass{iditacard} + +\cardtype{attachment} +\rarity{rare} +\deck{survivor} + +\begin{document} +\begin{card} + %\art{flashlight.jpg} + \art{campfire.jpg} + \energy{1} + \health{1} + \risk{1} + \name{Flashlight} + \text{Risks do not reset on new days.} + \flava{Keep moving at night.} + \type{attachment} +\end{card} +\end{document} diff --git a/cards/decks/stretches.txt b/cards/decks/stretches.txt new file mode 100644 index 0000000..0fadc9a --- /dev/null +++ b/cards/decks/stretches.txt @@ -0,0 +1,32 @@ +cards/stretches/18/sitter_park.pdf +cards/stretches/18/orchard_sulfur_flats.pdf +cards/stretches/18/hospital_nowhere.pdf +cards/stretches/18/repair_shop_highway.pdf +cards/stretches/18/town_city.pdf +cards/stretches/18/fishing_hole_waterfall.pdf +cards/stretches/18/new_full_moon.pdf +cards/stretches/18/bobsled_slippery.pdf +cards/stretches/27/example27.pdf +cards/stretches/27/powder_cliff.pdf +cards/stretches/27/training_rope_bridge.pdf +cards/stretches/27/overpass_checkpoint.pdf +cards/stretches/27/farm_salt_flat.pdf +cards/stretches/27/volcano_exposed.pdf +cards/stretches/27/wind.pdf +cards/stretches/27/hill.pdf +cards/stretches/36/example36.pdf +cards/stretches/36/example36.pdf +cards/stretches/36/example36.pdf +cards/stretches/36/example36.pdf +cards/stretches/36/winery_factory.pdf +cards/stretches/36/fertile_toxic_soil.pdf +cards/stretches/36/frozen_lake_wasteland.pdf +cards/stretches/36/philadelphia_vancouver.pdf +cards/stretches/45/example45.pdf +cards/stretches/45/example45.pdf +cards/stretches/45/example45.pdf +cards/stretches/45/example45.pdf +cards/stretches/45/valley_fjord.pdf +cards/stretches/45/hunting_season_ban.pdf +cards/stretches/45/cold_hot_wave.pdf +cards/stretches/45/plains_hills.pdf diff --git a/cards/decks/survivor.txt b/cards/decks/survivor.txt index 9e1f3cc..bd1249a 100644 --- a/cards/decks/survivor.txt +++ b/cards/decks/survivor.txt @@ -2,6 +2,8 @@ cards/attachments/coat.pdf cards/attachments/coat.pdf cards/attachments/coat.pdf cards/attachments/coat.pdf +cards/attachments/flashlight.pdf +cards/attachments/flashlight.pdf cards/attachments/harness.pdf cards/attachments/harness.pdf cards/attachments/harness.pdf @@ -30,25 +32,23 @@ cards/food/venison_steak.pdf cards/food/venison_steak.pdf cards/food/venison_steak.pdf cards/food/venison_steak.pdf -cards/personal/band_aid.pdf -cards/personal/band_aid.pdf -cards/personal/band_aid.pdf -cards/personal/band_aid.pdf -cards/personal/ibuprofin.pdf -cards/personal/ibuprofin.pdf -cards/personal/ibuprofin.pdf -cards/util/campfire.pdf -cards/util/campfire.pdf -cards/util/campfire.pdf -cards/util/campfire.pdf -cards/util/leather_hide.pdf -cards/util/leather_hide.pdf -cards/util/leather_hide.pdf -cards/util/leather_hide.pdf -cards/util/leather_jacket.pdf -cards/util/leather_jacket.pdf -cards/util/leather_jacket.pdf -cards/util/vigilance.pdf -cards/util/vigilance.pdf -cards/util/vigilance.pdf cards/info/survivor_summary.pdf +cards/personal/band_aid.pdf +cards/personal/band_aid.pdf +cards/personal/band_aid.pdf +cards/personal/band_aid.pdf +cards/personal/ibuprofin.pdf +cards/personal/ibuprofin.pdf +cards/personal/ibuprofin.pdf +cards/util/campfire.pdf +cards/util/campfire.pdf +cards/util/leather_hide.pdf +cards/util/leather_hide.pdf +cards/util/leather_hide.pdf +cards/util/leather_hide.pdf +cards/util/leather_jacket.pdf +cards/util/leather_jacket.pdf +cards/util/leather_jacket.pdf +cards/util/vigilance.pdf +cards/util/vigilance.pdf +cards/util/vigilance.pdf diff --git a/cards/food/beef_stew.tex b/cards/food/beef_stew.tex index 3047307..e80fc72 100644 --- a/cards/food/beef_stew.tex +++ b/cards/food/beef_stew.tex @@ -10,7 +10,7 @@ \energy{2} \risk{1} \name{Beef stew} - \text{\draw{3} \recover{3}} + \text{\draw{3}. Reduce your \starvation by 2 instead of 1.} \flava{Thick and filling.} \type{food} \end{card} diff --git a/cards/food/bison.tex b/cards/food/bison.tex index da2692c..0bd32f9 100644 --- a/cards/food/bison.tex +++ b/cards/food/bison.tex @@ -10,7 +10,7 @@ \energy{2} \risk{1} \name{Bison} - \text{\draw{5} \recover{3}} + \text{\draw{5}. Remove your \starvation.} \flava{Its very lean.} \type{food} \end{card} diff --git a/cards/food/poutine.tex b/cards/food/poutine.tex index c62de6c..fcf863e 100644 --- a/cards/food/poutine.tex +++ b/cards/food/poutine.tex @@ -9,7 +9,7 @@ \art{poutine.JPG} \health{2} \name{Poutine} - \text{\draw{1} \recover{1}} + \text{\draw{1}. Remove your \starvation.} \flava{The great Canadian carb!} \type{food} \end{card} diff --git a/cards/food/whale_meat.tex b/cards/food/whale_meat.tex index 38ee320..1d673af 100644 --- a/cards/food/whale_meat.tex +++ b/cards/food/whale_meat.tex @@ -10,7 +10,7 @@ \energy{1} \health{1} \name{Whale meat} - \text{\draw{5}\\ \recover{5} Take 1 damage.} + \text{\draw{5}\\ Remove your \starvation\ and \hypothermia.\\ Take 1 damage.} \flava{It's like rubber.} \type{food} \end{card} diff --git a/cards/personal/caffeine.tex b/cards/personal/caffeine.tex index 37b0efe..d09a80b 100644 --- a/cards/personal/caffeine.tex +++ b/cards/personal/caffeine.tex @@ -7,9 +7,9 @@ \begin{document} \begin{card} \art{caffeine.JPG} - \health{3} + \health{2} \name{Caffeine} - \text{\destroy{1}{2} \recover{1}} + \text{\destroy{1}{2} \draw{1}} \flava{The greatest addiction ever.} \type{personal} \end{card} diff --git a/cards/stretches/18/bobsled_slippery.tex b/cards/stretches/18/bobsled_slippery.tex new file mode 100644 index 0000000..827bffc --- /dev/null +++ b/cards/stretches/18/bobsled_slippery.tex @@ -0,0 +1,14 @@ +\documentclass{iditastretch} + +\difficulty{stage_one}{stage_eight} + +\begin{document} +\begin{cardstretch} + \name{Bobsled Track}{Slippery Slope} + \effect{Whenever you play a card \move{1}}{Whenever you play a card \move{-1}} + \art{bobsled_track.jpg}{slippery_slope.jpg} + \hardhypo{3} + \flava{Literally built for sledding}{One step forward, two steps back} +\end{cardstretch} +\end{document} + diff --git a/cards/stretches/18/example18.tex b/cards/stretches/18/example18.tex new file mode 100644 index 0000000..6d04a14 --- /dev/null +++ b/cards/stretches/18/example18.tex @@ -0,0 +1,16 @@ +\documentclass{iditastretch} + +\difficulty{stage_one}{stage_eight} + +\begin{document} +\begin{cardstretch} + \name{very easy}{very hard} + \effect{This effect is great.}{This effect sucks. A lot.} + \art{village.jpg}{town.jpg} + \easyhypo{3} + \easystarve{3} + \hardhypo{3} + \hardstarve{3} +\end{cardstretch} +\end{document} + diff --git a/cards/stretches/18/fishing_hole_waterfall.tex b/cards/stretches/18/fishing_hole_waterfall.tex new file mode 100644 index 0000000..9582b2f --- /dev/null +++ b/cards/stretches/18/fishing_hole_waterfall.tex @@ -0,0 +1,15 @@ +\documentclass{iditastretch} + +\difficulty{stage_one}{stage_eight} + +\begin{document} +\begin{cardstretch} + \name{Fishing Hole}{Waterfall} + \effect{\daydraw{3}}{\daydraw{-3}} + \art{ice_fishing_huts_on_lake.jpg}{frozen_waterfall.jpg} + \hardhypo{1} + \hardstarve{3} + \flava{All the fish you can eat...}{Until it freezes through} +\end{cardstretch} +\end{document} + diff --git a/cards/stretches/18/hospital_nowhere.tex b/cards/stretches/18/hospital_nowhere.tex new file mode 100644 index 0000000..60605d7 --- /dev/null +++ b/cards/stretches/18/hospital_nowhere.tex @@ -0,0 +1,15 @@ +\documentclass{iditastretch} + +\difficulty{stage_one}{stage_eight} + +\begin{document} +\begin{cardstretch} + \name{Hospital}{Off-Piste} + \effect{\destroy{}{\kern-0.5em} cards are free}{No \destroy{\kern-0.5em}{\kern-0.5em}} + \art{repair_shop.jpg}{highway.jpg} + \hardhypo{1} + \hardstarve{3} + \flava{All the medical care you need.}{Nobody around to help you.} +\end{cardstretch} +\end{document} + diff --git a/cards/stretches/18/new_full_moon.tex b/cards/stretches/18/new_full_moon.tex new file mode 100644 index 0000000..07595a6 --- /dev/null +++ b/cards/stretches/18/new_full_moon.tex @@ -0,0 +1,14 @@ +\documentclass{iditastretch} + +\difficulty{stage_one}{stage_eight} + +\begin{document} +\begin{cardstretch} + \name{New Moon}{Full Moon} + \effect{Dogs are free}{Dogs have opposite effects} + \art{new_moon.jpg}{full_moon.jpg} + \hardhypo{3} + \flava{Calm and quiet}{Restless night} +\end{cardstretch} +\end{document} + diff --git a/cards/stretches/18/orchard_sulfur_flats.tex b/cards/stretches/18/orchard_sulfur_flats.tex new file mode 100644 index 0000000..9d6846e --- /dev/null +++ b/cards/stretches/18/orchard_sulfur_flats.tex @@ -0,0 +1,16 @@ +\documentclass{iditastretch} + +\difficulty{stage_one}{stage_eight} + +\begin{document} +\begin{cardstretch} + \name{Orchard}{Sulfur Flats} + \effect{Food cards are free.}{Food cards have no effect.} + \art{orchard.jpg}{sulfur_flat.jpg} + \hardhypo{0} + \hardstarve{2} + \flava{Just pick your own fruit.}{The stench is nauseating.} +\end{cardstretch} +\end{document} + + diff --git a/cards/stretches/18/repair_shop_highway.tex b/cards/stretches/18/repair_shop_highway.tex new file mode 100644 index 0000000..a405e20 --- /dev/null +++ b/cards/stretches/18/repair_shop_highway.tex @@ -0,0 +1,15 @@ +\documentclass{iditastretch} + +\difficulty{stage_one}{stage_eight} + +\begin{document} +\begin{cardstretch} + \name{Repair Shop}{Highway} + \effect{\take{}{\kern-0.5em} cards are free}{No \take{\kern-0.5em}{\kern-0.5em}} + \art{repair_shop.jpg}{highway.jpg} + \hardhypo{2} + \hardstarve{2} + \flava{Make the sled of your dreams.}{You can't stop to repair!} +\end{cardstretch} +\end{document} + diff --git a/cards/stretches/18/sitter_park.tex b/cards/stretches/18/sitter_park.tex new file mode 100644 index 0000000..9e3ad9e --- /dev/null +++ b/cards/stretches/18/sitter_park.tex @@ -0,0 +1,17 @@ +\documentclass{iditastretch} + +\difficulty{stage_one}{stage_eight} + +\begin{document} +\begin{cardstretch} + \name{Sitter Home}{Dog Park} + \effect{Attachments are free.}{Attachments have opposite effects.} + \art{sitter_house.jpg}{dog_park.jpg} + \hardhypo{1} + \hardstarve{3} + \flava{They sit so still for you!}{Sit still so I can put this on!} +\end{cardstretch} +\end{document} + + + diff --git a/cards/stretches/18/town_city.tex b/cards/stretches/18/town_city.tex new file mode 100644 index 0000000..5629dcb --- /dev/null +++ b/cards/stretches/18/town_city.tex @@ -0,0 +1,17 @@ +\documentclass{iditastretch} + +\difficulty{stage_one}{stage_eight} + +\begin{document} +\begin{cardstretch} + \name{Town}{City} + \effect{Players are immune}{No extra cards are drawn} + \art{village.jpg}{town.jpg} + \easyhypo{0} + \easystarve{0} + \hardhypo{2} + \hardstarve{2} + \flava{Get ready before you head out!}{Too busy to focus.} +\end{cardstretch} +\end{document} + diff --git a/cards/stretches/18/village.tex b/cards/stretches/18/village.tex new file mode 100644 index 0000000..cefc2e7 --- /dev/null +++ b/cards/stretches/18/village.tex @@ -0,0 +1,16 @@ +\documentclass{iditastretch} + +\difficulty{stage_one}{stage_eight} + +\begin{document} +\begin{cardstretch} + \name{easy track}{hard track} + \effect{This effect is great.}{This effect sucks. A lot.} + \art{village.jpg}{town.jpg} + \easyhypo{3} + \easystarve{3} + \hardhypo{3} + \hardstarve{3} +\end{cardstretch} +\end{document} + diff --git a/cards/stretches/27/example27.tex b/cards/stretches/27/example27.tex new file mode 100644 index 0000000..edd9d5f --- /dev/null +++ b/cards/stretches/27/example27.tex @@ -0,0 +1,17 @@ +\documentclass{iditastretch} + +\difficulty{stage_two}{stage_seven} + +\begin{document} +\begin{cardstretch} + \effect{\daydraw{1}}{\daydraw{-1}} + \name{easy track}{hard track} + \effect{This effect is good.}{This effect is bad.} + \art{village.jpg}{town.jpg} + \easyhypo{3} + \easystarve{3} + \hardhypo{3} + \hardstarve{3} +\end{cardstretch} +\end{document} + diff --git a/cards/stretches/27/farm_salt_flat.tex b/cards/stretches/27/farm_salt_flat.tex new file mode 100644 index 0000000..deacf2a --- /dev/null +++ b/cards/stretches/27/farm_salt_flat.tex @@ -0,0 +1,15 @@ +\documentclass{iditastretch} + +\difficulty{stage_two}{stage_seven} + +\begin{document} +\begin{cardstretch} + \name{Farm}{Salt Flat} + \effect{You cannot \starvation}{\speed{+1}} + \art{farm.jpg}{salt_flat.jpg} + \hardhypo{0} + \hardstarve{3} + \flava{Reap what you sow.}{No food, but at least it's flat.} +\end{cardstretch} +\end{document} + diff --git a/cards/stretches/27/hill.tex b/cards/stretches/27/hill.tex new file mode 100644 index 0000000..052d94e --- /dev/null +++ b/cards/stretches/27/hill.tex @@ -0,0 +1,17 @@ +\documentclass{iditastretch} + +\difficulty{stage_two}{stage_seven} + +\begin{document} +\begin{cardstretch} + \name{Downhill}{Uphill} + \effect{All dogs give +1 speed}{All dogs give -1 speed} + \art{downhill.png}{uphill.png} + \easyhypo{1} + \easystarve{0} + \hardhypo{1} + \hardstarve{1} + \flava{Skiing is easier...}{Than climbing} +\end{cardstretch} +\end{document} + diff --git a/cards/stretches/27/overpass_checkpoint.tex b/cards/stretches/27/overpass_checkpoint.tex new file mode 100644 index 0000000..aec03f5 --- /dev/null +++ b/cards/stretches/27/overpass_checkpoint.tex @@ -0,0 +1,16 @@ +\documentclass{iditastretch} + +\difficulty{stage_two}{stage_seven} + +\begin{document} +\begin{cardstretch} + \name{Overpass}{Checkpoint} + \effect{Fake dogs are free.}{Kill your fake dogs.} + \art{overpass.jpg}{checkpoint.jpg} + \easyhypo{1} + \hardhypo{1} + \hardstarve{1} + \flava{Hiding from the ref.}{The ref is watching.} +\end{cardstretch} +\end{document} + diff --git a/cards/stretches/27/powder_cliff.tex b/cards/stretches/27/powder_cliff.tex new file mode 100644 index 0000000..3d3b9b9 --- /dev/null +++ b/cards/stretches/27/powder_cliff.tex @@ -0,0 +1,14 @@ +\documentclass{iditastretch} + +\difficulty{stage_two}{stage_seven} + +\begin{document} +\begin{cardstretch} + \name{Powder Snow}{Cliff Wall} + \effect{Don't take damage}{Take a damage each day.} + \art{powder.JPG}{cliff_wall.JPG} + \easyhypo{1} + \hardhypo{2} + \flava{Soft landing.}{Watch for falling rocks (0.5xA)} +\end{cardstretch} +\end{document} diff --git a/cards/stretches/27/training_rope_bridge.tex b/cards/stretches/27/training_rope_bridge.tex new file mode 100644 index 0000000..920f40e --- /dev/null +++ b/cards/stretches/27/training_rope_bridge.tex @@ -0,0 +1,14 @@ +\documentclass{iditastretch} + +\difficulty{stage_two}{stage_seven} + +\begin{document} +\begin{cardstretch} + \name{Training}{Rope Bridge} + \effect{Risks don't fizzle on new days.}{Risks always fizzle.} + \art{training.jpg}{rope_bridge.jpg} + \easystarve{1} + \hardhypo{2} + \flava{Not the same level of danger.}{I wouldn't take risks here.} +\end{cardstretch} +\end{document} diff --git a/cards/stretches/27/volcano_exposed.tex b/cards/stretches/27/volcano_exposed.tex new file mode 100644 index 0000000..bb5b68c --- /dev/null +++ b/cards/stretches/27/volcano_exposed.tex @@ -0,0 +1,16 @@ +\documentclass{iditastretch} + +\difficulty{stage_two}{stage_seven} + +\begin{document} +\begin{cardstretch} + \name{Volcano}{Exposed} + \effect{You cannot \hypothermia}{\speed{+1}} + \art{volcano.png}{exposed.jpg} + \hardhypo{3} + \hardstarve{0} + \flava{The ground is warm.}{Cold, but at least it's flat.} +\end{cardstretch} +\end{document} + + diff --git a/cards/stretches/27/wind.tex b/cards/stretches/27/wind.tex new file mode 100644 index 0000000..0644d5d --- /dev/null +++ b/cards/stretches/27/wind.tex @@ -0,0 +1,17 @@ +\documentclass{iditastretch} + +\difficulty{stage_two}{stage_seven} + +\begin{document} +\begin{cardstretch} + \name{Downwind}{Upwind} + \effect{\speed{+3}}{\speed{-3}} + \art{hills.jpg}{hills.jpg} + \easyhypo{0} + \easystarve{1} + \hardhypo{2} + \hardstarve{0} + \flava{Your prey can smell you.}{Beware windchill.} +\end{cardstretch} +\end{document} + diff --git a/cards/stretches/36/example36.tex b/cards/stretches/36/example36.tex new file mode 100644 index 0000000..24d3a94 --- /dev/null +++ b/cards/stretches/36/example36.tex @@ -0,0 +1,16 @@ +\documentclass{iditastretch} + +\difficulty{stage_three}{stage_six} + +\begin{document} +\begin{cardstretch} + \name{easyish}{hardish} + \effect{This effect is decent.}{This effect is annoying.} + \art{village.jpg}{town.jpg} + \easyhypo{3} + \easystarve{3} + \hardhypo{3} + \hardstarve{3} +\end{cardstretch} +\end{document} + diff --git a/cards/stretches/36/fertile_toxic_soil.tex b/cards/stretches/36/fertile_toxic_soil.tex new file mode 100644 index 0000000..74d2718 --- /dev/null +++ b/cards/stretches/36/fertile_toxic_soil.tex @@ -0,0 +1,18 @@ +\documentclass{iditastretch} + +\difficulty{stage_three}{stage_six} + +\begin{document} +\begin{cardstretch} + \name{Fertile Soil}{Toxic Soil} + \effect{Food removes your \starvation}{Take 1 damage whenever you eat} + \art{fertile.jpg}{toxic.jpg} + \easyhypo{1} + \easystarve{0} + \hardhypo{0} + \hardstarve{2} + \flava{One bite fills your stomach.}{You still have to eat.} +\end{cardstretch} +\end{document} + + diff --git a/cards/stretches/36/frozen_lake_wasteland.tex b/cards/stretches/36/frozen_lake_wasteland.tex new file mode 100644 index 0000000..e3e1105 --- /dev/null +++ b/cards/stretches/36/frozen_lake_wasteland.tex @@ -0,0 +1,17 @@ +\documentclass{iditastretch} + +\difficulty{stage_three}{stage_six} + +\begin{document} +\begin{cardstretch} + \name{Frozen Lake}{Wasteland} + \effect{Cannot Starve}{Starvation cannot be cured} + \art{frozen_lake.jpg}{wasteland.jpg} + \easyhypo{1} + \easystarve{0} + \hardhypo{0} + \hardstarve{1} + \flava{All the fish you can eat!}{Nothing but dust.} +\end{cardstretch} +\end{document} + diff --git a/cards/stretches/36/philadelphia_vancouver.tex b/cards/stretches/36/philadelphia_vancouver.tex new file mode 100644 index 0000000..d9528f8 --- /dev/null +++ b/cards/stretches/36/philadelphia_vancouver.tex @@ -0,0 +1,17 @@ +\documentclass{iditastretch} + +\difficulty{stage_three}{stage_six} + +\begin{document} +\begin{cardstretch} + \name{Philadelphia}{Vancouver} + \effect{It's always \raisebox{-0.1em}{\includegraphics[height=1em]{die/sun.png}}}{Its always \raisebox{-0.1em}{\includegraphics[height=1em]{die/rain.png}}} + \art{philly.jpg}{vancouver.jpg} + \easyhypo{1} + \easystarve{0} + \hardhypo{2} + \hardstarve{0} + \flava{It's always sunny in Philly}{\textbf{Y}es \textbf{V}ery \textbf{R}ainy} +\end{cardstretch} +\end{document} + diff --git a/cards/stretches/36/winery_factory.tex b/cards/stretches/36/winery_factory.tex new file mode 100644 index 0000000..e52ae4f --- /dev/null +++ b/cards/stretches/36/winery_factory.tex @@ -0,0 +1,19 @@ +\documentclass{iditastretch} + +\difficulty{stage_three}{stage_six} + +\begin{document} +\begin{cardstretch} + \name{Winery}{Factory} + \effect{Personal cards remove your \hypothermia}{Take 1 damage whenever you heal} + \art{winery.jpg}{factory.jpg} + \easyhypo{0} + \easystarve{1} + \hardhypo{2} + \hardstarve{0} + \flava{Quality wine to warm you.}{Polluted air.} +\end{cardstretch} +\end{document} + + + diff --git a/cards/stretches/45/cold_hot_wave.tex b/cards/stretches/45/cold_hot_wave.tex new file mode 100644 index 0000000..3e1571f --- /dev/null +++ b/cards/stretches/45/cold_hot_wave.tex @@ -0,0 +1,17 @@ +\documentclass{iditastretch} + +\difficulty{stage_four}{stage_five} + +\begin{document} +\begin{cardstretch} + \name{Cold Wave}{Heat Wave} + \effect{\speed{+2}}{\speed{-2}} + \art{cold_wave.jpg}{heat_wave.jpg} + \easyhypo{1} + \easystarve{0} + \hardhypo{0} + \hardstarve{2} + \flava{Brrrr...}{Its gettin' hot in here.} +\end{cardstretch} +\end{document} + diff --git a/cards/stretches/45/example45.tex b/cards/stretches/45/example45.tex new file mode 100644 index 0000000..c0fb475 --- /dev/null +++ b/cards/stretches/45/example45.tex @@ -0,0 +1,17 @@ +\documentclass{iditastretch} + +\difficulty{stage_four}{stage_five} + +\begin{document} +\begin{cardstretch} + \effect{\take{1}{2}}{\destroy{1}{2}} + \name{okay track}{"meh" track} + \effect{This effect is okay.}{This effect is "meh".} + \art{village.jpg}{town.jpg} + \easyhypo{3} + \easystarve{3} + \hardhypo{3} + \hardstarve{3} +\end{cardstretch} +\end{document} + diff --git a/cards/stretches/45/hunting_season_ban.tex b/cards/stretches/45/hunting_season_ban.tex new file mode 100644 index 0000000..a4f7c6c --- /dev/null +++ b/cards/stretches/45/hunting_season_ban.tex @@ -0,0 +1,18 @@ +\documentclass{iditastretch} + +\difficulty{stage_four}{stage_five} + +\begin{document} +\begin{cardstretch} + \name{Hunting Season}{Hunting Ban} + \effect{Venison is free}{Venison has no effect} + \art{cold_wave.jpg}{heat_wave.jpg} + \easyhypo{1} + \easystarve{0} + \hardhypo{0} + \hardstarve{2} + \flava{Just for now...}{... then you have to stop.} +\end{cardstretch} +\end{document} + + diff --git a/cards/stretches/45/plains_hills.tex b/cards/stretches/45/plains_hills.tex new file mode 100644 index 0000000..250b271 --- /dev/null +++ b/cards/stretches/45/plains_hills.tex @@ -0,0 +1,17 @@ +\documentclass{iditastretch} + +\difficulty{stage_four}{stage_five} + +\begin{document} +\begin{cardstretch} + \name{Plains}{Hills} + \effect{\speed{+1}}{\speed{-1}} + \art{plains.jpg}{hills.jpg} + \easyhypo{0} + \easystarve{0} + \hardhypo{1} + \hardstarve{0} + \flava{Smooth sailing.}{A bit slow going.} +\end{cardstretch} +\end{document} + diff --git a/cards/stretches/45/valley_fjord.tex b/cards/stretches/45/valley_fjord.tex new file mode 100644 index 0000000..a2dc935 --- /dev/null +++ b/cards/stretches/45/valley_fjord.tex @@ -0,0 +1,15 @@ +\documentclass{iditastretch} + +\difficulty{stage_four}{stage_five} + +\begin{document} +\begin{cardstretch} + \name{Valley}{Fjord} + \effect{Weather has no effect.}{Weather has no effect.} + \art{valley.jpg}{fjord.png} + \hardhypo{2} + \hardstarve{0} + \flava{Sheltered from the elements...}{But its a bit chilly.} +\end{cardstretch} +\end{document} + diff --git a/cards/stretches/overpass_checkpoint.tex b/cards/stretches/overpass_checkpoint.tex new file mode 100644 index 0000000..4f4632f --- /dev/null +++ b/cards/stretches/overpass_checkpoint.tex @@ -0,0 +1,18 @@ +\documentclass{iditastretch} + +\difficulty{stage_two}{stage_seven} + +\begin{document} +\begin{cardstretch} + \name{Overpass}{Checkpoint} + \effect{Fake dogs are free.}{Kill your fake dogs.} + \art{volcano.png}{exposed.jpg} + \easyhypo{1} + \hardhypo{1} + \hardstarve{1} + \flava{Hiding from the ref.}{The ref is watching.} +\end{cardstretch} +\end{document} + + + diff --git a/cards/util/campfire.tex b/cards/util/campfire.tex index 341a5ba..d7d8e98 100644 --- a/cards/util/campfire.tex +++ b/cards/util/campfire.tex @@ -1,16 +1,15 @@ \documentclass{iditacard} \cardtype{utility} -\rarity{common} +\rarity{rare} \deck{survivor} \begin{document} \begin{card} \art{campfire.jpg} - \energy{2} - \risk{1} + \energy{1} \name{Campfire} - \text{Remove your \hypothermia. \recover{2}} + \text{Remove your \hypothermia.} \flava{A nice warm fire.} \type{utility} \end{card} diff --git a/cards/util/leather_hide.tex b/cards/util/leather_hide.tex index f59463d..242bf6c 100644 --- a/cards/util/leather_hide.tex +++ b/cards/util/leather_hide.tex @@ -7,9 +7,8 @@ \begin{document} \begin{card} \art{leather_hide.JPG} - \risk{2} \name{Leather Hide} - \text{\recover{3} Recover all venison.} + \text{Reduce \hypothermia by 1. \draw{All venison in your discard pile.}} \flava{Why do thieves wear this? Because it's made of hide.} \type{utility} \end{card} diff --git a/cards/util/rope.tex b/cards/util/rope.tex index 0d146f3..484a222 100644 --- a/cards/util/rope.tex +++ b/cards/util/rope.tex @@ -9,7 +9,7 @@ \art{rope.JPG} \health{2} \name{Rope} - \text{\recover{3}} + \text{\draw{3}. If you are in a risk it succeeds} \flava{Always be prepared. Cub scouts motto.} \type{utility} \end{card} diff --git a/cards/util/torch.tex b/cards/util/torch.tex index 490212d..3631f46 100644 --- a/cards/util/torch.tex +++ b/cards/util/torch.tex @@ -8,7 +8,7 @@ \begin{card} \art{torch.jpg} \name{Torch} - \text{\recover{2}} + \text{reduce \hypothermia\ by 1. If you are in a risk it succeeds.} \flava{It's not much, but it helps.} \type{utility} \end{card} diff --git a/cardtopng.sh b/cardtopng.sh index 5ce93a4..58d47ba 100755 --- a/cardtopng.sh +++ b/cardtopng.sh @@ -5,9 +5,14 @@ OUTPUT=$1 INTERMEDIATE=$(echo "$1" | sed 's/\[.*\]\..*//')-raw.png PDFNAME=$(echo "$1" | sed 's/\[.*\]\..*//').pdf -# Create initial png -pdftoppm -scale-to-x 750 -scale-to-y 1050 -png $PDFNAME > $INTERMEDIATE - -# Find border colour -BORDER_COL="#$(stream "$INTERMEDIATE[1x1+0+0]" - | xxd -p)" -convert $INTERMEDIATE -gravity center -background $BORDER_COL -extent 825x1125 $OUTPUT +# Determine card size +#if grep -q 750x1050 <<<$(identify $INTERMEDIATE); then +if [ "${PDFNAME/stretch}" = "$PDFNAME" ]; then + # Poker Deck + pdftoppm -scale-to-x 750 -scale-to-y 1050 -png $PDFNAME > $INTERMEDIATE + convert $INTERMEDIATE -set option:distort:viewport 825x1125-37-37 -virtual-pixel Edge -distort SRT 0 +repage $OUTPUT +else + # Mini Deck + pdftoppm -scale-to-x 750 -scale-to-y 525 -png $PDFNAME > $INTERMEDIATE + convert $INTERMEDIATE -set option:distort:viewport 825x600-37-37 -virtual-pixel Edge -distort SRT 0 +repage $OUTPUT +fi diff --git a/ideas b/ideas index 2844ec1..916a7ae 100644 --- a/ideas +++ b/ideas @@ -1,13 +1,28 @@ Back to old personal cards (shuffle unused back in) Consider allowing to draw undestroyed? -4 types of 'stretch' card. -4 versions of each. +4 types of 'stretch' card. Mini cards come 32 to a sheet. +8 versions of each. 64 total effects. :o Card has info for both versions (easy/hard). Hypothermia/Starvation INCREASES whenever YOU take a new day. Graduated system: 0/1 = no change, 2/3 = +1, 4/5 = +2, 6+ = all +New icons: +Speed, Draw, Destroy, Extra Cards on new days. + +Maybe delete recovery entirely? Used by: +--whale meat +--beef stew +--bison +--poutine +--caffeine +--rope +--torch +--leather hide +--campfire + + Stretch ideas: Hard @@ -18,6 +33,9 @@ All speeds are negative. draw -1 on new day take /-1 destroy /-1 ++1 starve each day ++1 hypo each day +kill a dog each day Easy ~~~~ @@ -28,3 +46,91 @@ Personal cards draw all (like old personal rules) draw +1 on new day take +1/+1 destroy +1/+1 +no starvation +no hypo + +~~~~~~~~~~ + +Destroy choose which cards to destroy/discard/shuffle back +"Speed ruler" on edge of board - 2nd token to maintain speed delta. +Supply limit? ~10 cards then reset? +Cloud -> Cliff effect +Lightning -> No upgrades? -> NO DRAW! +Legendary: Can hold risks through the night - flashlight? +Rules - order of costs doesn't matter (can draw first to hope for damage eg) + + +(Hypo,Starve) +Rank 1 +~~~~~~ +Town (0,0): Players are immune. +Fishing Hole (0,0): Draw +3 each day. +New Moon (0,0): Dogs are free. +Bobsled Track (0,0): Whenever you play a card, move 1. +Repair Shop (0,0): Upgrade cards are free +Hospital (0,0): Personal cards are free +Orchard (0,0): Food cards are free +Sitter's House (0,0) : Attachments are free. (he sits so still for you!) + +Rank 2 +~~~~~~ +Downhill (1,0): All dogs have +1 speed. +Downwind (0,1): +3 speed. (animals can smell you) +Farm (0,0): You cannot starve. +Volcano (0,0): You cannot freeze. +Overpass (1,0) : Fake dogs are free. +Training Ground (0,1) : Risks don't fizzle on new days. +Powder Snow (1,0) : Don't take damage. (soft landing) + +Rank 3 +~~~~~~ +Frozen Lake (1,0): Cannot Starve +Philadelphia (1,0): Its always sunny. +Fertile Soil (1,0): Food removes your starvation. +Winery (0,1) : Personal cards remove your hypothermia. (Nice warm mead) + +Rank 4 +~~~~~~ +Plains (0,0): +1 Speed +Cold Wave (1,0): +2 Speed +Hunting Season (1,0): Venison is free +Valley (0,0) : Weather has no effect. + +Rank 5 +~~~~~~ +Hills (1,0): -1 Speed +Heat wave (0,2): -2 Speed +Hunting Ban (0,2) : Venison has no effect +Fjord (2,0) : Weather has no effect. + +Rank 6 +~~~~~~ +Wasteland (0,1): Starve every day +Vancouver (2,0): Its always raining. +Toxic Soil (0,2): Take 1 damage whenever you . +Factory (2,0): Take 1 damage whenever you . (polluted air) + +Rank 7 +~~~~~~ +Uphill (1,1): All dogs have -1 speed. +Upwind (2,0): -3 speed. (higher relative speed) +Salt Flat (0,3): +1 speed. (no food, but at least it's flat) +Exposed (3,0): +1 speed. (cold, but at least it's flat) +Checkpoint (1,1) : Kill fake dogs (the ref is watching) +Rope Bridge (2,0) : Risks always fizzle +Cliff Wall (0,2) : Take a damage each day (watch for falling rocks [in 0.5x A press]) + +Rank 8 +~~~~~~ +City (2,2): No extra cards are drawn. +Waterfall (1,3): Draw -3 each day. +Full Moon (3,0): Dogs have opposite effects. +Slippery Slope (3,0): Whenever you play a card: Move -1. +Highway (2,2): Upgrade cards have no effect +Middle of Nowhere (1,3): Personal cards have no effect +Sulfur Flats (0,2): Food cards have no effect +Dog Park (1,3): Attachments have opposite effects. (Come over here so I can put this +on!) + +IDEA: Solo mode do hard side first. +Draw directional path on stretch card area on board. diff --git a/iditaboard.png b/iditaboard.png index 7ef31f0..fce1974 100644 Binary files a/iditaboard.png and b/iditaboard.png differ diff --git a/iditaboard.xcf b/iditaboard.xcf index 2474f9c..3940afe 100644 Binary files a/iditaboard.xcf and b/iditaboard.xcf differ diff --git a/iditacard.cls b/iditacard.cls index 7adf0d3..b8ba768 100644 --- a/iditacard.cls +++ b/iditacard.cls @@ -29,15 +29,6 @@ \definecolor{mountain}{HTML}{9F9F9F} \definecolor{village}{HTML}{FF8F0F} -\definecolor{stage_one}{7FDF7D} -\definecolor{stage_two}{9FB76F} -\definecolor{stage_three}{5F5FFF} -\definecolor{stage_four}{DFDF3F} -\definecolor{stage_five}{3FDFDF} -\definecolor{stage_six}{9F9F9F} -\definecolor{stage_seven}{FF5F5F} -\definecolor{stage_eight}{CF5FCF} - \definecolor{energy}{HTML}{003FFF} \definecolor{health}{HTML}{FF0000} \definecolor{risk}{HTML}{000000} @@ -152,13 +143,15 @@ \newcommand{\Mm}{myriameter} \newcommand{\Mms}{myriameters} -\newcommand{\destroy}[2]{Destroy up to #1 of #2.} -\newcommand{\take}[2]{Take #1 of #2.} -\newcommand{\recover}[1]{\ifnum #1=1 Recover a card. \else Recover #1 cards. \fi} -\newcommand{\draw}[1]{\ifnum #1=1 Draw a card. \else Draw #1 cards. \fi} +\newcommand{\move}[1]{\raisebox{-0.2em}{\includegraphics[height=1em]{icons/dog-sled-icon.png}} #1} +\newcommand{\destroy}[2]{\raisebox{-0.1em}{\includegraphics[height=1em]{icons/card-pickup.png}} #2 \raisebox{-0.1em}{\includegraphics[height=1em]{icons/trash-can.png}} #1} +\newcommand{\take}[2]{\raisebox{-0.1em}{\includegraphics[height=1em]{icons/backpack.png}} #2 \raisebox{-0.1em}{\includegraphics[height=1em]{icons/shopping-cart.png}} #1} +\newcommand{\draw}[1]{\raisebox{-0.1em}{\includegraphics[height=1em]{icons/card-draw.png}} #1} +\newcommand{\daydraw}[1]{\raisebox{-0.1em}{\includegraphics[height=1em]{icons/card-plus.png}} #1 \raisebox{-0.1em}{\includegraphics[height=1em]{icons/solar-time.png}}} \newcommand{\personal}{{\color{personal}personal}} \newcommand{\hypothermia}{{\color{energy}hypothermia}} \newcommand{\starvation}{{\color{health}starvation}} +\newcommand{\speed}[1]{\raisebox{-0.1em}{\includegraphics[height=1em]{icons/speed.png}}#1} \newcommand{\raw}[1]{% \node [rectangle, minimum width=650.0/300.0, minimum height=950.0/300.0, text justified, text width=53mm, inner sep=1mm, anchor=north west] at (50.0/300.0,1000.0/300.0) {#1}; diff --git a/iditarules.xcf b/iditarules.xcf new file mode 100644 index 0000000..578a5d2 Binary files /dev/null and b/iditarules.xcf differ diff --git a/iditastretch.cls b/iditastretch.cls new file mode 100644 index 0000000..5b9bd5d --- /dev/null +++ b/iditastretch.cls @@ -0,0 +1,155 @@ +\LoadClass{standalone} + +\ProvidesClass{iditastretch}[2018/06/16 Class for Iditacard stretches] + +\RequirePackage{fontspec} +\RequirePackage{xcolor} + +\RequirePackage[none]{hyphenat} + +\RequirePackage{tikz} +\usetikzlibrary{positioning,shapes,shadows,arrows,backgrounds,fit} +\RequirePackage{shapepar} +\RequirePackage{microtype} + +\graphicspath{{images/}} + +\newfontfamily\bebas{Bebas Neue Regular} +\newfontfamily\alegreya{Alegreya} + +\definecolor{stage_one}{HTML}{7FDF7D} +\definecolor{stage_two}{HTML}{9FB76F} +\definecolor{stage_three}{HTML}{5F5FFF} +\definecolor{stage_four}{HTML}{3FDFDF} +\definecolor{stage_five}{HTML}{DFDF3F} +\definecolor{stage_six}{HTML}{9F9F9F} +\definecolor{stage_seven}{HTML}{FF5F5F} +\definecolor{stage_eight}{HTML}{CF5FCF} + +\definecolor{energy}{HTML}{003FFF} +\definecolor{health}{HTML}{FF0000} +\definecolor{risk}{HTML}{000000} + +\definecolor{utility}{HTML}{FFFFFF} +\definecolor{attachment}{HTML}{5FAFCF} +\definecolor{dog}{HTML}{BF9F7F} +\definecolor{stretch}{HTML}{9F9F9F} +\definecolor{personal}{HTML}{AF5FCF} +\definecolor{movement}{HTML}{7F7FDF} +\definecolor{damage}{HTML}{FF6F6F} +\definecolor{sled}{HTML}{7FDF7F} +\definecolor{food}{HTML}{CFCF4F} + +\newcommand{\Mm}{myriameter} +\newcommand{\Mms}{myriameters} +\newcommand{\move}[1]{\raisebox{-0.2em}{\includegraphics[height=1em]{icons/dog-sled-icon.png}} #1} +\newcommand{\destroy}[2]{\raisebox{-0.1em}{\includegraphics[height=1em]{icons/card-pickup.png}} #2 \raisebox{-0.1em}{\includegraphics[height=1em]{icons/trash-can.png}} #1} +\newcommand{\take}[2]{\raisebox{-0.1em}{\includegraphics[height=1em]{icons/backpack.png}} #2 \raisebox{-0.1em}{\includegraphics[height=1em]{icons/shopping-cart.png}} #1} +\newcommand{\draw}[1]{\raisebox{-0.1em}{\includegraphics[height=1em]{icons/card-draw.png}} #1} +\newcommand{\daydraw}[1]{\raisebox{-0.1em}{\includegraphics[height=1em]{icons/card-plus.png}} #1 \includegraphics[height=1em]{icons/solar-time.png}} +\newcommand{\personal}{{\color{personal}personal}} +\newcommand{\hypothermia}{\raisebox{-0.1em}{\includegraphics[height=1em]{icons/hypo.png}}} +\newcommand{\starvation}{\raisebox{-0.1em}{\includegraphics[height=1em]{icons/starve.png}}} +\newcommand{\speed}[1]{\raisebox{-0.1em}{\includegraphics[height=1em]{icons/speed.png}}#1} + +\newcommand{\difficulty}[2]{% + \newcommand{\easybackgroundcolor}{#1} + \newcommand{\hardbackgroundcolor}{#2} +} + +\newcommand{\name}[2]{% + \node [rectangle, anchor=north, minimum width=1in, minimum height=1.0/3.0in, text centered, text width=1in, inner sep=0mm] at (200.0/300.0,450.0/300.0) {\bf\fontsize{16}{18}\bebas#1\par}; + \node [rectangle, anchor=north, minimum width=1in, minimum height=1.0/3.0in, text centered, text width=1in, inner sep=0mm] at (550.0/300.0,450.0/300.0) {\bf\fontsize{16}{18}\bebas#2\par}; +} + +\newcommand{\effect}[2]{% + \node [rectangle, anchor=north, minimum width=1in, minimum height=1.0/3.0in, text centered, text width=1in, inner sep=0mm] at (200.0/300.0,175.0/300.0) {\bf\fontsize{10}{10}\bebas#1\par}; + \node [rectangle, anchor=north, minimum width=1in, minimum height=1.0/3.0in, text centered, text width=1in, inner sep=0mm] at (550.0/300.0,175.0/300.0) {\bf\fontsize{10}{10}\bebas#2\par}; +} + +% Aspect ratio of about 3:2 +\newcommand{\art}[2]{% + \node [rectangle, minimum width=0.9in, minimum height=200.0/300.0, inner sep=0, anchor=north west] at (65.0/300.0,390.0/300.0) {\noindent\includegraphics*[width=0.9in, height=0.66666in]{#1}}; + \node [rectangle, minimum width=0.9in, minimum height=200.0/300.0, inner sep=0, anchor=north west] at (415.0/300.0,390.0/300.0) {\noindent\includegraphics*[width=0.9in, height=0.66666in]{#2}}; +} + +\newcommand{\easyhypo}[1]{% + % TODO: Improve alignment + \ifnum 0<#1 + %\fill [left color=energy, right color=personal] (50.0/300.0,375.0/300.0) rectangle (65.0/300.0,325.0/300.0); + \node [rectangle, anchor=west, minimum width=0.25in, minimum height=0.25in, text centered, text width=0.25in, inner sep=0mm] at (50.0/300.0,360.0/300.0) {\includegraphics*[width=0.25in, height=0.25in]{icons/hypo.png}}; + \fi + \ifnum 1<#1 + %\fill [left color=energy, right color=personal] (50.0/300.0,315.0/300.0) rectangle (65.0/300.0,265.0/300.0); + \node [rectangle, anchor=west, minimum width=0.25in, minimum height=0.25in, text centered, text width=0.25in, inner sep=0mm] at (50.0/300.0,290.0/300.0) {\includegraphics*[width=0.25in, height=0.25in]{icons/hypo.png}}; + \fi + \ifnum 2<#1 + %\fill [left color=energy, right color=personal] (50.0/300.0,255.0/300.0) rectangle (65.0/300.0,205.0/300.0); + \node [rectangle, anchor=west, minimum width=0.25in, minimum height=0.25in, text centered, text width=0.25in, inner sep=0mm] at (50.0/300.0,220.0/300.0) {\includegraphics*[width=0.25in, height=0.25in]{icons/hypo.png}}; + \fi +} + +\newcommand{\easystarve}[1]{% + % TODO: Improve alignment + \ifnum 0<#1 + %\fill [right color=health, left color=food] (336.0/300.0,375.0/300.0) rectangle (350.0/300.0,325.0/300.0); + \node [rectangle, anchor=east, minimum width=0.25in, minimum height=0.25in, text centered, text width=0.25in, inner sep=0mm] at (350.0/300.0,360.0/300.0) {\includegraphics*[width=0.25in, height=0.25in]{icons/starve.png}}; + \fi + \ifnum 1<#1 + %\fill [right color=health, left color=food] (336.0/300.0,315.0/300.0) rectangle (350.0/300.0,265.0/300.0); + \node [rectangle, anchor=east, minimum width=0.25in, minimum height=0.25in, text centered, text width=0.25in, inner sep=0mm] at (350.0/300.0,290.0/300.0) {\includegraphics*[width=0.25in, height=0.25in]{icons/starve.png}}; + \fi + \ifnum 2<#1 + %\fill [right color=health, left color=food] (336.0/300.0,255.0/300.0) rectangle (350.0/300.0,205.0/300.0); + \node [rectangle, anchor=east, minimum width=0.25in, minimum height=0.25in, text centered, text width=0.25in, inner sep=0mm] at (350.0/300.0,220.0/300.0) {\includegraphics*[width=0.25in, height=0.25in]{icons/starve.png}}; + \fi +} + +\newcommand{\hardhypo}[1]{% + % TODO: Improve alignment + \ifnum 0<#1 + %\fill [left color=energy, right color=personal] (400.0/300.0,375.0/300.0) rectangle (415.0/300.0,325.0/300.0); + \node [rectangle, anchor=west, minimum width=0.25in, minimum height=0.25in, text centered, text width=0.25in, inner sep=0mm] at (400.0/300.0,360.0/300.0) {\includegraphics*[width=0.25in, height=0.25in]{icons/hypo.png}}; + \fi + \ifnum 1<#1 + %\fill [left color=energy, right color=personal] (400.0/300.0,315.0/300.0) rectangle (415.0/300.0,265.0/300.0); + \node [rectangle, anchor=west, minimum width=0.25in, minimum height=0.25in, text centered, text width=0.25in, inner sep=0mm] at (400.0/300.0,290.0/300.0) {\includegraphics*[width=0.25in, height=0.25in]{icons/hypo.png}}; + \fi + \ifnum 2<#1 + %\fill [left color=energy, right color=personal] (400.0/300.0,255.0/300.0) rectangle (415.0/300.0,205.0/300.0); + \node [rectangle, anchor=west, minimum width=0.25in, minimum height=0.25in, text centered, text width=0.25in, inner sep=0mm] at (400.0/300.0,220.0/300.0) {\includegraphics*[width=0.25in, height=0.25in]{icons/hypo.png}}; + \fi +} + +\newcommand{\hardstarve}[1]{% + % TODO: Improve alignment + \ifnum 0<#1 + %\fill [right color=health, left color=food] (686.0/300.0,375.0/300.0) rectangle (700.0/300.0,325.0/300.0); + \node [rectangle, anchor=east, minimum width=0.25in, minimum height=0.25in, text centered, text width=0.25in, inner sep=0mm] at (700.0/300.0,360.0/300.0) {\includegraphics*[width=0.25in, height=0.25in]{icons/starve.png}}; + \fi + \ifnum 1<#1 + %\fill [right color=health, left color=food] (686.0/300.0,315.0/300.0) rectangle (700.0/300.0,265.0/300.0); + \node [rectangle, anchor=east, minimum width=0.25in, minimum height=0.25in, text centered, text width=0.25in, inner sep=0mm] at (700.0/300.0,290.0/300.0) {\includegraphics*[width=0.25in, height=0.25in]{icons/starve.png}}; + \fi + \ifnum 2<#1 + %\fill [right color=health, left color=food] (686.0/300.0,255.0/300.0) rectangle (700.0/300.0,205.0/300.0); + \node [rectangle, anchor=east, minimum width=0.25in, minimum height=0.25in, text centered, text width=0.25in, inner sep=0mm] at (700.0/300.0,220.0/300.0) {\includegraphics*[width=0.25in, height=0.25in]{icons/starve.png}}; + \fi +} + +\newcommand{\flava}[2]{% + \node [rectangle, minimum width=1in, minimum height=50.0/300.0, text centered, text width=1in, inner sep=0mm, anchor=north] at (200.0/300.0,75.0/300.0) {\fontsize{4}{6}\alegreya"#1"\par}; + \node [rectangle, minimum width=1in, minimum height=50.0/300.0, text centered, text width=1in, inner sep=0mm, anchor=north] at (550.0/300.0,75.0/300.0) {\fontsize{4}{6}\alegreya"#2"\par}; +} + +\newenvironment{cardstretch} +{% Begin +\noindent\begin{tikzpicture}[x=1in,y=1in] +\fill [left color=\hardbackgroundcolor, right color=\easybackgroundcolor] (0,0) rectangle (2.5,1.75); +%\fill [\hardbackgroundcolor] (0,0) rectangle (1.25,1.75); +%\fill [\easybackgroundcolor] (1.25,0) rectangle (2.5,1.75); +\fill[rounded corners=10pt] [\easybackgroundcolor] (50.0/300.0,50.0/300.0) rectangle (350.0/300.0,475.0/300.0); +\fill[rounded corners=10pt] [\hardbackgroundcolor] (400.0/300.0,50.0/300.0) rectangle (700.0/300.0,475.0/300.0); +} +{% End +\end{tikzpicture}} diff --git a/images/bobsled_track.jpg b/images/bobsled_track.jpg new file mode 100644 index 0000000..8002d2a Binary files /dev/null and b/images/bobsled_track.jpg differ diff --git a/images/checkpoint.jpg b/images/checkpoint.jpg new file mode 100644 index 0000000..67b8a44 Binary files /dev/null and b/images/checkpoint.jpg differ diff --git a/images/cliff_wall.JPG b/images/cliff_wall.JPG new file mode 100644 index 0000000..f24f5e9 Binary files /dev/null and b/images/cliff_wall.JPG differ diff --git a/images/cold_wave.jpg b/images/cold_wave.jpg new file mode 100644 index 0000000..fc7fadb Binary files /dev/null and b/images/cold_wave.jpg differ diff --git a/images/dog_park.jpg b/images/dog_park.jpg new file mode 100644 index 0000000..23e71de Binary files /dev/null and b/images/dog_park.jpg differ diff --git a/images/exposed.jpg b/images/exposed.jpg new file mode 100644 index 0000000..394364e Binary files /dev/null and b/images/exposed.jpg differ diff --git a/images/factory.jpg b/images/factory.jpg new file mode 100644 index 0000000..f74d606 Binary files /dev/null and b/images/factory.jpg differ diff --git a/images/farm.jpg b/images/farm.jpg new file mode 100644 index 0000000..60ed4bc Binary files /dev/null and b/images/farm.jpg differ diff --git a/images/fertile.jpg b/images/fertile.jpg new file mode 100644 index 0000000..f194fbf Binary files /dev/null and b/images/fertile.jpg differ diff --git a/images/frozen_waterfall.jpg b/images/frozen_waterfall.jpg new file mode 100644 index 0000000..33ca267 Binary files /dev/null and b/images/frozen_waterfall.jpg differ diff --git a/images/full_moon.jpg b/images/full_moon.jpg new file mode 100644 index 0000000..9e9217e Binary files /dev/null and b/images/full_moon.jpg differ diff --git a/images/heat_wave.jpg b/images/heat_wave.jpg new file mode 100644 index 0000000..488ecea Binary files /dev/null and b/images/heat_wave.jpg differ diff --git a/images/highway.jpg b/images/highway.jpg new file mode 100644 index 0000000..28bd644 Binary files /dev/null and b/images/highway.jpg differ diff --git a/images/hill.jpg b/images/hill.jpg new file mode 100644 index 0000000..395727f Binary files /dev/null and b/images/hill.jpg differ diff --git a/images/ice_fishing_huts_on_lake.jpg b/images/ice_fishing_huts_on_lake.jpg new file mode 100644 index 0000000..61dcf65 Binary files /dev/null and b/images/ice_fishing_huts_on_lake.jpg differ diff --git a/images/icons/backpack.xcf b/images/icons/backpack.xcf new file mode 100644 index 0000000..1aa9d00 Binary files /dev/null and b/images/icons/backpack.xcf differ diff --git a/images/icons/card-draw.xcf b/images/icons/card-draw.xcf new file mode 100644 index 0000000..0d89fba Binary files /dev/null and b/images/icons/card-draw.xcf differ diff --git a/images/icons/card-pickup.xcf b/images/icons/card-pickup.xcf new file mode 100644 index 0000000..8069f09 Binary files /dev/null and b/images/icons/card-pickup.xcf differ diff --git a/images/icons/card-plus.xcf b/images/icons/card-plus.xcf new file mode 100644 index 0000000..66f91d0 Binary files /dev/null and b/images/icons/card-plus.xcf differ diff --git a/images/icons/chicken-leg.xcf b/images/icons/chicken-leg.xcf new file mode 100644 index 0000000..deb7138 Binary files /dev/null and b/images/icons/chicken-leg.xcf differ diff --git a/images/icons/magnifying-glass.xcf b/images/icons/magnifying-glass.xcf new file mode 100644 index 0000000..f46ebfd Binary files /dev/null and b/images/icons/magnifying-glass.xcf differ diff --git a/images/icons/shopping-cart.xcf b/images/icons/shopping-cart.xcf new file mode 100644 index 0000000..b1ce056 Binary files /dev/null and b/images/icons/shopping-cart.xcf differ diff --git a/images/icons/solar-time.xcf b/images/icons/solar-time.xcf new file mode 100644 index 0000000..3bb9b71 Binary files /dev/null and b/images/icons/solar-time.xcf differ diff --git a/images/icons/speed.xcf b/images/icons/speed.xcf new file mode 100644 index 0000000..49f981d Binary files /dev/null and b/images/icons/speed.xcf differ diff --git a/images/icons/stomach.xcf b/images/icons/stomach.xcf new file mode 100644 index 0000000..d621747 Binary files /dev/null and b/images/icons/stomach.xcf differ diff --git a/images/icons/sunrise.xcf b/images/icons/sunrise.xcf new file mode 100644 index 0000000..e1ab126 Binary files /dev/null and b/images/icons/sunrise.xcf differ diff --git a/images/icons/thermometer-cold.xcf b/images/icons/thermometer-cold.xcf new file mode 100644 index 0000000..0568bc0 Binary files /dev/null and b/images/icons/thermometer-cold.xcf differ diff --git a/images/icons/trash-can.xcf b/images/icons/trash-can.xcf new file mode 100644 index 0000000..150e561 Binary files /dev/null and b/images/icons/trash-can.xcf differ diff --git a/images/icons/vote.xcf b/images/icons/vote.xcf new file mode 100644 index 0000000..5591401 Binary files /dev/null and b/images/icons/vote.xcf differ diff --git a/images/new_moon.jpg b/images/new_moon.jpg new file mode 100644 index 0000000..e1a7e22 Binary files /dev/null and b/images/new_moon.jpg differ diff --git a/images/orchard.jpg b/images/orchard.jpg new file mode 100644 index 0000000..5b367d3 Binary files /dev/null and b/images/orchard.jpg differ diff --git a/images/overpass.jpg b/images/overpass.jpg new file mode 100644 index 0000000..042daad Binary files /dev/null and b/images/overpass.jpg differ diff --git a/images/philly.jpg b/images/philly.jpg new file mode 100644 index 0000000..4019c68 Binary files /dev/null and b/images/philly.jpg differ diff --git a/images/plains.jpg b/images/plains.jpg new file mode 100644 index 0000000..4c79528 Binary files /dev/null and b/images/plains.jpg differ diff --git a/images/powder.JPG b/images/powder.JPG new file mode 100644 index 0000000..e522a21 Binary files /dev/null and b/images/powder.JPG differ diff --git a/images/repair_shop.jpg b/images/repair_shop.jpg new file mode 100644 index 0000000..99e0d9b Binary files /dev/null and b/images/repair_shop.jpg differ diff --git a/images/runninghusky.jpg b/images/runninghusky.jpg new file mode 100644 index 0000000..5eba58d Binary files /dev/null and b/images/runninghusky.jpg differ diff --git a/images/salt_flat.jpg b/images/salt_flat.jpg new file mode 100644 index 0000000..ca85647 Binary files /dev/null and b/images/salt_flat.jpg differ diff --git a/images/sitter_house.jpg b/images/sitter_house.jpg new file mode 100644 index 0000000..8a3e8b9 Binary files /dev/null and b/images/sitter_house.jpg differ diff --git a/images/slippery_slope.jpg b/images/slippery_slope.jpg new file mode 100644 index 0000000..3f73c7f Binary files /dev/null and b/images/slippery_slope.jpg differ diff --git a/images/sulfur_flat.jpg b/images/sulfur_flat.jpg new file mode 100644 index 0000000..f06a9f9 Binary files /dev/null and b/images/sulfur_flat.jpg differ diff --git a/images/toxic.jpg b/images/toxic.jpg new file mode 100644 index 0000000..38ae688 Binary files /dev/null and b/images/toxic.jpg differ diff --git a/images/training.jpg b/images/training.jpg new file mode 100644 index 0000000..0642d00 Binary files /dev/null and b/images/training.jpg differ diff --git a/images/valley.jpg b/images/valley.jpg new file mode 100644 index 0000000..67a393d Binary files /dev/null and b/images/valley.jpg differ diff --git a/images/vancouver.jpg b/images/vancouver.jpg new file mode 100644 index 0000000..12ce0df Binary files /dev/null and b/images/vancouver.jpg differ diff --git a/images/winery.jpg b/images/winery.jpg new file mode 100644 index 0000000..afdc09a Binary files /dev/null and b/images/winery.jpg differ diff --git a/outputs/survivor.d b/outputs/survivor.d index f589d35..55e4aaa 100644 --- a/outputs/survivor.d +++ b/outputs/survivor.d @@ -1,6 +1,7 @@ -outputs/survivor.pdf:cards/attachments/coat.pdf cards/attachments/coat.pdf cards/attachments/coat.pdf cards/attachments/coat.pdf cards/attachments/harness.pdf cards/attachments/harness.pdf cards/attachments/harness.pdf cards/attachments/harness.pdf cards/dogs/cute_dog.pdf cards/dogs/cute_dog.pdf cards/dogs/cute_dog.pdf cards/dogs/cute_dog.pdf cards/dogs/smart_dog.pdf cards/dogs/smart_dog.pdf cards/dogs/smart_dog.pdf cards/dogs/smart_dog.pdf cards/food/poutine.pdf cards/food/poutine.pdf cards/food/poutine.pdf cards/food/poutine.pdf cards/food/raw_venison.pdf cards/food/raw_venison.pdf cards/food/raw_venison.pdf cards/food/raw_venison.pdf cards/food/venison_carpaccio.pdf cards/food/venison_carpaccio.pdf cards/food/venison_carpaccio.pdf cards/food/venison_carpaccio.pdf cards/food/venison_steak.pdf cards/food/venison_steak.pdf cards/food/venison_steak.pdf cards/food/venison_steak.pdf cards/personal/band_aid.pdf cards/personal/band_aid.pdf cards/personal/band_aid.pdf cards/personal/band_aid.pdf cards/personal/ibuprofin.pdf cards/personal/ibuprofin.pdf cards/personal/ibuprofin.pdf cards/util/campfire.pdf cards/util/campfire.pdf cards/util/campfire.pdf cards/util/campfire.pdf cards/util/leather_hide.pdf cards/util/leather_hide.pdf cards/util/leather_hide.pdf cards/util/leather_hide.pdf cards/util/leather_jacket.pdf cards/util/leather_jacket.pdf cards/util/leather_jacket.pdf cards/util/vigilance.pdf cards/util/vigilance.pdf cards/util/vigilance.pdf cards/info/survivor_summary.pdf +outputs/survivor.pdf:cards/attachments/coat.pdf cards/attachments/coat.pdf cards/attachments/coat.pdf cards/attachments/coat.pdf cards/attachments/flashlight.pdf cards/attachments/flashlight.pdf cards/attachments/harness.pdf cards/attachments/harness.pdf cards/attachments/harness.pdf cards/attachments/harness.pdf cards/dogs/cute_dog.pdf cards/dogs/cute_dog.pdf cards/dogs/cute_dog.pdf cards/dogs/cute_dog.pdf cards/dogs/smart_dog.pdf cards/dogs/smart_dog.pdf cards/dogs/smart_dog.pdf cards/dogs/smart_dog.pdf cards/food/poutine.pdf cards/food/poutine.pdf cards/food/poutine.pdf cards/food/poutine.pdf cards/food/raw_venison.pdf cards/food/raw_venison.pdf cards/food/raw_venison.pdf cards/food/raw_venison.pdf cards/food/venison_carpaccio.pdf cards/food/venison_carpaccio.pdf cards/food/venison_carpaccio.pdf cards/food/venison_carpaccio.pdf cards/food/venison_steak.pdf cards/food/venison_steak.pdf cards/food/venison_steak.pdf cards/food/venison_steak.pdf cards/info/survivor_summary.pdf cards/personal/band_aid.pdf cards/personal/band_aid.pdf cards/personal/band_aid.pdf cards/personal/band_aid.pdf cards/personal/ibuprofin.pdf cards/personal/ibuprofin.pdf cards/personal/ibuprofin.pdf cards/util/campfire.pdf cards/util/campfire.pdf cards/util/leather_hide.pdf cards/util/leather_hide.pdf cards/util/leather_hide.pdf cards/util/leather_hide.pdf cards/util/leather_jacket.pdf cards/util/leather_jacket.pdf cards/util/leather_jacket.pdf cards/util/vigilance.pdf cards/util/vigilance.pdf cards/util/vigilance.pdf pdfunite $+ $@ export: outputs/survivor/coat[4].png + export: outputs/survivor/flashlight[2].png export: outputs/survivor/harness[4].png export: outputs/survivor/cute_dog[4].png export: outputs/survivor/smart_dog[4].png @@ -11,11 +12,12 @@ outputs/survivor.pdf:cards/attachments/coat.pdf cards/attachments/coat.pdf cards export: outputs/survivor/survivor_summary[1].png export: outputs/survivor/band_aid[4].png export: outputs/survivor/ibuprofin[3].png - export: outputs/survivor/campfire[4].png + export: outputs/survivor/campfire[2].png export: outputs/survivor/leather_hide[4].png export: outputs/survivor/leather_jacket[3].png export: outputs/survivor/vigilance[3].png outputs/survivor/coat[4].png: cards/attachments/coat[4].png; cp cards/attachments/coat[4].png outputs/survivor/coat[4].png + outputs/survivor/flashlight[2].png: cards/attachments/flashlight[2].png; cp cards/attachments/flashlight[2].png outputs/survivor/flashlight[2].png outputs/survivor/harness[4].png: cards/attachments/harness[4].png; cp cards/attachments/harness[4].png outputs/survivor/harness[4].png outputs/survivor/cute_dog[4].png: cards/dogs/cute_dog[4].png; cp cards/dogs/cute_dog[4].png outputs/survivor/cute_dog[4].png outputs/survivor/smart_dog[4].png: cards/dogs/smart_dog[4].png; cp cards/dogs/smart_dog[4].png outputs/survivor/smart_dog[4].png @@ -26,7 +28,7 @@ outputs/survivor.pdf:cards/attachments/coat.pdf cards/attachments/coat.pdf cards outputs/survivor/survivor_summary[1].png: cards/info/survivor_summary[1].png; cp cards/info/survivor_summary[1].png outputs/survivor/survivor_summary[1].png outputs/survivor/band_aid[4].png: cards/personal/band_aid[4].png; cp cards/personal/band_aid[4].png outputs/survivor/band_aid[4].png outputs/survivor/ibuprofin[3].png: cards/personal/ibuprofin[3].png; cp cards/personal/ibuprofin[3].png outputs/survivor/ibuprofin[3].png - outputs/survivor/campfire[4].png: cards/util/campfire[4].png; cp cards/util/campfire[4].png outputs/survivor/campfire[4].png + outputs/survivor/campfire[2].png: cards/util/campfire[2].png; cp cards/util/campfire[2].png outputs/survivor/campfire[2].png outputs/survivor/leather_hide[4].png: cards/util/leather_hide[4].png; cp cards/util/leather_hide[4].png outputs/survivor/leather_hide[4].png outputs/survivor/leather_jacket[3].png: cards/util/leather_jacket[3].png; cp cards/util/leather_jacket[3].png outputs/survivor/leather_jacket[3].png outputs/survivor/vigilance[3].png: cards/util/vigilance[3].png; cp cards/util/vigilance[3].png outputs/survivor/vigilance[3].png