mirror of
https://github.com/illiumst/marl-factory-grid.git
synced 2025-12-08 08:30:38 +01:00
updated remaining configs from dirt to coins
This commit is contained in:
@@ -298,6 +298,8 @@ class Factory(gym.Env):
|
||||
""" Generalized method to mask entities based on dynamic conditions. """
|
||||
for entity in entities:
|
||||
if entity.name == 'CoinPiles':
|
||||
# entity.name = 'Destinations'
|
||||
# entity.value = 1
|
||||
entity.mask = 'Destinations'
|
||||
entity.mask_value = 1
|
||||
return entities
|
||||
|
||||
Reference in New Issue
Block a user