-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add and distribute Zener cards * item -> group
- Loading branch information
1 parent
12e1986
commit aa66f1d
Showing
4 changed files
with
126 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
[ | ||
{ | ||
"type": "effect_on_condition", | ||
"id": "EOC_ZENER_DECK", | ||
"condition": { "math": [ "u_val('spell_level', 'school: CLAIRSENTIENT')", ">=", "10" ] }, | ||
"effect": [ | ||
{ | ||
"switch": { "rand": 4 }, | ||
"cases": [ | ||
{ | ||
"case": 0, | ||
"effect": [ | ||
{ | ||
"u_message": "You draw the hollow circle card, just as you knew you would. You look at it for a moment and put it back in the deck." | ||
} | ||
] | ||
}, | ||
{ | ||
"case": 1, | ||
"effect": [ | ||
{ | ||
"u_message": "You draw the three wavy lines card, just as you knew you would. You look at it for a moment and put it back in the deck." | ||
} | ||
] | ||
}, | ||
{ | ||
"case": 2, | ||
"effect": [ | ||
{ | ||
"u_message": "You draw the hollow square card, just as you knew you would. You look at it for a moment and put it back in the deck." | ||
} | ||
] | ||
}, | ||
{ | ||
"case": 3, | ||
"effect": [ | ||
{ | ||
"u_message": "You draw the five-pointed star card, just as you knew you would. You look at it for a moment and put it back in the deck." | ||
} | ||
] | ||
}, | ||
{ | ||
"case": 4, | ||
"effect": [ | ||
{ | ||
"u_message": "You draw the plus symbol card, just as you knew you would. You look at it for a moment and put it back in the deck." | ||
} | ||
] | ||
} | ||
] | ||
} | ||
], | ||
"false_effect": [ | ||
{ | ||
"switch": { "rand": 4 }, | ||
"cases": [ | ||
{ | ||
"case": 0, | ||
"effect": [ { "u_message": "You draw the hollow circle card, look at it for a moment, and put it back in the deck." } ] | ||
}, | ||
{ | ||
"case": 1, | ||
"effect": [ { "u_message": "You draw the three wavy lines card, look at it for a moment, and put it back in the deck." } ] | ||
}, | ||
{ | ||
"case": 2, | ||
"effect": [ { "u_message": "You draw the hollow square card, look at it for a moment, and put it back in the deck." } ] | ||
}, | ||
{ | ||
"case": 3, | ||
"effect": [ { "u_message": "You draw the five-pointed star card, look at it for a moment, and put it back in the deck." } ] | ||
}, | ||
{ | ||
"case": 4, | ||
"effect": [ { "u_message": "You draw the plus symbol card, look at it for a moment, and put it back in the deck." } ] | ||
} | ||
] | ||
} | ||
] | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
[ | ||
{ | ||
"id": "cards_zener", | ||
"type": "GENERIC", | ||
"category": "other", | ||
"name": { "str": "deck of Zener cards", "str_pl": "decks of Zener cards" }, | ||
"description": "A deck of Zener cards, used pre-Catalcysm to test for psychic ability.", | ||
"weight": "23 g", | ||
"volume": "29 ml", | ||
"price": 1314, | ||
"price_postapoc": 2, | ||
"material": [ "cardboard" ], | ||
"symbol": ",", | ||
"color": "magenta", | ||
"flags": [ "NO_REPAIR" ], | ||
"use_action": { | ||
"type": "effect_on_conditions", | ||
"description": "Pick a card. Any card.", | ||
"effect_on_conditions": [ "EOC_ZENER_DECK" ] | ||
} | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters