promotional bannermobile promotional banner

Create: Card Shop

A Create-styled team shop. Win its trades as rarity cards from FTB Quests, by team vote.

A shop your team has to earn. Create: Card Shop adds a coin shop in the look of Create's Stock Keeper, but it starts empty: every trade in it is a card your team wins from quests.

Cards

  • The Card Draw reward for FTB Quests deals a hand of cards (3 by default, 1 to 5) to the whole team at once. Everyone online sees the same cards and votes; the card with the most votes joins the team's shop. A tie is settled by chance. Alone, your pick wins at once.
  • A card is one trade: sell an item for coins, or buy one. It has a rarity - Common, Uncommon, Rare, Epic or Legendary - and the rarer the card, the better its price: a Common card might sell an iron ingot for 20 coins, a Legendary one for 30.
  • Winning a better rarity of a card you already hold replaces it. A draw only deals cards that improve what the team has.
  • With ColorTooltips installed, cards are framed in that mod's styles, so a Rare card looks like a Rare item's tooltip. Without it they get a plain frame in the rarity's colour.

The shop

  • Opens from the inventory sidebar button, /cardshop or a key you bind.
  • Sell and Buy tabs, a search box, and Sell all for everything in your inventory that a card pays for. Click a row to trade once, Ctrl+click for ten, Shift+click for as many as possible.
  • Coins are one wallet per FTB team. They are also FTB Library's currency, so FTB Quests' own Currency reward pays into it.
  • Drawn at run time from Create's own textures, so a resource pack that restyles Create restyles the shop too.

For pack makers

  • Edit everything in game: /cardshop edit, or the Edit tab on the shop (operators). Pools of cards, each card's item, amount, sell or buy, a price for each rarity and its chance weight. Spread fills the prices between the lowest and the highest one you typed.
  • Rarities: each rarity's chance, the ColorTooltips style its cards use, and the vote time.
  • The reward's settings in FTB Quests: which pool, how many cards, and the lowest rarity it may deal (an Epic-or-better draw for a boss quest).
  • Everything is one file, config/cardshop/cardshop.json, written with a starter pool on first start. /cardshop reload reads it again.
  • Commands for operators: /cardshop draw <pool> [cards] [lowest], /cardshop coins get|add|set, /cardshop reset.

Notes

  • Needs Create, FTB Quests, FTB Teams and FTB Library, on the server and on every client. ColorTooltips is optional (client).
  • Made and tested in singleplayer with Create 6.0.10, FTB Quests 2101.1.39, FTB Library 2101.1.40, FTB Teams 2101.1.12 and ColorTooltips 1211.3.6. It has not been run on a dedicated server yet and the vote has not been tried by several real players; reports are welcome.

License: MIT.

Create: Card Shop Team

profile avatar
  • 7
    Projects
  • 327
    Downloads

More from MaybeNotRossView all