Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

💄 👻 add skeleton for soul-event text using text_displays #134

Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@ scoreboard players set #soul_0.touched soul.flag 1
# Apply yellow-highlighted variant
function animated_java:act_button/variants/selected/apply

# TODO(82): this could be a lot cleaner visually
say * You called for help...
# Summon call for help display
function entity:soul/soul_0/call_for_help_display/summon

# TODO(36): transparent fade-out of `act_button` model?

execute as @e[tag=soul_0,tag=soul-executor] run function entity:soul/soul_0/executor/initialize/touch
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
summon block_display -2.5 49.5 -34.0 \
{Tags:["omega-flowey-remastered","soul","soul_0","call-for-help-display"], \
Passengers:[ \
{id:"minecraft:text_display", \
Tags:["omega-flowey-remastered","soul","soul_0","call-for-help-display"], \
text:'{"text":"* You Called For Help. . .","color":"#FFFFFF","font":"minecraft:uniform"}', \
text_opacity:255, \
background:-1, \
alignment:"center", \
line_width:210, \
default_background:false, \
Rotation:[-180f,0f], \
transformation:[30.0150f,0.0000f,0.0000f,0.0000f, \
0.0000f,30.0700f,0.0000f,0.4900f, \
0.0000f,0.0000f,30.0100f,-0.0100f, \
0.0000f,0.0000f,0.0000f,1.0000f] \
}, \
{id:"minecraft:text_display", \
Tags:["omega-flowey-remastered","soul","soul_0","call-for-help-display"], \
text:'{"text":"* You Called For Help. . .","color":"#FFFFFF","font":"minecraft:uniform"}', \
text_opacity:255, \
background:-16777216, \
alignment:"center", \
line_width:210, \
default_background:false, \
Rotation:[-180f,0f], \
transformation:[30.0000f,0.0000f,0.0000f,0.0000f, \
0.0000f,30.0000f,0.0000f,0.5000f, \
0.0000f,0.0000f,30.0000f,0.0000f, \
0.0000f,0.0000f,0.0000f,1.0000f] \
} \
] \
}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
kill @s
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
execute if entity @s[tag=act-button] run function entity:soul/soul_0/act_button/terminate
execute if entity @s[tag=bandaid] run function entity:soul/soul_0/bandaid/terminate
execute if entity @s[tag=call-for-help-display] run function entity:soul/soul_0/call_for_help_display/terminate
execute if entity @s[tag=soul-bullet] run function entity:soul/soul_0/bullet/terminate
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ scoreboard players set #soul_5.touched soul.flag 1
# Apply yellow-highlighted variant
function animated_java:act_button/variants/selected/apply

# TODO(82): this could be a lot cleaner visually
# TODO(136): Generalize code from Soul Event 0 to be applied here
say * You called for help...
# TODO(36): transparent fade-out of `act_button` model?

Expand Down