Buckets:
AnonymousSpottedToad/candidate_bucket / codebase /python /randovania_randovania /randovania /generator /filler /weights.py
| import dataclasses | |
| from dataclasses import dataclass | |
| from typing import ClassVar | |
| class ActionWeights: | |
| DEFAULT_PICKUP_INDICES_WEIGHT: ClassVar[float] = 1.0 | |
| """ | |
| The default value by how much an action's weight will be increased during generation if | |
| the action unlocks Pickup nodes. | |
| """ | |
| DEFAULT_EVENTS_WEIGHT: ClassVar[float] = 0.5 | |
| """ | |
| The default value by how much an action's weight will be increased during generation if | |
| the action unlocks Event nodes. | |
| """ | |
| DEFAULT_HINTS_WEIGHT: ClassVar[float] = 1.0 | |
| """ | |
| The default value by how much an action's weight will be increased during generation if | |
| the action unlocks Hint nodes. | |
| """ | |
| DANGEROUS_ACTION_MULTIPLIER: ClassVar[float] = 0.75 | |
| """When weighting an action, indicates by how much the weight will be multiplied if the action is unsafe.""" | |
| ADDITIONAL_NODES_WEIGHT_MULTIPLIER: ClassVar[float] = 0.01 | |
| """ | |
| When calculating backup weights, indicates by how much the weight will be multiplied per node that is unlocked. | |
| """ | |
| VICTORY_WEIGHT: ClassVar[float] = 1000 | |
| """ | |
| When weighting an action, indicates by how much the weight will be multiplied if it unlocks the victory condition. | |
| """ | |
| pickup_indices_weight: float = dataclasses.field(default=DEFAULT_PICKUP_INDICES_WEIGHT) | |
| """ | |
| While weighting an action during generation, indicates the weight that will be added if | |
| the action unlocks Pickup nodes. | |
| """ | |
| events_weight: float = dataclasses.field(default=DEFAULT_EVENTS_WEIGHT) | |
| """ | |
| While weighting an action during generation, indicates the weight that will be added if | |
| the action unlocks Event nodes. | |
| """ | |
| hints_weight: float = dataclasses.field(default=DEFAULT_HINTS_WEIGHT) | |
| """ | |
| While weighting an action during generation, indicates the weight that will be added if | |
| the action unlocks Hint nodes. | |
| """ | |
Xet Storage Details
- Size:
- 1.93 kB
- Xet hash:
- 49a7e9a824148771aa3b8d69cade3ddb2302524863e9d67368f4c2a85f069849
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.