Mod naming rule and engine UI in engine mods
Mods are renamed by role (shell2d_base, menu_base, ui_base, live2d_base, editor_tools, cthangover_story, cthangover_murakami, cthangover_party) and every reference follows. Engine UI prefabs (dialog, answers, message, game menu, inventory, map, skills) and their panel entries moved out of the story mod into the subsystem mods; the card_novel and vn_starter_novel collections are removed.
This commit is contained in:
1 parent
eb9bf57385
commit
4fa8137071
3 files changed
+552
-2
No files matched your search
@@ -0,0 +1,133 @@
|
||||
[gd_scene format=3]
|
||||
|
||||
[ext_resource type="Script" path="res://mods/skills_base/src/SkillCardBehaviour.cs" id="1_script"]
|
||||
|
||||
[node name="SkillCard" type="Control" node_paths=PackedStringArray("bg", "accent", "art", "imgCard", "txtName", "txtGems", "badgeBox", "badgeLabel", "effectRow", "effectValue", "effectLabel")]
|
||||
custom_minimum_size = Vector2(160, 210)
|
||||
layout_mode = 3
|
||||
mouse_filter = 0
|
||||
mouse_default_cursor_shape = 2
|
||||
script = ExtResource("1_script")
|
||||
bg = NodePath("Bg")
|
||||
accent = NodePath("Accent")
|
||||
art = NodePath("Art")
|
||||
imgCard = NodePath("Art/ImgCard")
|
||||
txtName = NodePath("TxtName")
|
||||
txtGems = NodePath("Gems")
|
||||
badgeBox = NodePath("BadgeBox")
|
||||
badgeLabel = NodePath("BadgeBox/BadgeLabel")
|
||||
effectRow = NodePath("EffectRow")
|
||||
effectValue = NodePath("EffectRow/EffectValue")
|
||||
effectLabel = NodePath("EffectRow/EffectLabel")
|
||||
|
||||
[node name="Bg" type="Panel" parent="."]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
mouse_filter = 2
|
||||
|
||||
[node name="Accent" type="Panel" parent="."]
|
||||
layout_mode = 1
|
||||
anchors_preset = 10
|
||||
anchor_right = 1.0
|
||||
offset_bottom = 3.0
|
||||
grow_horizontal = 2
|
||||
mouse_filter = 2
|
||||
|
||||
[node name="Art" type="PanelContainer" parent="."]
|
||||
layout_mode = 1
|
||||
anchors_preset = -1
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 0.62
|
||||
offset_left = 8.0
|
||||
offset_top = 9.0
|
||||
offset_right = -8.0
|
||||
grow_horizontal = 2
|
||||
mouse_filter = 2
|
||||
|
||||
[node name="ImgCard" type="TextureRect" parent="Art"]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
mouse_filter = 2
|
||||
expand_mode = 1
|
||||
stretch_mode = 6
|
||||
|
||||
[node name="Gems" type="Label" parent="."]
|
||||
layout_mode = 1
|
||||
anchors_preset = -1
|
||||
anchor_left = 1.0
|
||||
anchor_right = 1.0
|
||||
offset_left = -64.0
|
||||
offset_top = 13.0
|
||||
offset_right = -6.0
|
||||
offset_bottom = 29.0
|
||||
grow_horizontal = 0
|
||||
mouse_filter = 2
|
||||
horizontal_alignment = 2
|
||||
|
||||
[node name="TxtName" type="Label" parent="."]
|
||||
layout_mode = 1
|
||||
anchors_preset = -1
|
||||
anchor_top = 0.62
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 0.8
|
||||
offset_left = 7.0
|
||||
offset_top = 4.0
|
||||
offset_right = -7.0
|
||||
grow_horizontal = 2
|
||||
mouse_filter = 2
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
autowrap_mode = 3
|
||||
|
||||
[node name="BadgeBox" type="PanelContainer" parent="."]
|
||||
layout_mode = 1
|
||||
anchors_preset = -1
|
||||
anchor_top = 1.0
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
offset_left = 7.0
|
||||
offset_top = -40.0
|
||||
offset_right = -7.0
|
||||
offset_bottom = -24.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 0
|
||||
mouse_filter = 2
|
||||
|
||||
[node name="BadgeLabel" type="Label" parent="BadgeBox"]
|
||||
layout_mode = 2
|
||||
mouse_filter = 2
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="EffectRow" type="HBoxContainer" parent="."]
|
||||
layout_mode = 1
|
||||
anchors_preset = -1
|
||||
anchor_top = 1.0
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
offset_left = 7.0
|
||||
offset_top = -21.0
|
||||
offset_right = -7.0
|
||||
offset_bottom = -4.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 0
|
||||
mouse_filter = 2
|
||||
theme_override_constants/separation = 4
|
||||
|
||||
[node name="EffectValue" type="Label" parent="EffectRow"]
|
||||
layout_mode = 2
|
||||
mouse_filter = 2
|
||||
|
||||
[node name="EffectLabel" type="Label" parent="EffectRow"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
mouse_filter = 2
|
||||
clip_text = true
|
||||
Reference in new issue
Block a user