diff --git a/DuneRealmsGUI/build.gradle.kts b/DuneRealmsGUI/build.gradle.kts index 30a422ff..1e1f48bd 100644 --- a/DuneRealmsGUI/build.gradle.kts +++ b/DuneRealmsGUI/build.gradle.kts @@ -1,6 +1,6 @@ plugins { java } group = "com.dunerealms" -version = "1.0.0" +version = "1.0.1" repositories { mavenCentral(); maven("https://repo.papermc.io/repository/maven-public/"); maven("https://repo.opencollab.dev/main/") } dependencies { compileOnly("io.papermc.paper:paper-api:1.21.8-R0.1-SNAPSHOT") diff --git a/DuneRealmsGUI/src/main/java/com/dunerealms/gui/DragonController.java b/DuneRealmsGUI/src/main/java/com/dunerealms/gui/DragonController.java new file mode 100644 index 00000000..2598a4b5 --- /dev/null +++ b/DuneRealmsGUI/src/main/java/com/dunerealms/gui/DragonController.java @@ -0,0 +1,14 @@ +package com.dunerealms.gui; +import java.lang.reflect.Field; +/** Detach only the lobby's vanilla End fight, without killing entities or editing NBT. */ +final class DragonController { + record Detached(Object handle,Field field,Object previous){ + void restore() throws IllegalAccessException {if(field.get(handle)==null)field.set(handle,previous);} + } + static Detached detach(Object handle)throws ReflectiveOperationException { + for(Class type=handle.getClass();type!=null;type=type.getSuperclass())for(Field field:type.getDeclaredFields())if(field.getType().getSimpleName().equals("EndDragonFight")){ + field.setAccessible(true);Object previous=field.get(handle);field.set(handle,null);return new Detached(handle,field,previous); + } + throw new NoSuchFieldException("Lobby EndDragonFight controller"); + } +} diff --git a/DuneRealmsGUI/src/main/java/com/dunerealms/gui/DuneGUI.java b/DuneRealmsGUI/src/main/java/com/dunerealms/gui/DuneGUI.java index 69190d96..2d720191 100644 --- a/DuneRealmsGUI/src/main/java/com/dunerealms/gui/DuneGUI.java +++ b/DuneRealmsGUI/src/main/java/com/dunerealms/gui/DuneGUI.java @@ -28,6 +28,9 @@ public final class DuneGUI extends JavaPlugin implements Listener,CommandExecuto private final Map records=new HashMap<>(); private BossBar departure; private NamespacedKey registrar; + private PersonalSidebar sidebar; + private final Map detached=new HashMap<>(); + private final Set dragonWarnings=new HashSet<>(); static final int[] CENTRES={10,13,16,29,33}; static final String[] IDS={"atreides","harkonnen","corrino","ordos","fremen"}; private static final Set HOUSE_IDS=Set.of(IDS); @@ -39,32 +42,48 @@ public final class DuneGUI extends JavaPlugin implements Listener,CommandExecuto @Override public void onEnable(){ bridge=new HouseBridge(new File(getDataFolder().getParentFile(),"DuneEss/website-bridge.yml")); registrar=new NamespacedKey(this,"house_registrar"); - for(String command:List.of("house","mentat","drgui"))Objects.requireNonNull(getCommand(command)).setExecutor(this); + sidebar=new PersonalSidebar(this); + for(String command:List.of("house","mentat","drgui","drscoreboard"))Objects.requireNonNull(getCommand(command)).setExecutor(this); getServer().getPluginManager().registerEvents(this,this); departure=Bukkit.createBossBar("Spacing Guild · next Imperial departure",BarColor.YELLOW,BarStyle.SOLID); Bukkit.getScheduler().runTaskTimer(this,this::tick,20L,20L); Bukkit.getScheduler().runTaskLater(this,this::ensureRegistrar,40L); + Bukkit.getScheduler().runTaskTimer(this,()->{for(Player p:Bukkit.getOnlinePlayers())if(lobby(p)&&sidebar.enabled(p))refreshSidebar(p);},80L,600L); getLogger().info("House selector and Mentat screens enabled; central J.A.R.V.I.S. bridge; no Core/Lobby replacement."); } - @Override public void onDisable(){requests.clear();records.clear();GuiSession.clear();if(departure!=null)departure.removeAll();for(Player p:Bukkit.getOnlinePlayers())if(p.getOpenInventory().getTopInventory().getHolder() instanceof Screen)p.closeInventory();} + @Override public void onDisable(){requests.clear();records.clear();GuiSession.clear();if(sidebar!=null)sidebar.clear();for(var controller:detached.values())try{controller.restore();}catch(ReflectiveOperationException ignored){}detached.clear();if(departure!=null)departure.removeAll();for(Player p:Bukkit.getOnlinePlayers())if(p.getOpenInventory().getTopInventory().getHolder() instanceof Screen)p.closeInventory();} private boolean lobby(Player p){return p.getWorld().getName().equals("guild_lobby");} @Override public boolean onCommand(CommandSender sender,Command command,String label,String[] args){ if(!(sender instanceof Player p))return true;if(!lobby(p)){p.sendMessage("This service is available in the Spacing Guild lobby.");return true;} + if(command.getName().equals("drscoreboard")||args.length==1&&args[0].equalsIgnoreCase("scoreboard")){toggleSidebar(p);return true;} fetch(p,null,0,null,data->{if(command.getName().equals("mentat")&&selection(data)!=null)mentat(p,data);else select(p,data,null);});return true; } private void fetch(Player p,String house,int version,UUID requestId,Consumer callback){ UUID owner=p.getUniqueId();if(requests.containsKey(owner)){p.sendMessage("The House register is processing your request.");return;} - UUID operation=UUID.randomUUID();requests.put(owner,operation);p.closeInventory();p.sendMessage(Component.text(house==null?"Reading your House key…":"Confirming your House key…",NamedTextColor.GOLD)); + UUID operation=UUID.randomUUID();requests.put(owner,operation);p.closeInventory();p.sendMessage(Component.text("Jarvis executing matrix",NamedTextColor.GOLD)); Bukkit.getScheduler().runTaskAsynchronously(this,()->{ JsonObject result=null;String error=null; try{result=bridge.request(owner,house,version,requestId);}catch(Exception unavailable){error=unavailable instanceof java.io.IOException?unavailable.getMessage():"The House register is unavailable. Please retry.";} JsonObject received=result;String failure=error;if(!isEnabled())return; Bukkit.getScheduler().runTask(this,()->{if(!operation.equals(requests.get(owner)))return;requests.remove(owner);if(!p.isOnline()||!lobby(p))return; if(received==null){p.sendMessage(Component.text(failure,NamedTextColor.RED));return;} - records.put(owner,received);callback.accept(received); + records.put(owner,received);updateSidebar(p,received);callback.accept(received); }); }); } + private void refreshSidebar(Player p){ + UUID owner=p.getUniqueId();if(requests.containsKey(owner))return;UUID operation=UUID.randomUUID();requests.put(owner,operation); + Bukkit.getScheduler().runTaskAsynchronously(this,()->{JsonObject result=null;try{result=bridge.request(owner,null,0,null);}catch(Exception unavailable){}JsonObject received=result;if(!isEnabled())return; + Bukkit.getScheduler().runTask(this,()->{if(!operation.equals(requests.get(owner)))return;requests.remove(owner);if(!p.isOnline()||!lobby(p)||!sidebar.enabled(p))return; + if(received!=null){records.put(owner,received);updateSidebar(p,received);}else{records.remove(owner);sidebar.update(p,null,null);} + }); + }); + } + private void updateSidebar(Player p,JsonObject data){String house=selection(data);sidebar.update(p,data,house==null?null:houseName(data,house));} + private void toggleSidebar(Player p){sidebar.toggle(p);p.sendMessage(Component.text(sidebar.enabled(p)?"Personal scoreboard enabled.":"Personal scoreboard hidden.",NamedTextColor.GOLD));if(sidebar.enabled(p)){JsonObject data=records.get(p.getUniqueId());if(data!=null)updateSidebar(p,data);refreshSidebar(p);}} + @EventHandler public void scoreboardCommand(PlayerCommandPreprocessEvent e){String command=e.getMessage().trim();if(command.equalsIgnoreCase("/scoreboard")&&lobby(e.getPlayer())){e.setCancelled(true);toggleSidebar(e.getPlayer());}} + @EventHandler public void join(PlayerJoinEvent e){Bukkit.getScheduler().runTaskLater(this,()->{if(e.getPlayer().isOnline()&&lobby(e.getPlayer())&&sidebar.enabled(e.getPlayer()))refreshSidebar(e.getPlayer());},40L);} + @EventHandler public void world(PlayerChangedWorldEvent e){sidebar.hide(e.getPlayer());records.remove(e.getPlayer().getUniqueId());if(lobby(e.getPlayer())&&sidebar.enabled(e.getPlayer()))refreshSidebar(e.getPlayer());} static String selection(JsonObject data){if(!data.has("selection")||data.get("selection").isJsonNull())return null;String value=data.get("selection").getAsString();return HOUSE_IDS.contains(value)?value:null;} private String houseName(JsonObject data,String id){for(var entry:data.getAsJsonArray("choices")){var h=entry.getAsJsonObject();if(h.get("id").getAsString().equals(id))return h.get("name").getAsString();}throw new IllegalArgumentException("Unknown House");} private void select(Player p,JsonObject data,String picked){ @@ -74,6 +93,7 @@ public final class DuneGUI extends JavaPlugin implements Listener,CommandExecuto for(var entry:data.getAsJsonArray("choices")){var house=entry.getAsJsonObject();String id=house.get("id").getAsString();if(!HOUSE_IDS.contains(id))continue; choices.add(new BedrockForms.Choice(house.get("name").getAsString()+(id.equals(current)?" · Your House":""),"Review and confirm allegiance",()->confirmForm(p,data,id),"https://www.dunerealms.com/assets/seals/"+house.get("seal").getAsString())); } + choices.add(new BedrockForms.Choice(sidebar.enabled(p)?"Hide scoreboard":"Show scoreboard","Personal briefing display",()->{toggleSidebar(p);select(p,data,picked);})); BedrockForms.show(this,p,"Choose your House","Declare your allegiance. Review a House before confirming.",choices);return; } Screen screen=screen(p,"Choose your House",0xE300+(chosen==null?0:Arrays.asList(IDS).indexOf(chosen)+1)); @@ -82,6 +102,8 @@ public final class DuneGUI extends JavaPlugin implements Listener,CommandExecuto for(int row=i<3?-1:0;row<=1;row++)for(int col=-1;col<=1;col++){int slot=centre+row*9+col;screen.inventory.setItem(slot,item.clone());screen.actions.put(slot,()->select(p,data,id));} } button(screen,p,45,"Close","Return to the lobby",Material.ARROW,p::closeInventory); + button(screen,p,49,sidebar.enabled(p)?"Hide scoreboard":"Show scoreboard","Toggle your personal briefing",Material.LEVER,()->{toggleSidebar(p);select(p,data,chosen);}); + for(int slot:new int[]{48,50})screen.actions.put(slot,screen.actions.get(49)); if(chosen!=null)button(screen,p,53,"Confirm "+houseName(data,chosen),"Write your confirmed House key",Material.LIME_DYE,()->confirm(p,data,chosen)); screen.actions.put(46,screen.actions.get(45));if(chosen!=null)screen.actions.put(52,screen.actions.get(53)); p.openInventory(screen.inventory);expire(screen); @@ -94,17 +116,18 @@ public final class DuneGUI extends JavaPlugin implements Listener,CommandExecuto private void mentat(Player p,JsonObject data){ String house=selection(data);if(house==null){select(p,data,null);return;} JsonObject mentor=data.getAsJsonObject("mentat");String name=mentor.get("name").getAsString();int index=Arrays.asList(IDS).indexOf(house); - if(BedrockForms.isBedrock(p)){BedrockForms.show(this,p,"Your Mentat · "+name,houseName(data,house)+"\nYour House briefing is ready.",List.of(new BedrockForms.Choice("Open Mentat Report","Open your website mission journal",()->report(p),"https://www.dunerealms.com/assets/gui/mentat-"+house+"-v1.png"),new BedrockForms.Choice("Return to lobby","Continue your journey",p::closeInventory)));return;} + if(BedrockForms.isBedrock(p)){BedrockForms.show(this,p,"Your Mentat · "+name,houseName(data,house)+"\nYour House briefing is ready.",List.of(new BedrockForms.Choice("Open Mentat Report","Open your website mission journal",()->report(p),"https://www.dunerealms.com/assets/gui/mentat-"+house+"-v1.png"),new BedrockForms.Choice(sidebar.enabled(p)?"Hide scoreboard":"Show scoreboard","Personal briefing display",()->{toggleSidebar(p);mentat(p,data);}),new BedrockForms.Choice("Return to lobby","Continue your journey",p::closeInventory)));return;} Screen screen=screen(p,"Your Mentat · "+name,0xE310+index); screen.inventory.setItem(13,icon(p,name,houseName(data,house),"drgui_transparent",Material.PLAYER_HEAD)); button(screen,p,38,"Open Mentat Report","Personal level, Reputation and active quests",Material.WRITABLE_BOOK,()->report(p)); button(screen,p,42,"Return to lobby","Continue your journey",Material.COMPASS,p::closeInventory); button(screen,p,45,"Your House",houseName(data,house),Material.ARROW,()->select(p,data,house)); + button(screen,p,49,sidebar.enabled(p)?"Hide scoreboard":"Show scoreboard","Toggle your personal briefing",Material.LEVER,()->{toggleSidebar(p);mentat(p,data);});for(int slot:new int[]{48,50})screen.actions.put(slot,screen.actions.get(49)); for(int slot:new int[]{37,39})screen.actions.put(slot,screen.actions.get(38));for(int slot:new int[]{41,43})screen.actions.put(slot,screen.actions.get(42));screen.actions.put(46,screen.actions.get(45)); p.openInventory(screen.inventory);expire(screen); } private void report(Player p){p.closeInventory();p.sendMessage(Component.text("Open your Mentat Report →",NamedTextColor.GOLD).clickEvent(net.kyori.adventure.text.event.ClickEvent.openUrl("https://clans.dunerealms.com/#quests/quests")));} - private Screen screen(Player p,String title,int glyph){Screen s=new Screen(p);Component heading=p.hasResourcePack()?Component.text("\uE32F"+(char)glyph,NamedTextColor.WHITE).font(Key.key("dunerealms:house_selector")):Component.text(title,NamedTextColor.GOLD);s.inventory=Bukkit.createInventory(s,54,heading);return s;} + private Screen screen(Player p,String title,int glyph){Screen s=new Screen(p);Component heading=p.hasResourcePack()?Component.text(GuiArtwork.background(glyph),NamedTextColor.WHITE).font(Key.key("dunerealms:house_selector")):Component.text(title,NamedTextColor.GOLD);s.inventory=Bukkit.createInventory(s,54,heading);return s;} private ItemStack icon(Player p,String title,String description,String model,Material fallback){ItemStack item=new ItemStack(p.hasResourcePack()?Material.PAPER:fallback);var meta=item.getItemMeta();meta.displayName(Component.text(title,NamedTextColor.GOLD));meta.lore(List.of(Component.text(description,NamedTextColor.GRAY)));if(p.hasResourcePack())meta.setItemModel(new NamespacedKey("dunerealms",model));item.setItemMeta(meta);return item;} private void button(Screen s,Player p,int slot,String title,String description,Material material,Runnable action){s.inventory.setItem(slot,icon(p,title,description,"drgui_transparent",material));s.actions.put(slot,action);} private void expire(Screen screen){Bukkit.getScheduler().runTaskLater(this,screen.gate::expire,2400L);} @@ -115,7 +138,7 @@ public final class DuneGUI extends JavaPlugin implements Listener,CommandExecuto } @EventHandler public void drag(InventoryDragEvent e){if(e.getView().getTopInventory().getHolder() instanceof Screen)e.setCancelled(true);} @EventHandler public void close(InventoryCloseEvent e){if(e.getInventory().getHolder() instanceof Screen s)s.gate.expire();} - @EventHandler public void quit(PlayerQuitEvent e){requests.remove(e.getPlayer().getUniqueId());records.remove(e.getPlayer().getUniqueId());departure.removePlayer(e.getPlayer());} + @EventHandler public void quit(PlayerQuitEvent e){requests.remove(e.getPlayer().getUniqueId());records.remove(e.getPlayer().getUniqueId());sidebar.hide(e.getPlayer());departure.removePlayer(e.getPlayer());} private void ensureRegistrar(){World world=Bukkit.getWorld("guild_lobby");if(world==null)return;Location at=world.getSpawnLocation().clone().add(2,0,0);at.getChunk().load(); for(Entity entity:world.getEntities())if(entity.getPersistentDataContainer().has(registrar,PersistentDataType.BYTE))return; Villager npc=world.spawn(at,Villager.class);npc.setAI(false);npc.setInvulnerable(true);npc.setPersistent(true);npc.setSilent(true);npc.setCollidable(false);npc.setProfession(Villager.Profession.LIBRARIAN);npc.customName(Component.text("House Registrar · Choose your House",NamedTextColor.GOLD));npc.setCustomNameVisible(true);npc.getPersistentDataContainer().set(registrar,PersistentDataType.BYTE,(byte)1); @@ -123,7 +146,9 @@ public final class DuneGUI extends JavaPlugin implements Listener,CommandExecuto @EventHandler public void npc(PlayerInteractEntityEvent e){if(!e.getRightClicked().getPersistentDataContainer().has(registrar,PersistentDataType.BYTE))return;e.setCancelled(true);if(e.getHand()!=EquipmentSlot.HAND||!lobby(e.getPlayer()))return;fetch(e.getPlayer(),null,0,null,data->{if(selection(data)!=null)mentat(e.getPlayer(),data);else select(e.getPlayer(),data,null);});} private void tick(){ long remaining=DepartureWindow.remaining(Instant.now().getEpochSecond());departure.setTitle("Spacing Guild · Imperial departure window in "+String.format(Locale.ROOT,"%02d:%02d",remaining/60,remaining%60));departure.setProgress(remaining/900.0); - for(World world:Bukkit.getWorlds())if(world.getName().equals("guild_lobby")){var battle=world.getEnderDragonBattle();if(battle!=null&&battle.getBossBar()!=null){battle.getBossBar().setVisible(false);battle.getBossBar().removeAll();}} + for(World world:Bukkit.getWorlds())if(world.getName().equals("guild_lobby")){var battle=world.getEnderDragonBattle();if(battle!=null){if(battle.getBossBar()!=null){battle.getBossBar().setVisible(false);battle.getBossBar().removeAll();} + if(!detached.containsKey(world.getUID()))try{Object handle=world.getClass().getMethod("getHandle").invoke(world);detached.put(world.getUID(),DragonController.detach(handle));getLogger().info("Lobby dragon controller detached; native bossbar disabled.");}catch(ReflectiveOperationException|RuntimeException unsupported){if(dragonWarnings.add(world.getUID()))getLogger().warning("Lobby dragon controller could not be detached; native bossbar fallback active.");} + }} for(Player p:Bukkit.getOnlinePlayers())if(lobby(p)){if(!departure.getPlayers().contains(p))departure.addPlayer(p);}else departure.removePlayer(p); } } diff --git a/DuneRealmsGUI/src/main/java/com/dunerealms/gui/GuiArtwork.java b/DuneRealmsGUI/src/main/java/com/dunerealms/gui/GuiArtwork.java new file mode 100644 index 00000000..b564bf09 --- /dev/null +++ b/DuneRealmsGUI/src/main/java/com/dunerealms/gui/GuiArtwork.java @@ -0,0 +1,11 @@ +package com.dunerealms.gui; +/** Four by four bounded bitmap glyphs, each <=256px, compose one crisp screen. */ +final class GuiArtwork { + static String background(int oldGlyph){ + int index=oldGlyph>=0xE310?oldGlyph-0xE310+6:oldGlyph-0xE300; + if(index<0||index>10)throw new IllegalArgumentException("Unknown GUI screen"); + StringBuilder result=new StringBuilder("\uE32F"); + for(int row=0;row<4;row++){for(int column=0;column<4;column++)result.append((char)(0xE400+index*16+row*4+column)).append('\uE32E');result.append('\uE32D');} + return result.toString(); + } +} diff --git a/DuneRealmsGUI/src/main/java/com/dunerealms/gui/PersonalSidebar.java b/DuneRealmsGUI/src/main/java/com/dunerealms/gui/PersonalSidebar.java new file mode 100644 index 00000000..637125f7 --- /dev/null +++ b/DuneRealmsGUI/src/main/java/com/dunerealms/gui/PersonalSidebar.java @@ -0,0 +1,45 @@ +package com.dunerealms.gui; +import com.google.gson.*; +import java.util.*; +import java.math.BigDecimal; +import org.bukkit.*; +import org.bukkit.entity.Player; +import org.bukkit.persistence.PersistentDataType; +import org.bukkit.scoreboard.*; +import org.bukkit.plugin.java.JavaPlugin; +import net.kyori.adventure.text.Component; +import net.kyori.adventure.text.format.NamedTextColor; +/** Per-player board; never writes a personal balance onto the shared main board. */ +final class PersonalSidebar { + private record View(Scoreboard before,Scoreboard board,Set lines){} + private final Map views=new HashMap<>(); + private final NamespacedKey hidden; + PersonalSidebar(JavaPlugin plugin){hidden=new NamespacedKey(plugin,"scoreboard_hidden");} + boolean enabled(Player p){return !p.getPersistentDataContainer().has(hidden,PersistentDataType.BYTE);} + void toggle(Player p){if(enabled(p)){p.getPersistentDataContainer().set(hidden,PersistentDataType.BYTE,(byte)1);hide(p);}else p.getPersistentDataContainer().remove(hidden);} + void hide(Player p){View view=views.remove(p.getUniqueId());if(view!=null&&p.getScoreboard()==view.board())p.setScoreboard(view.before());} + void clear(){for(Player p:Bukkit.getOnlinePlayers())hide(p);} + void update(Player p,JsonObject data,String house){ + if(!enabled(p)){hide(p);return;} + View view=views.get(p.getUniqueId()); + if(view!=null&&p.getScoreboard()!=view.board()){views.remove(p.getUniqueId());return;} + if(view==null){Scoreboard old=p.getScoreboard();if(old.getObjective(DisplaySlot.SIDEBAR)!=null)return; + Scoreboard board=Objects.requireNonNull(Bukkit.getScoreboardManager()).getNewScoreboard(); + // Preserve current name-tag and collision teams while this private board is shown. + for(Team original:old.getTeams()){Team copy=board.registerNewTeam(original.getName());copy.prefix(original.prefix());copy.suffix(original.suffix());copy.setColor(original.getColor());copy.setAllowFriendlyFire(original.allowFriendlyFire());copy.setCanSeeFriendlyInvisibles(original.canSeeFriendlyInvisibles());for(Team.Option option:Team.Option.values())copy.setOption(option,original.getOption(option));for(String entry:original.getEntries())copy.addEntry(entry);} + var objective=board.registerNewObjective("dr_personal",Criteria.DUMMY,Component.text("DuneRealms",NamedTextColor.GOLD));objective.setDisplaySlot(DisplaySlot.SIDEBAR);objective.numberFormat(io.papermc.paper.scoreboard.numbers.NumberFormat.blank()); + view=new View(old,board,new HashSet<>());views.put(p.getUniqueId(),view);p.setScoreboard(board); + } + JsonObject briefing=object(data,"briefing"),personal=object(briefing,"personal"),reputation=object(briefing,"reputation"),bank=object(briefing,"bank"); + List lines=List.of("§6Personal level: §f"+value(personal,"level"),"§7XP: §f"+xp(personal),"§6Reputation level: §f"+value(reputation,"level"),"§7Rep XP: §f"+xp(reputation)," ","§6Bank: §f"+amount(bank),"§6House: §f"+clean(house),"§6Clan: §f"+organisation(briefing,"clans"),"§6Company: §f"+organisation(briefing,"companies")," ","§7Quest: §f"+clean(personal==null?null:string(personal,"quest")),"§8/scoreboard · show / hide"); + for(String old:view.lines())view.board().resetScores(old);view.lines().clear();Objective objective=view.board().getObjective("dr_personal"); + for(int i=0;i1?" (+"+(names.size()-1)+")":"");} + private static String clean(String value){if(value==null||value.isBlank())return "—";String safe=ChatColor.stripColor(value).replaceAll("[\\p{Cntrl}]","");return safe.length()>28?safe.substring(0,27)+"…":safe;} +} diff --git a/DuneRealmsGUI/src/main/resources/plugin.yml b/DuneRealmsGUI/src/main/resources/plugin.yml index 39a7f278..76ca6730 100644 --- a/DuneRealmsGUI/src/main/resources/plugin.yml +++ b/DuneRealmsGUI/src/main/resources/plugin.yml @@ -1,9 +1,11 @@ name: DunerealmsGUI main: com.dunerealms.gui.DuneGUI -version: 1.0.0 +version: 1.0.1 api-version: '1.21.8' softdepend: [DuneLobby, DuneCore, DuneEss, DuneNPC, floodgate, ViaVersion] commands: + drscoreboard: + description: Toggle your private Personal XP, Reputation, bank and organisation scoreboard house: description: Open the five-House allegiance selector aliases: [houses] diff --git a/DuneRealmsGUI/src/test/java/com/dunerealms/gui/DragonControllerTest.java b/DuneRealmsGUI/src/test/java/com/dunerealms/gui/DragonControllerTest.java new file mode 100644 index 00000000..5fc484d5 --- /dev/null +++ b/DuneRealmsGUI/src/test/java/com/dunerealms/gui/DragonControllerTest.java @@ -0,0 +1,11 @@ +package com.dunerealms.gui; +import org.junit.jupiter.api.Test; +import static org.junit.jupiter.api.Assertions.*; +class DragonControllerTest { + private static class EndDragonFight {} + private static class WorldHandle {private EndDragonFight dragonFight=new EndDragonFight();private final String unrelated="preserved";} + @Test void detachOnlyControllerAndRestoreWithoutOverwritingNewerState()throws Exception{ + WorldHandle world=new WorldHandle();Object original=world.dragonFight;var change=DragonController.detach(world);assertNull(world.dragonFight);assertEquals("preserved",world.unrelated);change.restore();assertSame(original,world.dragonFight); + var second=DragonController.detach(world);world.dragonFight=new EndDragonFight();Object newer=world.dragonFight;second.restore();assertSame(newer,world.dragonFight); + } +} diff --git a/DuneResourcePack/assets/dunerealms/font/house_selector.json b/DuneResourcePack/assets/dunerealms/font/house_selector.json index b01709c2..8d8cae67 100644 --- a/DuneResourcePack/assets/dunerealms/font/house_selector.json +++ b/DuneResourcePack/assets/dunerealms/font/house_selector.json @@ -3,106 +3,1593 @@ { "type": "space", "advances": { - "\ue32f": -8 + "\ue32f": -8, + "\ue32e": -1, + "\ue32d": -176 } }, { "type": "bitmap", - "file": "dunerealms:gui/house_selector/select-0.png", + "file": "dunerealms:gui/house_selector/tiles/screen-0-0-0.png", "ascent": 13, - "height": 222, + "height": 56, "chars": [ - "\ue300" + "\ue400" ] }, { "type": "bitmap", - "file": "dunerealms:gui/house_selector/select-1.png", + "file": "dunerealms:gui/house_selector/tiles/screen-0-0-1.png", "ascent": 13, - "height": 222, + "height": 56, "chars": [ - "\ue301" + "\ue401" ] }, { "type": "bitmap", - "file": "dunerealms:gui/house_selector/select-2.png", + "file": "dunerealms:gui/house_selector/tiles/screen-0-0-2.png", "ascent": 13, - "height": 222, + "height": 56, "chars": [ - "\ue302" + "\ue402" ] }, { "type": "bitmap", - "file": "dunerealms:gui/house_selector/select-3.png", + "file": "dunerealms:gui/house_selector/tiles/screen-0-0-3.png", "ascent": 13, - "height": 222, + "height": 56, "chars": [ - "\ue303" + "\ue403" ] }, { "type": "bitmap", - "file": "dunerealms:gui/house_selector/select-4.png", - "ascent": 13, - "height": 222, + "file": "dunerealms:gui/house_selector/tiles/screen-0-1-0.png", + "ascent": -43, + "height": 56, "chars": [ - "\ue304" + "\ue404" ] }, { "type": "bitmap", - "file": "dunerealms:gui/house_selector/select-5.png", - "ascent": 13, - "height": 222, + "file": "dunerealms:gui/house_selector/tiles/screen-0-1-1.png", + "ascent": -43, + "height": 56, "chars": [ - "\ue305" + "\ue405" ] }, { "type": "bitmap", - "file": "dunerealms:gui/house_selector/mentat-atreides.png", - "ascent": 13, - "height": 222, + "file": "dunerealms:gui/house_selector/tiles/screen-0-1-2.png", + "ascent": -43, + "height": 56, "chars": [ - "\ue310" + "\ue406" ] }, { "type": "bitmap", - "file": "dunerealms:gui/house_selector/mentat-harkonnen.png", - "ascent": 13, - "height": 222, + "file": "dunerealms:gui/house_selector/tiles/screen-0-1-3.png", + "ascent": -43, + "height": 56, "chars": [ - "\ue311" + "\ue407" ] }, { "type": "bitmap", - "file": "dunerealms:gui/house_selector/mentat-corrino.png", - "ascent": 13, - "height": 222, + "file": "dunerealms:gui/house_selector/tiles/screen-0-2-0.png", + "ascent": -99, + "height": 56, "chars": [ - "\ue312" + "\ue408" ] }, { "type": "bitmap", - "file": "dunerealms:gui/house_selector/mentat-ordos.png", - "ascent": 13, - "height": 222, + "file": "dunerealms:gui/house_selector/tiles/screen-0-2-1.png", + "ascent": -99, + "height": 56, "chars": [ - "\ue313" + "\ue409" ] }, { "type": "bitmap", - "file": "dunerealms:gui/house_selector/mentat-fremen.png", - "ascent": 13, - "height": 222, + "file": "dunerealms:gui/house_selector/tiles/screen-0-2-2.png", + "ascent": -99, + "height": 56, "chars": [ - "\ue314" + "\ue40a" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-0-2-3.png", + "ascent": -99, + "height": 56, + "chars": [ + "\ue40b" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-0-3-0.png", + "ascent": -155, + "height": 56, + "chars": [ + "\ue40c" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-0-3-1.png", + "ascent": -155, + "height": 56, + "chars": [ + "\ue40d" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-0-3-2.png", + "ascent": -155, + "height": 56, + "chars": [ + "\ue40e" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-0-3-3.png", + "ascent": -155, + "height": 56, + "chars": [ + "\ue40f" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-1-0-0.png", + "ascent": 13, + "height": 56, + "chars": [ + "\ue410" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-1-0-1.png", + "ascent": 13, + "height": 56, + "chars": [ + "\ue411" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-1-0-2.png", + "ascent": 13, + "height": 56, + "chars": [ + "\ue412" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-1-0-3.png", + "ascent": 13, + "height": 56, + "chars": [ + "\ue413" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-1-1-0.png", + "ascent": -43, + "height": 56, + "chars": [ + "\ue414" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-1-1-1.png", + "ascent": -43, + "height": 56, + "chars": [ + "\ue415" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-1-1-2.png", + "ascent": -43, + "height": 56, + "chars": [ + "\ue416" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-1-1-3.png", + "ascent": -43, + "height": 56, + "chars": [ + "\ue417" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-1-2-0.png", + "ascent": -99, + "height": 56, + "chars": [ + "\ue418" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-1-2-1.png", + "ascent": -99, + "height": 56, + "chars": [ + "\ue419" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-1-2-2.png", + "ascent": -99, + "height": 56, + "chars": [ + "\ue41a" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-1-2-3.png", + "ascent": -99, + "height": 56, + "chars": [ + "\ue41b" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-1-3-0.png", + "ascent": -155, + "height": 56, + "chars": [ + "\ue41c" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-1-3-1.png", + "ascent": -155, + "height": 56, + "chars": [ + "\ue41d" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-1-3-2.png", + "ascent": -155, + "height": 56, + "chars": [ + "\ue41e" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-1-3-3.png", + "ascent": -155, + "height": 56, + "chars": [ + "\ue41f" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-2-0-0.png", + "ascent": 13, + "height": 56, + "chars": [ + "\ue420" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-2-0-1.png", + "ascent": 13, + "height": 56, + "chars": [ + "\ue421" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-2-0-2.png", + "ascent": 13, + "height": 56, + "chars": [ + "\ue422" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-2-0-3.png", + "ascent": 13, + "height": 56, + "chars": [ + "\ue423" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-2-1-0.png", + "ascent": -43, + "height": 56, + "chars": [ + "\ue424" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-2-1-1.png", + "ascent": -43, + "height": 56, + "chars": [ + "\ue425" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-2-1-2.png", + "ascent": -43, + "height": 56, + "chars": [ + "\ue426" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-2-1-3.png", + "ascent": -43, + "height": 56, + "chars": [ + "\ue427" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-2-2-0.png", + "ascent": -99, + "height": 56, + "chars": [ + "\ue428" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-2-2-1.png", + "ascent": -99, + "height": 56, + "chars": [ + "\ue429" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-2-2-2.png", + "ascent": -99, + "height": 56, + "chars": [ + "\ue42a" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-2-2-3.png", + "ascent": -99, + "height": 56, + "chars": [ + "\ue42b" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-2-3-0.png", + "ascent": -155, + "height": 56, + "chars": [ + "\ue42c" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-2-3-1.png", + "ascent": -155, + "height": 56, + "chars": [ + "\ue42d" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-2-3-2.png", + "ascent": -155, + "height": 56, + "chars": [ + "\ue42e" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-2-3-3.png", + "ascent": -155, + "height": 56, + "chars": [ + "\ue42f" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-3-0-0.png", + "ascent": 13, + "height": 56, + "chars": [ + "\ue430" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-3-0-1.png", + "ascent": 13, + "height": 56, + "chars": [ + "\ue431" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-3-0-2.png", + "ascent": 13, + "height": 56, + "chars": [ + "\ue432" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-3-0-3.png", + "ascent": 13, + "height": 56, + "chars": [ + "\ue433" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-3-1-0.png", + "ascent": -43, + "height": 56, + "chars": [ + "\ue434" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-3-1-1.png", + "ascent": -43, + "height": 56, + "chars": [ + "\ue435" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-3-1-2.png", + "ascent": -43, + "height": 56, + "chars": [ + "\ue436" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-3-1-3.png", + "ascent": -43, + "height": 56, + "chars": [ + "\ue437" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-3-2-0.png", + "ascent": -99, + "height": 56, + "chars": [ + "\ue438" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-3-2-1.png", + "ascent": -99, + "height": 56, + "chars": [ + "\ue439" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-3-2-2.png", + "ascent": -99, + "height": 56, + "chars": [ + "\ue43a" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-3-2-3.png", + "ascent": -99, + "height": 56, + "chars": [ + "\ue43b" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-3-3-0.png", + "ascent": -155, + "height": 56, + "chars": [ + "\ue43c" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-3-3-1.png", + "ascent": -155, + "height": 56, + "chars": [ + "\ue43d" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-3-3-2.png", + "ascent": -155, + "height": 56, + "chars": [ + "\ue43e" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-3-3-3.png", + "ascent": -155, + "height": 56, + "chars": [ + "\ue43f" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-4-0-0.png", + "ascent": 13, + "height": 56, + "chars": [ + "\ue440" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-4-0-1.png", + "ascent": 13, + "height": 56, + "chars": [ + "\ue441" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-4-0-2.png", + "ascent": 13, + "height": 56, + "chars": [ + "\ue442" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-4-0-3.png", + "ascent": 13, + "height": 56, + "chars": [ + "\ue443" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-4-1-0.png", + "ascent": -43, + "height": 56, + "chars": [ + "\ue444" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-4-1-1.png", + "ascent": -43, + "height": 56, + "chars": [ + "\ue445" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-4-1-2.png", + "ascent": -43, + "height": 56, + "chars": [ + "\ue446" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-4-1-3.png", + "ascent": -43, + "height": 56, + "chars": [ + "\ue447" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-4-2-0.png", + "ascent": -99, + "height": 56, + "chars": [ + "\ue448" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-4-2-1.png", + "ascent": -99, + "height": 56, + "chars": [ + "\ue449" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-4-2-2.png", + "ascent": -99, + "height": 56, + "chars": [ + "\ue44a" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-4-2-3.png", + "ascent": -99, + "height": 56, + "chars": [ + "\ue44b" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-4-3-0.png", + "ascent": -155, + "height": 56, + "chars": [ + "\ue44c" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-4-3-1.png", + "ascent": -155, + "height": 56, + "chars": [ + "\ue44d" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-4-3-2.png", + "ascent": -155, + "height": 56, + "chars": [ + "\ue44e" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-4-3-3.png", + "ascent": -155, + "height": 56, + "chars": [ + "\ue44f" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-5-0-0.png", + "ascent": 13, + "height": 56, + "chars": [ + "\ue450" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-5-0-1.png", + "ascent": 13, + "height": 56, + "chars": [ + "\ue451" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-5-0-2.png", + "ascent": 13, + "height": 56, + "chars": [ + "\ue452" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-5-0-3.png", + "ascent": 13, + "height": 56, + "chars": [ + "\ue453" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-5-1-0.png", + "ascent": -43, + "height": 56, + "chars": [ + "\ue454" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-5-1-1.png", + "ascent": -43, + "height": 56, + "chars": [ + "\ue455" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-5-1-2.png", + "ascent": -43, + "height": 56, + "chars": [ + "\ue456" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-5-1-3.png", + "ascent": -43, + "height": 56, + "chars": [ + "\ue457" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-5-2-0.png", + "ascent": -99, + "height": 56, + "chars": [ + "\ue458" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-5-2-1.png", + "ascent": -99, + "height": 56, + "chars": [ + "\ue459" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-5-2-2.png", + "ascent": -99, + "height": 56, + "chars": [ + "\ue45a" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-5-2-3.png", + "ascent": -99, + "height": 56, + "chars": [ + "\ue45b" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-5-3-0.png", + "ascent": -155, + "height": 56, + "chars": [ + "\ue45c" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-5-3-1.png", + "ascent": -155, + "height": 56, + "chars": [ + "\ue45d" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-5-3-2.png", + "ascent": -155, + "height": 56, + "chars": [ + "\ue45e" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-5-3-3.png", + "ascent": -155, + "height": 56, + "chars": [ + "\ue45f" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-6-0-0.png", + "ascent": 13, + "height": 56, + "chars": [ + "\ue460" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-6-0-1.png", + "ascent": 13, + "height": 56, + "chars": [ + "\ue461" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-6-0-2.png", + "ascent": 13, + "height": 56, + "chars": [ + "\ue462" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-6-0-3.png", + "ascent": 13, + "height": 56, + "chars": [ + "\ue463" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-6-1-0.png", + "ascent": -43, + "height": 56, + "chars": [ + "\ue464" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-6-1-1.png", + "ascent": -43, + "height": 56, + "chars": [ + "\ue465" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-6-1-2.png", + "ascent": -43, + "height": 56, + "chars": [ + "\ue466" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-6-1-3.png", + "ascent": -43, + "height": 56, + "chars": [ + "\ue467" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-6-2-0.png", + "ascent": -99, + "height": 56, + "chars": [ + "\ue468" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-6-2-1.png", + "ascent": -99, + "height": 56, + "chars": [ + "\ue469" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-6-2-2.png", + "ascent": -99, + "height": 56, + "chars": [ + "\ue46a" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-6-2-3.png", + "ascent": -99, + "height": 56, + "chars": [ + "\ue46b" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-6-3-0.png", + "ascent": -155, + "height": 56, + "chars": [ + "\ue46c" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-6-3-1.png", + "ascent": -155, + "height": 56, + "chars": [ + "\ue46d" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-6-3-2.png", + "ascent": -155, + "height": 56, + "chars": [ + "\ue46e" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-6-3-3.png", + "ascent": -155, + "height": 56, + "chars": [ + "\ue46f" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-7-0-0.png", + "ascent": 13, + "height": 56, + "chars": [ + "\ue470" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-7-0-1.png", + "ascent": 13, + "height": 56, + "chars": [ + "\ue471" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-7-0-2.png", + "ascent": 13, + "height": 56, + "chars": [ + "\ue472" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-7-0-3.png", + "ascent": 13, + "height": 56, + "chars": [ + "\ue473" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-7-1-0.png", + "ascent": -43, + "height": 56, + "chars": [ + "\ue474" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-7-1-1.png", + "ascent": -43, + "height": 56, + "chars": [ + "\ue475" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-7-1-2.png", + "ascent": -43, + "height": 56, + "chars": [ + "\ue476" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-7-1-3.png", + "ascent": -43, + "height": 56, + "chars": [ + "\ue477" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-7-2-0.png", + "ascent": -99, + "height": 56, + "chars": [ + "\ue478" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-7-2-1.png", + "ascent": -99, + "height": 56, + "chars": [ + "\ue479" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-7-2-2.png", + "ascent": -99, + "height": 56, + "chars": [ + "\ue47a" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-7-2-3.png", + "ascent": -99, + "height": 56, + "chars": [ + "\ue47b" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-7-3-0.png", + "ascent": -155, + "height": 56, + "chars": [ + "\ue47c" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-7-3-1.png", + "ascent": -155, + "height": 56, + "chars": [ + "\ue47d" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-7-3-2.png", + "ascent": -155, + "height": 56, + "chars": [ + "\ue47e" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-7-3-3.png", + "ascent": -155, + "height": 56, + "chars": [ + "\ue47f" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-8-0-0.png", + "ascent": 13, + "height": 56, + "chars": [ + "\ue480" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-8-0-1.png", + "ascent": 13, + "height": 56, + "chars": [ + "\ue481" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-8-0-2.png", + "ascent": 13, + "height": 56, + "chars": [ + "\ue482" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-8-0-3.png", + "ascent": 13, + "height": 56, + "chars": [ + "\ue483" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-8-1-0.png", + "ascent": -43, + "height": 56, + "chars": [ + "\ue484" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-8-1-1.png", + "ascent": -43, + "height": 56, + "chars": [ + "\ue485" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-8-1-2.png", + "ascent": -43, + "height": 56, + "chars": [ + "\ue486" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-8-1-3.png", + "ascent": -43, + "height": 56, + "chars": [ + "\ue487" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-8-2-0.png", + "ascent": -99, + "height": 56, + "chars": [ + "\ue488" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-8-2-1.png", + "ascent": -99, + "height": 56, + "chars": [ + "\ue489" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-8-2-2.png", + "ascent": -99, + "height": 56, + "chars": [ + "\ue48a" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-8-2-3.png", + "ascent": -99, + "height": 56, + "chars": [ + "\ue48b" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-8-3-0.png", + "ascent": -155, + "height": 56, + "chars": [ + "\ue48c" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-8-3-1.png", + "ascent": -155, + "height": 56, + "chars": [ + "\ue48d" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-8-3-2.png", + "ascent": -155, + "height": 56, + "chars": [ + "\ue48e" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-8-3-3.png", + "ascent": -155, + "height": 56, + "chars": [ + "\ue48f" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-9-0-0.png", + "ascent": 13, + "height": 56, + "chars": [ + "\ue490" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-9-0-1.png", + "ascent": 13, + "height": 56, + "chars": [ + "\ue491" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-9-0-2.png", + "ascent": 13, + "height": 56, + "chars": [ + "\ue492" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-9-0-3.png", + "ascent": 13, + "height": 56, + "chars": [ + "\ue493" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-9-1-0.png", + "ascent": -43, + "height": 56, + "chars": [ + "\ue494" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-9-1-1.png", + "ascent": -43, + "height": 56, + "chars": [ + "\ue495" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-9-1-2.png", + "ascent": -43, + "height": 56, + "chars": [ + "\ue496" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-9-1-3.png", + "ascent": -43, + "height": 56, + "chars": [ + "\ue497" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-9-2-0.png", + "ascent": -99, + "height": 56, + "chars": [ + "\ue498" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-9-2-1.png", + "ascent": -99, + "height": 56, + "chars": [ + "\ue499" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-9-2-2.png", + "ascent": -99, + "height": 56, + "chars": [ + "\ue49a" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-9-2-3.png", + "ascent": -99, + "height": 56, + "chars": [ + "\ue49b" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-9-3-0.png", + "ascent": -155, + "height": 56, + "chars": [ + "\ue49c" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-9-3-1.png", + "ascent": -155, + "height": 56, + "chars": [ + "\ue49d" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-9-3-2.png", + "ascent": -155, + "height": 56, + "chars": [ + "\ue49e" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-9-3-3.png", + "ascent": -155, + "height": 56, + "chars": [ + "\ue49f" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-10-0-0.png", + "ascent": 13, + "height": 56, + "chars": [ + "\ue4a0" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-10-0-1.png", + "ascent": 13, + "height": 56, + "chars": [ + "\ue4a1" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-10-0-2.png", + "ascent": 13, + "height": 56, + "chars": [ + "\ue4a2" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-10-0-3.png", + "ascent": 13, + "height": 56, + "chars": [ + "\ue4a3" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-10-1-0.png", + "ascent": -43, + "height": 56, + "chars": [ + "\ue4a4" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-10-1-1.png", + "ascent": -43, + "height": 56, + "chars": [ + "\ue4a5" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-10-1-2.png", + "ascent": -43, + "height": 56, + "chars": [ + "\ue4a6" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-10-1-3.png", + "ascent": -43, + "height": 56, + "chars": [ + "\ue4a7" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-10-2-0.png", + "ascent": -99, + "height": 56, + "chars": [ + "\ue4a8" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-10-2-1.png", + "ascent": -99, + "height": 56, + "chars": [ + "\ue4a9" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-10-2-2.png", + "ascent": -99, + "height": 56, + "chars": [ + "\ue4aa" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-10-2-3.png", + "ascent": -99, + "height": 56, + "chars": [ + "\ue4ab" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-10-3-0.png", + "ascent": -155, + "height": 56, + "chars": [ + "\ue4ac" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-10-3-1.png", + "ascent": -155, + "height": 56, + "chars": [ + "\ue4ad" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-10-3-2.png", + "ascent": -155, + "height": 56, + "chars": [ + "\ue4ae" + ] + }, + { + "type": "bitmap", + "file": "dunerealms:gui/house_selector/tiles/screen-10-3-3.png", + "ascent": -155, + "height": 56, + "chars": [ + "\ue4af" ] } ] diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/mentat-atreides.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/mentat-atreides.png index ff7689cb..4aea4d56 100644 Binary files a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/mentat-atreides.png and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/mentat-atreides.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/mentat-corrino.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/mentat-corrino.png index 0f3d052f..4f833109 100644 Binary files a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/mentat-corrino.png and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/mentat-corrino.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/mentat-fremen.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/mentat-fremen.png index b247ca65..5e399372 100644 Binary files a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/mentat-fremen.png and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/mentat-fremen.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/mentat-harkonnen.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/mentat-harkonnen.png index 7089f5fa..50d045cb 100644 Binary files a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/mentat-harkonnen.png and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/mentat-harkonnen.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/mentat-ordos.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/mentat-ordos.png index d9ac6652..94bbcff7 100644 Binary files a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/mentat-ordos.png and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/mentat-ordos.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/select-0.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/select-0.png index 6be45979..714791dd 100644 Binary files a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/select-0.png and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/select-0.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/select-1.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/select-1.png index 2bfab4a7..8e0fd4a5 100644 Binary files a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/select-1.png and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/select-1.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/select-2.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/select-2.png index 70bd5b60..a26f5e13 100644 Binary files a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/select-2.png and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/select-2.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/select-3.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/select-3.png index a37fd1d4..d71169e1 100644 Binary files a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/select-3.png and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/select-3.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/select-4.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/select-4.png index a406062d..caf7d22c 100644 Binary files a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/select-4.png and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/select-4.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/select-5.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/select-5.png index d86ef9cf..02bee4d7 100644 Binary files a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/select-5.png and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/select-5.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-0-0-0.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-0-0-0.png new file mode 100644 index 00000000..1eeb26e7 Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-0-0-0.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-0-0-1.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-0-0-1.png new file mode 100644 index 00000000..fc8be339 Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-0-0-1.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-0-0-2.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-0-0-2.png new file mode 100644 index 00000000..2ba426f3 Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-0-0-2.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-0-0-3.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-0-0-3.png new file mode 100644 index 00000000..85263875 Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-0-0-3.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-0-1-0.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-0-1-0.png new file mode 100644 index 00000000..38e8ae73 Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-0-1-0.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-0-1-1.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-0-1-1.png new file mode 100644 index 00000000..7d4d4322 Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-0-1-1.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-0-1-2.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-0-1-2.png new file mode 100644 index 00000000..5fdf7ea3 Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-0-1-2.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-0-1-3.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-0-1-3.png new file mode 100644 index 00000000..55fcbc61 Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-0-1-3.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-0-2-0.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-0-2-0.png new file mode 100644 index 00000000..f3d5af4b Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-0-2-0.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-0-2-1.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-0-2-1.png new file mode 100644 index 00000000..7fa00019 Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-0-2-1.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-0-2-2.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-0-2-2.png new file mode 100644 index 00000000..a384799d Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-0-2-2.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-0-2-3.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-0-2-3.png new file mode 100644 index 00000000..128c43f4 Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-0-2-3.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-0-3-0.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-0-3-0.png new file mode 100644 index 00000000..293f8508 Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-0-3-0.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-0-3-1.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-0-3-1.png new file mode 100644 index 00000000..b3bde189 Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-0-3-1.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-0-3-2.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-0-3-2.png new file mode 100644 index 00000000..94442321 Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-0-3-2.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-0-3-3.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-0-3-3.png new file mode 100644 index 00000000..4f53df0b Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-0-3-3.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-1-0-0.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-1-0-0.png new file mode 100644 index 00000000..eff6454d Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-1-0-0.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-1-0-1.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-1-0-1.png new file mode 100644 index 00000000..7733a5c4 Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-1-0-1.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-1-0-2.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-1-0-2.png new file mode 100644 index 00000000..2ba426f3 Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-1-0-2.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-1-0-3.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-1-0-3.png new file mode 100644 index 00000000..85263875 Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-1-0-3.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-1-1-0.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-1-1-0.png new file mode 100644 index 00000000..c5eadb20 Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-1-1-0.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-1-1-1.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-1-1-1.png new file mode 100644 index 00000000..2b249c96 Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-1-1-1.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-1-1-2.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-1-1-2.png new file mode 100644 index 00000000..5d85244f Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-1-1-2.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-1-1-3.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-1-1-3.png new file mode 100644 index 00000000..63f166ce Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-1-1-3.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-1-2-0.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-1-2-0.png new file mode 100644 index 00000000..f3d5af4b Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-1-2-0.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-1-2-1.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-1-2-1.png new file mode 100644 index 00000000..7fa00019 Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-1-2-1.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-1-2-2.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-1-2-2.png new file mode 100644 index 00000000..84138d82 Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-1-2-2.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-1-2-3.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-1-2-3.png new file mode 100644 index 00000000..73624dcd Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-1-2-3.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-1-3-0.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-1-3-0.png new file mode 100644 index 00000000..293f8508 Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-1-3-0.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-1-3-1.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-1-3-1.png new file mode 100644 index 00000000..b3bde189 Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-1-3-1.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-1-3-2.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-1-3-2.png new file mode 100644 index 00000000..94442321 Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-1-3-2.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-1-3-3.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-1-3-3.png new file mode 100644 index 00000000..4f53df0b Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-1-3-3.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-10-0-0.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-10-0-0.png new file mode 100644 index 00000000..e8c68cd7 Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-10-0-0.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-10-0-1.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-10-0-1.png new file mode 100644 index 00000000..6dc06db6 Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-10-0-1.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-10-0-2.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-10-0-2.png new file mode 100644 index 00000000..02e41e69 Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-10-0-2.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-10-0-3.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-10-0-3.png new file mode 100644 index 00000000..4beb9ea2 Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-10-0-3.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-10-1-0.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-10-1-0.png new file mode 100644 index 00000000..876e7bd6 Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-10-1-0.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-10-1-1.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-10-1-1.png new file mode 100644 index 00000000..651f6f05 Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-10-1-1.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-10-1-2.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-10-1-2.png new file mode 100644 index 00000000..8b67bed2 Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-10-1-2.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-10-1-3.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-10-1-3.png new file mode 100644 index 00000000..4e61290d Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-10-1-3.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-10-2-0.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-10-2-0.png new file mode 100644 index 00000000..9dce68be Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-10-2-0.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-10-2-1.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-10-2-1.png new file mode 100644 index 00000000..7fa00019 Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-10-2-1.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-10-2-2.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-10-2-2.png new file mode 100644 index 00000000..a384799d Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-10-2-2.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-10-2-3.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-10-2-3.png new file mode 100644 index 00000000..128c43f4 Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-10-2-3.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-10-3-0.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-10-3-0.png new file mode 100644 index 00000000..293f8508 Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-10-3-0.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-10-3-1.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-10-3-1.png new file mode 100644 index 00000000..b3bde189 Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-10-3-1.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-10-3-2.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-10-3-2.png new file mode 100644 index 00000000..94442321 Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-10-3-2.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-10-3-3.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-10-3-3.png new file mode 100644 index 00000000..4f53df0b Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-10-3-3.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-2-0-0.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-2-0-0.png new file mode 100644 index 00000000..1eeb26e7 Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-2-0-0.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-2-0-1.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-2-0-1.png new file mode 100644 index 00000000..a5282ce1 Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-2-0-1.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-2-0-2.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-2-0-2.png new file mode 100644 index 00000000..dff1e843 Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-2-0-2.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-2-0-3.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-2-0-3.png new file mode 100644 index 00000000..85263875 Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-2-0-3.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-2-1-0.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-2-1-0.png new file mode 100644 index 00000000..cefefafe Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-2-1-0.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-2-1-1.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-2-1-1.png new file mode 100644 index 00000000..194628f0 Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-2-1-1.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-2-1-2.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-2-1-2.png new file mode 100644 index 00000000..96e272ae Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-2-1-2.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-2-1-3.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-2-1-3.png new file mode 100644 index 00000000..63f166ce Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-2-1-3.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-2-2-0.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-2-2-0.png new file mode 100644 index 00000000..f3d5af4b Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-2-2-0.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-2-2-1.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-2-2-1.png new file mode 100644 index 00000000..7fa00019 Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-2-2-1.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-2-2-2.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-2-2-2.png new file mode 100644 index 00000000..84138d82 Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-2-2-2.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-2-2-3.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-2-2-3.png new file mode 100644 index 00000000..73624dcd Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-2-2-3.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-2-3-0.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-2-3-0.png new file mode 100644 index 00000000..293f8508 Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-2-3-0.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-2-3-1.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-2-3-1.png new file mode 100644 index 00000000..b3bde189 Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-2-3-1.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-2-3-2.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-2-3-2.png new file mode 100644 index 00000000..94442321 Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-2-3-2.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-2-3-3.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-2-3-3.png new file mode 100644 index 00000000..4f53df0b Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-2-3-3.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-3-0-0.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-3-0-0.png new file mode 100644 index 00000000..1eeb26e7 Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-3-0-0.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-3-0-1.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-3-0-1.png new file mode 100644 index 00000000..fc8be339 Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-3-0-1.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-3-0-2.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-3-0-2.png new file mode 100644 index 00000000..00315249 Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-3-0-2.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-3-0-3.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-3-0-3.png new file mode 100644 index 00000000..5166e762 Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-3-0-3.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-3-1-0.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-3-1-0.png new file mode 100644 index 00000000..cefefafe Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-3-1-0.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-3-1-1.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-3-1-1.png new file mode 100644 index 00000000..10c71ab6 Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-3-1-1.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-3-1-2.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-3-1-2.png new file mode 100644 index 00000000..dbe35940 Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-3-1-2.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-3-1-3.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-3-1-3.png new file mode 100644 index 00000000..2f6df679 Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-3-1-3.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-3-2-0.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-3-2-0.png new file mode 100644 index 00000000..f3d5af4b Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-3-2-0.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-3-2-1.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-3-2-1.png new file mode 100644 index 00000000..7fa00019 Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-3-2-1.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-3-2-2.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-3-2-2.png new file mode 100644 index 00000000..84138d82 Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-3-2-2.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-3-2-3.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-3-2-3.png new file mode 100644 index 00000000..73624dcd Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-3-2-3.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-3-3-0.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-3-3-0.png new file mode 100644 index 00000000..293f8508 Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-3-3-0.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-3-3-1.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-3-3-1.png new file mode 100644 index 00000000..b3bde189 Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-3-3-1.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-3-3-2.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-3-3-2.png new file mode 100644 index 00000000..94442321 Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-3-3-2.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-3-3-3.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-3-3-3.png new file mode 100644 index 00000000..4f53df0b Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-3-3-3.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-4-0-0.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-4-0-0.png new file mode 100644 index 00000000..1eeb26e7 Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-4-0-0.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-4-0-1.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-4-0-1.png new file mode 100644 index 00000000..fc8be339 Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-4-0-1.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-4-0-2.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-4-0-2.png new file mode 100644 index 00000000..2ba426f3 Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-4-0-2.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-4-0-3.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-4-0-3.png new file mode 100644 index 00000000..85263875 Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-4-0-3.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-4-1-0.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-4-1-0.png new file mode 100644 index 00000000..9a241c73 Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-4-1-0.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-4-1-1.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-4-1-1.png new file mode 100644 index 00000000..2e63eba2 Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-4-1-1.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-4-1-2.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-4-1-2.png new file mode 100644 index 00000000..9eadb34a Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-4-1-2.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-4-1-3.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-4-1-3.png new file mode 100644 index 00000000..63f166ce Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-4-1-3.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-4-2-0.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-4-2-0.png new file mode 100644 index 00000000..f3d5af4b Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-4-2-0.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-4-2-1.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-4-2-1.png new file mode 100644 index 00000000..7fa00019 Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-4-2-1.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-4-2-2.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-4-2-2.png new file mode 100644 index 00000000..84138d82 Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-4-2-2.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-4-2-3.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-4-2-3.png new file mode 100644 index 00000000..73624dcd Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-4-2-3.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-4-3-0.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-4-3-0.png new file mode 100644 index 00000000..293f8508 Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-4-3-0.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-4-3-1.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-4-3-1.png new file mode 100644 index 00000000..b3bde189 Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-4-3-1.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-4-3-2.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-4-3-2.png new file mode 100644 index 00000000..94442321 Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-4-3-2.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-4-3-3.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-4-3-3.png new file mode 100644 index 00000000..4f53df0b Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-4-3-3.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-5-0-0.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-5-0-0.png new file mode 100644 index 00000000..1eeb26e7 Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-5-0-0.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-5-0-1.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-5-0-1.png new file mode 100644 index 00000000..fc8be339 Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-5-0-1.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-5-0-2.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-5-0-2.png new file mode 100644 index 00000000..2ba426f3 Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-5-0-2.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-5-0-3.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-5-0-3.png new file mode 100644 index 00000000..85263875 Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-5-0-3.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-5-1-0.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-5-1-0.png new file mode 100644 index 00000000..cefefafe Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-5-1-0.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-5-1-1.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-5-1-1.png new file mode 100644 index 00000000..02680f05 Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-5-1-1.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-5-1-2.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-5-1-2.png new file mode 100644 index 00000000..547aba72 Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-5-1-2.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-5-1-3.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-5-1-3.png new file mode 100644 index 00000000..8db6caa9 Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-5-1-3.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-5-2-0.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-5-2-0.png new file mode 100644 index 00000000..f3d5af4b Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-5-2-0.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-5-2-1.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-5-2-1.png new file mode 100644 index 00000000..7fa00019 Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-5-2-1.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-5-2-2.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-5-2-2.png new file mode 100644 index 00000000..84138d82 Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-5-2-2.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-5-2-3.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-5-2-3.png new file mode 100644 index 00000000..73624dcd Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-5-2-3.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-5-3-0.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-5-3-0.png new file mode 100644 index 00000000..293f8508 Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-5-3-0.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-5-3-1.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-5-3-1.png new file mode 100644 index 00000000..b3bde189 Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-5-3-1.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-5-3-2.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-5-3-2.png new file mode 100644 index 00000000..94442321 Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-5-3-2.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-5-3-3.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-5-3-3.png new file mode 100644 index 00000000..4f53df0b Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-5-3-3.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-6-0-0.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-6-0-0.png new file mode 100644 index 00000000..e8c68cd7 Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-6-0-0.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-6-0-1.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-6-0-1.png new file mode 100644 index 00000000..15d97494 Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-6-0-1.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-6-0-2.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-6-0-2.png new file mode 100644 index 00000000..9f3cba56 Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-6-0-2.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-6-0-3.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-6-0-3.png new file mode 100644 index 00000000..4beb9ea2 Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-6-0-3.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-6-1-0.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-6-1-0.png new file mode 100644 index 00000000..876e7bd6 Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-6-1-0.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-6-1-1.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-6-1-1.png new file mode 100644 index 00000000..ac773294 Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-6-1-1.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-6-1-2.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-6-1-2.png new file mode 100644 index 00000000..b4eddf3d Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-6-1-2.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-6-1-3.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-6-1-3.png new file mode 100644 index 00000000..4e61290d Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-6-1-3.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-6-2-0.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-6-2-0.png new file mode 100644 index 00000000..9dce68be Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-6-2-0.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-6-2-1.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-6-2-1.png new file mode 100644 index 00000000..7fa00019 Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-6-2-1.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-6-2-2.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-6-2-2.png new file mode 100644 index 00000000..a384799d Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-6-2-2.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-6-2-3.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-6-2-3.png new file mode 100644 index 00000000..128c43f4 Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-6-2-3.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-6-3-0.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-6-3-0.png new file mode 100644 index 00000000..293f8508 Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-6-3-0.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-6-3-1.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-6-3-1.png new file mode 100644 index 00000000..b3bde189 Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-6-3-1.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-6-3-2.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-6-3-2.png new file mode 100644 index 00000000..94442321 Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-6-3-2.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-6-3-3.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-6-3-3.png new file mode 100644 index 00000000..4f53df0b Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-6-3-3.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-7-0-0.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-7-0-0.png new file mode 100644 index 00000000..e8c68cd7 Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-7-0-0.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-7-0-1.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-7-0-1.png new file mode 100644 index 00000000..07f0a09e Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-7-0-1.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-7-0-2.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-7-0-2.png new file mode 100644 index 00000000..c9bcbcb3 Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-7-0-2.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-7-0-3.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-7-0-3.png new file mode 100644 index 00000000..4beb9ea2 Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-7-0-3.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-7-1-0.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-7-1-0.png new file mode 100644 index 00000000..876e7bd6 Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-7-1-0.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-7-1-1.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-7-1-1.png new file mode 100644 index 00000000..3cfcf3cb Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-7-1-1.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-7-1-2.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-7-1-2.png new file mode 100644 index 00000000..2763b525 Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-7-1-2.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-7-1-3.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-7-1-3.png new file mode 100644 index 00000000..4e61290d Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-7-1-3.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-7-2-0.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-7-2-0.png new file mode 100644 index 00000000..9dce68be Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-7-2-0.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-7-2-1.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-7-2-1.png new file mode 100644 index 00000000..7fa00019 Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-7-2-1.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-7-2-2.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-7-2-2.png new file mode 100644 index 00000000..a384799d Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-7-2-2.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-7-2-3.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-7-2-3.png new file mode 100644 index 00000000..128c43f4 Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-7-2-3.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-7-3-0.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-7-3-0.png new file mode 100644 index 00000000..293f8508 Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-7-3-0.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-7-3-1.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-7-3-1.png new file mode 100644 index 00000000..b3bde189 Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-7-3-1.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-7-3-2.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-7-3-2.png new file mode 100644 index 00000000..94442321 Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-7-3-2.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-7-3-3.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-7-3-3.png new file mode 100644 index 00000000..4f53df0b Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-7-3-3.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-8-0-0.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-8-0-0.png new file mode 100644 index 00000000..e8c68cd7 Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-8-0-0.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-8-0-1.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-8-0-1.png new file mode 100644 index 00000000..bee6e215 Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-8-0-1.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-8-0-2.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-8-0-2.png new file mode 100644 index 00000000..2af383ab Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-8-0-2.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-8-0-3.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-8-0-3.png new file mode 100644 index 00000000..4beb9ea2 Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-8-0-3.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-8-1-0.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-8-1-0.png new file mode 100644 index 00000000..876e7bd6 Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-8-1-0.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-8-1-1.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-8-1-1.png new file mode 100644 index 00000000..5e467f18 Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-8-1-1.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-8-1-2.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-8-1-2.png new file mode 100644 index 00000000..a10b7fc1 Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-8-1-2.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-8-1-3.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-8-1-3.png new file mode 100644 index 00000000..4e61290d Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-8-1-3.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-8-2-0.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-8-2-0.png new file mode 100644 index 00000000..9dce68be Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-8-2-0.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-8-2-1.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-8-2-1.png new file mode 100644 index 00000000..7fa00019 Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-8-2-1.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-8-2-2.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-8-2-2.png new file mode 100644 index 00000000..a384799d Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-8-2-2.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-8-2-3.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-8-2-3.png new file mode 100644 index 00000000..128c43f4 Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-8-2-3.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-8-3-0.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-8-3-0.png new file mode 100644 index 00000000..293f8508 Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-8-3-0.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-8-3-1.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-8-3-1.png new file mode 100644 index 00000000..b3bde189 Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-8-3-1.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-8-3-2.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-8-3-2.png new file mode 100644 index 00000000..94442321 Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-8-3-2.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-8-3-3.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-8-3-3.png new file mode 100644 index 00000000..4f53df0b Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-8-3-3.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-9-0-0.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-9-0-0.png new file mode 100644 index 00000000..e8c68cd7 Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-9-0-0.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-9-0-1.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-9-0-1.png new file mode 100644 index 00000000..947b4c8e Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-9-0-1.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-9-0-2.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-9-0-2.png new file mode 100644 index 00000000..8a7e1364 Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-9-0-2.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-9-0-3.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-9-0-3.png new file mode 100644 index 00000000..4beb9ea2 Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-9-0-3.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-9-1-0.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-9-1-0.png new file mode 100644 index 00000000..876e7bd6 Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-9-1-0.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-9-1-1.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-9-1-1.png new file mode 100644 index 00000000..466acc61 Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-9-1-1.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-9-1-2.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-9-1-2.png new file mode 100644 index 00000000..b70084d8 Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-9-1-2.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-9-1-3.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-9-1-3.png new file mode 100644 index 00000000..4e61290d Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-9-1-3.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-9-2-0.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-9-2-0.png new file mode 100644 index 00000000..9dce68be Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-9-2-0.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-9-2-1.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-9-2-1.png new file mode 100644 index 00000000..7fa00019 Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-9-2-1.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-9-2-2.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-9-2-2.png new file mode 100644 index 00000000..a384799d Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-9-2-2.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-9-2-3.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-9-2-3.png new file mode 100644 index 00000000..128c43f4 Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-9-2-3.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-9-3-0.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-9-3-0.png new file mode 100644 index 00000000..293f8508 Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-9-3-0.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-9-3-1.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-9-3-1.png new file mode 100644 index 00000000..b3bde189 Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-9-3-1.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-9-3-2.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-9-3-2.png new file mode 100644 index 00000000..94442321 Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-9-3-2.png differ diff --git a/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-9-3-3.png b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-9-3-3.png new file mode 100644 index 00000000..4f53df0b Binary files /dev/null and b/DuneResourcePack/assets/dunerealms/textures/gui/house_selector/tiles/screen-9-3-3.png differ diff --git a/docs/design/LOBBY-HOUSE-GUI.md b/docs/design/LOBBY-HOUSE-GUI.md index c28decfa..77837974 100644 --- a/docs/design/LOBBY-HOUSE-GUI.md +++ b/docs/design/LOBBY-HOUSE-GUI.md @@ -4,6 +4,16 @@ The owner deferred plugin removal until after the GUI is finished. Keep DuneMenus, AxiomPaper and AzLink installed for this rollout. Several older domain plugins declare DuneMenus as a hard dependency. The new plugin isolates its GUI classes under its own namespace to coexist with those older, incompatible bundled renderers. +## Client feedback update + +The first live screenshots showed blurred artwork and a duplicated Inventory caption. Version 1.0.1 uses four-times-resolution source artwork split into a 4x4 grid of bounded bitmap glyphs; a single glyph stays under the native 256px texture limit. The font's negative spacing and per-row ascent preserve the existing logical click coordinates. The generator no longer bakes the vanilla Inventory title. Tile reconstruction and bounds are checked before building the additive immutable v2 pack. + +Opening a GUI now says exactly `Jarvis executing matrix`. A persistent per-player scoreboard toggle is available through `/drscoreboard`, bare `/scoreboard`, `/drgui scoreboard`, and the Scoreboard button in either GUI/native Bedrock form. It defaults on, refreshes every 30 seconds while visible, and remembers hidden state through the player's persistent data. A separate private scoreboard prevents personal data entering the shared main board; existing sidebar objectives are respected and name-tag/collision teams are copied. Hiding restores the prior board only when this plugin still owns the current board. + +The HUD reads Personal XP/level, Reputation XP/level, current active quest, House, visible clan/company names and the player's own active ordinary personal Postbank balances. It reuses the existing quest list readers and XP summary, current bank authority and account-view rules. It never collects facts, claims rewards, provisions bank identities or writes balances. Private actor-scoped cache lifetime is 30 seconds. Unavailable sections are null and display a dash, independently of available sections. It grants no new permissions or organisation authority. + +The first bar-hiding attempt was insufficient: vanilla re-added the native dragon bar. The correction detaches only the live lobby's EndDragonFight controller after removing its viewers. It preserves the previous controller for a guarded restore on plugin shutdown, does not kill an entity or edit world NBT, and leaves other worlds alone. Unsupported server internals produce a warning rather than breaking the plugin. Verify the actual lobby startup and absence of the duplicate bar on the client. + The authoritative choices are Aerdrecht, Harkveen, Korenholt, Oordwijk and Vrijduin. Canonical faction IDs remain unchanged. The existing system-character catalogue and portrait atlas supply the adviser identities; no new accounts or portraits are invented. Java uses an additive resource pack with native inventory click regions; it is not an HTML renderer. Bedrock uses Floodgate forms with the same action semantics. No claim of identical Java/Bedrock artwork rendering is made. `/house` opens the selector; `/mentat` opens the current adviser; `/drgui` and `/navigator` open the House service. The dedicated registrar is placed close to the lobby spawn. Existing world data and other NPCs are preserved. diff --git a/tools/build-dunegui-pack.py b/tools/build-dunegui-pack.py index 65d1f06a..c349b60f 100644 --- a/tools/build-dunegui-pack.py +++ b/tools/build-dunegui-pack.py @@ -4,7 +4,7 @@ from pathlib import Path p=argparse.ArgumentParser();p.add_argument('base',type=Path);p.add_argument('output',type=Path);a=p.parse_args() if hashlib.sha1(a.base.read_bytes()).hexdigest()!='6b65da862e17c293df4015206ad2953d4d76d9e5':raise SystemExit('Unexpected base pack; inspect live server before changing it') root=Path(__file__).resolve().parents[1]/'DuneResourcePack' -files=[root/'assets/dunerealms/font/house_selector.json',root/'assets/dunerealms/items/drgui_transparent.json',root/'assets/dunerealms/models/item/drgui_transparent.json',root/'assets/dunerealms/textures/item/drgui_transparent.png',*sorted((root/'assets/dunerealms/textures/gui/house_selector').glob('select-*.png')),*sorted((root/'assets/dunerealms/textures/gui/house_selector').glob('mentat-*.png'))] +files=[root/'assets/dunerealms/font/house_selector.json',root/'assets/dunerealms/items/drgui_transparent.json',root/'assets/dunerealms/models/item/drgui_transparent.json',root/'assets/dunerealms/textures/item/drgui_transparent.png',*sorted((root/'assets/dunerealms/textures/gui/house_selector/tiles').glob('*.png'))] a.output.parent.mkdir(parents=True,exist_ok=True) with zipfile.ZipFile(a.base) as before,zipfile.ZipFile(a.output,'w',zipfile.ZIP_DEFLATED) as after: for info in before.infolist():after.writestr(info,before.read(info.filename)) diff --git a/tools/render-house-selector.py b/tools/render-house-selector.py index bf04788a..a64d38de 100644 --- a/tools/render-house-selector.py +++ b/tools/render-house-selector.py @@ -8,36 +8,51 @@ ROOT=Path(__file__).resolve().parents[1] BASE=ROOT/'DuneResourcePack/assets/dunerealms' OUT=BASE/'textures/gui/house_selector';OUT.mkdir(parents=True,exist_ok=True) HOUSES=[('atreides','AERDRECHT','house-aerdrecht-v1.png','Thufir Hawat'),('harkonnen','HARKVEEN','house-harkveen-v1.png','Piter de Vries'),('corrino','KORENHOLT','house-korenholt-v1.png','Count Hasimir Fenring'),('ordos','OORDWIJK','house-oordwijk-v1.png','Roma Atani'),('fremen','VRIJDUIN','house-vrijduin-v1.png','Stilgar')] -GOLD='#bda15c';LIGHT='#f2d995';GREEN='#12372b';font=lambda n:ImageFont.load_default(size=n) +SCALE=4 +GOLD='#bda15c';LIGHT='#f2d995';GREEN='#12372b';font=lambda n:ImageFont.load_default(size=n*SCALE) +def rectangle(im,box,**kwargs): + if 'width' in kwargs:kwargs['width']*=SCALE + ImageDraw.Draw(im).rectangle(tuple(round(v*SCALE) for v in box),**kwargs) def text(im,x,y,t,n=7,fill=LIGHT): - d=ImageDraw.Draw(im);f=font(n);w=d.textbbox((0,0),t,font=f)[2];d.text((round(x-w/2),y),t,font=f,fill=fill) + d=ImageDraw.Draw(im);f=font(n);w=d.textbbox((0,0),t,font=f)[2];d.text((round(x*SCALE-w/2),round(y*SCALE)),t,font=f,fill=fill) def base(): - im=Image.new('RGBA',(176,222),'#0a2119');d=ImageDraw.Draw(im) - d.rectangle((0,0,175,221),outline=GOLD,width=2);d.rectangle((3,3,172,126),outline='#62572e') - d.text((8,130),'Inventory',font=font(7),fill='#bdbba6') + im=Image.new('RGBA',(176*SCALE,222*SCALE),'#0a2119') + rectangle(im,(0,0,175,221),outline=GOLD,width=1);rectangle(im,(3,3,172,126),outline='#62572e',width=1) + # Minecraft draws the player inventory caption itself; do not bake a second one. for y in [140,158,176,198]: - for x in range(8,170,18):d.rectangle((x-1,y-1,x+16,y+16),fill='#0a1c17',outline='#52604a') + for x in range(8,170,18):rectangle(im,(x-1,y-1,x+16,y+16),fill='#0a1c17',outline='#52604a',width=1) return im def button(im,box,label): - d=ImageDraw.Draw(im);d.rectangle(box,fill='#294b32',outline=GOLD);text(im,(box[0]+box[2])/2,box[1]+5,label,6) -providers=[{'type':'space','advances':{'\ue32f':-8}}] + rectangle(im,box,fill='#294b32',outline=GOLD,width=1);text(im,(box[0]+box[2])/2,box[1]+4,label,7) +providers=[{'type':'space','advances':{'\ue32f':-8,'\ue32e':-1,'\ue32d':-176}}] +def save_screen(im,name,index): + im.save(OUT/name) + tiles=OUT/'tiles';tiles.mkdir(exist_ok=True) + padded=Image.new('RGBA',(704,896));padded.alpha_composite(im) + for row in range(4): + for column in range(4): + file=f'screen-{index}-{row}-{column}.png' + padded.crop((column*176,row*224,(column+1)*176,(row+1)*224)).save(tiles/file) + providers.append({'type':'bitmap','file':f'dunerealms:gui/house_selector/tiles/{file}','ascent':13-row*56,'height':56,'chars':[chr(0xe400+index*16+row*4+column)]}) coords=[(8,26,59,61),(62,26,113,61),(116,26,167,61),(26,62,77,97),(98,62,149,97)] for selected in range(-1,5): - im=base();text(im,88,5,'CHOOSE YOUR HOUSE',9);text(im,88,17,'DECLARE YOUR ALLEGIANCE',5) + im=base();text(im,88,5,'CHOOSE YOUR HOUSE',9);text(im,88,17,'DECLARE YOUR ALLEGIANCE',6) for i,(id,name,file,mentor) in enumerate(HOUSES): - box=coords[i];d=ImageDraw.Draw(im);d.rectangle(box,fill='#32583c' if i==selected else '#15352a',outline=LIGHT if i==selected else '#766339',width=2 if i==selected else 1) - seal=Image.open(ROOT/'website/web/assets/seals'/file).convert('RGBA');seal.thumbnail((24,24),Image.Resampling.LANCZOS);im.alpha_composite(seal,(round((box[0]+box[2]-seal.width)/2),box[1]+2));text(im,(box[0]+box[2])/2,box[3]-8,name,6) - text(im,88,100,('SELECTED: '+HOUSES[selected][1]) if selected>=0 else 'SELECT A HOUSE TO CONTINUE',5) + box=coords[i];rectangle(im,box,fill='#32583c' if i==selected else '#15352a',outline=LIGHT if i==selected else '#766339',width=1) + seal=Image.open(ROOT/'website/web/assets/seals'/file).convert('RGBA');seal.thumbnail((24*SCALE,24*SCALE),Image.Resampling.LANCZOS);im.alpha_composite(seal,(round((box[0]+box[2])*SCALE/2-seal.width/2),(box[1]+2)*SCALE));text(im,(box[0]+box[2])/2,box[3]-8,name,7) + text(im,88,99,('SELECTED: '+HOUSES[selected][1]) if selected>=0 else 'SELECT A HOUSE TO CONTINUE',6) button(im,(8,108,43,125),'CLOSE') + button(im,(62,108,113,125),'SCOREBOARD') if selected>=0:button(im,(130,108,167,125),'CONFIRM') - file=f'select-{selected+1}.png';im.save(OUT/file);providers.append({'type':'bitmap','file':f'dunerealms:gui/house_selector/{file}','ascent':13,'height':222,'chars':[chr(0xe300+selected+1)]}) + save_screen(im,f'select-{selected+1}.png',selected+1) atlas=Image.open(ROOT/'website/web/assets/mentat-portraits-atlas-v1.png').convert('RGBA');cw=atlas.width//4;ch=atlas.height//2 for i,(id,name,file,mentor) in enumerate(HOUSES): im=base();text(im,88,5,'YOUR MENTAT',10);text(im,88,17,name,6) - portrait=atlas.crop(((i%4)*cw,(i//4)*ch,(i%4+1)*cw,(i//4+1)*ch));portrait=ImageOps.fit(portrait,(58,45),method=Image.Resampling.LANCZOS);im.alpha_composite(portrait,(59,26));ImageDraw.Draw(im).rectangle((58,25,117,71),outline=GOLD) - text(im,88,73,mentor,7 if len(mentor)<20 else 6);text(im,88,84,'YOUR HOUSE BRIEFING IS READY',5) + portrait=atlas.crop(((i%4)*cw,(i//4)*ch,(i%4+1)*cw,(i//4+1)*ch));portrait=ImageOps.fit(portrait,(58*SCALE,45*SCALE),method=Image.Resampling.LANCZOS);im.alpha_composite(portrait,(59*SCALE,26*SCALE));rectangle(im,(58,25,117,71),outline=GOLD,width=1) + text(im,88,73,mentor,8 if len(mentor)<20 else 7);text(im,88,82,'YOUR BRIEFING IS READY',5) button(im,(26,89,77,106),'REPORT');button(im,(98,89,149,106),'LOBBY');button(im,(8,108,43,125),'HOUSE') - file=f'mentat-{id}.png';im.save(OUT/file);providers.append({'type':'bitmap','file':f'dunerealms:gui/house_selector/{file}','ascent':13,'height':222,'chars':[chr(0xe310+i)]}) + button(im,(62,108,113,125),'SCOREBOARD') + save_screen(im,f'mentat-{id}.png',i+6) # Standalone cell images are also reusable by Bedrock form buttons. cell=atlas.crop(((i%4)*cw,(i//4)*ch,(i%4+1)*cw,(i//4+1)*ch));cell.save(ROOT/f'website/web/assets/gui/mentat-{id}-v1.png') (BASE/'font').mkdir(exist_ok=True);(BASE/'font/house_selector.json').write_text(json.dumps({'providers':providers},indent=2)) diff --git a/tools/test-house-artwork.py b/tools/test-house-artwork.py new file mode 100644 index 00000000..58f6bef2 --- /dev/null +++ b/tools/test-house-artwork.py @@ -0,0 +1,25 @@ +from pathlib import Path +import json +from PIL import Image,ImageChops +root=Path(__file__).resolve().parents[1]/'DuneResourcePack/assets/dunerealms' +providers=json.loads((root/'font/house_selector.json').read_text())['providers'] +glyphs={} +for provider in providers: + if provider['type']!='bitmap':continue + image=Image.open(root/'textures'/provider['file'].split(':',1)[1]).convert('RGBA') + assert image.width<=256 and image.height<=256,'Minecraft glyph atlas limit exceeded' + assert image.getbbox()[2]==176,'Variable glyph advance would misalign the next column' + assert provider['height']==56 and provider['ascent']<=56 + glyphs[ord(provider['chars'][0])]=(image,provider) +assert len(glyphs)==176 +for index in range(11): + canvas=Image.new('RGBA',(704,896)) + for row in range(4): + for column in range(4): + tile,provider=glyphs[0xe400+index*16+row*4+column] + assert provider['ascent']==13-row*56 + canvas.paste(tile,(column*176,row*224)) + names=[f'select-{i}.png' for i in range(6)]+[f'mentat-{house}.png' for house in ['atreides','harkonnen','corrino','ordos','fremen']] + original=Image.open(root/'textures/gui/house_selector'/names[index]).convert('RGBA') + assert ImageChops.difference(canvas.crop((0,0,704,888)),original).getbbox() is None,'Screen tile reconstruction differs' +print('All 11 high-resolution screens reconstruct exactly; 176 glyphs fit native texture limits and preserve click coordinates.') diff --git a/website/control-panel/server.mjs b/website/control-panel/server.mjs index 8033fcce..8a307e55 100644 --- a/website/control-panel/server.mjs +++ b/website/control-panel/server.mjs @@ -78,6 +78,7 @@ import {openOrganisationKeyService,grantCurrentAccountKeys,ensureOriginalKeys} f import {CHARACTER_PREFERENCE_SCHEMA} from '../node/character-preferences.mjs'; import {CHARACTER_SCHEMA,createCharacterChoice} from './character-choice.mjs'; import {HOUSE_SELECTION_SCHEMA,createHouseSelectionAPI} from '../node/house-selection.mjs'; +import {createGameBriefing} from '../node/game-briefing.mjs'; import {createClanKeyReceipts} from './clan-key-receipts.mjs'; import {clanDeedAuthority} from '../node/clan-deeds.mjs'; import {createClanDeedRoute} from './clan-deed-route.mjs'; @@ -205,7 +206,6 @@ export function createPanel(db,settings={},dependencies={}){ const auth=createAuth(db,origin,{...settings,trackFirstLogin:true,onAccountReady:async user=>{if(dependencies.bankDatabase)await ensureRihlaAccount(dependencies.bankDatabase,user.id);if(dependencies.organisationKeys)await ensureOriginalKeys(dependencies.organisationKeys,user.id);}}),links=createGameLink(db,settings,origin),rewards=createCommunityRewards(db,settings,origin); const clanDeeds=createClanDeedRoute(db,{origin}),publicClans=createPublicClans(db),publicOrganisations=createPublicOrganisations(db),organisationSettings=createOrganisationSettingsRoute(db,{origin}); const characterChoice=createCharacterChoice(db,{origin}),clanKeyReceipts=createClanKeyReceipts(db,{keys:dependencies.organisationKeys,origin}); - const gameHouseSelection=createHouseSelectionAPI(db,dependencies.organisationKeys,settings); const claimProducts=dependencies.bankDatabase?new PostbankClaimProducts(db,dependencies.bankDatabase,createPostbankAuthority(db,{bank:dependencies.bankDatabase}),{readCharter:id=>readClanCharter(db,id)}):null; const claimUpgrades=createClaimUpgrades(db,claimProducts,settings); const protectedClaims=createProtectedClaims(db,dependencies.bankDatabase||null,createPostbankAuthority(db,{bank:dependencies.bankDatabase}),settings); @@ -224,6 +224,7 @@ export function createPanel(db,settings={},dependencies={}){ const progressionRuntime=dependencies.progressionRuntime||(dependencies.organisationKeys?createProgressionRuntime(db,dependencies.bankDatabase||null,dependencies.organisationKeys):null); const progression=createProgressionAPI(db,{...progressionRuntime,origin}); const polRuntime=dependencies.polProgressionRuntime||(dependencies.organisationKeys?createPOLProgressionRuntime(db,dependencies.organisationKeys):null); + const gameHouseSelection=createHouseSelectionAPI(db,dependencies.organisationKeys,settings,{readBriefing:createGameBriefing({personal:progressionRuntime,pol:polRuntime,bank:dependencies.bankDatabase||null,authority:createPostbankAuthority(db,{bank:dependencies.bankDatabase||null})})}); const polProgression=createProgressionAPI(polProgressionStore(db),{...polRuntime,authenticate:r=>identity(r,db),origin,basePath:'/api/progression/pol'}); const serverProjects=dependencies.serverProjects||(dependencies.organisationKeys?createServerProjectRuntime(db,dependencies.bankDatabase||null,dependencies.organisationKeys):null); const projectsAPI=createServerProjectAPI(db,serverProjects,{origin}); diff --git a/website/node/game-briefing.mjs b/website/node/game-briefing.mjs new file mode 100644 index 00000000..e5875c29 --- /dev/null +++ b/website/node/game-briefing.mjs @@ -0,0 +1,26 @@ +import {xpReport} from '../control-panel/public/cp-v2/cp-v2-progression-sidebar.mjs'; +import {canViewAccount} from './postbank-authorisations.mjs'; +import {money} from './postbank-catalogue.mjs'; +// Existing quest/key readers and bank authority only. Never collect facts, claim +// a reward, sync bank identities, create accounts or change balances on a HUD read. +export function createGameBriefing({personal,pol,bank=null,authority,clock=Date.now}={}){ + const cache=new Map(); + const summary=data=>{const report=xpReport(data);return report?{level:report.level,xp:report.xp,nextXP:report.nextXP,cap:report.cap,quest:report.quest?.title||null}:null;}; + return async actor=>{ + const now=clock(),prior=cache.get(actor.id);if(prior&&prior.until>now)return prior.value; + const [p,r,a]=await Promise.allSettled([personal?.quests.list(actor),pol?.quests.list(actor),authority?.(actor)]); + const context=a.status==='fulfilled'?a.value:null; + let funds=null; + if(bank&&context){try{ + const entity=context.entities.find(e=>e.kind==='person'&&e.key===actor.id&&e.canView); + if(entity){const rows=await bank.query("SELECT a.id,a.balance_minor,a.reserved_minor FROM pb_accounts a JOIN pb_clients c ON c.client_number=a.client_number JOIN pb_entities e ON e.id=c.entity_id WHERE e.id=? AND e.kind='person' AND e.external_key=? AND e.active=1 AND a.state='active' AND a.system_key IS NULL AND a.type_code IN ('102','103','104','108')",[entity.id,actor.id]); + const allowed=rows.filter(row=>canViewAccount(context,entity.id,row.id)); + if(allowed.length)funds={balance:money(allowed.reduce((n,row)=>n+BigInt(row.balance_minor),0n)),available:money(allowed.reduce((n,row)=>n+BigInt(row.balance_minor)-BigInt(row.reserved_minor),0n)),currency:'DM'}; + } + }catch{/* Missing bank data is unavailable, never an invented zero balance. */}} + const names=kind=>context?[...new Set(context.entities.filter(e=>e.kind===kind&&e.canView).map(e=>e.name))]:null; + const value={personal:p.status==='fulfilled'?summary(p.value):null,reputation:r.status==='fulfilled'?summary(r.value):null,bank:funds,clans:names('clan'),companies:names('company'),updatedAt:now}; + for(const [id,row]of cache)if(row.until<=now)cache.delete(id); + cache.set(actor.id,{until:now+30000,value});return value; + }; +} diff --git a/website/node/house-selection.mjs b/website/node/house-selection.mjs index 4c0356d3..fa0e2db2 100644 --- a/website/node/house-selection.mjs +++ b/website/node/house-selection.mjs @@ -10,10 +10,10 @@ export const HOUSES=Object.freeze([ ]); export const HOUSE_SELECTION_SCHEMA=`CREATE TABLE IF NOT EXISTS jarvis_house_selections(key_id CHAR(36) PRIMARY KEY,account_id CHAR(36) NOT NULL,minecraft_uuid CHAR(36) NOT NULL,faction VARCHAR(24) NOT NULL,version INTEGER NOT NULL,request_id CHAR(36) NOT NULL,created_at BIGINT NOT NULL,UNIQUE KEY house_request(account_id,request_id),UNIQUE KEY house_revision(account_id,version)) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4`; const fail=(message,status=409)=>{throw Object.assign(Error(message),{status});}; -export function createHouseSelection(db,keys){ +export function createHouseSelection(db,keys,{readBriefing=null}={}){ const first=async(store,sql,args=[])=>store.first?store.first(sql,args):(await store.query(sql,args))[0]||null; async function actor(store,uuid,lock=false){ - const rows=await store.query('SELECT a.id,a.role,a.password_hash FROM site_accounts a JOIN site_game_links l ON l.user_id=a.id WHERE l.minecraft_uuid=?'+(lock?' FOR UPDATE':''),[uuid]); + const rows=await store.query('SELECT a.id,a.username,a.display_name,a.role,a.password_hash FROM site_accounts a JOIN site_game_links l ON l.user_id=a.id WHERE l.minecraft_uuid=?'+(lock?' FOR UPDATE':''),[uuid]); if(rows.length!==1||['system_account','official','memorial'].includes(rows[0].role)||String(rows[0].password_hash).startsWith('!'))fail('Link an active personal website account first.',403); return rows[0]; } @@ -22,7 +22,8 @@ export function createHouseSelection(db,keys){ const selection=choice?.minecraft_uuid===uuid&&HOUSES.some(h=>h.id===choice.faction)?choice.faction:null; const house=HOUSES.find(h=>h.id===selection),mentor=house?HOUSE_MENTATS[house.id]:null; const receipt=selection?await first(db,'SELECT h.key_id FROM jarvis_house_selections h JOIN organisation_keys k ON k.id=h.key_id WHERE h.account_id=? AND h.minecraft_uuid=? AND h.version=? AND h.faction=? AND k.revoked_at IS NULL',[user.id,uuid,Number(choice.version),selection]):null; - return {ok:true,choices:HOUSES,selection,version:Number(choice?.version||0),keyId:receipt?.key_id||null,mentat:mentor?{username:mentor,name:MENTAT_NAMES[mentor],...systemPortrait(mentor)}:null}; + let briefing=null;try{if(readBriefing)briefing=await readBriefing(user);}catch{} + return {ok:true,choices:HOUSES,selection,version:Number(choice?.version||0),keyId:receipt?.key_id||null,mentat:mentor?{username:mentor,name:MENTAT_NAMES[mentor],...systemPortrait(mentor)}:null,briefing}; } async function choose(input){ if(!validUuid(input.uuid)||!validUuid(input.requestId)||!HOUSES.some(h=>h.id===input.faction)||input.confirmed!==true||!Number.isSafeInteger(input.version)||input.version<0)fail('Choose and confirm a House.',400); @@ -47,8 +48,8 @@ export function createHouseSelection(db,keys){ } return {read,choose}; } -export function createHouseSelectionAPI(db,keys,settings){ - const service=keys?createHouseSelection(db,keys):null; +export function createHouseSelectionAPI(db,keys,settings,options={}){ + const service=keys?createHouseSelection(db,keys,options):null; return async request=>{ if(request.method!=='POST')return json({message:'Method not allowed'},405); if(!gameAuthorized(request,settings))return json({message:'Unauthorized'},401); diff --git a/website/ops/dunegui-download-location.conf b/website/ops/dunegui-download-location.conf index 93a0e084..f5e71976 100644 --- a/website/ops/dunegui-download-location.conf +++ b/website/ops/dunegui-download-location.conf @@ -5,3 +5,9 @@ location = /downloads/DuneRealms-GUI-Houses-1.21.8-v1.zip { add_header Cache-Control "public, max-age=31536000, immutable"; add_header X-Content-Type-Options nosniff; } +location = /downloads/DuneRealms-GUI-Houses-1.21.8-v2.zip { + alias /var/lib/dunerealms-public-downloads/DuneRealms-GUI-Houses-1.21.8-v2.zip; + default_type application/zip; + add_header Cache-Control "public, max-age=31536000, immutable"; + add_header X-Content-Type-Options nosniff; +} diff --git a/website/tests/game-briefing.test.mjs b/website/tests/game-briefing.test.mjs new file mode 100644 index 00000000..aa01f663 --- /dev/null +++ b/website/tests/game-briefing.test.mjs @@ -0,0 +1,12 @@ +import test from 'node:test';import assert from 'node:assert/strict'; +import {createGameBriefing} from '../node/game-briefing.mjs'; +const journal={state:'active',profile:{level:2,totalXP:80,effectiveXP:50,reserveXP:30},season:{id:'S01',curveBase:25,levelCap:70},quests:[{title:'Real active quest',keyId:'q',state:'active'}]}; +test('HUD reuses authoritative XP curves and limits bank balance to the current personal authority; reads are cached per actor',async()=>{ + let queries=0,reads=0;const bank={async query(sql,args){queries++;assert.match(sql,/^SELECT /);assert.deepEqual(args,['personal-one','one']);return [{id:1,balance_minor:'12345',reserved_minor:'100'},{id:2,balance_minor:'99999999',reserved_minor:'0'}];}}; + const personal={quests:{async list(){reads++;return journal;}}};const authority=async()=>({entities:[{id:'personal-one',kind:'person',key:'one',canView:true,accountRights:{1:{canView:true}}},{kind:'clan',name:'Our clan',canView:true},{kind:'company',name:'Private company',canView:false}]}); + const read=createGameBriefing({personal,pol:personal,bank,authority});const data=await read({id:'one'});assert.equal(data.personal.nextXP,75);assert.equal(data.reputation.xp,50);assert.equal(data.personal.quest,'Real active quest');assert.equal(data.bank.balance,'123.45');assert.equal(data.bank.available,'122.45');assert.deepEqual(data.clans,['Our clan']);assert.deepEqual(data.companies,[]);await read({id:'one'});assert.equal(queries,1);assert.equal(reads,2); +}); +test('missing data stays unavailable, and another player cannot receive a cached personal report',async()=>{ + const read=createGameBriefing({personal:{quests:{async list(actor){if(actor.id==='two')throw Error('Unavailable');return journal;}}},pol:{quests:{async list(){throw Error('Unavailable');}}},authority:async()=>({entities:[]})}); + const one=await read({id:'one'}),two=await read({id:'two'});assert.equal(one.personal.level,2);assert.equal(two.personal,null);assert.equal(two.reputation,null);assert.equal(two.bank,null); +});