add iron and ore fragments items

This commit is contained in:
Ed
2024-04-18 14:16:09 +03:00
parent 390249f0cc
commit 59b8757f14
11 changed files with 84 additions and 0 deletions

View File

@@ -0,0 +1,38 @@
- type: entity
id: CPBaseOre
parent: BaseItem
abstract: true
components:
- type: Item
size: Tiny
- type: RandomSprite
available:
- random:
ore1: ""
ore2: ""
ore3: ""
ore4: ""
- type: entity
id: CPOreIron
parent: CPBaseOre
name: iron piece
description: A piece of cold, heavy iron.
components:
- type: Sprite
sprite: _CP14/Objects/Ores/iron_ore.rsi
layers:
- state: ore1
map: ["random"]
- type: entity
id: CPOreGold
parent: CPBaseOre
name: gold piece
description: A piece of soft, pure gold.
components:
- type: Sprite
sprite: _CP14/Objects/Ores/gold_ore.rsi
layers:
- state: ore1
map: ["random"]

View File

@@ -0,0 +1,23 @@
{
"version": 1,
"size": {
"x": 32,
"y": 32
},
"license": "CC-BY-SA-3.0",
"copyright": "Created by TheShuEd (Github) for CrystallPunk14",
"states": [
{
"name": "ore1"
},
{
"name": "ore2"
},
{
"name": "ore3"
},
{
"name": "ore4"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 315 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 302 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 280 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 274 B

View File

@@ -0,0 +1,23 @@
{
"version": 1,
"size": {
"x": 32,
"y": 32
},
"license": "CC-BY-SA-3.0",
"copyright": "Created by TheShuEd (Github) for CrystallPunk14",
"states": [
{
"name": "ore1"
},
{
"name": "ore2"
},
{
"name": "ore3"
},
{
"name": "ore4"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 279 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 260 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 273 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 272 B