Dice tweaks (#13514)

This commit is contained in:
Leon Friedrich
2023-01-21 12:51:26 +13:00
committed by GitHub
parent a0b6e052a1
commit 2904a368f7
92 changed files with 274 additions and 181 deletions

View File

@@ -52,7 +52,7 @@
id: FunBoardGames
icon:
sprite: Objects/Fun/dice.rsi
state: d66
state: d6_6
product: CrateFunBoardGames
cost: 1500
category: Fun

View File

@@ -7,6 +7,7 @@
- type: ItemCooldown
- type: UseDelay
- type: Sprite
netsync: false
sprite: Objects/Fun/dice.rsi
noRot: true # If their sprites rotate, the number becomes even more illegible than usual.
- type: Tag
@@ -17,15 +18,17 @@
- type: entity
parent: BaseDice
id: d100Dice
name: d100
id: PercentileDie
name: Percentile Die
description: A die with ten sides. Works better for d100 rolls than a golf ball.
components:
- type: Dice
sides: 100
step: 10
sides: 10
multiplier: 10
offset: 1 # first side is a 0
currentValue: 1
- type: Sprite
state: d100100
state: percentile_0
- type: entity
parent: BaseDice
@@ -35,8 +38,9 @@
components:
- type: Dice
sides: 20
currentValue: 20
- type: Sprite
state: d2020
state: d20_20
- type: entity
parent: BaseDice
@@ -46,8 +50,9 @@
components:
- type: Dice
sides: 12
currentValue: 12
- type: Sprite
state: d1212
state: d12_12
- type: entity
parent: BaseDice
@@ -57,8 +62,9 @@
components:
- type: Dice
sides: 10
currentValue: 10
- type: Sprite
state: d1010
state: d10_10
- type: entity
parent: BaseDice
@@ -68,8 +74,9 @@
components:
- type: Dice
sides: 8
currentValue: 8
- type: Sprite
state: d88
state: d8_8
- type: entity
parent: BaseDice
@@ -79,8 +86,9 @@
components:
- type: Dice
sides: 6
currentValue: 6
- type: Sprite
state: d66
state: d6_6
- type: entity
parent: BaseDice
@@ -90,8 +98,9 @@
components:
- type: Dice
sides: 4
currentValue: 4
- type: Sprite
state: d44
state: d4_4
- type: CollisionWake
enabled: false
- type: Fixtures
@@ -122,3 +131,4 @@
damage:
types:
Piercing: 5
# I love this

View File

@@ -12,7 +12,7 @@
- id: d10Dice
- id: d12Dice
- id: d20Dice
- id: d100Dice
- id: PercentileDie
- type: Sprite
netsync: false
sprite: Objects/Fun/dice.rsi