Brown plant

Fix flower pickup spawning
This commit is contained in:
Cong
2021-03-25 23:42:11 +11:00
parent 498dd05761
commit 2f763dfaa2
5 changed files with 44 additions and 8 deletions

View File

@@ -236,7 +236,13 @@
"Wreck": "plant_wreck",
"Size": [8, 6],
"Health": 20,
"Flags": ["Inside", "OneOrMoreWalls"]
"Flags": ["Inside", "OneOrMoreWalls"],
"DestroySpawn": [
{
"Type": "Health",
"SpawnChance": 0.2
}
]
},
{
"Name": "plant_wreck",
@@ -246,13 +252,7 @@
},
"Health": 0,
"DrawBelow": true,
"Flags": ["Inside", "OneOrMoreWalls"],
"DestroySpawn": [
{
"Type": "Health",
"SpawnChance": 0.2
}
]
"Flags": ["Inside", "OneOrMoreWalls"]
},
{
"Name": "flower",
@@ -281,6 +281,34 @@
"DrawBelow": true,
"Flags": ["Inside", "OneOrMoreWalls"]
},
{
"Name": "plant_brown",
"Pic": {
"Type": "Normal",
"Pic": "plant_brown"
},
"Wreck": "plant_brown_wreck",
"Size": [8, 6],
"Offset": [-4, -12],
"Health": 20,
"Flags": ["Inside", "OneOrMoreWalls"],
"DestroySpawn": [
{
"Type": "Health",
"SpawnChance": 0.2
}
]
},
{
"Name": "plant_brown_wreck",
"Pic": {
"Type": "Normal",
"Pic": "plant_brown_wreck"
},
"Health": 0,
"DrawBelow": true,
"Flags": ["Inside", "OneOrMoreWalls"]
},
{
"Name": "bench",
"Pic": {

BIN
graphics/plant_brown.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

4
graphics/plant_brown.txt Normal file
View File

@@ -0,0 +1,4 @@
Adapted from [16x16] Indoor RPG Tileset by armisius
https://opengameart.org/content/16x16-indoor-rpg-tileset
http://creativecommons.org/licenses/by/3.0/

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

View File

@@ -948,6 +948,10 @@
{
"MapObject": "skull_pillar",
"Positions": [[21, 3]]
},
{
"MapObject": "plant_brown",
"Positions": [[23, 3]]
}],
"StaticCharacters": [],
"StaticObjectives": [],