RapidGameFramework
Reusable Godot managers for data-driven small games
Loading...
Searching...
No Matches
shop_manager Namespace Reference

Variables

 float
 Return a rounded price with a reusable markup.
 
 total_price
 
 int
 Generate a random singles market from the card library.
 
 singles
 
 card = modifier_manager.apply_instance(card, instance)
 
 Dictionary
 Buy and open a pack.
 
 economy_manager
 Buy and open a pack.
 
 pack_manager
 Buy and open a pack.
 
 card_manager
 Buy and open a pack.
 
 inventory_manager
 Buy and open a pack.
 
 modifier_manager
 Buy and open a pack.
 
 cost
 
 cards
 
 purchased
 
 instance
 
 record
 
 card_id_or_uid
 Sell one card instance or base-id card and add its value to the economy.
 
 base_id
 

Variable Documentation

◆ base_id

shop_manager.base_id

Definition at line 90 of file shop_manager.gd.

◆ card

shop_manager.card = modifier_manager.apply_instance(card, instance)

Definition at line 37 of file shop_manager.gd.

◆ card_id_or_uid

shop_manager.card_id_or_uid

Sell one card instance or base-id card and add its value to the economy.

Definition at line 88 of file shop_manager.gd.

◆ card_manager

shop_manager.card_manager

Buy and open a pack.

Sell one card instance or base-id card and add its value to the economy.

When a modifier manager is supplied, opened cards are stored as card instances.

Definition at line 45 of file shop_manager.gd.

◆ cards

shop_manager.cards

Definition at line 49 of file shop_manager.gd.

◆ cost

shop_manager.cost

Definition at line 46 of file shop_manager.gd.

◆ Dictionary

shop_manager.Dictionary

Buy and open a pack.

Return the marked-up shop price for a single card.

When a modifier manager is supplied, opened cards are stored as card instances.

Buy one card from the singles market. The returned Dictionary is the purchased card or instance card.

Definition at line 45 of file shop_manager.gd.

◆ economy_manager

shop_manager.economy_manager

Buy and open a pack.

Sell one card instance or base-id card and add its value to the economy.

Return the marked-up shop price for a single card.

When a modifier manager is supplied, opened cards are stored as card instances.

Buy one card from the singles market. The returned Dictionary is the purchased card or instance card.

Definition at line 45 of file shop_manager.gd.

◆ float

shop_manager.float

Return a rounded price with a reusable markup.

Buy a generic stackable item into an inventory manager.

Definition at line 12 of file shop_manager.gd.

◆ instance

shop_manager.instance

Definition at line 53 of file shop_manager.gd.

◆ int

shop_manager.int

Generate a random singles market from the card library.

Definition at line 34 of file shop_manager.gd.

◆ inventory_manager

shop_manager.inventory_manager

Buy and open a pack.

Sell one card instance or base-id card and add its value to the economy.

Return the marked-up shop price for a single card.

When a modifier manager is supplied, opened cards are stored as card instances.

Buy one card from the singles market. The returned Dictionary is the purchased card or instance card.

Definition at line 45 of file shop_manager.gd.

◆ modifier_manager

shop_manager.modifier_manager

Buy and open a pack.

Sell one card instance or base-id card and add its value to the economy.

Return the marked-up shop price for a single card.

When a modifier manager is supplied, opened cards are stored as card instances.

Buy one card from the singles market. The returned Dictionary is the purchased card or instance card.

Definition at line 45 of file shop_manager.gd.

◆ pack_manager

shop_manager.pack_manager

Buy and open a pack.

When a modifier manager is supplied, opened cards are stored as card instances.

Definition at line 45 of file shop_manager.gd.

◆ purchased

shop_manager.purchased

Definition at line 50 of file shop_manager.gd.

◆ record

shop_manager.record

Definition at line 54 of file shop_manager.gd.

◆ singles

shop_manager.singles

Definition at line 35 of file shop_manager.gd.

◆ total_price

shop_manager.total_price

Definition at line 18 of file shop_manager.gd.