death + charge regen

death penalty and corpse, lantern to butterfly, butterfly jar, added the new stuff to level editor
This commit is contained in:
2026-09-28 21:01:30 +02:00
parent 17d4e9cdf3
commit 2a86881108
14 changed files with 723 additions and 61 deletions
+1 -1
View File
@@ -11,7 +11,7 @@
"resources": {
"base_max_charge": 100.0,
"charge_drain_rate": 40.0,
"charge_refill_rate": 20.0,
"charge_refill_rate": 10.0,
"base_max_health": 10,
"invincibility_duration": 1.0
},
@@ -7,6 +7,11 @@
"group_spacing": 90
},
"butterfly_jars": {
"icon_size": 16,
"icon_gap": 4
},
"inventory_ui": {
"panel": { "x": 20, "y": 20, "w": 560, "h": 545, "pad": 10 },
"list": { "w": 360, "line_h": 18, "header_h": 40, "pad_y": 6, "pad_right": 14 },
+9 -2
View File
@@ -1,8 +1,15 @@
{
"objects": {
"lamp": {
"flow_butterfly": {
"type": "light_source",
"charge_regen_range": 180
},
"lamp": {
"type": "save_point",
"charge_regen_range": 90
},
"flow_butterfly_jar": {
"type": "butterfly_jar"
}
}
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 257 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 385 B

@@ -131,6 +131,21 @@
],
"radius": 180
},
{
"type": "save_point",
"pos": [
-60,
560
],
"radius": 110
},
{
"type": "butterfly_jar",
"pos": [
320,
560
]
},
{
"type": "quest_giver",
"quest_id": "quest_first_kills",
@@ -192,6 +192,39 @@
}
],
"ability_doors": [],
"props": [
{
"type": "save_point",
"pos": [
-300,
360
],
"radius": 110
},
{
"type": "butterfly_jar",
"pos": [
800,
360
]
},
{
"type": "light_source",
"pos": [
300,
360
],
"radius": 180
},
{
"type": "light_source",
"pos": [
1100,
360
],
"radius": 180
}
],
"entry_spawns": {
"entry_1": [
-420,
+41 -1
View File
@@ -352,7 +352,47 @@
"type": "miniboss"
}
],
"props": [],
"props": [
{
"type": "save_point",
"pos": [
200,
320
],
"radius": 110
},
{
"type": "butterfly_jar",
"pos": [
420,
320
]
},
{
"type": "light_source",
"pos": [
500,
320
],
"radius": 180
},
{
"type": "light_source",
"pos": [
900,
2780
],
"radius": 180
},
{
"type": "light_source",
"pos": [
2600,
1860
],
"radius": 180
}
],
"exits": [
{
"x": -1160,
@@ -62,6 +62,16 @@
}
],
"ability_doors": [],
"props": [
{
"type": "light_source",
"pos": [
-100,
360
],
"radius": 180
}
],
"entry_spawns": {
"entry_2": [
-360,
@@ -96,6 +96,22 @@
]
},
"props": [
{
"type": "save_point",
"pos": [
140,
360
],
"radius": 110
},
{
"type": "light_source",
"pos": [
1100,
360
],
"radius": 180
},
{
"type": "reward_chest",
"pos": [
@@ -49,6 +49,22 @@
]
},
"props": [
{
"type": "save_point",
"pos": [
120,
360
],
"radius": 110
},
{
"type": "light_source",
"pos": [
900,
360
],
"radius": 180
},
{
"type": "diary",
"pos": [