Screeps: World

Screeps: World

Not enough ratings
[screeps-mod-mapgen] screeps-mod-mapgen
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
18.000 B
8 Dec, 2016 @ 12:37pm
1 Change Note ( view )

Subscribe to download
[screeps-mod-mapgen] screeps-mod-mapgen

Description
A screeps cli mod that facilitates (re)generating the whole map and/or adding sections to the map.

See https://github.com/jkingry/screeps-mod-mapgen for details

Examples

Regenerate the whole map, with a one width border and 3x3 source keeper center

map.generateMap()

Add a new 10 x 10 EAST NORTH sector and make a 2 x 10 column between EAST/NORTH and WEST/NORTH

map.generateMap({start: 'W0N0', end: 'E10N10', closed: { left: false }, borders: { left: 2 }})

4 Comments
DeathTech 12 Jan, 2017 @ 9:12am 
The extra rooms are probably a visual bug because the server still has the pictures in assets. Remove the pics from assets and the extra rooms should vanish.
Jendon 27 Dec, 2016 @ 1:38pm 
How do I clear, remove rooms, or reset a map? I used system.resetAllData() and the extra rooms are still there. :(
scoin86 8 Dec, 2016 @ 3:30pm 
would be a good thing
LeDuck 8 Dec, 2016 @ 1:44pm 
Can you give us a little info about what this does?