示例#1
0
 public static PlaceCollectableReceipt Do(LinkedNode node, StaticCollectable place, LinkedCollectable item, bool autoBubble)
 {
     Logger.Log("randomizer", $"Placing collectable {item} in {node.Room.Static.Name}:{node.Static.Name}");
     node.Collectables[place] = Tuple.Create(item, autoBubble);
     return(new PlaceCollectableReceipt {
         Node = node,
         Place = place,
     });
 }
示例#2
0
            public static PlaceCollectableReceipt Do(LinkedNode node, StaticCollectable place, LinkedCollectable item, bool autoBubble, int keyholeID, LinkedRoom keyholeRoom)
            {
                var result = Do(node, place, item, autoBubble);

                keyholeRoom.UsedKeyholes.Add(keyholeID);
                result.KeyholeID   = keyholeID;
                result.KeyholeRoom = keyholeRoom;
                return(result);
            }
示例#3
0
 public static PlaceCollectableReceipt Do(LinkedNode node, StaticCollectable place, LinkedNode.LinkedCollectable item)
 {
     Logger.Log("randomizer", $"Placing collectable {item} in {node.Room.Static.Name}:{node.Static.Name}");
     node.Collectables[place] = item;
     return(new PlaceCollectableReceipt {
         Node = node,
         Place = place
     });
 }