diff --git a/CameraMove.gd b/CameraMove.gd new file mode 100644 index 0000000..501c2ab --- /dev/null +++ b/CameraMove.gd @@ -0,0 +1,37 @@ +extends Camera2D + + +# Called when the node enters the scene tree for the first time. +func _ready() -> void: + pass + + + +# Called every frame. 'delta' is the elapsed time since the previous frame. +func _process(delta: float) -> void: + var mouse: = get_viewport().get_mouse_position() + var size: = get_viewport().get_visible_rect().size + if (mouse.x < (0.10*size.x)): + position.x -= 3 + elif (mouse.x > (0.90*size.x)): + position.x += 3 + + if (mouse.y < (0.10*size.y)): + position.y -= 3 + elif (mouse.y > (0.90*size.y)): + position.y += 3 + +func _input(event): + if event is InputEventMouseButton: + if event.button_index == MOUSE_BUTTON_WHEEL_UP and event.pressed: + + zoom.x +=1 + zoom.y +=1 + + elif event.button_index == MOUSE_BUTTON_WHEEL_DOWN and event.pressed: + + zoom.x -=1 + zoom.y -=1 + + + diff --git a/CameraMove.gd.uid b/CameraMove.gd.uid new file mode 100644 index 0000000..8096148 --- /dev/null +++ b/CameraMove.gd.uid @@ -0,0 +1 @@ +uid://ws5ruc64db3v diff --git a/Map/EHAP_map.png b/Map/EHAP_map.png new file mode 100644 index 0000000..19c132b --- /dev/null +++ b/Map/EHAP_map.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:692f1c2aa574fdc74664a72d034ec01f1cfe68977fcb3dc50bf7042561687f5d +size 965282 diff --git a/Map/EHAP_map.png.import b/Map/EHAP_map.png.import new file mode 100644 index 0000000..411a72b --- /dev/null +++ b/Map/EHAP_map.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://bntb4uxiugjq3" +path="res://.godot/imported/EHAP_map.png-b029a0a0b09d67741377398e7d614575.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://Map/EHAP_map.png" +dest_files=["res://.godot/imported/EHAP_map.png-b029a0a0b09d67741377398e7d614575.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/currency/EHAP_map.png b/currency/EHAP_map.png new file mode 100644 index 0000000..19c132b --- /dev/null +++ b/currency/EHAP_map.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:692f1c2aa574fdc74664a72d034ec01f1cfe68977fcb3dc50bf7042561687f5d +size 965282 diff --git a/currency/EHAP_map.png.import b/currency/EHAP_map.png.import new file mode 100644 index 0000000..a733d82 --- /dev/null +++ b/currency/EHAP_map.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://8lqq14trnf5u" +path="res://.godot/imported/EHAP_map.png-b1025cc065bdc97d744b65efd6468a03.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://currency/EHAP_map.png" +dest_files=["res://.godot/imported/EHAP_map.png-b1025cc065bdc97d744b65efd6468a03.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/currency/inanimate/beer.tres b/currency/inanimate/beer.tres index a6b9f03..781b557 100644 --- a/currency/inanimate/beer.tres +++ b/currency/inanimate/beer.tres @@ -2,9 +2,11 @@ [ext_resource type="Script" uid="uid://dddyxbkq0ienn" path="res://currency/production.gd" id="1_apagg"] [ext_resource type="Script" uid="uid://cthcf4w1il4h8" path="res://currency/inanimate_currency.gd" id="2_h7qij"] +[ext_resource type="Texture2D" uid="uid://bplvus0ytk2f8" path="res://thumbnails/beer.png" id="3_h7qij"] [resource] script = ExtResource("2_h7qij") name = "Beer" description = "A favourite of divorced dads everywhere." +thumbnail = ExtResource("3_h7qij") metadata/_custom_type_script = "uid://b3tqa2kc2bu0p" diff --git a/currency/inanimate/blood.tres b/currency/inanimate/blood.tres index 7061419..3a2f64b 100644 --- a/currency/inanimate/blood.tres +++ b/currency/inanimate/blood.tres @@ -2,9 +2,11 @@ [ext_resource type="Script" uid="uid://cthcf4w1il4h8" path="res://currency/inanimate_currency.gd" id="1_6u8vm"] [ext_resource type="Script" uid="uid://dddyxbkq0ienn" path="res://currency/production.gd" id="1_vpm3o"] +[ext_resource type="Texture2D" uid="uid://7calk4akv2wk" path="res://thumbnails/blood.jpg" id="3_78x5f"] [resource] script = ExtResource("1_6u8vm") name = "Blood" description = "Great if you wanna paint the kingdom red." +thumbnail = ExtResource("3_78x5f") metadata/_custom_type_script = "uid://b3tqa2kc2bu0p" diff --git a/currency/inanimate/bread.tres b/currency/inanimate/bread.tres index 01c572d..13530ac 100644 --- a/currency/inanimate/bread.tres +++ b/currency/inanimate/bread.tres @@ -2,9 +2,11 @@ [ext_resource type="Script" uid="uid://dddyxbkq0ienn" path="res://currency/production.gd" id="1_btpsu"] [ext_resource type="Script" uid="uid://cthcf4w1il4h8" path="res://currency/inanimate_currency.gd" id="2_nt5od"] +[ext_resource type="Texture2D" uid="uid://bpc8gm2ikb6ld" path="res://thumbnails/bread.jpg" id="3_nt5od"] [resource] script = ExtResource("2_nt5od") name = "Bread" description = "I prefer eating raw flower personally." +thumbnail = ExtResource("3_nt5od") metadata/_custom_type_script = "uid://b3tqa2kc2bu0p" diff --git a/currency/inanimate/corpse.tres b/currency/inanimate/corpse.tres index af07409..504dbbc 100644 --- a/currency/inanimate/corpse.tres +++ b/currency/inanimate/corpse.tres @@ -2,9 +2,11 @@ [ext_resource type="Script" uid="uid://dddyxbkq0ienn" path="res://currency/production.gd" id="1_6u3lm"] [ext_resource type="Script" uid="uid://cthcf4w1il4h8" path="res://currency/inanimate_currency.gd" id="2_aao11"] +[ext_resource type="Texture2D" uid="uid://8st5esb8blio" path="res://thumbnails/corpse.jpg" id="3_aao11"] [resource] script = ExtResource("2_aao11") name = "Corpse" description = "It's a dead body! Of what creature? We don't know!" +thumbnail = ExtResource("3_aao11") metadata/_custom_type_script = "uid://b3tqa2kc2bu0p" diff --git a/currency/inanimate/wood.tres b/currency/inanimate/wood.tres index 1b9416a..97a5c91 100644 --- a/currency/inanimate/wood.tres +++ b/currency/inanimate/wood.tres @@ -2,9 +2,11 @@ [ext_resource type="Script" uid="uid://dddyxbkq0ienn" path="res://currency/production.gd" id="1_g2gb5"] [ext_resource type="Script" uid="uid://cthcf4w1il4h8" path="res://currency/inanimate_currency.gd" id="1_ilt41"] +[ext_resource type="Texture2D" uid="uid://dctklkyp4ugdt" path="res://thumbnails/wood.jpg" id="3_mwc6k"] [resource] script = ExtResource("1_ilt41") name = "Wood" description = "Gives you lumber support. You know your back could probably use it." +thumbnail = ExtResource("3_mwc6k") metadata/_custom_type_script = "uid://b3tqa2kc2bu0p" diff --git a/currency/sentient/doctor.tres b/currency/sentient/doctor.tres index 3fefd73..5514c9a 100644 --- a/currency/sentient/doctor.tres +++ b/currency/sentient/doctor.tres @@ -4,10 +4,12 @@ [ext_resource type="Script" uid="uid://dddyxbkq0ienn" path="res://currency/production.gd" id="1_ohece"] [ext_resource type="Resource" uid="uid://boshkhnywnk27" path="res://currency/production/human_production_shared_1.tres" id="2_u3n2t"] [ext_resource type="Resource" uid="uid://mgb7y1r3eapq" path="res://currency/production/human_production_shared_2.tres" id="3_yv5d2"] +[ext_resource type="Texture2D" uid="uid://bbcjo350ne8pv" path="res://thumbnails/doctor.jpg" id="5_e68kt"] [resource] script = ExtResource("1_8u0th") name = "Doctor" production = Array[ExtResource("1_ohece")]([ExtResource("2_u3n2t"), ExtResource("3_yv5d2")]) description = "They're definitely not crow people. Don't question the masks. it's fine." +thumbnail = ExtResource("5_e68kt") metadata/_custom_type_script = "uid://hcvynq5fjypj" diff --git a/map.tscn b/map.tscn new file mode 100644 index 0000000..6479ee5 --- /dev/null +++ b/map.tscn @@ -0,0 +1,18 @@ +[gd_scene format=3 uid="uid://bdk1r2u8clllr"] + +[ext_resource type="Texture2D" uid="uid://bntb4uxiugjq3" path="res://Map/EHAP_map.png" id="1_c7s6e"] +[ext_resource type="Script" uid="uid://ws5ruc64db3v" path="res://CameraMove.gd" id="2_wijl4"] + +[node name="Node2D" type="Node2D" unique_id=575553336] + +[node name="EhapMap" type="Sprite2D" parent="." unique_id=26962123] +position = Vector2(966, -28) +texture = ExtResource("1_c7s6e") + +[node name="Camera2D" type="Camera2D" parent="." unique_id=1974259721] +position = Vector2(582, 1260) +limit_left = 6 +limit_top = -1648 +limit_right = 1926 +limit_bottom = 1592 +script = ExtResource("2_wijl4") diff --git a/project.godot b/project.godot index 7b90190..b7186f5 100644 --- a/project.godot +++ b/project.godot @@ -20,7 +20,6 @@ Economy="*uid://dnpioqaes87yb" Random="*uid://cu3n7igqstbxi" UserContext="*uid://0a08ucta58lp" GameState="*uid://bohql2ihaumsa" -LetterGeneration="*uid://d156m2y8b38qs" [dialogic] diff --git a/thumbnails/attributions/attributions.txt b/thumbnails/attributions/attributions.txt new file mode 100644 index 0000000..031ea07 --- /dev/null +++ b/thumbnails/attributions/attributions.txt @@ -0,0 +1,7 @@ +wood.jpg - cropped from: "20160211154306!Nussbaum Holz.jpg" by Das Ohr, https://commons.wikimedia.org/wiki/File:20160211154306!Nussbaum_Holz.jpg, licensed under https://creativecommons.org/licenses/by/3.0/ + +beer.png - from: "Straight beer glass.png" by Etamme, https://commons.wikimedia.org/wiki/File:Straight_beer_glass.png, licensed under https://creativecommons.org/licenses/by/3.0/ + +bread.jpg - cropped from: "Bread on blue plate from an angle.jpg" by Kansattica, https://commons.wikimedia.org/wiki/File:Bread_on_blue_plate_from_an_angle.jpg, licensed under https://creativecommons.org/licenses/by/4.0/ + +doctor.jpg - cropped from: "Effect inferno 2022 movie frame 01.jpg" by Sergey A. Demidov, https://commons.wikimedia.org/wiki/File:Effect_inferno_2022_movie_frame_01.jpg, licensed under https://creativecommons.org/licenses/by/4.0/ diff --git a/thumbnails/beer.png b/thumbnails/beer.png new file mode 100644 index 0000000..17c29d5 --- /dev/null +++ b/thumbnails/beer.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:98d9b3c8a68f36b0d5548a328c9022b455a726be5f14b7cf197686eb293cd86d +size 20199 diff --git a/thumbnails/beer.png.import b/thumbnails/beer.png.import new file mode 100644 index 0000000..f9b8fbf --- /dev/null +++ b/thumbnails/beer.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://bplvus0ytk2f8" +path="res://.godot/imported/beer.png-6c423fbb7c86d4d3f78a08ea9855dc1e.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://thumbnails/beer.png" +dest_files=["res://.godot/imported/beer.png-6c423fbb7c86d4d3f78a08ea9855dc1e.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/thumbnails/blood.jpg b/thumbnails/blood.jpg new file mode 100644 index 0000000..0c91827 --- /dev/null +++ b/thumbnails/blood.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ea25f0f2ba622fcb43adf8f138ce856a604d3d01a88187849acd4a44b31ede99 +size 8052 diff --git a/thumbnails/blood.jpg.import b/thumbnails/blood.jpg.import new file mode 100644 index 0000000..c6bbeee --- /dev/null +++ b/thumbnails/blood.jpg.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://7calk4akv2wk" +path="res://.godot/imported/blood.jpg-6d6bed569711a60757be2ff49236d203.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://thumbnails/blood.jpg" +dest_files=["res://.godot/imported/blood.jpg-6d6bed569711a60757be2ff49236d203.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/thumbnails/bread.jpg b/thumbnails/bread.jpg new file mode 100644 index 0000000..5584757 --- /dev/null +++ b/thumbnails/bread.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e02f298e35b90dce4f4c1e9c3de359562b11e03cfde3c9a1c20d0710aeac8fcf +size 12991 diff --git a/thumbnails/bread.jpg.import b/thumbnails/bread.jpg.import new file mode 100644 index 0000000..4e7a494 --- /dev/null +++ b/thumbnails/bread.jpg.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://bpc8gm2ikb6ld" +path="res://.godot/imported/bread.jpg-f47ea884e4d2c1f24a69dc75afd7fe98.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://thumbnails/bread.jpg" +dest_files=["res://.godot/imported/bread.jpg-f47ea884e4d2c1f24a69dc75afd7fe98.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/thumbnails/corpse.jpg b/thumbnails/corpse.jpg new file mode 100644 index 0000000..ca19e15 --- /dev/null +++ b/thumbnails/corpse.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:88b61b1a88cea484aa3c9b773031f347f29c364ec9edb8e2cffae93041e7d162 +size 45914 diff --git a/thumbnails/corpse.jpg.import b/thumbnails/corpse.jpg.import new file mode 100644 index 0000000..1dbc862 --- /dev/null +++ b/thumbnails/corpse.jpg.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://8st5esb8blio" +path="res://.godot/imported/corpse.jpg-022fa40684770e53fc7c9a8e0bfd84be.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://thumbnails/corpse.jpg" +dest_files=["res://.godot/imported/corpse.jpg-022fa40684770e53fc7c9a8e0bfd84be.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/thumbnails/doctor.jpg b/thumbnails/doctor.jpg new file mode 100644 index 0000000..5198e18 --- /dev/null +++ b/thumbnails/doctor.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:480fdcbabf434649280020c79a2f143f970dd2f6a5040b8532b90b0dd260b786 +size 21922 diff --git a/thumbnails/doctor.jpg.import b/thumbnails/doctor.jpg.import new file mode 100644 index 0000000..5f84186 --- /dev/null +++ b/thumbnails/doctor.jpg.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://bbcjo350ne8pv" +path="res://.godot/imported/doctor.jpg-674d8bda1c8cfefd555ca3ffbb6e3382.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://thumbnails/doctor.jpg" +dest_files=["res://.godot/imported/doctor.jpg-674d8bda1c8cfefd555ca3ffbb6e3382.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/thumbnails/wood.jpg b/thumbnails/wood.jpg new file mode 100644 index 0000000..c9434c4 --- /dev/null +++ b/thumbnails/wood.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a1c241d9890b1e56768d8a37c5445e0d80645766d8c93115b0f7ca7cbf9d856d +size 29831 diff --git a/thumbnails/wood.jpg.import b/thumbnails/wood.jpg.import new file mode 100644 index 0000000..b712c64 --- /dev/null +++ b/thumbnails/wood.jpg.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://dctklkyp4ugdt" +path="res://.godot/imported/wood.jpg-c388c0edb58cc79b038499d85fe86a46.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://thumbnails/wood.jpg" +dest_files=["res://.godot/imported/wood.jpg-c388c0edb58cc79b038499d85fe86a46.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1