From 22a50151ec439929914597e402f485796de6cc59 Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Sat, 13 Jun 2026 13:56:49 +0100 Subject: [PATCH] Delete legacy give command --- .voidbot/state/aetheria.cc | Bin 31372 -> 31400 bytes Assets/Scripts/Gameplay/ActionGameManager.cs | 13 ------------- docs/aetheria-perfect-machine-map.md | 18 +++++++++++------- 3 files changed, 11 insertions(+), 20 deletions(-) diff --git a/.voidbot/state/aetheria.cc b/.voidbot/state/aetheria.cc index 35312cb14e429e8e02b1e01c86e2e3ebdb6038f8..7d4ade3493cbde22b72925af62295f5c7f45a7cf 100644 GIT binary patch delta 1279 zcmZux&1)4`6z@wkO;Ab;5kIj6_N> zlaa9tS2~y49slp>5&uk%`QJt!O;n}J7q=d_4tX_tzbbS)-Lf#g?_?`0ruHRY?ksO4 z2wX{{QiQ%3gqJL1GKRa%K#VC`jDa4R1Sjn*>2rmm2~POEZw~B4&O$PbH7i>|ihah1uyn_XJZDjgE7Wh1Sq6(6 z>tGcKX)L3k>3oS7=4r!@v!_r?DbU8%75H z6X3miz)4{d69GePh*HftFbOOTM97&l2&GCHmYUbZIhtuW(G%7R*$18=-=;#aEW(5h zgwlR@b@B{E%2AEL8~tX3h!HcmD&#hpgym>Fn8}@2H=K1OOK4vi`(8lCgG|ICQ7#QF zYWtd)#EQENr8PimFAZ>Z!KHR{rHK)h2P9x9uAxcV5b`1Mo+VkdP|g5%H!TPX*oV1j z826~X(nIJGcv|TkEHzfUa<0l#M#cu4njF)t+VbN0nX6+<*VkAM8p-z9lxZPrnUF!c z8gNF*bXW;or7*-I(jx9-`{9oodwb`7>%!sU=FF{e54R7UJ-hI+ebLw#G*^|XIzPqR zd4Kfa)s1p(D6|&+59`M#%e4v61-=l^C$rbyy)jY)jelBKYWc7YO+s{WF+Br<1d zirSxwzW$=RKRWYUKUvl{e|>VT$fMUIQ@hPx&D2x>QbwkB=_x0dGjh3L_}RpGgW>-e zJyzd8-Am>D^GrUk3v-?Nh8pu;<)4`SwfCHC+jGJNp+otNc$5rYhcb|Tw|6& zGmA8{TuDfnZNe&{5ooMh7zJ=0W5%W9?bgpT$r?m-7TfkReJfOBT3Ve=EM9<+34z)G zqtB&UCAKklE?5N(B3=zu9J{^UPbe0t)DjPjy?m?F&{J5^JZhi`HY`d*oIbr@Btc&J zPg5L38+0lykMTbk#&RJ@dxEqT$#Qmd)egFcISPi6V_=#rL36&4>qHiYIp-7_l3^i3 zOX;Z=Ckvgo^qf$7)#(-vUQUIjwSW4nG}tV0@jG#3xm7y9$otz{HRTbh3aQo@+P}L) z)nVjDOfm2kF1XEnA^}XLoFus2>#0r2U%%s^Bf<#Xb;x}y;WtvQDv$l#Li>nw}0JQQBUm7>_QbViG43RNy1vJ2gYog<P%$IHB9bEa|)47Lx`+B?Y@;hpv uyq-qS`0MGTeA^w2l^58q{FO?|;aG9aO(qYzgAuo?^EG+bS5C%ihSq8T diff --git a/Assets/Scripts/Gameplay/ActionGameManager.cs b/Assets/Scripts/Gameplay/ActionGameManager.cs index b5312efea..fa4bdf4c8 100644 --- a/Assets/Scripts/Gameplay/ActionGameManager.cs +++ b/Assets/Scripts/Gameplay/ActionGameManager.cs @@ -476,19 +476,6 @@ public class ActionGameManager : MonoBehaviour } }); - ConsoleController.AddCommand("give", - args => - { - var itemName = string.Join(" ", args); - var catalogItem = RuntimeCatalog?.EquipmentItems - .FirstOrDefault(item => string.Equals(item.Name, itemName, StringComparison.InvariantCultureIgnoreCase)); - if (catalogItem != null && Guid.TryParse(catalogItem.LegacyId, out var legacyId)) - { - var item = ItemManager.GetCatalogEntry(legacyId); - _currentEntity.CargoBays.First().TryStore(ItemManager.CreateInstance(item, .95f)); - } - }); - ConsoleController.AddCommand("trackmissile", _ => { diff --git a/docs/aetheria-perfect-machine-map.md b/docs/aetheria-perfect-machine-map.md index 7a4fd0a61..5ead6b335 100644 --- a/docs/aetheria-perfect-machine-map.md +++ b/docs/aetheria-perfect-machine-map.md @@ -95,10 +95,10 @@ legacy catalog cache, and legacy UI paths should be migration-only or deleted. the package-owned `ActionGameManager.RuntimeCatalog` typed snapshot. Entity restore and loadout manufacturer-distance weighting no longer use `ItemManager` for faction lookup; they resolve factions through the `Galaxy` typed - corporation projection. The `give` command selects matching items from the - typed runtime catalog, then temporarily hydrates the selected legacy - `EquippableItemData` by ID only for `ItemManager.CreateInstance`. - `LoadoutGenerator` also receives the typed runtime catalog and uses it to own + corporation projection. There is no live console item-spawn command; future + operator item actions should be typed command documents or Eve/CultUI + commands, not in-client catalog hydration shortcuts. `LoadoutGenerator` also + receives the typed runtime catalog and uses it to own item candidate selection before hydrating selected legacy item DTOs by ID for exact fitting checks and behavior construction. The unused `TradeMenuDebug` script has been deleted instead of preserving an old uGUI debug path that @@ -267,9 +267,11 @@ legacy catalog cache, and legacy UI paths should be migration-only or deleted. contract for full .NET smokes and Eve surface reads. Neither writes state or owns simulation. The legacy cache no longer has a public mutation surface, but it still materializes `ItemManager`. Item properties manufacturer display is - a typed snapshot consumer; the give console command, loadout generation, and - old trade debug UI has been deleted. No live caller can enumerate legacy - catalog entries through `ItemManager` or `ILegacyCatalogReader`. + a typed snapshot consumer; loadout generation is the remaining runtime + single-ID item hydration bridge. The old trade debug UI and console `give` + command have been deleted. No live + caller can enumerate legacy catalog entries through `ItemManager` or + `ILegacyCatalogReader`. - Inputs: Unity gameplay code, legacy catalog files, typed state documents, and CultMesh server state. - Outputs: `Aetheria.State` emits `.cc` state and CultMesh documents. Legacy @@ -429,6 +431,8 @@ First Aetheria surfaces to publish: checks and behavior construction. - Done: delete unused `TradeMenuDebug`; the old debug uGUI trade path no longer hydrates typed trade rows back into legacy `ItemData` objects. + - Done: delete the console `give` command instead of preserving a debug + operator path that hydrated typed item rows back into legacy item DTOs. - Done: delete `ItemManager.GetCatalogEntries` after all live callers moved to typed catalog selection. - Done: delete `ILegacyCatalogReader.GetAll` and the type/global indexes