Add rings (Salvage loot real)! (#31372)

* First commit

* I'm silly

* Another fix

* How could I forget the descriptions!

* Forgot

* Made textures alligned properly

* Removed the stuff!

* Opps

* Typo fixes
This commit is contained in:
beck-thompson
2024-08-28 13:48:46 -07:00
committed by GitHub
parent 7454c77ae5
commit 50791db750
9 changed files with 167 additions and 0 deletions

View File

@@ -48,3 +48,16 @@
- type: Fiber
fiberMaterial: fibers-synthetic
- type: FingerprintMask
- type: entity
abstract: true
parent: BaseItem
id: RingBase
components:
- type: Clothing
slots: [ gloves, neck ]
- type: Item
size: Tiny
- type: Tag
tags:
- Ring

View File

@@ -0,0 +1,104 @@
- type: entity
parent: RingBase
id: GoldRing
name: gold ring
description: A precious ring.
components:
- type: Sprite
sprite: Clothing/Hands/Rings/basic.rsi
layers:
- state: ring
color: "#ffc833"
- type: StaticPrice
price: 300
- type: Appearance
- type: entity
parent: RingBase
id: SilverRing
name: silver ring
description: Looks slightly less valuable than a gold one.
components:
- type: Sprite
sprite: Clothing/Hands/Rings/basic.rsi
layers:
- state: ring
- type: StaticPrice
price: 275
- type: Appearance
- type: entity
parent: RingBase
id: GoldRingDiamond
name: gold diamond ring
description: Made from ethically mined space diamonds.
components:
- type: Sprite
sprite: Clothing/Hands/Rings/basic.rsi
layers:
- state: ring
color: "#ffc833"
- state: gem
color: "#c1ffff"
- type: StaticPrice
price: 1500
- type: Appearance
- type: entity
parent: RingBase
id: SilverRingDiamond
name: silver diamond ring
description: Made from ethically mined space diamonds.
components:
- type: Sprite
sprite: Clothing/Hands/Rings/basic.rsi
layers:
- state: ring
- state: gem
color: "#c1ffff"
- type: StaticPrice
price: 1400
- type: Appearance
- type: entity
parent: RingBase
id: GoldRingGem
name: gold gem ring
description: Shiny and valuable!
components:
- type: Sprite
sprite: Clothing/Hands/Rings/basic.rsi
layers:
- state: ring
color: "#ffc833"
- state: gem
map: [ "gemColor" ]
- type: StaticPrice
price: 2100
- type: Appearance
- type: RandomSprite
getAllGroups: true
available:
- gemColor:
gem: Rainbow
- type: entity
parent: RingBase
id: SilverRingGem
name: silver gem ring
description: Shiny and not quite as valuable!
components:
- type: Sprite
sprite: Clothing/Hands/Rings/basic.rsi
layers:
- state: ring
- state: gem
map: [ "gemColor" ]
- type: StaticPrice
price: 2000
- type: Appearance
- type: RandomSprite
getAllGroups: true
available:
- gemColor:
gem: Rainbow

View File

@@ -114,6 +114,8 @@
range: 4, 7
- id: SpaceCash1000
- id: WristwatchGold
- !type:NestedSelector
tableId: RingTableCommon
- type: entityTable
id: SalvageTreasureRare
@@ -145,6 +147,8 @@
weight: 14
- id: SpaceCash10000
weight: 1
- !type:NestedSelector
tableId: RingTableRare
- type: entityTable
id: SalvageTreasureLegendary
@@ -157,6 +161,10 @@
- id: TreasureCoinDiamond
amount: !type:RangeNumberSelector
range: 2, 5
- !type:NestedSelector
tableId: RingTableRare
rolls: !type:RangeNumberSelector
range: 2, 3
# Equipment: Tools and things used by salvagers. Quote unquote "Gamer Loot"

View File

@@ -0,0 +1,21 @@
- type: entityTable
id: RingTableCommon
table: !type:GroupSelector
children:
- id: SilverRing
weight: 0.55
- id: GoldRing
weight: 0.45
- type: entityTable
id: RingTableRare
table: !type:GroupSelector
children:
- id: GoldRingDiamond
weight: 0.1
- id: SilverRingDiamond
weight: 0.1
- id: GoldRingGem
weight: 0.35
- id: SilverRingGem
weight: 0.45

View File

@@ -200,6 +200,7 @@
- ClothingHeadHatWelding
- WetFloorSign
- ClothingHeadHatCone
- type: EmagLatheRecipes
emagStaticRecipes:
- BoxLethalshot

View File

@@ -1090,6 +1090,9 @@
- type: Tag
id: RifleStock
- type: Tag
id: Ring
- type: Tag
id: RipleyCentralControlModule

Binary file not shown.

After

Width:  |  Height:  |  Size: 132 B

View File

@@ -0,0 +1,17 @@
{
"version": 1,
"license": "CC0-1.0",
"copyright": "Created by Beck Thompson for SS14",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "ring"
},
{
"name": "gem"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 228 B