mirror of
https://github.com/Refactorio/RedMew.git
synced 2025-01-26 03:52:00 +02:00
moved perlin requires into files that acually call it.
This commit is contained in:
parent
1c62f974fa
commit
a816b88278
@ -1,3 +1,5 @@
|
||||
require "locale.gen_shared.perlin_noise"
|
||||
|
||||
if ores_module then return end
|
||||
ores_module = true
|
||||
|
||||
@ -91,4 +93,3 @@ function run_ores_module_tile(surface,x,y)
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
|
@ -69,3 +69,6 @@ function grad( hash, x, y, z )
|
||||
local v = h < 4 and y or ((h == 12 or h == 14) and x or z)
|
||||
return ((h % 2) == 0 and u or -u) + ((h % 3) == 0 and v or -v)
|
||||
end
|
||||
|
||||
|
||||
perlin:load( )
|
||||
|
@ -1,3 +1,6 @@
|
||||
|
||||
require "locale.gen_shared.perlin_noise"
|
||||
|
||||
if terrain_module then return end
|
||||
terrain_module = true
|
||||
|
||||
|
@ -2,10 +2,6 @@
|
||||
Neko Does stuff to key files because Im a derp
|
||||
--]]
|
||||
|
||||
require "locale.gen_shared.perlin_noise"
|
||||
perlin:load( )
|
||||
require "locale.gen_shared.ent_functions"
|
||||
require "locale.gen_shared.simplex_noise"
|
||||
|
||||
--shapes--
|
||||
--require "locale.gen_shape.right"
|
||||
@ -17,7 +13,7 @@ require "locale.gen_shared.simplex_noise"
|
||||
--require "locale.gen_shape.donut"
|
||||
|
||||
--terrain--
|
||||
--require "locale.gen_terrain.neko_bridged_rivers"
|
||||
require "locale.gen_terrain.neko_bridged_rivers"
|
||||
|
||||
--ores--
|
||||
--require "locale.gen_ores.neko_crazy_ores"
|
||||
|
Loading…
x
Reference in New Issue
Block a user