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, }); }
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); }
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 }); }