Yak Shaving


“This will be a nice quick one to implement,” I tell myself.

This week, I

  • Was implementing AI for Inventor Simulator
    • Needed the AI to select shelves to look at
      • Was implementing a look-up-table of item->shelves-holding-item to make it faster
        • Wrapped the shelves array in another struct because you can’t directly nest TSets and TArrays in Unreal Engine
          • Added Unreal-Angelscript functionality to use AS-defined Hash functions of custom structs in the engine/UPROPERTYs
            • Tested in a shipping/JIT build before making the PR
              • Fixed my existing JIT issues causing the build to fail
                • Implemented a generic map comparison

I love game development.

Anyway, wait for it to be reviewed, but if you use Unreal-Angelscript, you can now nest structs you’ve defined in AS, inside TMaps and TSets inside other structs: https://github.com/Hazelight/UnrealEngine-Angelscript/pull/573 (you’ll need to be signed in and part of the Epic Games / Unreal Engine org group thing to access it).

Videogames

Hey, do you like videogames? If so, please check out my game Inventor Simulator on Steam, and consider adding it to your wishlist. Craft inventions and sell them to customers, then automate your workbench, workshop and store! Research new inventions or create your own from scratch. Set prices based on an economic model, unlock and craft upgrades, and vertically integrate your supply chain. Become the world's greatest inventor!

See full gameplay on Steam!


See also