Merge branch 'main' into multishop
This commit is contained in:
commit
10a4a89c5f
|
@ -540,10 +540,11 @@ take_any_locations = {
|
||||||
|
|
||||||
|
|
||||||
def set_up_take_anys(world, player):
|
def set_up_take_anys(world, player):
|
||||||
|
take_any_locs = take_any_locations
|
||||||
if world.mode[player] == 'inverted':
|
if world.mode[player] == 'inverted':
|
||||||
take_any_locs = take_any_locations - {"Dark Sanctuary Hint", "Archery Game"}
|
take_any_locs -= {"Dark Sanctuary Hint", "Archery Game"}
|
||||||
else:
|
take_any_locs = list(take_any_locs)
|
||||||
take_any_locs = take_any_locations
|
take_any_locs.sort()
|
||||||
|
|
||||||
regions = world.random.sample(take_any_locs, 5)
|
regions = world.random.sample(take_any_locs, 5)
|
||||||
|
|
||||||
|
|
|
@ -964,20 +964,19 @@ class ClientMessageProcessor(CommonCommandProcessor):
|
||||||
self.output(response)
|
self.output(response)
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
|
||||||
def get_missing_checks(ctx: Context, client: Client) -> list:
|
def get_missing_checks(ctx: Context, client: Client) -> list:
|
||||||
locations = []
|
return [Regions.lookup_id_to_name.get(location_id, f'Unknown Location ID: {location_id}') for
|
||||||
#for location_id in [k[0] for k, v in ctx.locations if k[1] == client.slot]:
|
location_id, slot in ctx.locations if
|
||||||
# if location_id not in ctx.location_checks[client.team, client.slot]:
|
slot == client.slot and
|
||||||
# locations.append(Regions.lookup_id_to_name.get(location_id, f'Unknown Location ID: {location_id}'))
|
location_id not in ctx.location_checks[client.team, client.slot]]
|
||||||
for location_id, location_name in {**Regions.lookup_id_to_name, **Regions.shop_table_by_location_id}.items(): # cheat console is -1, keep in mind
|
|
||||||
if location_id != -1 and location_id not in ctx.location_checks[client.team, client.slot] and (location_id, client.slot) in ctx.locations:
|
|
||||||
locations.append(location_name)
|
|
||||||
return locations
|
|
||||||
|
|
||||||
def get_client_points(ctx: Context, client: Client) -> int:
|
def get_client_points(ctx: Context, client: Client) -> int:
|
||||||
return (ctx.location_check_points * len(ctx.location_checks[client.team, client.slot]) -
|
return (ctx.location_check_points * len(ctx.location_checks[client.team, client.slot]) -
|
||||||
ctx.hint_cost * ctx.hints_used[client.team, client.slot])
|
ctx.hint_cost * ctx.hints_used[client.team, client.slot])
|
||||||
|
|
||||||
|
|
||||||
async def process_client_cmd(ctx: Context, client: Client, cmd, args):
|
async def process_client_cmd(ctx: Context, client: Client, cmd, args):
|
||||||
if type(cmd) is not str:
|
if type(cmd) is not str:
|
||||||
await ctx.send_msgs(client, [['InvalidCmd']])
|
await ctx.send_msgs(client, [['InvalidCmd']])
|
||||||
|
|
|
@ -65,3 +65,10 @@ alttp_msu-34.pcm
|
||||||
Muchos packs MSU usan música con derechos de autor la cual no esta permitido su uso en plataformas como Twitch o YouTube.
|
Muchos packs MSU usan música con derechos de autor la cual no esta permitido su uso en plataformas como Twitch o YouTube.
|
||||||
Si elijes hacer stream de dicha música, tu VOD puede ser silenciado. En el peor caso, puedes recibir una orden de eliminación DMCA.
|
Si elijes hacer stream de dicha música, tu VOD puede ser silenciado. En el peor caso, puedes recibir una orden de eliminación DMCA.
|
||||||
Por favor, tened cuidado y solo streamear música para la cual tengas los derechos para hacerlo.
|
Por favor, tened cuidado y solo streamear música para la cual tengas los derechos para hacerlo.
|
||||||
|
|
||||||
|
##### Packs MSU seguros para Stream
|
||||||
|
A continuación enumeramos los packs MSU que, packs which, por lo que sabemos, son seguros para vuestras retransmisiones. Se iran añadiendo mas conforme
|
||||||
|
vayamos enterandonos. Si sabes alguno que podamos haber olvidado, por favor haznoslo saber!
|
||||||
|
- Musica del juego original
|
||||||
|
- [Smooth McGroove](https://drive.google.com/open?id=1JDa1jCKg5hG0Km6xNpmIgf4kDMOxVp3n)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue