jester and magician cards have been recoloured to white to avoid confusion with numebred cards
@@ -113,7 +113,12 @@ func _get_card_name(card_id: int) -> String:
|
||||
var color: String
|
||||
var suffix: String
|
||||
|
||||
if card_id < 13:
|
||||
if card_id > 51 and card_id < 56:
|
||||
return "jester"
|
||||
elif card_id > 55:
|
||||
return "magician"
|
||||
|
||||
elif card_id < 13:
|
||||
color = "blue"
|
||||
elif card_id < 26:
|
||||
color = "green"
|
||||
|
||||
|
Before Width: | Height: | Size: 2.1 KiB |
|
Before Width: | Height: | Size: 3.9 KiB |
|
Before Width: | Height: | Size: 1.8 KiB |
|
Before Width: | Height: | Size: 3.5 KiB |
|
After Width: | Height: | Size: 1.6 KiB |
@@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://cbjxtiymwt2h0"
|
||||
path="res://.godot/imported/jester.webp-b183cc87030e58aed6dc9f96e9909218.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://cards/textures/stickman/jester.webp"
|
||||
dest_files=["res://.godot/imported/jester.webp-b183cc87030e58aed6dc9f96e9909218.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
||||
|
After Width: | Height: | Size: 3.2 KiB |
@@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://dl1gqwijejlbk"
|
||||
path="res://.godot/imported/magician.webp-ab5408731c9383771a322e4befa84ff0.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://cards/textures/stickman/magician.webp"
|
||||
dest_files=["res://.godot/imported/magician.webp-ab5408731c9383771a322e4befa84ff0.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
||||
|
Before Width: | Height: | Size: 2.1 KiB |
|
Before Width: | Height: | Size: 3.9 KiB |
|
Before Width: | Height: | Size: 2.1 KiB |
|
Before Width: | Height: | Size: 3.9 KiB |
@@ -505,7 +505,7 @@ async def process_input(message: str, websocket) -> None:
|
||||
# last client to bet; limit bet options
|
||||
total_bet = sum(lobby_manager.get_lobby(lobby_id).client_bets.values())
|
||||
disallowed_bet = data_object["round"] - total_bet
|
||||
print(f"bets: {data_object["round"]} / {total_bet}")
|
||||
print(f"bets: {data_object['round']} / {total_bet}")
|
||||
if disallowed_bet < 0:
|
||||
disallowed_bet = -1
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
[gd_resource type="Theme" format=3 uid="uid://7bv5whocnq53"]
|
||||
|
||||
[resource]
|
||||
default_font_size = 20
|
||||
default_font_size = 18
|
||||
|
||||