Skip to content

Commit 710e1fc

Browse files
committed
update instances of MASProbabilityRule
1 parent fe9ce28 commit 710e1fc

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

Monika After Story/game/script-farewells.rpy

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ init -1 python in mas_farewells:
158158

159159
# add to pool
160160
fare_pool.append((
161-
ev, store.MASProbabilityRule.get_probability(ev)
161+
ev, store.MASWeightRule.get_weight(ev)
162162
))
163163

164164
# not having a greeting to show means no greeting.
@@ -866,7 +866,7 @@ label bye_illseeyou:
866866
init 5 python: ## Implementing Date/Time for added responses based on the time of day
867867
rules = dict()
868868
rules.update(MASSelectiveRepeatRule.create_rule(hours=range(6,11)))
869-
rules.update(MASProbabilityRule.create_rule(6))
869+
rules.update(MASWeightRule.create_rule(6))
870870
addEvent(
871871
Event(
872872
persistent.farewell_database,
@@ -899,7 +899,7 @@ label bye_haveagoodday:
899899
init 5 python:
900900
rules = dict()
901901
rules.update(MASSelectiveRepeatRule.create_rule(hours=range(12,16)))
902-
rules.update(MASProbabilityRule.create_rule(6))
902+
rules.update(MASWeightRule.create_rule(6))
903903
addEvent(
904904
Event(
905905
persistent.farewell_database,
@@ -935,7 +935,7 @@ label bye_enjoyyourafternoon:
935935
init 5 python:
936936
rules = dict()
937937
rules.update(MASSelectiveRepeatRule.create_rule(hours=range(17,19)))
938-
rules.update(MASProbabilityRule.create_rule(6))
938+
rules.update(MASWeightRule.create_rule(6))
939939
addEvent(
940940
Event(
941941
persistent.farewell_database,

0 commit comments

Comments
 (0)