# Config sub loadconf { return { Rnds => [], SaveRnds => [], ########### # HexedUI # ########### box_color => "Blue/white", tmp_file => "/tmp/hexed", editor => "vim", termlines => 10000, ########## # DunGen # ########## MinWallLength => 3, RoomCornerCut => sub { percent(50) }, RandRoomCut => sub { random( int(shift() / 2.5) ) }, RoomDims => sub { (6, 10) }, FirstRoomYX => sub { my ($map, $room) = @_; ( int($map->height / 2) - int($room->height / 2), int($map->width / 2) - int($room->width / 2), ); }, VertHallDims => sub { ( random(5, 8), random(2, 4) ) }, HorizHallDims => sub { ( random(2, 3), random(6, 10) ) }, SpawnRecurse => 5, DeadendTries => 3, CaveWallInit => sub { percent(30) }, CellularIters => 3, ########## # PerlRL # ########## Categories => ["Uncategorized!!!", "Weapons"], }; } 42;