House Freedom

This commit is contained in:
Page Asgardius 2023-12-28 06:09:16 -07:00
parent 5f650c1098
commit 33d4a0e13f
4 changed files with 14 additions and 6 deletions

View file

@ -1,15 +1,22 @@
extends Label
var housefreedom
func _process(delta: float) -> void:
housefreedom = OS.get_processor_name().contains("AMD Custom APU") && OS.get_processor_name().contains("0405")
if (OS.get_name() != "Linux" && !OS.get_name().ends_with("BSD")) || OS.get_distribution_name().contains("Kali") || !OS.get_data_dir().begins_with("/home") || OS.get_environment("WSL_DISTRO_NAME").length() < 0:
Global.sk = true
if Global.sk:
_sk()
else:
if Global.firstrun:
set_text("Welcome to your first session "+OS.get_data_dir().rsplit("/", true, 7)[2]);
if housefreedom:
set_text("Welcome to your first session "+OS.get_data_dir().rsplit("/", true, 7)[2]+"\nSteam machines are not dead yet");
else:
set_text("Welcome to your first session "+OS.get_data_dir().rsplit("/", true, 7)[2]);
else:
set_text("Welcome back "+OS.get_data_dir().rsplit("/", true, 7)[2]);
if housefreedom:
set_text("Welcome back "+OS.get_data_dir().rsplit("/", true, 7)[2]+"\nSteam machines are not dead yet");
else:
set_text("Welcome back "+OS.get_data_dir().rsplit("/", true, 7)[2]);
func _sk():
set_text("Script Kiddie detected, only true hackers can cheat here");

View file

@ -1,4 +1,4 @@
[gd_scene load_steps=4 format=3 uid="uid://doxnh56s63i2y"]
[gd_scene load_steps=4 format=3 uid="uid://u3n465dkpmeg"]
[ext_resource type="Script" path="res://bootclick.gd" id="1_52bti"]
[ext_resource type="Script" path="res://fps.gd" id="2_gnh1w"]

View file

@ -8,7 +8,7 @@ custom_features=""
export_filter="all_resources"
include_filter=""
exclude_filter=""
export_path=""
export_path="./Midori in the Magic School.x86_64"
encryption_include_filters=""
encryption_exclude_filters=""
encrypt_pck=false
@ -19,7 +19,7 @@ encrypt_directory=false
custom_template/debug=""
custom_template/release=""
debug/export_console_wrapper=1
binary_format/embed_pck=false
binary_format/embed_pck=true
texture_format/bptc=true
texture_format/s3tc=true
texture_format/etc=false

View file

@ -23,6 +23,7 @@ Global="*res://global.gd"
window/size/viewport_width=1280
window/size/viewport_height=720
window/size/mode=3
window/stretch/mode="viewport"
[rendering]