diff --git a/ui/oscc.zip b/ui/oscc.zip deleted file mode 100644 index 1ffe213..0000000 Binary files a/ui/oscc.zip and /dev/null differ diff --git a/ui/oscc/manifest.json b/ui/oscc/manifest.json new file mode 100644 index 0000000..f2d8c7d --- /dev/null +++ b/ui/oscc/manifest.json @@ -0,0 +1,15 @@ +{ + "format_version":2, + "header":{ + "name":"oscc", + "description":"onscreen compass & clock", + "uuid":"EAA018ED-7F1F-460D-A863-012271560849", + "version":[0,0,2], + "min_engine_version":[1,16,100] + }, + "modules":[{ + "type":"resources", + "uuid":"BB3EE88C-7A19-4296-8FB5-EB6D5C027307", + "version":[0,0,2] + }] +} diff --git a/ui/oscc/pack_icon.png b/ui/oscc/pack_icon.png new file mode 100644 index 0000000..6d631ba Binary files /dev/null and b/ui/oscc/pack_icon.png differ diff --git a/ui/oscc/ui/hud_screen.json b/ui/oscc/ui/hud_screen.json new file mode 100644 index 0000000..baacd95 --- /dev/null +++ b/ui/oscc/ui/hud_screen.json @@ -0,0 +1,20 @@ +{ + "item":{"type":"custom","renderer":"inventory_item_renderer","size":[16,16]}, + "hud_content":{ + "modifications":[{ + "array_name":"controls","operation":"insert_front", + "value":[ + {"item":{ + "type":"stack_panel","anchor_from":"top_right","anchor_to":"top_right","orientation":"horizontal","size":[48,16], + "controls":[ + //https://lukaspah.github.io/item_aux_calculator/ + {"recover@hud.item":{"property_bag":{"#item_id_aux":42336256}}}, + {"compass@hud.item":{"property_bag":{"#item_id_aux":22609920}}}, + {"clock@hud.item":{"property_bag":{"#item_id_aux":22740992}}} + ], + "bindings":[{"binding_name":"#hud_visible","binding_name_override":"#visible","binding_type":"global"}] + }} + ] + }] + } +}