Skip to content

Commit 42bb1f1

Browse files
committed
Added lucky dice
1 parent fb6d25b commit 42bb1f1

4 files changed

Lines changed: 53 additions & 0 deletions

File tree

1.02 KB
Loading
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
[remap]
2+
3+
importer="texture"
4+
type="CompressedTexture2D"
5+
uid="uid://dv8u82rj2vkxu"
6+
path="res://.godot/imported/Relic_LuckyDice.png-88ca6d67d74b2a5f34af4000f643b3a7.ctex"
7+
metadata={
8+
"vram_texture": false
9+
}
10+
11+
[deps]
12+
13+
source_file="res://Classes/Relics/Assets/Relic_LuckyDice.png"
14+
dest_files=["res://.godot/imported/Relic_LuckyDice.png-88ca6d67d74b2a5f34af4000f643b3a7.ctex"]
15+
16+
[params]
17+
18+
compress/mode=0
19+
compress/high_quality=false
20+
compress/lossy_quality=0.7
21+
compress/hdr_compression=1
22+
compress/normal_map=0
23+
compress/channel_pack=0
24+
mipmaps/generate=false
25+
mipmaps/limit=-1
26+
roughness/mode=0
27+
roughness/src_normal=""
28+
process/fix_alpha_border=true
29+
process/premult_alpha=false
30+
process/normal_map_invert_y=false
31+
process/hdr_as_srgb=false
32+
process/hdr_clamp_exposure=false
33+
process/size_limit=0
34+
detect_3d/compress_to=1

Globals/Scribe.cs

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -374,6 +374,23 @@ e is BattleDirector.Harbinger.OnDamageInstanceArgs dmgArgs
374374
),
375375
}
376376
),
377+
new RelicTemplate(
378+
12,
379+
"Lucky Dice",
380+
Rarity.Uncommon,
381+
GD.Load<Texture2D>("res://Classes/Relics/Assets/Relic_LuckyDice.png"),
382+
new RelicEffect[]
383+
{
384+
new RelicEffect(
385+
BattleEffectTrigger.OnPickup,
386+
1,
387+
(e, self, val) =>
388+
{
389+
StageProducer.PlayerStats.Rerolls = 1;
390+
}
391+
),
392+
}
393+
),
377394
};
378395

379396
public static readonly SongTemplate[] SongDictionary = new[] //Generalize and make pools for areas/room types

Globals/Translations/Translations.csv

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,8 @@ RELIC_LOOSECHANGE_NAME,Loose Change,零钱
8484
RELIC_LOOSECHANGE_TOOLTIP,"Gain extra money after battles.","战斗后获得额外金钱。"
8585
RELIC_SPIKEDSHIELD_NAME,Spiked Shield,尖刺之盾
8686
RELIC_SPIKEDSHIELD_TOOLTIP,"Deal damage when you lose a charge of block.","失去格挡层数时造成伤害。"
87+
RELIC_LUCKYDICE_NAME,Lucky Dice,幸运骰子
88+
RELIC_LUCKYDICE_TOOLTIP,"Gain one reroll for reward selections.","获得一次奖励重选。"
8789
INVENTORY_TAB_NOTES,Notes,乐谱
8890
INVENTORY_TAB_RELICS,Relics,遗物
8991
OPTIONS_VOLUME_LABEL,Master Volume,最终音量设置

0 commit comments

Comments
 (0)