Fix item shapes: mod sprites need an opaque pixel at the centre of every cell
The game decides which cells an item occupies by the alpha of one pixel at the centre of each 16x16 cell. The rig's rack bays left gaps exactly on the centre rows, so 8 of 9 cells counted as empty and other items were placed underneath it; the terminal's stand did the same. The rig gets a solid back plate, the terminal's stand is widened, and art/sprites.py now checks every cell the way the game does and refuses to write a sprite with a hole. Verified in game: new rigs are 3x3 solid, new terminals 2x2 solid. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
1841338fbb
commit
a2a4d12ad3
6 files changed
+19
-4
No files matched your search
@@ -10,3 +10,5 @@
|
||||
- 杰克逊博士上货(游戏给 mod 的进货钩子,夜间去他店里或他每周来本店摆摊时):没有矿架时必有一个,有了之后 30% 再上;基础显卡每次两张;进阶显卡第 10 天起 60%(再 30% 多一张);旗舰第 30 天起 25%,特供货事件时第 20 天起必有。全新真货,价格为物品价值加他的加价。加入 Web3 治理社区后才上货。开发者模式 F9 有测试入口。
|
||||
- 命名:币为 PSC,合规交易所为 Poinbase,入口人脉升级为 Web3 治理社区。
|
||||
- 入口升级归入游戏原有的"服务"栏(和 Probably Automated 一样),图标用交易终端。
|
||||
- 修复矿架、交易终端与别的物品重叠:游戏按 mod 物品图每格中心的一个像素判断这一格算不算占用,矿架的卡位之间有缝,缝正好落在中心行上,8 格被当成空格。矿架加了实心背板、终端支架拉通;art/sprites.py 生成时按游戏的方式检查每格中心,有透明格就报错。
|
||||
|
||||
Reference in new issue
Block a user