From 6367ad8696323e2463d52969f6556a183f8b8e20 Mon Sep 17 00:00:00 2001
From: chimchooree
Date: Thu, 17 Nov 2022 23:52:18 -0600
Subject: [PATCH] locations, items, controls, proxemics, setting
---
src/blessfrey-gdd/controls | 3 ++-
src/blessfrey-gdd/item | 11 ++++++---
src/blessfrey-gdd/proxemics | 4 +--
src/blessfrey-gdd/setting | 16 +++---------
src/call | 4 +++
src/diary/hold/makeup-opinions | 29 ++++++++++++++++++++++
src/index.py | 34 +++++++++++++++++--------
src/loc/CSA | 1 +
src/loc/Huntsville | 1 +
src/loc/Lucrest | 1 +
src/loc/Scrapyard | 1 +
src/loc/USA | 1 +
src/loc/mercur | 1 +
src/loc/thunderspy arcade | 1 +
src/verses-memorize | 45 ++++++++++++++++++++++++++++++++++
src/verses-share | 1 +
src/views/bf-gdd.tpl | 2 +-
src/views/page-setting.tpl | 6 +++++
src/views/setting.tpl | 11 +++++++++
19 files changed, 144 insertions(+), 29 deletions(-)
create mode 100644 src/call
create mode 100644 src/diary/hold/makeup-opinions
create mode 100644 src/loc/CSA
create mode 100644 src/loc/Huntsville
create mode 100644 src/loc/Lucrest
create mode 100644 src/loc/Scrapyard
create mode 100644 src/loc/USA
create mode 100644 src/loc/mercur
create mode 100644 src/loc/thunderspy arcade
create mode 100644 src/verses-memorize
create mode 100644 src/verses-share
create mode 100644 src/views/page-setting.tpl
create mode 100644 src/views/setting.tpl
diff --git a/src/blessfrey-gdd/controls b/src/blessfrey-gdd/controls
index 9491183..593855c 100644
--- a/src/blessfrey-gdd/controls
+++ b/src/blessfrey-gdd/controls
@@ -3,7 +3,8 @@
list of default controls
- - I: open inventory app
+ - left-click: target entity
+ - I: open inventory app
challenges/known issues
diff --git a/src/blessfrey-gdd/item b/src/blessfrey-gdd/item
index 424631f..85aa3be 100644
--- a/src/blessfrey-gdd/item
+++ b/src/blessfrey-gdd/item
@@ -15,20 +15,25 @@
move to pick up item
Items can only be picked up by the player. They can be picked up via item targeting or through selecting 'pick up' on the inspect menu.
- Item pickup is triggered when a floor item is targeted, that is, a 'target' (left-click) triggers a $Item/Body/Sprite/Sprite.gd/_on_input_event. If 'no_move_to_target' (shift) is held while targeting, the item will be targeted without initiating pickup. Otherwise, floor_item.gd/target_event(viewport,event,shape_idx) is called to set the target and handle the input before prompting the player to consider pickup.
+ Item pickup is triggered when a floor item is targeted, that is, a 'target' (left-click) triggers a $Item/Body/Sprite/Sprite.gd/_on_input_event. If 'no_move_to_target' (shift) is held while targeting, the floor item will be targeted without initiating pickup. Otherwise, floor_item.gd/target_event(viewport,event,shape_idx) is called to set the target and handle the input before prompting the player to consider pickup.
Item pickup is also an option on the floor items' inspect menu. Choosing it triggers that floor item's id_pressed(id), which calls the associated method from its inspect_options dictionary: floor_item.gd/move_player_then_pickup(), prompting the player to consider pickup.
Character.gd/consider_pickup(item) passes to UserControl/pickup(item). The next branch depends on a distance check.
- If the item is within the player's intimate distance, the character will be prompted to pick up the item.
+
If the floor item is within the player's intimate distance, the character will be prompted to pick up the floor item.
Otherwise, pathfinding begins towards the floor item. Upon arrival, it calls floor_item.pick_up().pick_up(). The floor item's pick_up removes itself from the room and returns the base item, then the inventory system takes care of the rest.
drop item
+ Items can be dropped from the inventory app when the player selects 'drop' on the inspect menu.
+
+ Choosing 'drop' triggers that inventory item's id_pressed(id), which calls the associated method from its inspect_options dictionary: inventory_item.gd/drop. It, in turn, calls the drop method off its base item.
+
+ The base item's drop() emits the 'dropped' signal, which triggers the inventory item to queue_free then the inventory app to be refreshed. (connected @ InvContainer.gd/make_inventory_items(base_item).
challenges/known issues
-
+ pick up in range puts a floor item in the programmatic inventory. out of range puts a proper base item. STOP at line 309 on character.gd.
works for...
diff --git a/src/blessfrey-gdd/proxemics b/src/blessfrey-gdd/proxemics
index 7824ec5..4061fbe 100644
--- a/src/blessfrey-gdd/proxemics
+++ b/src/blessfrey-gdd/proxemics
@@ -1,9 +1,9 @@
Generally, proxemics refers to the study of the relationship between social beings and physical distance.
Since spatial distance in Blessfrey (and all games) varies wildly due to distortion of physical proportions and angles, I am addressing the mechanical distance, i.e. the reach of a weapon, the distance from which an item can be picked up, and earshot. Relative distances are modeled after Edward T. Hall's interpersonal distances of man: public, social, personal, and intimate distance.
- It's so unfortunate that proxemics became associated with the pandemic over anthropology. I kinda cringe when I hear "social distance" now tbh. I still like the implication of a generalized "personal bubble" instead of the solely combat-oriented "aggro bubble" of other RPGs. I don't really want to change, but the term just got sour. Whatever, I guess.
+ I like the implication of a generalized "personal bubble" instead of the solely combat-oriented "aggro bubble" of other RPGs. It's so unfortunate that the pandemic was everyone's introduction to proxemics. I don't really wanna change it, but I kinda cringe when I hear "social distance" now. Whatever, I guess.
- (image was made by WebHamster for Wikipedia)
+ (image by WebHamster for Wikipedia)
Distances are declared in the mobile entity's mobile.gd. I...don't know what Godot units are supposed to be. I think they are pixels? Let's call them degrees(❥). I estimate 1❥ to equal ~2.5 social inches.
diff --git a/src/blessfrey-gdd/setting b/src/blessfrey-gdd/setting
index fdfb54f..0df8e80 100644
--- a/src/blessfrey-gdd/setting
+++ b/src/blessfrey-gdd/setting
@@ -3,18 +3,10 @@
Blessfrey takes place in Lucrest, Nickajack, a small town unknowingly situated over an abyssal dungeon.
-
-
-
-% import random
-% rebase('frame.tpl')
-
-
blessfrey setting
-
Blessfrey's world starts in Lucrest, an economic boomtown in the rural South, and expands deep through the pockets and tunnels of the earth until another world is discovered.
- % for i in [["csa","blessfrey-csa"],["castaway kingdom","blessfrey-castaway-kingdom"],["huntsville","blessfrey-huntsville"],["Lucrest","blessfrey-lucrest"],["usa","blessfrey-usa"]]:
- - {{random.choice(['.','•','☆','★'])}} {{i[0]}}
- % end
+ % for i in ["CSA"],["castaway"],["huntsville"],["Lucrest"],["USA"]:
+ - {{random.choice(['.','•','☆','★'])}} {{i}}
+ % end
-
+
diff --git a/src/call b/src/call
new file mode 100644
index 0000000..291e52c
--- /dev/null
+++ b/src/call
@@ -0,0 +1,4 @@
+general 8003508220
+specific 702 840 4504 - customer sevice, spoken to allie, extension 135
+
+the sec I get 10k refund email, call allie, say you already spoke to her. eligible for program.
diff --git a/src/diary/hold/makeup-opinions b/src/diary/hold/makeup-opinions
new file mode 100644
index 0000000..ecdc028
--- /dev/null
+++ b/src/diary/hold/makeup-opinions
@@ -0,0 +1,29 @@
+Let's chat about makeup again! Phyrra, cruelty-free and gothic beauty blogger, answered a ')
-def loc(location_name):
+ return setting()
+@route('/loc/')
+def loc(page):
"""location page"""
- loc = 'location/'
- info = {'css': 'char', 'title': 'blessfrey - location | meet ' + location_name, 'year': find_year(), 'ocs': ["human","giant","serpent"], 'name': location_name, 'profile': prepare_profile(loc, location_name), 'gallery': find_gallery(location_name)}
- abs_app_dir_path = os.path.dirname(os.path.realpath(__file__))
- abs_views_path = os.path.join(abs_app_dir_path, 'views')
- TEMPLATE_PATH.insert(0, abs_views_path )
- return template(os.path.join(abs_views_path,'char.tpl'), info)
+ loc = 'loc/'
+ info = {'css': 'doc', 'title': 'blessfrey gdd - setting - ' + page, 'year': find_year(), 'topic': page.lower(), 'writeup': prepare_gdd_page(page, loc)}
+ return template('page-setting.tpl', info)
+# loc = 'location/'
+# info = {'css': 'char', 'title': 'blessfrey - location | about ' + location_name, 'year': find_year(), 'name': location_name, 'profile': prepare_profile(loc, location_name), 'gallery': find_gallery(location_name)}
+# abs_app_dir_path = os.path.dirname(os.path.realpath(__file__))
+# abs_views_path = os.path.join(abs_app_dir_path, 'views')
+# TEMPLATE_PATH.insert(0, abs_views_path )
+# return template(os.path.join(abs_views_path,'char.tpl'), info)
# Me Page
@route('/dev')
@@ -661,6 +666,15 @@ def spec(species_name):
TEMPLATE_PATH.insert(0, abs_views_path )
return template(os.path.join(abs_views_path,'char.tpl'), info)
+# Blessfrey - Setting Page
+@route('/setting')
+def setting2():
+ return setting()
+@route('/blessfrey-gdd/setting')
+def setting():
+ """setting"""
+ info = {'css': 'doc', 'title': 'blessfrey gdd - setting', 'year': find_year()}
+ return template('setting.tpl', info)
# Search Diary by Tag
@route('/diary/tag/') # Start on first Diary tag page if no page given
diff --git a/src/loc/CSA b/src/loc/CSA
new file mode 100644
index 0000000..4e51c49
--- /dev/null
+++ b/src/loc/CSA
@@ -0,0 +1 @@
+Country the game takes place in.
diff --git a/src/loc/Huntsville b/src/loc/Huntsville
new file mode 100644
index 0000000..a2dbdca
--- /dev/null
+++ b/src/loc/Huntsville
@@ -0,0 +1 @@
+The capital city, a large metropolitan area.
diff --git a/src/loc/Lucrest b/src/loc/Lucrest
new file mode 100644
index 0000000..d94d07a
--- /dev/null
+++ b/src/loc/Lucrest
@@ -0,0 +1 @@
+Blessfrey takes place in Lucrest, Nickajack, a small town unknowingly situated over an abyssal dungeon.
diff --git a/src/loc/Scrapyard b/src/loc/Scrapyard
new file mode 100644
index 0000000..8eb7f1d
--- /dev/null
+++ b/src/loc/Scrapyard
@@ -0,0 +1 @@
+Dumping grounds for factory rejects.
diff --git a/src/loc/USA b/src/loc/USA
new file mode 100644
index 0000000..737c806
--- /dev/null
+++ b/src/loc/USA
@@ -0,0 +1 @@
+Helia's home country.
diff --git a/src/loc/mercur b/src/loc/mercur
new file mode 100644
index 0000000..bd63b38
--- /dev/null
+++ b/src/loc/mercur
@@ -0,0 +1 @@
+All books are always 100% off after you sign up for a library card! Occasionally visited by Mookerjee.
diff --git a/src/loc/thunderspy arcade b/src/loc/thunderspy arcade
new file mode 100644
index 0000000..3525df3
--- /dev/null
+++ b/src/loc/thunderspy arcade
@@ -0,0 +1 @@
+Obviously you need 10 minigames inside your game, or you aren't scoping properly.
diff --git a/src/verses-memorize b/src/verses-memorize
new file mode 100644
index 0000000..894f173
--- /dev/null
+++ b/src/verses-memorize
@@ -0,0 +1,45 @@
+So God created man in his own image, in the image of God he created him; male and female he created them. ~ Genesis 1:27
+God is our refuge and strength, a very present help in trouble. ~ Psalm 46:1
+Be still, and know that I am God. ~ Psalm 46:10
+Your word is a lamp to my feet and a light to my path. ~ Psalm 119:105
+I praise you, for I am fearfully and wonderfully made. Wonderful are your works; my soul knows it very well. ~ Psalm 139:14
+Trust in the Lord with all your heart, and do not lean on your own understanding. In all your ways acknowledge him, and he will make straight your paths. ~ Proverbs 3:5-6
+One gives freely, yet grows all the richer; another withholds what he should give, and only suffers want. ~ Proverbs 11:24
+Death and life are in the power of the tongue, and those who love it will eat its fruits. ~ Proverbs 18:21
+Iron sharpens iron, and one man sharpens another. ~ Proverbs 27:17
+For I know the plans I have for you, declares the Lord, plans for welfare[a] and not for evil, to give you a future and a hope. ~ Jeremiah 29:11
+“Do not lay up for yourselves treasures on earth, where moth and rust destroy and where thieves break in and steal, but lay up for yourselves treasures in heaven, where neither moth nor rust destroys and where thieves do not break in and steal. For where your treasure is, there your heart will be also. ~ Matthew 6:19-21
+And which of you by being anxious can add a single hour to his span of life? ~ Matthew 6:27
+But seek first the kingdom of God and his righteousness, and all these things will be added to you. ~ Matthew 6:33
+Therefore do not be anxious about tomorrow, for tomorrow will be anxious for itself. Sufficient for the day is its own trouble. ~ Matthew 6:34
+Come to me, all who labor and are heavy laden, and I will give you rest. Take my yoke upon you, and learn from me, for I am gentle and lowly in heart, and you will find rest for your souls. For my yoke is easy, and my burden is light.” ~ Matthew 11:28-30
+I tell you, on the day of judgment people will give account for every careless word they speak, for by your words you will be justified, and by your words you will be condemned. ~ Matthew 12:36-37
+Go therefore and make disciples of all nations, baptizing them in the name of the Father and of the Son and of the Holy Spirit, teaching them to observe all that I have commanded you. And behold, I am with you always, to the end of the age. ~ Matthew 28:19-20
+For what does it profit a man to gain the whole world and forfeit his soul? ~ Mark 8:36
+In the beginning was the Word, and the Word was with God, and the Word was God. ~ John 1:1
+For God so loved the world,[a] that he gave his only Son, that whoever believes in him should not perish but have eternal life. ~ John 3:16
+For God did not send his Son into the world to condemn the world, but in order that the world might be saved through him. ~ John 3:17
+Jesus said to him, “I am the way, and the truth, and the life. No one comes to the Father except through me. ~ John 14:6
+For all have sinned and fall short of the glory of God ~ Romans 3:23
+For the wages of sin is death, but the free gift of God is eternal life in Christ Jesus our Lord. ~ Romans 6:23
+And we know that for those who love God all things work together for good,[a] for those who are called according to his purpose. ~ Romans 8:28
+Likewise the Spirit helps us in our weakness. For we do not know what to pray for as we ought, but the Spirit himself intercedes for us with groanings too deep for words. ~ Romans 8:26
+Because, if you confess with your mouth that Jesus is Lord and believe in your heart that God raised him from the dead, you will be saved. For with the heart one believes and is justified, and with the mouth one confesses and is saved. ~ Romans 10:9-10
+No temptation has overtaken you that is not common to man. God is faithful, and he will not let you be tempted beyond your ability, but with the temptation he will also provide the way of escape, that you may be able to endure it. ~ 1 Corinthians 10:13
+Now you are the body of Christ and individually members of it. ~ 1 Corinthians 12:27
+Love is patient and kind; love does not envy or boast; it is not arrogant or rude. It does not insist on its own way; it is not irritable or resentful; it does not rejoice at wrongdoing, but rejoices with the truth. Love bears all things, believes all things, hopes all things, endures all things. ~ 1 Corinthians 13:4-7
+Therefore, if anyone is in Christ, he is a new creation.[a] The old has passed away; behold, the new has come. ~ 2 Corinthians 5:17
+But the fruit of the Spirit is love, joy, peace, patience, kindness, goodness, faithfulness, 23 gentleness, self-control; against such things there is no law. ~ Galatians 5:22-23
+For by grace you have been saved through faith. And this is not your own doing; it is the gift of God, not a result of works, so that no one may boast. ~ Ephesians 2:8-9
+Let no corrupting talk come out of your mouths, but only such as is good for building up, as fits the occasion, that it may give grace to those who hear. ~ Ephesians 4:29
+And I am sure of this, that he who began a good work in you will bring it to completion at the day of Jesus Christ. ~ Philippians 1:6
+Do not be anxious about anything, but in everything by prayer and supplication with thanksgiving let your requests be made known to God. And the peace of God, which surpasses all understanding, will guard your hearts and your minds in Christ Jesus. ~ Philippians 4:6-7
+I can do all things through him who strengthens me. ~ Philippians 4:13
+Do not despise prophecies, 21 but test everything; hold fast what is good. 22 Abstain from every form of evil. ~ 1 Thessalonians 5:20-21
+Now faith is the assurance of things hoped for, the conviction of things not seen. ~ Hebrews 11:1
+Jesus Christ is the same yesterday and today and forever. ~ Hebrews 13:8
+Count it all joy, my brothers, when you meet trials of various kinds, for you know that the testing of your faith produces steadfastness. And let steadfastness have its full effect, that you may be perfect and complete, lacking in nothing. ~ James 1:2-4
+So whoever knows the right thing to do and fails to do it, for him it is sin. ~ James 4:17
+But in your hearts honor Christ the Lord as holy, always being prepared to make a defense to anyone who asks you for a reason for the hope that is in you; yet do it with gentleness and respect ~ 1 Peter 3:15
+Beloved, do not believe every spirit, but test the spirits to see whether they are from God, for many false prophets have gone out into the world. ~ 1 John 4:1
+There is no fear in love, but perfect love casts out fear. For fear has to do with punishment, and whoever fears has not been perfected in love. ~ 1 John 4:18
diff --git a/src/verses-share b/src/verses-share
new file mode 100644
index 0000000..71cd285
--- /dev/null
+++ b/src/verses-share
@@ -0,0 +1 @@
+One gives freely, yet grows all the richer; another withholds what he should give, and only suffers want. ~ Proverbs 11:24
diff --git a/src/views/bf-gdd.tpl b/src/views/bf-gdd.tpl
index 67bd450..c5bc880 100644
--- a/src/views/bf-gdd.tpl
+++ b/src/views/bf-gdd.tpl
@@ -5,7 +5,7 @@
The vision for Blessfrey
- % for i in ["achievements","cast","controls","credits","highlight","ID","inspect menu", "inventory","item","job","keyword","mechanics","Mercur","milestones","pathfinding","proxemics","setting","skill","story","style guide","terms","vibe","website"]:
+ % for i in ["achievements","cast","controls","credits","dialogue","highlight","ID","inspect menu", "inventory","item","job","keyword","mechanics","Mercur","milestones","pathfinding","proxemics","setting","skill","story","style guide","terms","vibe","website"]:
- {{random.choice(['.','•','☆','★'])}} {{i}}
% end
diff --git a/src/views/page-setting.tpl b/src/views/page-setting.tpl
new file mode 100644
index 0000000..840ade3
--- /dev/null
+++ b/src/views/page-setting.tpl
@@ -0,0 +1,6 @@
+% rebase('frame.tpl')
+% import random
+
diff --git a/src/views/setting.tpl b/src/views/setting.tpl
new file mode 100644
index 0000000..232e271
--- /dev/null
+++ b/src/views/setting.tpl
@@ -0,0 +1,11 @@
+% import random
+% rebase('frame.tpl')
+
+
+
Blessfrey takes place in Lucrest, Nickajack, a small town unknowingly situated over an abyssal dungeon.
+
+
+ % for i in ["arboretum","black lake","buffer","club 302","go long sporting goods","lucrest","lusk apothecary","mayor's mansion","mercur library","merry-go-round","nickajack","questionmart","scrapyard","sixth view baptist","thunderspy arcade","USA"]:
+ - {{random.choice(['.','•','☆','★'])}} {{i}}
+ % end
+