-
-
Notifications
You must be signed in to change notification settings - Fork 106
DeckBuilder
Extends: CardViewer < PanelContainer
A Deckbuilder which allows players to construct, save and load decks to use in the game
export var deck_name_randomizer = "[Object:null]"
Contains a link to the random deck name generator reference
export var random_adverb_miss: int = 10
Contains a link to the random deck name generator reference Controls how often an random adverb will not appear in front of the adjective. The higher the number, the less likely to get an adverb Adverbs will not appear if adjectives did not.
export var random_adjective_miss: float = 1.1
Contains a link to the random deck name generator reference Controls how often an random adverb will not appear in front of the adjective. The higher the number, the less likely to get an adverb Adverbs will not appear if adjectives did not. Controls how often an random adjective will not appear in front of the noun. The higher the number, the less likely to get an adjective
export var random_append_miss: int = 2
Contains a link to the random deck name generator reference Controls how often an random adverb will not appear in front of the adjective. The higher the number, the less likely to get an adverb Adverbs will not appear if adjectives did not. Controls how often an random adjective will not appear in front of the noun. The higher the number, the less likely to get an adjective Controls how often an random append will not appear in front of the deck name. The higher the number, the less likely to get an append
export var second_noun_miss: int = 3
Contains a link to the random deck name generator reference Controls how often an random adverb will not appear in front of the adjective. The higher the number, the less likely to get an adverb Adverbs will not appear if adjectives did not. Controls how often an random adjective will not appear in front of the noun. The higher the number, the less likely to get an adjective Controls how often an random append will not appear in front of the deck name. The higher the number, the less likely to get an append Controls how often a second noun will appear in the name. The higher the number, the less likely a second nount to appear
export var max_quantity: int = 3
Contains a link to the random deck name generator reference Controls how often an random adverb will not appear in front of the adjective. The higher the number, the less likely to get an adverb Adverbs will not appear if adjectives did not. Controls how often an random adjective will not appear in front of the noun. The higher the number, the less likely to get an adjective Controls how often an random append will not appear in front of the deck name. The higher the number, the less likely to get an append Controls how often a second noun will appear in the name. The higher the number, the less likely a second nount to appear The maximum amount of each card allowed in a deck. Individual cards can modify this
export var deck_minimum: int = 52
Contains a link to the random deck name generator reference Controls how often an random adverb will not appear in front of the adjective. The higher the number, the less likely to get an adverb Adverbs will not appear if adjectives did not. Controls how often an random adjective will not appear in front of the noun. The higher the number, the less likely to get an adjective Controls how often an random append will not appear in front of the deck name. The higher the number, the less likely to get an append Controls how often a second noun will appear in the name. The higher the number, the less likely a second nount to appear The maximum amount of each card allowed in a deck. Individual cards can modify this The minimum amount cards required in a deck
export var deck_maximum: int = 60
Contains a link to the random deck name generator reference Controls how often an random adverb will not appear in front of the adjective. The higher the number, the less likely to get an adverb Adverbs will not appear if adjectives did not. Controls how often an random adjective will not appear in front of the noun. The higher the number, the less likely to get an adjective Controls how often an random append will not appear in front of the deck name. The higher the number, the less likely to get an append Controls how often a second noun will appear in the name. The higher the number, the less likely a second nount to appear The maximum amount of each card allowed in a deck. Individual cards can modify this The minimum amount cards required in a deck The maximum amount cards required in a deck
export var deck_card_object_scene = "[PackedScene:19433]"
Contains a link to the random deck name generator reference Controls how often an random adverb will not appear in front of the adjective. The higher the number, the less likely to get an adverb Adverbs will not appear if adjectives did not. Controls how often an random adjective will not appear in front of the noun. The higher the number, the less likely to get an adjective Controls how often an random append will not appear in front of the deck name. The higher the number, the less likely to get an append Controls how often a second noun will appear in the name. The higher the number, the less likely a second nount to appear The maximum amount of each card allowed in a deck. Individual cards can modify this The minimum amount cards required in a deck The maximum amount cards required in a deck We use this variable, so that the scene can be overriden with a custom one
export var deck_summary_scene = "[PackedScene:19447]"
Contains a link to the random deck name generator reference Controls how often an random adverb will not appear in front of the adjective. The higher the number, the less likely to get an adverb Adverbs will not appear if adjectives did not. Controls how often an random adjective will not appear in front of the noun. The higher the number, the less likely to get an adjective Controls how often an random append will not appear in front of the deck name. The higher the number, the less likely to get an append Controls how often a second noun will appear in the name. The higher the number, the less likely a second nount to appear The maximum amount of each card allowed in a deck. Individual cards can modify this The minimum amount cards required in a deck The maximum amount cards required in a deck We use this variable, so that the scene can be overriden with a custom one We use this variable, so that the scene can be overriden with a custom one
var deck_summaries
This var will hold a pointer to the deck summaries scene.
func populate_available_cards() -> void
Populates the list of available cards, with all defined cards in the game
func add_new_card(card_name, category, value) -> DBDeckCardObject
Adds a card to the deck. Ensures that the card is put under its own category for readability
func generate_random_deck_name() -> String
Generates a random deck name using on the deck_name_randomizer