testing git cmds

<89 for personal tracking, because idk what is a version control lul
pull/210/head
89wc 2023-09-26 23:54:39 +00:00
parent 2981701941
commit 8c809a5580
5 changed files with 76 additions and 0 deletions

View File

@ -0,0 +1,51 @@
/* <89wc */
.srd {
display:none;
}
.container {
margin-top:-25px;
}
#banner-link {
display:none;
}
#casino-game-wrapper {
padding-top:10px;
}
.blackjack-cardset {
height:40px;
}
#casinoGameResult {
padding:0;
margin-top:0;
}
#casinoGameStats {
display:none;
}
.game_screen-title {
height:20px;
}
.game_screen-title > h3 {
font-size:0.9rem;
}
.game_screen-title > h5 {
font-size:0.9rem;
}
#casinoGameFeedList {
max-height:100%;
}
#mobile-bottom-navigation-bar {
display:none;
}
.game_screen-title > h3::after {
content:' - GOOMBLE PRO EDITION';
}
/* 89wc> */

View File

@ -271,6 +271,14 @@ class User(Base):
def cursormarsey(self):
return session.get('cursormarsey', CURSORMARSEY_DEFAULT)
# <89wc
@property
@lazy
def progoombler(self):
return session.get('progoombler', False)
# 89wc>
@property
@lazy
def over_18(self):

View File

@ -178,6 +178,14 @@ def settings_personal_post(v):
updated = True
session["cursormarsey"] = int(request.values.get("cursormarsey") == 'true')
# <89wc
elif not updated and request.values.get("progoombler", v.progoombler) != v.progoombler:
if not v.has_badge(161):
abort(403, f"This setting is only available for people with a crippling gambling addiction")
updated = True
session["progoombler"] = int(request.values.get("progoombler") == 'true')
# 89wc>
elif not updated and request.values.get("over_18", v.over_18) != v.over_18:
updated = True
session["over_18"] = int(request.values.get("over_18") == 'true')

View File

@ -12,6 +12,11 @@
{% block actions %}
<link rel="stylesheet" href="{{('css/casino/blackjack_screen.css') | asset}}">
<!-- <89wc -->
{% if v.progoombler %}
<link rel="stylesheet" href="{{('css/casino/blackjack_screen_compact.css') | asset}}">
{% endif %}
<!-- 89wc> -->
<div class="btn-group">
<button type="button" id="twentyone-DEAL" class="btn btn-primary twentyone-btn" data-nonce="{{g.nonce}}" data-onclick="deal()">Deal</button>

View File

@ -254,6 +254,10 @@
{{common.toggle_section('Spider', 'spiderswitch', 'spider', v.spider, 'Have a spider friend accompany you during your journey on the site.', v.spider > 1)}}
{{common.toggle_section('Marsify', 'marsifyswitch', 'marsify', v.marsify, 'Automatically insert relevant
marseys into your future comments.', v.marsify > 1)}}
<!-- <89wc -->
{{common.toggle_section('Goomble PRO Theme', 'progoomblerswitch', 'progoombler', v.progoombler,
'Show a more compact layout for blackjack.', false)}}
<!-- 89wc> -->
</div>
</section>