Commit 96d93c1 1 parent ca549df commit 96d93c1 Copy full SHA for 96d93c1
File tree 2 files changed +17
-4
lines changed
2 files changed +17
-4
lines changed Original file line number Diff line number Diff line change @@ -61,6 +61,21 @@ class CostMultiplier(Range):
61
61
range_end = 200
62
62
default = 100
63
63
64
+ class FillerCoinAmount (Choice ):
65
+ """The number of coins that will be in each filler coin item."""
66
+ display_name = "Coins per Filler Item"
67
+ option_7_coins = 0
68
+ option_13_coins = 1
69
+ option_15_coins = 2
70
+ option_18_coins = 3
71
+ option_21_coins = 4
72
+ option_25_coins = 5
73
+ option_27_coins = 6
74
+ option_32_coins = 7
75
+ option_33_coins = 8
76
+ option_50_coins = 9
77
+ default = 1
78
+
64
79
@dataclass
65
80
class ShortHikeOptions (PerGameCommonOptions ):
66
81
start_inventory_from_pool : StartInventoryPool
@@ -71,3 +86,4 @@ class ShortHikeOptions(PerGameCommonOptions):
71
86
buckets : Buckets
72
87
golden_feather_progression : GoldenFeatherProgression
73
88
cost_multiplier : CostMultiplier
89
+ filler_coin_amount : FillerCoinAmount
Original file line number Diff line number Diff line change @@ -41,11 +41,8 @@ class ShortHikeWorld(World):
41
41
42
42
required_client_version = (0 , 4 , 4 )
43
43
44
- def __init__ (self , multiworld , player ):
45
- super (ShortHikeWorld , self ).__init__ (multiworld , player )
46
-
47
44
def get_filler_item_name (self ) -> str :
48
- return "13 Coins"
45
+ return self . options . filler_coin_amount . current_option_name
49
46
50
47
def create_item (self , name : str ) -> "ShortHikeItem" :
51
48
item_id : int = self .item_name_to_id [name ]
You can’t perform that action at this time.
0 commit comments