Add shop supplies and rebalance early economy
This commit is contained in:
parent
6386c5e3e3
commit
6a5923fdb8
41 changed files with 1159 additions and 52 deletions
|
|
@ -8,6 +8,7 @@ const FishPoolType = preload("res://fish/fish_pool.gd")
|
|||
const FishingContextType = preload("res://fishing/fishing_context.gd")
|
||||
|
||||
var undiscovered_weight_multiplier: float = 1.5
|
||||
var rarity_weight_multipliers: Array[float] = []
|
||||
var use_deterministic_test_seed: bool = false
|
||||
var deterministic_test_seed: int = 24680
|
||||
var selection_seed: int = 0
|
||||
|
|
@ -45,6 +46,8 @@ func select_fish(
|
|||
final_weight *= fish.availability.get_bait_weight_multiplier(context)
|
||||
if not collection_log.has_discovered(fish.id):
|
||||
final_weight *= maxf(undiscovered_weight_multiplier, 0.0)
|
||||
if fish.rarity >= 0 and fish.rarity < rarity_weight_multipliers.size():
|
||||
final_weight *= maxf(rarity_weight_multipliers[fish.rarity], 0.0)
|
||||
if final_weight <= 0.0:
|
||||
continue
|
||||
eligible_fish.append(fish)
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ weight_max_lb = 8.0
|
|||
display_scale_min = 0.9
|
||||
display_scale_max = 1.5
|
||||
display_scale_curve = 0.9
|
||||
sell_value_min = 12
|
||||
sell_value_max = 45
|
||||
sell_value_min = 7
|
||||
sell_value_max = 7
|
||||
sell_value_curve = 0.9
|
||||
display_texture = ExtResource("4_texture")
|
||||
|
|
|
|||
|
|
@ -19,6 +19,6 @@ display_scale_min = 0.7
|
|||
display_scale_max = 1.1
|
||||
display_scale_curve = 1.0
|
||||
sell_value_min = 3
|
||||
sell_value_max = 12
|
||||
sell_value_max = 3
|
||||
sell_value_curve = 1.0
|
||||
display_texture = ExtResource("4_texture")
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ weight_max_lb = 18.0
|
|||
display_scale_min = 1.0
|
||||
display_scale_max = 1.8
|
||||
display_scale_curve = 0.85
|
||||
sell_value_min = 25
|
||||
sell_value_max = 90
|
||||
sell_value_min = 10
|
||||
sell_value_max = 10
|
||||
sell_value_curve = 0.85
|
||||
display_texture = ExtResource("4_texture")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue