summaryrefslogtreecommitdiffhomepage
path: root/cards/card_weapons.rb
diff options
context:
space:
mode:
authorrealtradam <[email protected]>2022-11-10 03:21:10 -0500
committerrealtradam <[email protected]>2022-11-10 03:21:10 -0500
commitce2531f12ba2982ed9c7998653896b9f70f1092d (patch)
treec4ca19221f9618305295c5a1558ffccb3198881f /cards/card_weapons.rb
parentd01fcf68f6f08f091eb84b33eae4841b03c9688a (diff)
downloadPlore-Tabletop-Game-ce2531f12ba2982ed9c7998653896b9f70f1092d.tar.gz
Plore-Tabletop-Game-ce2531f12ba2982ed9c7998653896b9f70f1092d.zip
cards + other changes
Diffstat (limited to 'cards/card_weapons.rb')
-rw-r--r--cards/card_weapons.rb89
1 files changed, 89 insertions, 0 deletions
diff --git a/cards/card_weapons.rb b/cards/card_weapons.rb
new file mode 100644
index 0000000..ed46343
--- /dev/null
+++ b/cards/card_weapons.rb
@@ -0,0 +1,89 @@
+load 'card.rb'
+
+cards = []
+
+card = Card.new
+card.title = "Unarmed Strike"
+card.color = 'goldenrod'
+
+#card.attrib_top_left = '14'
+#card.attrib_top_left_icon = '🩸'
+
+#card.attrib_top_right = '2'
+#card.attrib_top_right_icon = '🛡️'
+
+card.attrib_bottom_right = '1'
+card.attrib_bottom_right_icon = '🎲'
+
+card.attrib_bottom_left = '1'
+card.attrib_bottom_left_icon = '⚔️'
+
+card.actions.push Card::Action.new(
+ content: 'Attack with a 🎲 **d4** roll. On success deal ⚔️ **1 damage**.',
+ symbol: :tap,
+)
+card.flavour = '"Savage"'
+card.type = 'Innate Weapon'
+
+cards.push card
+
+card = Card.new
+card.title = "Well Worn Knife"
+card.color = 'rebeccapurple'
+
+#card.attrib_top_left = '14'
+#card.attrib_top_left_icon = '🩸'
+
+#card.attrib_top_right = '2'
+#card.attrib_top_right_icon = '🛡️'
+
+card.attrib_bottom_right = '2'
+card.attrib_bottom_right_icon = '🎲'
+
+card.attrib_bottom_left = '1'
+card.attrib_bottom_left_icon = '⚔️'
+
+card.actions.push Card::Action.new(
+ content: 'Attack with a 🎲 **d6** roll. On success deal ⚔️ **Prescision+1 or Strength+1 damage**.',
+ symbol: :tap,
+)
+#card.actions.push Card::Action.new(
+# content: 'Play an **even** ♠️ to un-tap',
+# seperator: true,
+#)
+card.flavour = '"Only *slightly* better then a butter knife."'
+card.type = 'Weapon'
+
+cards.push card
+
+card = Card.new
+card.title = "Slingshot"
+card.color = 'rebeccapurple'
+
+#card.attrib_top_left = '14'
+#card.attrib_top_left_icon = '🩸'
+
+#card.attrib_top_right = '2'
+#card.attrib_top_right_icon = '🛡️'
+
+#card.attrib_bottom_right = '2'
+#card.attrib_bottom_right_icon = '🎲'
+
+#card.attrib_bottom_left = '1'
+#card.attrib_bottom_left_icon = '⚔️'
+
+card.actions.push Card::Action.new(
+ content: 'Attack with a 🎲 **d6** roll. On success deal ⚔️ **Prescision damage**.',
+ symbol: :tap,
+)
+card.actions.push Card::Action.new(
+ content: 'Ranged: This weapon avoids melee reposte attacks.',
+ seperator: true,
+)
+card.flavour = '"Only a troublemaker would use this."'
+card.type = 'Weapon'
+
+cards.push card
+
+
+File.write('card.html', Card.build(cards))