Code Monkey home page Code Monkey logo

gt-rando's People

Contributors

charles3429 avatar gb127 avatar tanerdavis avatar

Stargazers

 avatar  avatar

Forkers

tanerdavis

gt-rando's Issues

Exits with doors

Until we have a working door thing, we'll need to fix the exits that cross a door so we doN,t get stuck

2-1 et 2-0

Change stuffs so it's always open if not first frame

Finish the items data

GT-Rando/items.py

Lines 112 to 120 in b7d81f3

items_screens = {7:("7 (W)",), # W0 : plank
9:("9 (S)",), # W0 : Shovel
23:("7 (C)", "7 (C)", " 7 (C)"), # W1 : Hookshot + plank
29:("13 (N)",), # W1 : Item north of double hookshot.
40:("8 (S)", "8 (S)", "8 (S)", "8 (S)", "8 (↗)", "8 (↗)"), # W2 : Corridor with fruits and gem
42:("10 (N)", "10 (N)", "10 (N)"), # W2 : Plank Room. Fix all to north since it's easier for logic from north.
49:("17 (N)",), # W3 : Screen with gray key in middle, item on the right behind hookshot
53:("21 (W)", "21 (W)", "21 (↗)") # W3 : movable platform and hookshot
}#, 53, 55, 62, 65, 69, 77, 78, 90, 94, 95, 96, 97, 99, 100, 101, 102, 103, 104, 105, 106, 108, 109, 111

  • 55,
  • 62,
  • 65,
  • 69,
  • 77,
  • 78,
  • 90,
  • 94,
  • 95,
  • 96,
  • 97,
  • 99,
  • 100,
  • 101,
  • 102,
  • 103,
  • 104,
  • 105,
  • 106,
  • 108,
  • 109,
  • 111

V2.0 : Possible softlocks

12:22 PM] Niamek: GT_sdei_37853505959637523

You can softlock in the pirate world if you go south instead of west after the wheel puzzle.
[1:16 PM] Niamek: GT_sdei_3596900764823707

You can softlock if you somehow don't find the gold key before reaching the gold door because of the arrow platform.

Remove the ifs

def __bool__(self):

Currently, we (I) do a bunch of ifs.

if any([x in [0xA, 0xB, 0xE] for x in self[10]]):
if len([x for x in self[12] if x in range(0x8, 0xF)]) > 1:
if len([x for x in self[room_to_index(tup=(1,13))] if x in range(0x8, 0xF)]) > 1:
if self[room_to_index(tup=(2,6)), 2] in range(0x8, 0xF):
if any([x in self[room_to_index(tup=(4,12))] for x in [GrayK, GoldK]]):

Convert that to a data list like the others functions.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.