about summary refs log tree commit diff stats
path: root/Archipelago/player.gd
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2024-03-28 23:45:40 -0400
committerStar Rauchenberger <fefferburbia@gmail.com>2024-03-29 10:19:21 -0400
commit00a65635d7aee086a2a8cdd077d5335112104d0f (patch)
tree7d9a26bdaf5b29a5aaf7397f0bd773624ef27d18 /Archipelago/player.gd
parent87e7f851179cb0fcef75a2c433fdc1e6234f409b (diff)
downloadlingo-archipelago-00a65635d7aee086a2a8cdd077d5335112104d0f.tar.gz
lingo-archipelago-00a65635d7aee086a2a8cdd077d5335112104d0f.tar.bz2
lingo-archipelago-00a65635d7aee086a2a8cdd077d5335112104d0f.zip
AFD inverted camera
Diffstat (limited to 'Archipelago/player.gd')
-rw-r--r--Archipelago/player.gd15
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 @@
1extends "res://scripts/player.gd" 1extends "res://scripts/player.gd"
2 2
3var april_fools = false
4
5
6func _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
4func _solving(): 12func _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
35func rotate_y(amount):
36 if april_fools:
37 .rotate_y(-amount)
38 else:
39 .rotate_y(amount)