diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2024-03-28 23:45:40 -0400 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2024-03-28 23:45:40 -0400 |
commit | 01c1f08379d22b36f3eaedfa355c6e49ef3fa820 (patch) | |
tree | 1bf317acd1d6c825379b28171366c47ccbb82c7c /Archipelago/player.gd | |
parent | 13271d4b8f66488a55be256e44a118ff8fff1ec1 (diff) | |
download | lingo-archipelago-01c1f08379d22b36f3eaedfa355c6e49ef3fa820.tar.gz lingo-archipelago-01c1f08379d22b36f3eaedfa355c6e49ef3fa820.tar.bz2 lingo-archipelago-01c1f08379d22b36f3eaedfa355c6e49ef3fa820.zip |
AFD inverted camera
Diffstat (limited to 'Archipelago/player.gd')
-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) | ||