@@ -84,3 +84,18 @@ jobs:
|
||||
env:
|
||||
NODE_OPTIONS: '--experimental-fetch'
|
||||
|
||||
- name: Announce Release
|
||||
uses: tsickert/discord-webhook@v7.0.0
|
||||
with:
|
||||
webhook-url: ${{ secrets.WEBHOOK_URL }}
|
||||
content: "New Beta Release"
|
||||
username: "Spearhead Release Bot"
|
||||
#TODO: avatar-url spearhead avatar
|
||||
thread-id: 1538520596802175037
|
||||
embed-title: "Spearhead Release"
|
||||
embed-color: 3093247
|
||||
embed-description:
|
||||
${{ steps.release_notes.outputs.body }}
|
||||
embed-url:
|
||||
https://git.dutchie031.com/Spearhead/spearhead/releases/tag/${{ steps.read_version.outputs.tag }}
|
||||
|
||||
|
||||
@@ -5,6 +5,16 @@
|
||||
|
||||
### New Features
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
## [0.13.0] 2026-08
|
||||
|
||||
A good first release that finally has all major bugs fixed that were caused by the migration from both the underlying script transpiler and the migration to Gitea. <br>
|
||||
|
||||
### Breaking Changes
|
||||
|
||||
### New Features
|
||||
|
||||
- Issue #26
|
||||
Possibility to have Stage Overview briefings (which include current missions sorted by distance) to be shown on spawning of a player.
|
||||
PR #31
|
||||
|
||||
@@ -269,6 +269,11 @@ end
|
||||
---@param rgba table
|
||||
---@return string
|
||||
function DrawingHelper.ColorTableToColorString(rgba)
|
||||
if rgba == nil or #rgba < 4 or rgba[1] == nil or rgba[2] == nil or rgba[3] == nil or rgba[4] == nil then
|
||||
drawingLogger:warn("ColorTableToColorString called with invalid rgba table, returning default color string '0x00000000'")
|
||||
return "0x00000000"
|
||||
end
|
||||
|
||||
local r = string.format("%02X", math.floor(rgba[1] * 255))
|
||||
local g = string.format("%02X", math.floor(rgba[2] * 255))
|
||||
local b = string.format("%02X", math.floor(rgba[3] * 255))
|
||||
|
||||
+1
-1
@@ -1 +1 @@
|
||||
0.12.1
|
||||
0.13.0
|
||||
Reference in New Issue
Block a user