Skip to content

Commit

Permalink
added vauge documentation that will come back to haunt me later
Browse files Browse the repository at this point in the history
local time 11:49 pm and travis better approve this by midnight!
  • Loading branch information
theorangeangle committed Nov 28, 2019
1 parent 9e72495 commit 2225f53
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion map_gen/maps/turkey.lua
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
--RedMew's 2019 turkey/thanksgiving map! Thanks to all the contributors from world_map_thanksgiving.lua and to TheKidOZ.
local b = require "map_gen.shared.builders"
local Random = require 'map_gen.shared.random'
local table = require 'utils.table'
Expand All @@ -13,6 +14,8 @@ RS.set_map_gen_settings(
}
)


--everything from here to line 145 is all to generate the fancy ore; it should prob be cleaned up at some point.
local ore_seed = 3000

local turkey_pic = require 'map_gen.data.presets.turkey_bw'
Expand Down Expand Up @@ -142,7 +145,7 @@ local ore_grid = b.grid_pattern_full_overlap(ore_pattern, 50, 50, 96, 96)

ore_grid = b.translate(ore_grid, -60, -20)


--spews a random turkey fact in chat every 10 minutes.
Event.add(
defines.events.on_tick,
function(event)
Expand All @@ -156,6 +159,7 @@ Event.add(

pic = b.decompress(pic)

--idk why this works but it does, played whack a mole/whack a variable to get it to clear all errors
local shape = b.picture(pic)
shape = b.scale(shape, 4, 4)
shape = b.translate(shape, -300, 500)
Expand Down

0 comments on commit 2225f53

Please sign in to comment.