inspect; item; pathfinding; terms

This commit is contained in:
chimchooree
2022-11-11 00:05:32 -06:00
parent 345662dd70
commit 7b0f7b58c4
5 changed files with 68 additions and 4 deletions
+23 -2
View File
@@ -1,4 +1,4 @@
<p>Items - drops, drop table, floor items, base items, inventory items, move to pick up item, shift-move-to-pick-up-item, item spawner, item in container, item inspect, item use, dropping from inv <br></p>
<p>Items are objects that may be picked up, purchased, used, equipped, dropped, or sold. They include currency, quest items, equipment, consumables, readables, upgrades, keys, and trinkets. <br></p>
<br>
<h2>four representations </h2>
<p>An item changes its form depending on its context. <br></p>
@@ -22,4 +22,25 @@
<br>
<p>If the item is within the player's <a href="/blessfrey-gdd/proxemics">intimate distance</a>, the character will be prompted to pick up the item.
<br>
<p>Otherwise, pathfinding begins. <br></p>
<p>Otherwise, <a href="/blessfrey-gdd/pathfinding">pathfinding</a> begins towards the floor item. Upon arrival, it calls item.pick_up().pick_up(). <br></p>
<br>
<h2>challenges/known issues </h2>
<p>I intend for the player to be able to pick up an item through the inspect menu without changing his current target. For now, InspectMenu.gd/set_subject(subject) sets the player target. MoveToDestination.gd/handle_moved_result tracks the user's current target using character/find_distance_to_target(). Instead, it would need to receive the relevant subject from the inspect menu or skill or attack target from the character and pass it through character/find_distance_to(target). <br></p>
<br>
<h2>works for...</h2>
<ul>
<li>add to wallet✗ </li>
<li>bestow constant keyword effect✗ </li>
<li>buy, sell✗ </li>
<li>container, randomized loot, take out, put in, persist in container✗ </li>
<li>drop from inv✗ </li>
<li>drop from death drop table✗ </li>
<li>equip✗ </li>
<li>inspect inventory item, floor item✗ </li>
<li>pickup in range, out of range, target, inspect✓ </li>
<li>progress quest, open door✗ </li>
<li>read✗ </li>
<li>spawn from spawner✗ </li>
<li>use✗ </li>
</ul>