🧐 Add ranged weapons and patches
This commit is contained in:
parent
1705624d0d
commit
f895e100d2
48 changed files with 40 additions and 4 deletions
|
@ -14,7 +14,7 @@ with sync_playwright() as p:
|
|||
browser = p.chromium.launch()
|
||||
page = browser.new_page(device_scale_factor=3)
|
||||
with db_session:
|
||||
for m in [*Melee.select(), *Shield.select()]:
|
||||
for m in [*Melee.select(), *Shield.select(), *Ranged.select()]:
|
||||
print(f"rendering {m.name}...")
|
||||
page.goto(f"http://localhost:8080/{m.name}")
|
||||
page.locator(".container").screenshot(path=f"./output/{m.name}.png")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue