show non-sheet material units in lathe (#19896)
* locale for material units * use material units in lathe ui * give units to non-sheet materials * :trollface: * use volume properly * :trollface: * review --------- Co-authored-by: deltanedas <@deltanedas:kde.org>
This commit is contained in:
@@ -43,6 +43,7 @@
|
||||
- type: material
|
||||
id: Credit
|
||||
name: speso
|
||||
unit: materials-unit-bill
|
||||
stackEntity: SpaceCash
|
||||
icon: { sprite: /Textures/Objects/Economy/cash.rsi, state: cash }
|
||||
price: 1
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
id: Biomass
|
||||
stackEntity: MaterialBiomass1
|
||||
name: materials-biomass
|
||||
unit: materials-unit-piece
|
||||
icon: { sprite: /Textures/Objects/Misc/monkeycube.rsi, state: cube }
|
||||
color: "#8A9A5B"
|
||||
price: 0.1
|
||||
@@ -18,6 +19,7 @@
|
||||
id: Cloth
|
||||
stackEntity: MaterialCloth1
|
||||
name: materials-cloth
|
||||
unit: materials-unit-roll
|
||||
icon: { sprite: /Textures/Objects/Materials/materials.rsi, state: cloth }
|
||||
color: "#e7e7de"
|
||||
price: 0.05
|
||||
@@ -26,6 +28,8 @@
|
||||
id: Durathread
|
||||
stackEntity: MaterialDurathread1
|
||||
name: materials-durathread
|
||||
# not exactly a sheet but its sprite suggests it cant be rolled like cloth
|
||||
unit: materials-unit-sheet
|
||||
icon: { sprite: /Textures/Objects/Materials/materials.rsi, state: durathread }
|
||||
color: "#8291a1"
|
||||
price: 0.15 # 1-1 mix of plastic and cloth.
|
||||
@@ -50,6 +54,7 @@
|
||||
id: Wood
|
||||
stackEntity: MaterialWoodPlank1
|
||||
name: materials-wood
|
||||
unit: materials-unit-plank
|
||||
icon: { sprite: Objects/Materials/materials.rsi, state: wood }
|
||||
color: "#966F33"
|
||||
price: 0.05
|
||||
@@ -66,6 +71,7 @@
|
||||
id: Bananium
|
||||
stackEntity: MaterialBananium1
|
||||
name: materials-bananium
|
||||
unit: materials-unit-bunch
|
||||
icon: { sprite: Objects/Materials/materials.rsi, state: bananium }
|
||||
color: "#32a852"
|
||||
price: 0.2
|
||||
@@ -73,6 +79,7 @@
|
||||
- type: material
|
||||
id: Meaterial # you can't take this pun from me
|
||||
name: materials-meat
|
||||
unit: materials-unit-slab
|
||||
icon: { sprite: Objects/Materials/Sheets/meaterial.rsi, state: meat }
|
||||
color: "#c53648"
|
||||
price: 0.05
|
||||
@@ -80,6 +87,7 @@
|
||||
- type: material
|
||||
id: WebSilk
|
||||
name: materials-web
|
||||
unit: materials-unit-web
|
||||
icon: { sprite: Objects/Materials/silk.rsi, state: icon }
|
||||
color: "#eeeeee" #eeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
|
||||
price: 0 # Maybe better for it to be priceless, knowing how greedy cargo is.
|
||||
|
||||
@@ -9,6 +9,7 @@
|
||||
id: Gold
|
||||
stackEntity: IngotGold1
|
||||
name: materials-gold
|
||||
unit: materials-unit-bar
|
||||
icon: { sprite: Objects/Materials/ingots.rsi, state: gold }
|
||||
color: "#FFD700"
|
||||
price: 0.2
|
||||
@@ -17,6 +18,7 @@
|
||||
id: Silver
|
||||
stackEntity: IngotSilver1
|
||||
name: materials-silver
|
||||
unit: materials-unit-bar
|
||||
icon: { sprite: Objects/Materials/ingots.rsi, state: silver }
|
||||
color: "#C0C0C0"
|
||||
price: 0.15
|
||||
|
||||
Reference in New Issue
Block a user