Skip to content

Commit

Permalink
Fixing build of ui forms.
Browse files Browse the repository at this point in the history
  • Loading branch information
Neloreck committed Sep 5, 2023
1 parent d1fe9c7 commit 2dc914f
Showing 1 changed file with 12 additions and 14 deletions.
26 changes: 12 additions & 14 deletions src/engine/forms/actor_menu.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
import { JSXNode, JSXXML } from "jsx-xml";

import { captions } from "@/engine/lib/constants/captions";

/**
* Actor menu form generation.
*/
Expand Down Expand Up @@ -93,22 +91,22 @@ export function create(): JSXNode {

<quick_slot1_text x="355" y="446" width="18" height="13">
<text align="c" font="letterica16">
{captions.quick_use_str_1}
quick_use_str_1
</text>
</quick_slot1_text>
<quick_slot2_text x="436" y="446" width="18" height="13">
<text align="c" font="letterica16">
{captions.quick_use_str_2}
quick_use_str_2
</text>
</quick_slot2_text>
<quick_slot3_text x="517" y="446" width="18" height="13">
<text align="c" font="letterica16">
{captions.quick_use_str_3}
quick_use_str_3
</text>
</quick_slot3_text>
<quick_slot4_text x="598" y="446" width="18" height="13">
<text align="c" font="letterica16">
{captions.quick_use_str_4}
quick_use_str_4
</text>
</quick_slot4_text>

Expand Down Expand Up @@ -155,7 +153,7 @@ export function create(): JSXNode {

<actor_weight_caption x="810" y="736" width="71" height="16">
<text align="r" font="letterica16" color="ui_3">
{captions.ui_total_weight}
ui_total_weight
</text>
</actor_weight_caption>
<actor_weight x="881" y="736" width="44" height="16">
Expand All @@ -167,7 +165,7 @@ export function create(): JSXNode {

<partner_weight_caption x="90" y="738" width="85" height="14">
<text align="r" font="letterica16" color="ui_3">
{captions.ui_total_weight}
ui_total_weight
</text>
</partner_weight_caption>
<partner_weight x="300" y="738" width="45" height="14">
Expand All @@ -178,7 +176,7 @@ export function create(): JSXNode {
<texture>ui_inGame2_center_trade_devider</texture>
<trade_caption x="147" y="74" width="60" height="16">
<text align="l" font="letterica16" color="ui_3">
{captions.ui_total_price}
ui_total_price
</text>
</trade_caption>
<trade_price x="207" y="74" width="16" height="16">
Expand All @@ -193,7 +191,7 @@ export function create(): JSXNode {
<texture>ui_inGame2_center_trade_devider</texture>
<trade_caption x="147" y="74" width="60" height="16">
<text align="r" font="letterica16" color="ui_3">
{captions.ui_total_price}
ui_total_price
</text>
</trade_caption>
<trade_price x="207" y="74" width="50" height="16">
Expand Down Expand Up @@ -429,7 +427,7 @@ export function create(): JSXNode {
<window_name>trade_buy_button</window_name>
<texture>ui_inGame2_inventory_button</texture>
<text font="graffiti22" align="c">
{captions.ui_st_buy}
ui_st_buy
</text>
<text_color>
<e color="ui_6" />
Expand All @@ -443,7 +441,7 @@ export function create(): JSXNode {
<window_name>trade_sell_button</window_name>
<texture>ui_inGame2_inventory_button</texture>
<text font="graffiti22" align="c">
{captions.ui_st_sell}
ui_st_sell
</text>
<text_color>
<e color="ui_6" />
Expand All @@ -457,7 +455,7 @@ export function create(): JSXNode {
<window_name>takeall_button</window_name>
<texture>ui_inGame2_big_inventory_button</texture>
<text font="graffiti22" align="c">
{captions.ui_st_take_all}
ui_st_take_all
</text>
<text_color>
<e color="ui_6" />
Expand All @@ -471,7 +469,7 @@ export function create(): JSXNode {
<window_name>exit_button</window_name>
<texture>ui_inGame2_big_inventory_button</texture>
<text font="graffiti22" align="c">
{captions.ui_inv_exit}
ui_inv_exit
</text>
<text_color>
<e color="ui_6" />
Expand Down

0 comments on commit 2dc914f

Please sign in to comment.