diff --git a/Makefile b/Makefile index 8c925b2..c52ad70 100644 --- a/Makefile +++ b/Makefile @@ -45,21 +45,11 @@ outputs/%.d: cards/decks/%.txt include $(DECKLIST:%=outputs/%.d) -outputs/iditaleft[face].png: iditaboard.png - convert iditaboard.png -crop 2400x2400+37+37 outputs/iditaleft[face]-raw.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/iditaboard[face].png: iditaboard.pdf + $(PDFTOPPM) -scale-to-x 4875 -scale-to-y 3075 -png $< > $@ -outputs/iditaleft[back].png: iditasingle.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 - convert iditaboard.png -crop 2400x2400+2437+37 outputs/iditaright[face]-raw.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 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/iditaboard[back].png: iditasingle.pdf + $(PDFTOPPM) -scale-to-x 4875 -scale-to-y 3075 -png $< > $@ outputs/cardback.png: cardback.png cp $< $@ @@ -84,34 +74,15 @@ outputs/stretchback4.png: cardback.png convert tmp.png -fuzz 50% -fill \#DFDF3F -opaque black $@ rm tmp.png -outputs/destroyed.png: destroyed.png - cp $< $@ - -outputs/supplies.png: supplies.png - cp $< $@ - -outputs/purple.png: purple.png - cp $< $@ - -outputs/green.png: green.png - cp $< $@ - -outputs/orange.png: orange.png - cp $< $@ - -outputs/yellow.png: yellow.png - cp $< $@ - outputs/box[top].png: box_top.png cp $< $@ outputs/box[bottom].png: box_bottom.png cp $< $@ -export: outputs/iditaleft[face].png outputs/iditaleft[back].png outputs/iditaright[face].png outputs/iditaright[back].png +export: outputs/iditaboard[face].png outputs/iditaboard[back].png +export: outputs/stretchback1.png outputs/stretchback2.png outputs/stretchback3.png outputs/stretchback4.png export: outputs/cardback.png -export: outputs/destroyed.png outputs/supplies.png -export: outputs/purple.png outputs/green.png outputs/orange.png outputs/yellow.png export: outputs/box[top].png outputs/box[bottom].png %.pdf: %.tex diff --git a/cards/stretches/18/bobsled_slippery.tex b/cards/stretches/18/bobsled_slippery.tex index 827bffc..827cdb1 100644 --- a/cards/stretches/18/bobsled_slippery.tex +++ b/cards/stretches/18/bobsled_slippery.tex @@ -1,14 +1,14 @@ -\documentclass{iditastretch} +\documentclass{iditacard} \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} + \easyname{Bobsled Track}\hardname{Slippery Slope} + \easyeffect{Whenever you play a card \move{1}}\hardeffect{Whenever you play a card \move{-1}} + \easyart{bobsled_track.jpg}\hardart{slippery_slope.jpg} \hardhypo{3} - \flava{Literally built for sledding}{One step forward, two steps back} + \easyflava{Literally built for sledding}\hardflava{One step forward, two steps back} \end{cardstretch} \end{document} diff --git a/cards/stretches/18/example18.tex b/cards/stretches/18/example18.tex index 6d04a14..2f2d651 100644 --- a/cards/stretches/18/example18.tex +++ b/cards/stretches/18/example18.tex @@ -1,12 +1,12 @@ -\documentclass{iditastretch} +\documentclass{iditacard} \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} + \easyname{very easy}\hardname{very hard} + \easyeffect{This effect is great.}\hardeffect{This effect sucks. A lot.} + \easyart{village.jpg}\hardart{town.jpg} \easyhypo{3} \easystarve{3} \hardhypo{3} diff --git a/cards/stretches/18/fishing_hole_waterfall.tex b/cards/stretches/18/fishing_hole_waterfall.tex index 9582b2f..eb87520 100644 --- a/cards/stretches/18/fishing_hole_waterfall.tex +++ b/cards/stretches/18/fishing_hole_waterfall.tex @@ -1,15 +1,15 @@ -\documentclass{iditastretch} +\documentclass{iditacard} \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} + \easyname{Fishing Hole}\hardname{Waterfall} + \easyeffect{\daydraw{3}}\hardeffect{\daydraw{-3}} + \easyart{ice_fishing_huts_on_lake.jpg}\hardart{frozen_waterfall.jpg} \hardhypo{1} \hardstarve{3} - \flava{All the fish you can eat...}{Until it freezes through} + \easyflava{All the fish you can eat...}\hardflava{Until it freezes through} \end{cardstretch} \end{document} diff --git a/cards/stretches/18/hospital_nowhere.tex b/cards/stretches/18/hospital_nowhere.tex index 60605d7..99142fb 100644 --- a/cards/stretches/18/hospital_nowhere.tex +++ b/cards/stretches/18/hospital_nowhere.tex @@ -1,15 +1,15 @@ -\documentclass{iditastretch} +\documentclass{iditacard} \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} + \easyname{Hospital}\hardname{Off-Piste} + \easyeffect{\destroy{}{\kern-0.5em} cards are free}\hardeffect{No \destroy{\kern-0.5em}{\kern-0.5em}} + \easyart{repair_shop.jpg}\hardart{highway.jpg} \hardhypo{1} \hardstarve{3} - \flava{All the medical care you need.}{Nobody around to help you.} + \easyflava{All the medical care you need.}\hardflava{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 index 07595a6..ef5a051 100644 --- a/cards/stretches/18/new_full_moon.tex +++ b/cards/stretches/18/new_full_moon.tex @@ -1,14 +1,14 @@ -\documentclass{iditastretch} +\documentclass{iditacard} \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} + \easyname{New Moon}\hardname{Full Moon} + \easyeffect{Dogs are free}\hardeffect{Dogs have opposite effects} + \easyart{new_moon.jpg}\hardart{full_moon.jpg} \hardhypo{3} - \flava{Calm and quiet}{Restless night} + \easyflava{Calm and quiet}\hardflava{Restless night} \end{cardstretch} \end{document} diff --git a/cards/stretches/18/orchard_sulfur_flats.tex b/cards/stretches/18/orchard_sulfur_flats.tex index 9d6846e..1248647 100644 --- a/cards/stretches/18/orchard_sulfur_flats.tex +++ b/cards/stretches/18/orchard_sulfur_flats.tex @@ -1,15 +1,15 @@ -\documentclass{iditastretch} +\documentclass{iditacard} \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} + \easyname{Orchard}\hardname{Sulfur Flats} + \easyeffect{Food cards are free.}\hardeffect{Food cards have no effect.} + \easyart{orchard.jpg}\hardart{sulfur_flat.jpg} \hardhypo{0} \hardstarve{2} - \flava{Just pick your own fruit.}{The stench is nauseating.} + \easyflava{Just pick your own fruit.}\hardflava{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 index a405e20..8779bb5 100644 --- a/cards/stretches/18/repair_shop_highway.tex +++ b/cards/stretches/18/repair_shop_highway.tex @@ -1,15 +1,15 @@ -\documentclass{iditastretch} +\documentclass{iditacard} \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} + \easyname{Repair Shop}\hardname{Highway} + \easyeffect{\take{}{\kern-0.5em} cards are free}\hardeffect{No \take{\kern-0.5em}{\kern-0.5em}} + \easyart{repair_shop.jpg}\hardart{highway.jpg} \hardhypo{2} \hardstarve{2} - \flava{Make the sled of your dreams.}{You can't stop to repair!} + \easyflava{Make the sled of your dreams.}\hardflava{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 index 9e3ad9e..8fefdaf 100644 --- a/cards/stretches/18/sitter_park.tex +++ b/cards/stretches/18/sitter_park.tex @@ -1,15 +1,15 @@ -\documentclass{iditastretch} +\documentclass{iditacard} \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} + \easyname{Sitter Home}\hardname{Dog Park} + \easyeffect{Attachments are free.}\hardeffect{Attachments have opposite effects.} + \easyart{sitter_house.jpg}\hardart{dog_park.jpg} \hardhypo{1} \hardstarve{3} - \flava{They sit so still for you!}{Sit still so I can put this on!} + \easyflava{They sit so still for you!}\hardflava{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 index 5629dcb..41cfcb8 100644 --- a/cards/stretches/18/town_city.tex +++ b/cards/stretches/18/town_city.tex @@ -1,17 +1,17 @@ -\documentclass{iditastretch} +\documentclass{iditacard} \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} + \easyname{Town}\hardname{City} + \easyeffect{Players are immune}\hardeffect{No extra cards are drawn} + \easyart{village.jpg}\hardart{town.jpg} \easyhypo{0} \easystarve{0} \hardhypo{2} \hardstarve{2} - \flava{Get ready before you head out!}{Too busy to focus.} + \easyflava{Get ready before you head out!}\hardflava{Too busy to focus.} \end{cardstretch} \end{document} diff --git a/cards/stretches/18/village.tex b/cards/stretches/18/village.tex index cefc2e7..d822e18 100644 --- a/cards/stretches/18/village.tex +++ b/cards/stretches/18/village.tex @@ -1,12 +1,12 @@ -\documentclass{iditastretch} +\documentclass{iditacard} \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} + \easyname{easy track}\hardname{hard track} + \easyeffect{This effect is great.}\hardeffect{This effect sucks. A lot.} + \easyart{village.jpg}\hardart{town.jpg} \easyhypo{3} \easystarve{3} \hardhypo{3} diff --git a/cards/stretches/27/example27.tex b/cards/stretches/27/example27.tex index edd9d5f..15dff93 100644 --- a/cards/stretches/27/example27.tex +++ b/cards/stretches/27/example27.tex @@ -1,13 +1,13 @@ -\documentclass{iditastretch} +\documentclass{iditacard} \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} + \easyeffect{\daydraw{1}}\hardeffect{\daydraw{-1}} + \easyname{easy track}\hardname{hard track} + \easyeffect{This effect is good.}\hardeffect{This effect is bad.} + \easyart{village.jpg}\hardart{town.jpg} \easyhypo{3} \easystarve{3} \hardhypo{3} diff --git a/cards/stretches/27/farm_salt_flat.tex b/cards/stretches/27/farm_salt_flat.tex index deacf2a..93bb5ff 100644 --- a/cards/stretches/27/farm_salt_flat.tex +++ b/cards/stretches/27/farm_salt_flat.tex @@ -1,15 +1,15 @@ -\documentclass{iditastretch} +\documentclass{iditacard} \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} + \easyname{Farm}\hardname{Salt Flat} + \easyeffect{You cannot \starvation}\hardeffect{\speed{+1}} + \easyart{farm.jpg}\hardart{salt_flat.jpg} \hardhypo{0} \hardstarve{3} - \flava{Reap what you sow.}{No food, but at least it's flat.} + \easyflava{Reap what you sow.}\hardflava{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 index 052d94e..5ec0c3d 100644 --- a/cards/stretches/27/hill.tex +++ b/cards/stretches/27/hill.tex @@ -1,17 +1,17 @@ -\documentclass{iditastretch} +\documentclass{iditacard} \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} + \easyname{Downhill}\hardname{Uphill} + \easyeffect{All dogs give +1 speed}\hardeffect{All dogs give -1 speed} + \easyart{downhill.png}\hardart{uphill.png} \easyhypo{1} \easystarve{0} \hardhypo{1} \hardstarve{1} - \flava{Skiing is easier...}{Than climbing} + \easyflava{Skiing is easier...}\hardflava{Than climbing} \end{cardstretch} \end{document} diff --git a/cards/stretches/27/mountain_avalanche.tex b/cards/stretches/27/mountain_avalanche.tex index 37f4d3b..b8afe69 100644 --- a/cards/stretches/27/mountain_avalanche.tex +++ b/cards/stretches/27/mountain_avalanche.tex @@ -1,15 +1,15 @@ -\documentclass{iditastretch} +\documentclass{iditacard} \difficulty{stage_two}{stage_seven} \begin{document} \begin{cardstretch} - \name{Mountainside}{Avalanche} - \effect{All movement moves 5 \Mms}{All movement moves 0 \Mms} - \art{volcano.png}{exposed.jpg} + \easyname{Mountainside}\hardname{Avalanche} + \easyeffect{All movement moves 5 \Mms}\hardeffect{All movement moves 0 \Mms} + \easyart{volcano.png}\hardart{exposed.jpg} \easyhypo{1} \hardhypo{3} \hardstarve{0} - \flava{Its like skiing.}{Only the dogs can push through.} + \easyflava{Its like skiing.}\hardflava{Only the dogs can push through.} \end{cardstretch} \end{document} diff --git a/cards/stretches/27/overpass_checkpoint.tex b/cards/stretches/27/overpass_checkpoint.tex index aec03f5..cf5dbb9 100644 --- a/cards/stretches/27/overpass_checkpoint.tex +++ b/cards/stretches/27/overpass_checkpoint.tex @@ -1,16 +1,16 @@ -\documentclass{iditastretch} +\documentclass{iditacard} \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} + \easyname{Overpass}\hardname{Checkpoint} + \easyeffect{Fake dogs are free.}\hardeffect{Kill your fake dogs.} + \easyart{overpass.jpg}\hardart{checkpoint.jpg} \easyhypo{1} \hardhypo{1} \hardstarve{1} - \flava{Hiding from the ref.}{The ref is watching.} + \easyflava{Hiding from the ref.}\hardflava{The ref is watching.} \end{cardstretch} \end{document} diff --git a/cards/stretches/27/powder_cliff.tex b/cards/stretches/27/powder_cliff.tex index 3d3b9b9..696213a 100644 --- a/cards/stretches/27/powder_cliff.tex +++ b/cards/stretches/27/powder_cliff.tex @@ -1,14 +1,14 @@ -\documentclass{iditastretch} +\documentclass{iditacard} \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} + \easyname{Powder Snow}\hardname{Cliff Wall} + \easyeffect{Don't take damage}\hardeffect{Take a damage each day.} + \easyart{powder.JPG}\hardart{cliff_wall.JPG} \easyhypo{1} \hardhypo{2} - \flava{Soft landing.}{Watch for falling rocks (0.5xA)} + \easyflava{Soft landing.}\hardflava{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 index 920f40e..ececdae 100644 --- a/cards/stretches/27/training_rope_bridge.tex +++ b/cards/stretches/27/training_rope_bridge.tex @@ -1,14 +1,14 @@ -\documentclass{iditastretch} +\documentclass{iditacard} \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} + \easyname{Training}\hardname{Rope Bridge} + \easyeffect{Risks don't fizzle on new days.}\hardeffect{Risks always fizzle.} + \easyart{training.jpg}\hardart{rope_bridge.jpg} \easystarve{1} \hardhypo{2} - \flava{Not the same level of danger.}{I wouldn't take risks here.} + \easyflava{Not the same level of danger.}\hardflava{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 index bb5b68c..aeb5490 100644 --- a/cards/stretches/27/volcano_exposed.tex +++ b/cards/stretches/27/volcano_exposed.tex @@ -1,15 +1,15 @@ -\documentclass{iditastretch} +\documentclass{iditacard} \difficulty{stage_two}{stage_seven} \begin{document} \begin{cardstretch} - \name{Volcano}{Exposed} - \effect{You cannot \hypothermia}{\speed{+1}} - \art{volcano.png}{exposed.jpg} + \easyname{Volcano}\hardname{Exposed} + \easyeffect{You cannot \hypothermia}\hardeffect{\speed{+1}} + \easyart{volcano.png}\hardart{exposed.jpg} \hardhypo{3} \hardstarve{0} - \flava{The ground is warm.}{Cold, but at least it's flat.} + \easyflava{The ground is warm.}\hardflava{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 index 0644d5d..e0b14cf 100644 --- a/cards/stretches/27/wind.tex +++ b/cards/stretches/27/wind.tex @@ -1,17 +1,17 @@ -\documentclass{iditastretch} +\documentclass{iditacard} \difficulty{stage_two}{stage_seven} \begin{document} \begin{cardstretch} - \name{Downwind}{Upwind} - \effect{\speed{+3}}{\speed{-3}} - \art{hills.jpg}{hills.jpg} + \easyname{Downwind}\hardname{Upwind} + \easyeffect{\speed{+3}}\hardeffect{\speed{-3}} + \easyart{hills.jpg}\hardart{hills.jpg} \easyhypo{0} \easystarve{1} \hardhypo{2} \hardstarve{0} - \flava{Your prey can smell you.}{Beware windchill.} + \easyflava{Your prey can smell you.}\hardflava{Beware windchill.} \end{cardstretch} \end{document} diff --git a/cards/stretches/36/dump_recycling.tex b/cards/stretches/36/dump_recycling.tex index e5f4f96..ffbffa2 100644 --- a/cards/stretches/36/dump_recycling.tex +++ b/cards/stretches/36/dump_recycling.tex @@ -1,16 +1,16 @@ -\documentclass{iditastretch} +\documentclass{iditacard} \difficulty{stage_three}{stage_six} \begin{document} \begin{cardstretch} - \name{Dump}{Recycling Plant} - \effect{You may \destroy{1}{1} each turn.}{\destroy{}{\kern-0.5em} cards are discarded instead.} - \art{fertile.jpg}{toxic.jpg} + \easyname{Dump}\hardname{Recycling Plant} + \easyeffect{You may \destroy{1}{1} each turn.}\hardeffect{\destroy{}{\kern-0.5em} cards are discarded instead.} + \easyart{fertile.jpg}\hardart{toxic.jpg} \easyhypo{0} \easystarve{1} \hardhypo{1} \hardstarve{0} - \flava{Just toss it over the gate.}{Turn it into something else.} + \easyflava{Just toss it over the gate.}\hardflava{Turn it into something else.} \end{cardstretch} \end{document} diff --git a/cards/stretches/36/example36.tex b/cards/stretches/36/example36.tex index 24d3a94..9358b0d 100644 --- a/cards/stretches/36/example36.tex +++ b/cards/stretches/36/example36.tex @@ -1,12 +1,12 @@ -\documentclass{iditastretch} +\documentclass{iditacard} \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} + \easyname{easyish}\hardname{hardish} + \easyeffect{This effect is decent.}\hardeffect{This effect is annoying.} + \easyart{village.jpg}\hardart{town.jpg} \easyhypo{3} \easystarve{3} \hardhypo{3} diff --git a/cards/stretches/36/fertile_toxic_soil.tex b/cards/stretches/36/fertile_toxic_soil.tex index 74d2718..3ac06bc 100644 --- a/cards/stretches/36/fertile_toxic_soil.tex +++ b/cards/stretches/36/fertile_toxic_soil.tex @@ -1,17 +1,17 @@ -\documentclass{iditastretch} +\documentclass{iditacard} \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} + \easyname{Fertile Soil}\hardname{Toxic Soil} + \easyeffect{Food removes your \starvation}\hardeffect{Take 1 damage whenever you eat} + \easyart{fertile.jpg}\hardart{toxic.jpg} \easyhypo{1} \easystarve{0} \hardhypo{0} \hardstarve{2} - \flava{One bite fills your stomach.}{You still have to eat.} + \easyflava{One bite fills your stomach.}\hardflava{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 index e3e1105..824e19d 100644 --- a/cards/stretches/36/frozen_lake_wasteland.tex +++ b/cards/stretches/36/frozen_lake_wasteland.tex @@ -1,17 +1,17 @@ -\documentclass{iditastretch} +\documentclass{iditacard} \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} + \easyname{Frozen Lake}\hardname{Wasteland} + \easyeffect{Cannot Starve}\hardeffect{Starvation cannot be cured} + \easyart{frozen_lake.jpg}\hardart{wasteland.jpg} \easyhypo{1} \easystarve{0} \hardhypo{0} \hardstarve{1} - \flava{All the fish you can eat!}{Nothing but dust.} + \easyflava{All the fish you can eat!}\hardflava{Nothing but dust.} \end{cardstretch} \end{document} diff --git a/cards/stretches/36/lowlands_plateau.tex b/cards/stretches/36/lowlands_plateau.tex index d8c68a8..0a52110 100644 --- a/cards/stretches/36/lowlands_plateau.tex +++ b/cards/stretches/36/lowlands_plateau.tex @@ -1,17 +1,17 @@ -\documentclass{iditastretch} +\documentclass{iditacard} \difficulty{stage_three}{stage_six} \begin{document} \begin{cardstretch} - \name{Lowlands}{Plateau} - \effect{Energy costs are -1}{Energy costs are +1} - \art{philly.jpg}{vancouver.jpg} + \easyname{Lowlands}\hardname{Plateau} + \easyeffect{Energy costs are -1}\hardeffect{Energy costs are +1} + \easyart{philly.jpg}\hardart{vancouver.jpg} \easyhypo{0} \easystarve{1} \hardhypo{1} \hardstarve{0} - \flava{Low altitudes increase energy.}{The air is thin.} + \easyflava{Low altitudes increase energy.}\hardflava{The air is thin.} \end{cardstretch} \end{document} diff --git a/cards/stretches/36/philadelphia_vancouver.tex b/cards/stretches/36/philadelphia_vancouver.tex index d9528f8..ebe33e0 100644 --- a/cards/stretches/36/philadelphia_vancouver.tex +++ b/cards/stretches/36/philadelphia_vancouver.tex @@ -1,17 +1,17 @@ -\documentclass{iditastretch} +\documentclass{iditacard} \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} + \easyname{Philadelphia}\hardname{Vancouver} + \easyeffect{It's always \raisebox{-0.1em}{\includegraphics[height=1em]{die/sun.png}}}\hardeffect{Its always \raisebox{-0.1em}{\includegraphics[height=1em]{die/rain.png}}} + \easyart{philly.jpg}\hardart{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} + \easyflava{It's always sunny in Philly}\hardflava{\textbf{Y}es \textbf{V}ery \textbf{R}ainy} \end{cardstretch} \end{document} diff --git a/cards/stretches/36/scrapyard_muddy.tex b/cards/stretches/36/scrapyard_muddy.tex index 8e6d025..71e147e 100644 --- a/cards/stretches/36/scrapyard_muddy.tex +++ b/cards/stretches/36/scrapyard_muddy.tex @@ -1,16 +1,16 @@ -\documentclass{iditastretch} +\documentclass{iditacard} \difficulty{stage_three}{stage_six} \begin{document} \begin{cardstretch} - \name{Scrapyard}{Muddy Ground} - \effect{\take{+1}{+1}}{\take{-1}{-1}} - \art{fertile.jpg}{toxic.jpg} + \easyname{Scrapyard}\hardname{Muddy Ground} + \easyeffect{\take{+1}{+1}}\hardeffect{\take{-1}{-1}} + \easyart{fertile.jpg}\hardart{toxic.jpg} \easyhypo{1} \easystarve{0} \hardhypo{0} \hardstarve{2} - \flava{Everything ripe for the picking.}{If you drop it, it will sink.} + \easyflava{Everything ripe for the picking.}\hardflava{If you drop it, it will sink.} \end{cardstretch} \end{document} diff --git a/cards/stretches/36/university_trailer.tex b/cards/stretches/36/university_trailer.tex index ccbb17e..dc4e94e 100644 --- a/cards/stretches/36/university_trailer.tex +++ b/cards/stretches/36/university_trailer.tex @@ -1,17 +1,17 @@ -\documentclass{iditastretch} +\documentclass{iditacard} \difficulty{stage_three}{stage_six} \begin{document} \begin{cardstretch} - \name{University}{Trailer Park} - \effect{Health costs are -1}{Health costs are +1} - \art{philly.jpg}{vancouver.jpg} + \easyname{University}\hardname{Trailer Park} + \easyeffect{Health costs are -1}\hardeffect{Health costs are +1} + \easyart{philly.jpg}\hardart{vancouver.jpg} \easyhypo{0} \easystarve{1} \hardhypo{0} \hardstarve{1} - \flava{Learn to be efficient...}{or just wing it!} + \easyflava{Learn to be efficient...}\hardflava{or just wing it!} \end{cardstretch} \end{document} diff --git a/cards/stretches/36/winery_factory.tex b/cards/stretches/36/winery_factory.tex index e52ae4f..5496ab4 100644 --- a/cards/stretches/36/winery_factory.tex +++ b/cards/stretches/36/winery_factory.tex @@ -1,17 +1,17 @@ -\documentclass{iditastretch} +\documentclass{iditacard} \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} + \easyname{Winery}\hardname{Factory} + \easyeffect{Personal cards remove your \hypothermia}\hardeffect{Take 1 damage whenever you heal} + \easyart{winery.jpg}\hardart{factory.jpg} \easyhypo{0} \easystarve{1} \hardhypo{2} \hardstarve{0} - \flava{Quality wine to warm you.}{Polluted air.} + \easyflava{Quality wine to warm you.}\hardflava{Polluted air.} \end{cardstretch} \end{document} diff --git a/cards/stretches/45/cold_hot_wave.tex b/cards/stretches/45/cold_hot_wave.tex index 3e1571f..bedb6ef 100644 --- a/cards/stretches/45/cold_hot_wave.tex +++ b/cards/stretches/45/cold_hot_wave.tex @@ -1,17 +1,17 @@ -\documentclass{iditastretch} +\documentclass{iditacard} \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} + \easyname{Cold Wave}\hardname{Heat Wave} + \easyeffect{\speed{+2}}\hardeffect{\speed{-2}} + \easyart{cold_wave.jpg}\hardart{heat_wave.jpg} \easyhypo{1} \easystarve{0} \hardhypo{0} \hardstarve{2} - \flava{Brrrr...}{Its gettin' hot in here.} + \easyflava{Brrrr...}\hardflava{Its gettin' hot in here.} \end{cardstretch} \end{document} diff --git a/cards/stretches/45/example45.tex b/cards/stretches/45/example45.tex index c0fb475..ebc962f 100644 --- a/cards/stretches/45/example45.tex +++ b/cards/stretches/45/example45.tex @@ -1,13 +1,13 @@ -\documentclass{iditastretch} +\documentclass{iditacard} \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} + \easyeffect{\take{1}{2}}{\destroy{1}\hardeffect{2}} + \easyname{okay track}\hardname{"meh" track} + \easyeffect{This effect is okay.}\hardeffect{This effect is "meh".} + \easyart{village.jpg}\hardart{town.jpg} \easyhypo{3} \easystarve{3} \hardhypo{3} diff --git a/cards/stretches/45/expanse_canyon.tex b/cards/stretches/45/expanse_canyon.tex index 8b40bca..86b2c78 100644 --- a/cards/stretches/45/expanse_canyon.tex +++ b/cards/stretches/45/expanse_canyon.tex @@ -1,17 +1,17 @@ -\documentclass{iditastretch} +\documentclass{iditacard} \difficulty{stage_four}{stage_five} \begin{document} \begin{cardstretch} - \name{Expanse}{Canyon} - \effect{Passing players gives 0 damage.}{Passing players gives +1 damage.} - \art{valley.jpg}{fjord.png} + \easyname{Expanse}\hardname{Canyon} + \easyeffect{Passing players gives 0 damage.}\hardeffect{Passing players gives +1 damage.} + \easyart{valley.jpg}\hardart{fjord.png} \easyhypo{1} \easystarve{0} \hardhypo{0} \hardstarve{2} - \flava{Plenty of space.}{Not much room to maneuver.} + \easyflava{Plenty of space.}\hardflava{Not much room to maneuver.} \end{cardstretch} \end{document} diff --git a/cards/stretches/45/flower_desert.tex b/cards/stretches/45/flower_desert.tex index 55d3e33..ab5659a 100644 --- a/cards/stretches/45/flower_desert.tex +++ b/cards/stretches/45/flower_desert.tex @@ -1,17 +1,17 @@ -\documentclass{iditastretch} +\documentclass{iditacard} \difficulty{stage_four}{stage_five} \begin{document} \begin{cardstretch} - \name{Flower Patch}{Desert} - \effect{Ignore the effects of \starvation.}{\starvation applies to 0 cost cards.} - \art{valley.jpg}{fjord.png} + \easyname{Flower Patch}\hardname{Desert} + \easyeffect{Ignore the effects of \starvation.}\hardeffect{\starvation applies to 0 cost cards.} + \easyart{valley.jpg}\hardart{fjord.png} \easyhypo{1} \easystarve{0} \hardhypo{0} \hardstarve{2} - \flava{No food, but it smells nice.}{Cold deserts exist.} + \easyflava{No food, but it smells nice.}\hardflava{Cold deserts exist.} \end{cardstretch} \end{document} diff --git a/cards/stretches/45/geothermal_wetlands.tex b/cards/stretches/45/geothermal_wetlands.tex index d0356bf..24f5c5a 100644 --- a/cards/stretches/45/geothermal_wetlands.tex +++ b/cards/stretches/45/geothermal_wetlands.tex @@ -1,17 +1,17 @@ -\documentclass{iditastretch} +\documentclass{iditacard} \difficulty{stage_four}{stage_five} \begin{document} \begin{cardstretch} - \name{Geothermal}{Wetlands} - \effect{Ignore the effects of \hypothermia.}{\hypothermia applies to 0 cost cards.} - \art{valley.jpg}{fjord.png} + \easyname{Geothermal}\hardname{Wetlands} + \easyeffect{Ignore the effects of \hypothermia.}\hardeffect{\hypothermia applies to 0 cost cards.} + \easyart{valley.jpg}\hardart{fjord.png} \easyhypo{0} \easystarve{1} \hardhypo{2} \hardstarve{0} - \flava{Still cold, but some relief.}{Even the simplest actions are hard.} + \easyflava{Still cold, but some relief.}\hardflava{Even the simplest actions are hard.} \end{cardstretch} \end{document} diff --git a/cards/stretches/45/hunting_season_ban.tex b/cards/stretches/45/hunting_season_ban.tex index a4f7c6c..dbb5ded 100644 --- a/cards/stretches/45/hunting_season_ban.tex +++ b/cards/stretches/45/hunting_season_ban.tex @@ -1,17 +1,17 @@ -\documentclass{iditastretch} +\documentclass{iditacard} \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} + \easyname{Hunting Season}\hardname{Hunting Ban} + \easyeffect{Venison is free}\hardeffect{Venison has no effect} + \easyart{cold_wave.jpg}\hardart{heat_wave.jpg} \easyhypo{1} \easystarve{0} \hardhypo{0} \hardstarve{2} - \flava{Just for now...}{... then you have to stop.} + \easyflava{Just for now...}\hardflava{... 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 index 250b271..4c41c4d 100644 --- a/cards/stretches/45/plains_hills.tex +++ b/cards/stretches/45/plains_hills.tex @@ -1,17 +1,17 @@ -\documentclass{iditastretch} +\documentclass{iditacard} \difficulty{stage_four}{stage_five} \begin{document} \begin{cardstretch} - \name{Plains}{Hills} - \effect{\speed{+1}}{\speed{-1}} - \art{plains.jpg}{hills.jpg} + \easyname{Plains}\hardname{Hills} + \easyeffect{\speed{+1}}\hardeffect{\speed{-1}} + \easyart{plains.jpg}\hardart{hills.jpg} \easyhypo{0} \easystarve{0} \hardhypo{1} \hardstarve{0} - \flava{Smooth sailing.}{A bit slow going.} + \easyflava{Smooth sailing.}\hardflava{A bit slow going.} \end{cardstretch} \end{document} diff --git a/cards/stretches/45/reserve_border.tex b/cards/stretches/45/reserve_border.tex index 775ce2a..4cb3873 100644 --- a/cards/stretches/45/reserve_border.tex +++ b/cards/stretches/45/reserve_border.tex @@ -1,15 +1,15 @@ -\documentclass{iditastretch} +\documentclass{iditacard} \difficulty{stage_four}{stage_five} \begin{document} \begin{cardstretch} - \name{Reserve}{Border} - \effect{\daydraw{+1}}{\daydraw{-1}} - \art{valley.jpg}{fjord.png} + \easyname{Reserve}\hardname{Border} + \easyeffect{\daydraw{+1}}\hardeffect{\daydraw{-1}} + \easyart{valley.jpg}\hardart{fjord.png} \hardhypo{2} \hardstarve{0} - \flava{Safe pickings.}{Stay away from the border!} + \easyflava{Safe pickings.}\hardflava{Stay away from the border!} \end{cardstretch} \end{document} diff --git a/cards/stretches/45/valley_fjord.tex b/cards/stretches/45/valley_fjord.tex index a2dc935..269be8d 100644 --- a/cards/stretches/45/valley_fjord.tex +++ b/cards/stretches/45/valley_fjord.tex @@ -1,15 +1,15 @@ -\documentclass{iditastretch} +\documentclass{iditacard} \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} + \easyname{Valley}\hardname{Fjord} + \easyeffect{Weather has no effect.}\hardeffect{Weather has no effect.} + \easyart{valley.jpg}\hardart{fjord.png} \hardhypo{2} \hardstarve{0} - \flava{Sheltered from the elements...}{But its a bit chilly.} + \easyflava{Sheltered from the elements...}\hardflava{But its a bit chilly.} \end{cardstretch} \end{document} diff --git a/iditaboard.tex b/iditaboard.tex new file mode 100644 index 0000000..a82a43d --- /dev/null +++ b/iditaboard.tex @@ -0,0 +1,408 @@ +% TODO: Normalize draw primitives to fixed size, then scale them in scopes + +\documentclass{iditacard} + +\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} + +\def\cutlinet{1499.5/300.0} +\def\cutlinel{-2395.5/300.0} +\def\cutlineb{-1499.5/300.0} +\def\cutliner{2395.5/300.0} + +\def\height{3075.0/300.0} +\def\width{4875.0/300.0} + +\def\bottom{-1537.5/300.0} +\def\left{-2437.5/300.0} +\def\top{1537.5/300.0} +\def\right{2437.5/300.0} + +\newcommand{\drawoverlay}{% + \node [opacity=0.2, anchor=south west, inner sep=0mm, outer sep=0mm] at (\left,\bottom) {\includegraphics[angle=90, width=16.25in, height=10.25in] {bigmat.png}}; +} + +\newcommand{\drawguides}{% + \draw [blue] (\cutlinel,\bottom) -- (\cutlinel,\top); + \draw [blue] (\cutliner,\bottom) -- (\cutliner,\top); + \draw [blue] (\left,\cutlinet) -- (\right,\cutlinet); + \draw [blue] (\left,\cutlineb) -- (\right,\cutlineb); + + \draw [blue] (0,\bottom) -- (0,\top); + \draw [blue] (\left,0) -- (\right,0); +} + +% draw stretch foreground, background draws a stretch centered at 0,0 +% Bounding box is: -415,-515 to 415,515 +\newcommand{\drawstretch}[2]{% + % Draw the background as a rectangle + \fill [#2] (-400.0/300.0,-500.0/300.0) rectangle (400.0/300.0,500.0/300.0); + % The path is 100 wide, (bottom) (top) + % starts 50 units up, goes (0,50) (0,150) + % right for 150 units, (150,50) (50,150) + % up for 900 units, (150,850) (50,950) + % right for 300 units, (250,850) (350,950) + % down for 900 units, (250,50) (350,150) + % right for 300 units, (550,50) (450,150) + % up for 900 units, (550,850) (450,950) + % right for 300 units, (650,850) (750,950) + % down for 900 units, (650,50) (750,150) + % right for 150 units. (800,50) (800,150) + \fill [#1] (-400.0/300.0,-450.0/300.0) -- + (-250.0/300.0,-450.0/300.0) -- + (-250.0/300.0,350.0/300.0) -- + (-150.0/300.0,350.0/300.0) -- + (-150.0/300.0,-450.0/300.0) -- + (150.0/300.0,-450.0/300.0) -- + (150.0/300.0,350.0/300.0) -- + (250.0/300.0,350.0/300.0) -- + (250.0/300.0,-450.0/300.0) -- + (400.0/300.0,-450.0/300.0) -- + (400.0/300.0,-350.0/300.0) -- + (350.0/300.0,-350.0/300.0) -- + (350.0/300.0,450.0/300.0) -- + (50.0/300.0,450.0/300.0) -- + (50.0/300.0,-350.0/300.0) -- + (-50.0/300.0,-350.0/300.0) -- + (-50.0/300.0,450.0/300.0) -- + (-350.0/300.0,450.0/300.0) -- + (-350.0/300.0,-350.0/300.0) -- + (-400.0/300.0,-350.0/300.0) -- cycle; + + % Draw the Walls - they stick out to the left + + % Draw the surrounding walls - they are 30 units wide + \fill [black] (-415.0/300.0,-515.0/300.0) -- + (400.0/300.0,-515.0/300.0) -- + (400.0/300.0,-485.0/300.0) -- + (215.0/300.0,-485.0/300.0) -- + (215.0/300.0,315.0/300.0) -- + (185.0/300.0,315.0/300.0) -- + (185.0/300.0,-485.0/300.0) -- + (-185.0/300.0,-485.0/300.0) -- + (-185.0/300.0,315.0/300.0) -- + (-215.0/300.0,315.0/300.0) -- + (-215.0/300.0,-485.0/300.0) -- + (-415.0/300.0,-485.0/300.0) -- cycle; + \fill [black] (-385.0/300.0,-315.0/300.0) -- + (-385.0/300.0,485.0/300.0) -- + (-15.0/300.0,485.0/300.0) -- + (-15.0/300.0,-315.0/300.0) -- + (15.0/300.0,-315.0/300.0) -- + (15.0/300.0,485.0/300.0) -- + (385.0/300.0,485.0/300.0) -- + (385.0/300.0,-315.0/300.0) -- + (415.0/300.0,-315.0/300.0) -- + (415.0/300.0,515.0/300.0) -- + (-415.0/300.0,515.0/300.0) -- + (-415.0/300.0,-315.0/300.0) -- cycle; + + % Draw the internal walls - they are 10x150 units + % Verticals + \fill [black] (-405.0/300.0,-475.0/300.0) rectangle (-395.0/300.0,-325.0/300.0); + \fill [black] (-205.0/300.0,325.0/300.0) rectangle (-195.0/300.0,475.0/300.0); + \fill [black] (-5.0/300.0,-475.0/300.0) rectangle (5.0/300.0,-325.0/300.0); + \fill [black] (195.0/300.0,325.0/300.0) rectangle (205.0/300.0,475.0/300.0); + \fill [black] (395.0/300.0,-475.0/300.0) rectangle (405.0/300.0,-325.0/300.0); + + % Horizontals + \fill [black] (-375.0/300.0,-305.0/300.0) rectangle (-225.0/300.0,-295.0/300.0); + \fill [black] (-375.0/300.0,-105.0/300.0) rectangle (-225.0/300.0,-95.0/300.0); + \fill [black] (-375.0/300.0,95.0/300.0) rectangle (-225.0/300.0,105.0/300.0); + \fill [black] (-375.0/300.0,295.0/300.0) rectangle (-225.0/300.0,305.0/300.0); + \fill [black] (-175.0/300.0,-305.0/300.0) rectangle (-25.0/300.0,-295.0/300.0); + \fill [black] (-175.0/300.0,-105.0/300.0) rectangle (-25.0/300.0,-95.0/300.0); + \fill [black] (-175.0/300.0,95.0/300.0) rectangle (-25.0/300.0,105.0/300.0); + \fill [black] (-175.0/300.0,295.0/300.0) rectangle (-25.0/300.0,305.0/300.0); + \fill [black] (25.0/300.0,-305.0/300.0) rectangle (175.0/300.0,-295.0/300.0); + \fill [black] (25.0/300.0,-105.0/300.0) rectangle (175.0/300.0,-95.0/300.0); + \fill [black] (25.0/300.0,95.0/300.0) rectangle (175.0/300.0,105.0/300.0); + \fill [black] (25.0/300.0,295.0/300.0) rectangle (175.0/300.0,305.0/300.0); + \fill [black] (225.0/300.0,-305.0/300.0) rectangle (375.0/300.0,-295.0/300.0); + \fill [black] (225.0/300.0,-105.0/300.0) rectangle (375.0/300.0,-95.0/300.0); + \fill [black] (225.0/300.0,95.0/300.0) rectangle (375.0/300.0,105.0/300.0); + \fill [black] (225.0/300.0,295.0/300.0) rectangle (375.0/300.0,305.0/300.0); +} + +% draw mid stretch foreground, background draws a stretch centered at 0,0 +% Bounding box is: -415,-515 to 415,515 +\newcommand{\drawmidstretch}[2]{% + % Draw the background as a rectangle + \fill [#2] (-400.0/300.0,-500.0/300.0) rectangle (400.0/300.0,500.0/300.0); + % The path is 100 wide, (bottom) (top) + % starts 50 units up, goes (0,50) (0,150) + % right for 150 units, (150,50) (50,150) + % up for 900 units, (150,850) (50,950) + % right for 300 units, (250,850) (350,950) + % down for 900 units, (250,50) (350,150) + % right for 300 units, (550,50) (450,150) + % up for 900 units, (550,850) (450,950) + % right for 300 units, (650,850) (750,950) + % down for 950 units, (650,0) (750,0) + \fill [#1] (-400.0/300.0,-450.0/300.0) -- + (-250.0/300.0,-450.0/300.0) -- + (-250.0/300.0,350.0/300.0) -- + (-150.0/300.0,350.0/300.0) -- + (-150.0/300.0,-450.0/300.0) -- + (150.0/300.0,-450.0/300.0) -- + (150.0/300.0,350.0/300.0) -- + (250.0/300.0,350.0/300.0) -- + (250.0/300.0,-500.0/300.0) -- + (350.0/300.0,-500.0/300.0) -- + (350.0/300.0,450.0/300.0) -- + (50.0/300.0,450.0/300.0) -- + (50.0/300.0,-350.0/300.0) -- + (-50.0/300.0,-350.0/300.0) -- + (-50.0/300.0,450.0/300.0) -- + (-350.0/300.0,450.0/300.0) -- + (-350.0/300.0,-350.0/300.0) -- + (-400.0/300.0,-350.0/300.0) -- cycle; + + % Draw the Walls - they stick out to the left + + % Draw the surrounding walls - they are 30 units wide + \fill [black] (-415.0/300.0,-515.0/300.0) -- + (215.0/300.0,-515.0/300.0) -- + (215.0/300.0,315.0/300.0) -- + (185.0/300.0,315.0/300.0) -- + (185.0/300.0,-485.0/300.0) -- + (-185.0/300.0,-485.0/300.0) -- + (-185.0/300.0,315.0/300.0) -- + (-215.0/300.0,315.0/300.0) -- + (-215.0/300.0,-485.0/300.0) -- + (-415.0/300.0,-485.0/300.0) -- cycle; + \fill [black] (-385.0/300.0,-315.0/300.0) -- + (-385.0/300.0,485.0/300.0) -- + (-15.0/300.0,485.0/300.0) -- + (-15.0/300.0,-315.0/300.0) -- + (15.0/300.0,-315.0/300.0) -- + (15.0/300.0,485.0/300.0) -- + (385.0/300.0,485.0/300.0) -- + (385.0/300.0,-515.0/300.0) -- + (415.0/300.0,-515.0/300.0) -- + (415.0/300.0,515.0/300.0) -- + (-415.0/300.0,515.0/300.0) -- + (-415.0/300.0,-315.0/300.0) -- cycle; + + % Draw the internal walls - they are 10x150 units + % Verticals + \fill [black] (-405.0/300.0,-475.0/300.0) rectangle (-395.0/300.0,-325.0/300.0); + \fill [black] (-205.0/300.0,325.0/300.0) rectangle (-195.0/300.0,475.0/300.0); + \fill [black] (-5.0/300.0,-475.0/300.0) rectangle (5.0/300.0,-325.0/300.0); + \fill [black] (195.0/300.0,325.0/300.0) rectangle (205.0/300.0,475.0/300.0); + + + % Horizontals + \fill [black] (-375.0/300.0,-305.0/300.0) rectangle (-225.0/300.0,-295.0/300.0); + \fill [black] (-375.0/300.0,-105.0/300.0) rectangle (-225.0/300.0,-95.0/300.0); + \fill [black] (-375.0/300.0,95.0/300.0) rectangle (-225.0/300.0,105.0/300.0); + \fill [black] (-375.0/300.0,295.0/300.0) rectangle (-225.0/300.0,305.0/300.0); + \fill [black] (-175.0/300.0,-305.0/300.0) rectangle (-25.0/300.0,-295.0/300.0); + \fill [black] (-175.0/300.0,-105.0/300.0) rectangle (-25.0/300.0,-95.0/300.0); + \fill [black] (-175.0/300.0,95.0/300.0) rectangle (-25.0/300.0,105.0/300.0); + \fill [black] (-175.0/300.0,295.0/300.0) rectangle (-25.0/300.0,305.0/300.0); + \fill [black] (25.0/300.0,-305.0/300.0) rectangle (175.0/300.0,-295.0/300.0); + \fill [black] (25.0/300.0,-105.0/300.0) rectangle (175.0/300.0,-95.0/300.0); + \fill [black] (25.0/300.0,95.0/300.0) rectangle (175.0/300.0,105.0/300.0); + \fill [black] (25.0/300.0,295.0/300.0) rectangle (175.0/300.0,305.0/300.0); + \fill [black] (225.0/300.0,-505.0/300.0) rectangle (375.0/300.0,-495.0/300.0); + \fill [black] (225.0/300.0,-305.0/300.0) rectangle (375.0/300.0,-295.0/300.0); + \fill [black] (225.0/300.0,-105.0/300.0) rectangle (375.0/300.0,-95.0/300.0); + \fill [black] (225.0/300.0,95.0/300.0) rectangle (375.0/300.0,105.0/300.0); + \fill [black] (225.0/300.0,295.0/300.0) rectangle (375.0/300.0,305.0/300.0); +} + +% Draws the racetrack itself with speed markers at (0,0) +% Bounding box is (-1615.5,-1215.5) to (1615.5,1215.5) +\newcommand{\drawrace}{% + \scoped[shift={(-1200.5/300.0,500.5/300.0)}]{\drawstretch{stage_one}{stage_eight}} + \scoped[shift={(-400.5/300.0,500.5/300.0)}]{\drawstretch{stage_two}{stage_seven}} + \scoped[shift={(400.5/300.0,500.5/300.0)}]{\drawstretch{stage_three}{stage_six}} + + \scoped[shift={(1200.5/300.0,500.5/300.0)}]{\drawmidstretch{stage_four}{stage_five}} + \scoped[shift={(1200.5/300.0,-500.5/300.0)},yscale=-1]{\drawmidstretch{stage_five}{stage_four}} + + \scoped[shift={(400.5/300.0,-500.5/300.0)},yscale=-1,xscale=-1]{\drawstretch{stage_six}{stage_three}} + \scoped[shift={(-400.5/300.0,-500.5/300.0)},yscale=-1,xscale=-1]{\drawstretch{stage_seven}{stage_two}} + \scoped[shift={(-1200.5/300.0,-500.5/300.0)},yscale=-1,xscale=-1]{\drawstretch{stage_eight}{stage_one}} + + % Draw the speed rules + \fill [black] (-1615.5/300.0,1015.5/300.0) rectangle (-1585.5/300.0,1215.5/300.0); + \fill [black] (-1415.5/300.0,1015.5/300.0) rectangle (-1385.5/300.0,1215.5/300.0); + \fill [black] (-1215.5/300.0,1015.5/300.0) rectangle (-1185.5/300.0,1215.5/300.0); + \fill [black] (-1015.5/300.0,1015.5/300.0) rectangle (-985.5/300.0,1215.5/300.0); + \fill [black] (-815.5/300.0,1015.5/300.0) rectangle (-785.5/300.0,1215.5/300.0); + \fill [black] (-615.5/300.0,1015.5/300.0) rectangle (-585.5/300.0,1215.5/300.0); + \fill [black] (-415.5/300.0,1015.5/300.0) rectangle (-385.5/300.0,1215.5/300.0); + \fill [black] (-215.5/300.0,1015.5/300.0) rectangle (-185.5/300.0,1215.5/300.0); + \fill [black] (-15.5/300.0,1015.5/300.0) rectangle (15.5/300.0,1215.5/300.0); + \fill [black] (185.5/300.0,1015.5/300.0) rectangle (215.5/300.0,1215.5/300.0); + \fill [black] (385.5/300.0,1015.5/300.0) rectangle (415.5/300.0,1215.5/300.0); + \fill [black] (585.5/300.0,1015.5/300.0) rectangle (615.5/300.0,1215.5/300.0); + \fill [black] (785.5/300.0,1015.5/300.0) rectangle (815.5/300.0,1215.5/300.0); + \fill [black] (985.5/300.0,1015.5/300.0) rectangle (1015.5/300.0,1215.5/300.0); + \fill [black] (1185.5/300.0,1015.5/300.0) rectangle (1215.5/300.0,1215.5/300.0); + \fill [black] (1385.5/300.0,1015.5/300.0) rectangle (1415.5/300.0,1215.5/300.0); + \fill [black] (1585.5/300.0,1015.5/300.0) rectangle (1615.5/300.0,1215.5/300.0); + + \fill [black] (-1615.5/300.0,-1215.5/300.0) rectangle (-1585.5/300.0,-1015.5/300.0); + \fill [black] (-1415.5/300.0,-1215.5/300.0) rectangle (-1385.5/300.0,-1015.5/300.0); + \fill [black] (-1215.5/300.0,-1215.5/300.0) rectangle (-1185.5/300.0,-1015.5/300.0); + \fill [black] (-1015.5/300.0,-1215.5/300.0) rectangle (-985.5/300.0,-1015.5/300.0); + \fill [black] (-815.5/300.0,-1215.5/300.0) rectangle (-785.5/300.0,-1015.5/300.0); + \fill [black] (-615.5/300.0,-1215.5/300.0) rectangle (-585.5/300.0,-1015.5/300.0); + \fill [black] (-415.5/300.0,-1215.5/300.0) rectangle (-385.5/300.0,-1015.5/300.0); + \fill [black] (-215.5/300.0,-1215.5/300.0) rectangle (-185.5/300.0,-1015.5/300.0); + \fill [black] (-15.5/300.0,-1215.5/300.0) rectangle (15.5/300.0,-1015.5/300.0); + \fill [black] (185.5/300.0,-1215.5/300.0) rectangle (215.5/300.0,-1015.5/300.0); + \fill [black] (385.5/300.0,-1215.5/300.0) rectangle (415.5/300.0,-1015.5/300.0); + \fill [black] (585.5/300.0,-1215.5/300.0) rectangle (615.5/300.0,-1015.5/300.0); + \fill [black] (785.5/300.0,-1215.5/300.0) rectangle (815.5/300.0,-1015.5/300.0); + \fill [black] (985.5/300.0,-1215.5/300.0) rectangle (1015.5/300.0,-1015.5/300.0); + \fill [black] (1185.5/300.0,-1215.5/300.0) rectangle (1215.5/300.0,-1015.5/300.0); + \fill [black] (1385.5/300.0,-1215.5/300.0) rectangle (1415.5/300.0,-1015.5/300.0); + \fill [black] (1585.5/300.0,-1215.5/300.0) rectangle (1615.5/300.0,-1015.5/300.0); + + % Add the numbers + \node [align=center, font=\fontsize{24}{0}\bebas] at (-1500.5/300.0,1115.5/300.0) {-5}; + \node [align=center, font=\fontsize{24}{0}\bebas] at (-1300.5/300.0,1115.5/300.0) {-4}; + \node [align=center, font=\fontsize{24}{0}\bebas] at (-1100.5/300.0,1115.5/300.0) {-3}; + \node [align=center, font=\fontsize{24}{0}\bebas] at (-900.5/300.0,1115.5/300.0) {-2}; + \node [align=center, font=\fontsize{24}{0}\bebas] at (-700.5/300.0,1115.5/300.0) {-1}; + \node [align=center, font=\fontsize{24}{0}\bebas] at (-500.5/300.0,1115.5/300.0) {0}; + \node [align=center, font=\fontsize{24}{0}\bebas] at (-300.5/300.0,1115.5/300.0) {+1}; + \node [align=center, font=\fontsize{24}{0}\bebas] at (-100.5/300.0,1115.5/300.0) {+2}; + \node [align=center, font=\fontsize{24}{0}\bebas] at (100.5/300.0,1115.5/300.0) {+3}; + \node [align=center, font=\fontsize{24}{0}\bebas] at (300.5/300.0,1115.5/300.0) {+4}; + \node [align=center, font=\fontsize{24}{0}\bebas] at (500.5/300.0,1115.5/300.0) {+5}; + \node [align=center, font=\fontsize{24}{0}\bebas] at (700.5/300.0,1115.5/300.0) {+6}; + \node [align=center, font=\fontsize{24}{0}\bebas] at (900.5/300.0,1115.5/300.0) {+7}; + \node [align=center, font=\fontsize{24}{0}\bebas] at (1100.5/300.0,1115.5/300.0) {+8}; + \node [align=center, font=\fontsize{24}{0}\bebas] at (1300.5/300.0,1115.5/300.0) {+9}; + \node [align=center, font=\fontsize{24}{0}\bebas] at (1500.5/300.0,1115.5/300.0) {+10}; + + \node [align=center, font=\fontsize{24}{0}\bebas] at (-1500.5/300.0,-1115.5/300.0) {-50}; + \node [align=center, font=\fontsize{24}{0}\bebas] at (-1300.5/300.0,-1115.5/300.0) {-40}; + \node [align=center, font=\fontsize{24}{0}\bebas] at (-1100.5/300.0,-1115.5/300.0) {-30}; + \node [align=center, font=\fontsize{24}{0}\bebas] at (-900.5/300.0,-1115.5/300.0) {-20}; + \node [align=center, font=\fontsize{24}{0}\bebas] at (-700.5/300.0,-1115.5/300.0) {-10}; + \node [align=center, font=\fontsize{24}{0}\bebas] at (-500.5/300.0,-1115.5/300.0) {0}; + \node [align=center, font=\fontsize{24}{0}\bebas] at (-300.5/300.0,-1115.5/300.0) {+10}; + \node [align=center, font=\fontsize{24}{0}\bebas] at (-100.5/300.0,-1115.5/300.0) {+20}; + \node [align=center, font=\fontsize{24}{0}\bebas] at (100.5/300.0,-1115.5/300.0) {+30}; + \node [align=center, font=\fontsize{24}{0}\bebas] at (300.5/300.0,-1115.5/300.0) {+40}; + \node [align=center, font=\fontsize{24}{0}\bebas] at (500.5/300.0,-1115.5/300.0) {+50}; + \node [align=center, font=\fontsize{24}{0}\bebas] at (700.5/300.0,-1115.5/300.0) {+60}; + \node [align=center, font=\fontsize{24}{0}\bebas] at (900.5/300.0,-1115.5/300.0) {+70}; + \node [align=center, font=\fontsize{24}{0}\bebas] at (1100.5/300.0,-1115.5/300.0) {+80}; + \node [align=center, font=\fontsize{24}{0}\bebas] at (1300.5/300.0,-1115.5/300.0) {+90}; + \node [align=center, font=\fontsize{24}{0}\bebas] at (1500.5/300.0,-1115.5/300.0) {+100}; + + % Add the checkpoints + \node [align=center] at (-1500.5/300.0,100.5/300.0) {\includegraphics{images/rules/checkpoint.png}}; + \node [align=center] at (-700.5/300.0,100.5/300.0) {\includegraphics{images/rules/checkpoint.png}}; + \node [align=center] at (100.5/300.0,100.5/300.0) {\includegraphics{images/rules/checkpoint.png}}; + \node [align=center] at (900.5/300.0,100.5/300.0) {\includegraphics{images/rules/checkpoint.png}}; + \node [align=center] at (1500.5/300.0,-100.5/300.0) {\includegraphics{images/rules/checkpoint.png}}; +} + +% Draws an empty stretch centered on (0,0) +% Bounding box is (-375.0,-262.5) to (375.0,262.5) +\newcommand{\emptystage}[2]{% + \fill [left color=#2, right color=#1] (-375.0/300.0,-262.5/300.0) rectangle (375.0/300.0,262.5/300.0); + \fill [rounded corners=10pt] [#1] (-325.0/300.0,-212.5/300.0) rectangle (-25.0/300.0,222.5/300.0); + \fill [rounded corners=10pt] [#2] (25.0/300.0,-212.5/300.0) rectangle (325.0/300.0,222.5/300.0); +} + +% Draws a 5x5 checker pattern of 30x30 squares centered on (0,0) +% Bounding box is (-75.0,-75.0) to (75.0,75.0) +\newcommand{\drawchecker}{% + % Top row + \fill [black] (45.0/300.0,45.0/300.0) rectangle (75.0/300.0,75.0/300.0); + \fill [white] (15.0/300.0,45.0/300.0) rectangle (45.0/300.0,75.0/300.0); + \fill [black] (-15.0/300.0,45.0/300.0) rectangle (15.0/300.0,75.0/300.0); + \fill [white] (-45.0/300.0,45.0/300.0) rectangle (-15.0/300.0,75.0/300.0); + \fill [black] (-75.0/300.0,45.0/300.0) rectangle (-45.0/300.0,75.0/300.0); + % High row + \fill [white] (45.0/300.0,15.0/300.0) rectangle (75.0/300.0,45.0/300.0); + \fill [black] (15.0/300.0,15.0/300.0) rectangle (45.0/300.0,45.0/300.0); + \fill [white] (-15.0/300.0,15.0/300.0) rectangle (15.0/300.0,45.0/300.0); + \fill [black] (-45.0/300.0,15.0/300.0) rectangle (-15.0/300.0,45.0/300.0); + \fill [white] (-75.0/300.0,15.0/300.0) rectangle (-45.0/300.0,45.0/300.0); + % Center row + \fill [black] (45.0/300.0,-15.0/300.0) rectangle (75.0/300.0,15.0/300.0); + \fill [white] (15.0/300.0,-15.0/300.0) rectangle (45.0/300.0,15.0/300.0); + \fill [black] (-15.0/300.0,-15.0/300.0) rectangle (15.0/300.0,15.0/300.0); + \fill [white] (-45.0/300.0,-15.0/300.0) rectangle (-15.0/300.0,15.0/300.0); + \fill [black] (-75.0/300.0,-15.0/300.0) rectangle (-45.0/300.0,15.0/300.0); + % Low row + \fill [white] (45.0/300.0,-45.0/300.0) rectangle (75.0/300.0,-15.0/300.0); + \fill [black] (15.0/300.0,-45.0/300.0) rectangle (45.0/300.0,-15.0/300.0); + \fill [white] (-15.0/300.0,-45.0/300.0) rectangle (15.0/300.0,-15.0/300.0); + \fill [black] (-45.0/300.0,-45.0/300.0) rectangle (-15.0/300.0,-15.0/300.0); + \fill [white] (-75.0/300.0,-45.0/300.0) rectangle (-45.0/300.0,-15.0/300.0); + % Bottom row + \fill [black] (45.0/300.0,-75.0/300.0) rectangle (75.0/300.0,-45.0/300.0); + \fill [white] (15.0/300.0,-75.0/300.0) rectangle (45.0/300.0,-45.0/300.0); + \fill [black] (-15.0/300.0,-75.0/300.0) rectangle (15.0/300.0,-45.0/300.0); + \fill [white] (-45.0/300.0,-75.0/300.0) rectangle (-15.0/300.0,-45.0/300.0); + \fill [black] (-75.0/300.0,-75.0/300.0) rectangle (-45.0/300.0,-45.0/300.0); +} + +% Draws the hypothermia chart centered on (0,0) +% Bounding box is (?,?) to (?,?) +\newcommand{\drawhypochart}{% + \node [anchor=center, font=\fontsize{24}{0}\bebas] at (0,-600.0/300.0) {\speed{-1}}; + \fill [energy, rounded corners] (-150.0/300.0,-490.0/300.0) rectangle (150.0/300.0,-460.0/300.0); + \node [anchor=center, font=\fontsize{24}{0}\bebas] at (0,-350.0/300.0) {\includegraphics[width=0.75in,height=0.75in]{icons/hand.png}}; + \node [anchor=center, font=\fontsize{24}{0}\bebas] at (0,-350.0/300.0) {+1}; + \fill [energy, rounded corners] (-150.0/300.0,-240.0/300.0) rectangle (150.0/300.0,-210.0/300.0); + \node [anchor=center, font=\fontsize{24}{0}\bebas] at (0,-100.0/300.0) {\speed{-1}}; + \fill [energy, rounded corners] (-150.0/300.0,-10.0/300.0) rectangle (150.0/300.0,20.0/300.0); + \node [anchor=center, font=\fontsize{24}{0}\bebas] at (0,150.0/300.0) {\includegraphics[width=0.75in,height=0.75in]{icons/hand.png}}; + \node [anchor=center, font=\fontsize{24}{0}\bebas] at (0,150.0/300.0) {+1}; + \fill [energy, rounded corners] (-150.0/300.0,260.0/300.0) rectangle (150.0/300.0,290.0/300.0); + \node [anchor=center, font=\fontsize{24}{0}\bebas] at (0,400.0/300.0) {\speed{-1}}; + % TODO +} + +\newcommand{\drawstarvechart}{% + % TODO +} + +\newcommand{\drawhypostarvechart}{% + \drawhypochart + \drawstarvechart + % TODO +} + +\begin{document} +\begin{board} + +% Draw the race +\scoped[shift={(0,0)}]{\drawrace} + +% Draw the Stages +\scoped[shift={(2005.5/300.0,953.0/300.0)}]{\emptystage{stage_one}{stage_eight}} +\scoped[shift={(2005.5/300.0,317.6/300.0)}]{\emptystage{stage_two}{stage_seven}} +\scoped[shift={(2005.5/300.0,-317.6/300.0)}]{\emptystage{stage_three}{stage_six}} +\scoped[shift={(2005.5/300.0,-953.0/300.0)}]{\emptystage{stage_four}{stage_five}} + +% Draw the Start/End +\scoped[shift={(-1690.5/300.0,-100.5/300.0)}]{\drawchecker} +\node [anchor=east, inner sep=0mm, font=\fontsize{24}{0}\bebas] at (-1615.5/300.0,100.5/300.0) {Start}; + +\scoped[shift={(-1800.0/300.0,-700.0/300.0)}]{\drawhypostarvechart} + +% TODO: Remove these, they are for 'debugging' +\drawoverlay +\drawguides + +\end{board} +\end{document} diff --git a/iditaboard.xcf b/iditaboard.xcf index 25472bd..b2cc204 100644 Binary files a/iditaboard.xcf and b/iditaboard.xcf differ diff --git a/iditacard.cls b/iditacard.cls index e120b98..16e8647 100644 --- a/iditacard.cls +++ b/iditacard.cls @@ -21,6 +21,15 @@ \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{town}{HTML}{CF5FCF} \definecolor{frozenlake}{HTML}{5F9FFF} \definecolor{hills}{HTML}{7FDF7F} @@ -203,6 +212,108 @@ \node [rectangle, rotate=90, minimum width=950.0/300.0, minimum height=650.0/300.0, text ragged, text width=80mm, inner sep=1mm, anchor=north west] at (50.0/300.0,50.0/300.0) {#1}; } +\newcommand{\difficulty}[2]{% + \newcommand{\easybackgroundcolor}{#1} + \newcommand{\hardbackgroundcolor}{#2} +} + +\newcommand{\easyname}[1]{% + \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}; +} + +\newcommand{\hardname}[1]{% + \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#1\par}; +} + +\newcommand{\easyeffect}[1]{% + \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}; +} + +\newcommand{\hardeffect}[1]{% + \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#1\par}; +} + +% Aspect ratio of about 3:2 +\newcommand{\easyart}[1]{% + \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}}; +} + +\newcommand{\hardart}[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]{#1}}; +} + +\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{\easyflava}[1]{% + \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}; +} + +\newcommand{\hardflava}[1]{% + \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"#1"\par}; +} + \newenvironment{card} {% Begin \noindent\begin{tikzpicture}[x=1in,y=1in] @@ -222,3 +333,24 @@ {% End \end{card} } + +\newenvironment{board} +{% Begin +\noindent\begin{tikzpicture}[x=1in,y=1in] +%\fill [white] (0,0) rectangle (16.25,10.25); +} +{% End +\end{tikzpicture}} + +\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/iditastretch.cls b/iditastreatch_old.cls similarity index 100% rename from iditastretch.cls rename to iditastreatch_old.cls diff --git a/shopping_list.txt b/shopping_list.txt new file mode 100644 index 0000000..ba0a011 --- /dev/null +++ b/shopping_list.txt @@ -0,0 +1,14 @@ +0 Box: +2.99 Box Top +2.99 Box Bottom +2.40 Large Pro Box +0 Joysticks: +0.18 Blue +0.18 Red +0.18 Yellow +0.18 Green +0 Board: +1.66 Big Mat +0 Cards: + +