Merge branch 'master' of https://git.socklab.moe/chimchooree/blessfrey-bottle
commit
5b8b01678e
@ -0,0 +1,43 @@
|
||||
<p>A player is a Node that inherits from <a href="/blessfrey-gdd/docs/character">characters</a>. It is characterized by its possession of the UI, its use of the UserControl AI package, and exclusive abilities. It rests at res://character/Player/Player.gd. <br></p>
|
||||
<br>
|
||||
<h3>flow </h3>
|
||||
<p>At ready, it gives itself to the UI singleton, so UI.get_player() is available to every node. Maybe dumb, but it works for now. It also sets up all AI packages and the UI, then has the UI display the correct stats. <br></p>
|
||||
<br>Item Pickup: consider_pickup > (wait for user to press an inspect option) > id_pressed >
|
||||
<br>
|
||||
<h3>groups </h3>
|
||||
<p><ul>
|
||||
<li>• <b>can_highlight</b>: can target or hover mouse over entity for some information </li>
|
||||
<li>• <b>can_interact</b>: can become the subject of an inspection menu. </li>
|
||||
<li>• <b>can_skill_target</b>: can become the target of spells. </li>
|
||||
<li>• <b>can_target</b>: can be targetted. </li>
|
||||
</ul></p><br>
|
||||
<br>
|
||||
<h3>signals </h3>
|
||||
<p><ul>
|
||||
<li>• <b>-</b>: - </li>
|
||||
</ul><br>
|
||||
<br>
|
||||
<h3>variables </h3>
|
||||
<p><ul>
|
||||
<li>• <b>inspect_options</b>: Dictionary. the options available on this entity's <a href="/blessfrey-gdd/docs/inspect-menu">inspect menu</a>. </li>
|
||||
<li>• <b>applied_keywords</b>: Array[Objects]. all keywords currently active on this entity. </li>
|
||||
</ul><br></p>
|
||||
<br>
|
||||
<h3>methods </h3>
|
||||
<p>void _ready () <br></p>
|
||||
<p>adds groups and default examine options. <br></p>
|
||||
<br>
|
||||
<p>void examine () <br></p>
|
||||
<p>placeholder; prints display name. <br></p>
|
||||
<br>
|
||||
<p>void highlight () <br></p>
|
||||
<p>calls entry point on this entity's <a href="/blessfrey-gdd/docs/highlight">highlight node</a>. <br></p>
|
||||
<br>
|
||||
<p>void id_pressed (new_id) <br></p>
|
||||
<p>calls associated method from inspect_options. <br></p>
|
||||
<br>
|
||||
<p>void inspect () <br></p>
|
||||
<p>triggers <a href="/blessfrey-gdd/docs/ui">UI</a>'s inspect method. <br></p>
|
||||
<p>void unhighlight () <br></p>
|
||||
<p>triggers <a href="/blessfrey-gdd/docs/tangible-body">tangible entity's body</a>'s unhighlight method. <br></p>
|
||||
<br>
|
@ -0,0 +1,18 @@
|
||||
% rebase('frame.tpl')
|
||||
<div class="content-grid">
|
||||
<div class="overworld">
|
||||
<div class="neighborhood"> </div>
|
||||
<div class="school"> </div>
|
||||
<div class="shopping-center"> </div>
|
||||
<div class="lake"> </div>
|
||||
<div class="forest"> </div>
|
||||
<div class="cotton-farm"> </div>
|
||||
</div>
|
||||
|
||||
<div class="underworld">
|
||||
<div class="security-tunnels"> </div>
|
||||
<div class="shipping-receiving"> </div>
|
||||
<div class="scrapyard"> </div>
|
||||
<div class="magic-factory"> </div>
|
||||
</div>
|
||||
</div>
|
Loading…
Reference in New Issue