Else Heart.Break() – Magic Lockpick Guide

Preface

Сrеdit gоеs to Neil!

After reading the existing lockpick guide, I have to show you guys my own code, which I think is much cooler ~ forget the key brute force, the extractor, the Windows clipboard.

I put the code on “Logo” the turtle in the garden. I just put “Logo” down and it unlocks all the doors in the room.

Of course, you can use a radio, which seems more technological than magical, simply change GetRoom(“Logo”) to GetRoom(“Sebastian”).

And of course, you can use GetThingsOfType(“door”) to get all doors in the world (rather than only the doors in a room), and then unlock all of them at once. But personally, I think it ruins the fun.

Code

var svrQuery = Connect("PoliceOfficeInterior_MinistryOfficeWorkstationComputer_1")
var svrUnlock = Connect("Hotel_Lobby_ComputerCashier")

var room = svrQuery.GetRoom("Logo")
var things = svrQuery.GetThingsInRoom(room)
var doors = []

loop things
    if svrQuery.GetTypeOfThing(@) == "door"
        Append(doors, @)
    end
end

loop doors
    svrUnlock.Unlock(@)
    Print(@ + " is unlocked")
    Sleep(2)
end

DisconnectAll()
Volodymyr Azimoff
About Volodymyr Azimoff 13792 Articles
I love games and I live games. Video games are my passion, my hobby and my job. My experience with games started back in 1994 with the Metal Mutant game on ZX Spectrum computer. And since then, I’ve been playing on anything from consoles, to mobile devices. My first official job in the game industry started back in 2005, and I'm still doing what I love to do.

Be the first to comment

Leave a Reply

Your email address will not be published.


*