Compare commits
3 Commits
p3.9.1
...
patches_3.
Author | SHA1 | Date | |
---|---|---|---|
cbd207c734 | |||
72e833a99e | |||
0331bd861b |
25
.github/workflows/build-mod.yml
vendored
25
.github/workflows/build-mod.yml
vendored
@ -1,11 +1,8 @@
|
|||||||
name: build-mod
|
name: build-mod
|
||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
push:
|
||||||
release:
|
tags:
|
||||||
types: [published]
|
- "p*"
|
||||||
pull_request:
|
|
||||||
|
|
||||||
permissions: read-all
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-the-mod:
|
build-the-mod:
|
||||||
@ -14,5 +11,17 @@ jobs:
|
|||||||
contents: write
|
contents: write
|
||||||
actions: read
|
actions: read
|
||||||
steps:
|
steps:
|
||||||
- uses: argonui/TTSModManager.action@v1.0.0
|
- uses: actions/checkout@v3
|
||||||
|
- run: wget https://github.com/argonui/TTSModManager/releases/download/v1.2.1/TTSModManager-Linux
|
||||||
|
shell: bash
|
||||||
|
- run: chmod +x TTSModManager-Linux
|
||||||
|
shell: bash
|
||||||
|
- run: ./TTSModManager-Linux -moddir="./" -modfile="./SCED ${{ github.ref_name }}.json"
|
||||||
|
shell: bash
|
||||||
|
- name: Create Release
|
||||||
|
uses: akkuman/gitea-release-action@v1
|
||||||
|
env:
|
||||||
|
NODE_OPTIONS: '--experimental-fetch' # if nodejs < 18
|
||||||
|
with:
|
||||||
|
files: "SCED ${{ github.ref_name }}.json"
|
||||||
|
name: "Patched ${{ github.ref_name }}"
|
||||||
|
@ -180,7 +180,7 @@ end
|
|||||||
|
|
||||||
-- draw the provided card to the requesting playermat
|
-- draw the provided card to the requesting playermat
|
||||||
function actualEncounterCardDraw(card, params)
|
function actualEncounterCardDraw(card, params)
|
||||||
card.deal(1, params.mat.matColor)
|
card.deal(1, params.matColor)
|
||||||
end
|
end
|
||||||
|
|
||||||
-- gets the discard pile and shuffles it into the encounter deck
|
-- gets the discard pile and shuffles it into the encounter deck
|
||||||
|
@ -977,7 +977,7 @@ function maybeUpdateActiveInvestigator(card)
|
|||||||
|
|
||||||
-- spawn three regular action tokens (investigator specific one in the bottom spot)
|
-- spawn three regular action tokens (investigator specific one in the bottom spot)
|
||||||
for i = 1, 3 do
|
for i = 1, 3 do
|
||||||
local pos = self.positionToWorld(Vector(-1.54 + i * 0.17, 0, -0.28)):add(Vector(0, 0.2, 0))
|
local pos = self.positionToWorld(Vector(-1.54 + i * 0.17, 0, -1.13)):add(Vector(0, 0.2, 0))
|
||||||
|
|
||||||
tokenManager.spawnToken(pos, "universalActionAbility", self.getRotation(),
|
tokenManager.spawnToken(pos, "universalActionAbility", self.getRotation(),
|
||||||
function(spawned)
|
function(spawned)
|
||||||
@ -990,8 +990,8 @@ function maybeUpdateActiveInvestigator(card)
|
|||||||
-- local positions
|
-- local positions
|
||||||
local tokenSpawnPos = {
|
local tokenSpawnPos = {
|
||||||
action = {
|
action = {
|
||||||
Vector(-0.86, 0, -0.28), -- left of the regular three actions
|
Vector(-0.86, 0, -1.13), -- left of the regular three actions
|
||||||
Vector(-1.54, 0, -0.28), -- right of the regular three actions
|
Vector(-1.54, 0, -1.13), -- right of the regular three actions
|
||||||
},
|
},
|
||||||
ability = {
|
ability = {
|
||||||
Vector(-1, 0, 0.118), -- bottom left corner of the investigator card
|
Vector(-1, 0, 0.118), -- bottom left corner of the investigator card
|
||||||
|
Loading…
Reference in New Issue
Block a user