diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2024-03-28 23:45:40 -0400 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2024-03-29 10:19:21 -0400 |
commit | 00a65635d7aee086a2a8cdd077d5335112104d0f (patch) | |
tree | 7d9a26bdaf5b29a5aaf7397f0bd773624ef27d18 /Archipelago | |
parent | 87e7f851179cb0fcef75a2c433fdc1e6234f409b (diff) | |
download | lingo-archipelago-00a65635d7aee086a2a8cdd077d5335112104d0f.tar.gz lingo-archipelago-00a65635d7aee086a2a8cdd077d5335112104d0f.tar.bz2 lingo-archipelago-00a65635d7aee086a2a8cdd077d5335112104d0f.zip |
AFD inverted camera
Diffstat (limited to 'Archipelago')
-rw-r--r-- | Archipelago/player.gd | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Archipelago/player.gd b/Archipelago/player.gd index 87d9d0c..244d9a8 100644 --- a/Archipelago/player.gd +++ b/Archipelago/player.gd | |||
@@ -1,5 +1,13 @@ | |||
1 | extends "res://scripts/player.gd" | 1 | extends "res://scripts/player.gd" |
2 | 2 | ||
3 | var april_fools = false | ||
4 | |||
5 | |||
6 | func _ready(): | ||
7 | var date = Time.get_date_dict_from_system() | ||
8 | if date["month"] == 4 && date["day"] == 1: | ||
9 | april_fools = true | ||
10 | |||
3 | 11 | ||
4 | func _solving(): | 12 | func _solving(): |
5 | ._solving() | 13 | ._solving() |
@@ -22,3 +30,10 @@ func _unhandled_input(event): | |||
22 | if event.pressed and event.scancode == KEY_P: | 30 | if event.pressed and event.scancode == KEY_P: |
23 | var effects_node = get_tree().get_root().get_node("Spatial/AP_Effects") | 31 | var effects_node = get_tree().get_root().get_node("Spatial/AP_Effects") |
24 | effects_node.skip_puzzle() | 32 | effects_node.skip_puzzle() |
33 | |||
34 | |||
35 | func rotate_y(amount): | ||
36 | if april_fools: | ||
37 | .rotate_y(-amount) | ||
38 | else: | ||
39 | .rotate_y(amount) | ||