Skip to content

Commit 397dc60

Browse files
Desaturated vases and made them rarer
1 parent 6a119ae commit 397dc60

File tree

7 files changed

+3
-6
lines changed

7 files changed

+3
-6
lines changed

Elements/Vase.gd

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,16 @@ var frames := 0.0
44
var force_process := false
55

66
func _ready():
7-
match Items.WorldRNG.randi()%6:
7+
match Items.WorldRNG.randi()%5:
88
1:
99
$Sprite.texture = preload("res://Sprites/Elements/Vase2.png")
1010
$Sprite.offset.y = -4
1111
2:
1212
$Sprite.texture = preload("res://Sprites/Elements/Vase3.png")
1313
$Sprite.offset.y = -4
1414
3:
15-
$Sprite.texture = preload("res://Sprites/Elements/Vase4.png")
16-
$Sprite.offset.y = -4
17-
4:
1815
$Sprite.texture = preload("res://Sprites/Elements/Vase5.png")
19-
5:
16+
4:
2017
$Sprite.texture = preload("res://Sprites/Elements/Vase6.png")
2118

2219
func _physics_process(delta):

Room.gd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ func _ready():
1313
if no != null:
1414
var pos = i.position
1515
while pos.x < no.position.x + i.position.x:
16-
if Items.WorldRNG.randf() < 0.25:
16+
if Items.WorldRNG.randf() < 0.2:
1717
var n := preload("res://Elements/Vase.tscn").instance()
1818
n.position = pos - Vector2(0, 3)
1919
add_child(n)

Sprites/Elements/Vase.png

0 Bytes
Loading

Sprites/Elements/Vase2.png

-1 Bytes
Loading

Sprites/Elements/Vase3.png

14 Bytes
Loading

Sprites/Elements/Vase5.png

0 Bytes
Loading

Sprites/Elements/Vase6.png

2 Bytes
Loading

0 commit comments

Comments
 (0)