Changeset View
Changeset View
Standalone View
Standalone View
binaries/data/mods/public/maps/random/african_plains.js
Show All 30 Lines | |||||
var oCrocodile = "gaia/fauna_crocodile"; | var oCrocodile = "gaia/fauna_crocodile"; | ||||
var oFish = "gaia/fauna_fish"; | var oFish = "gaia/fauna_fish"; | ||||
var oStoneSmall = "gaia/geology_stone_savanna_small"; | var oStoneSmall = "gaia/geology_stone_savanna_small"; | ||||
var oMetalLarge = "gaia/geology_metal_savanna_slabs"; | var oMetalLarge = "gaia/geology_metal_savanna_slabs"; | ||||
var aBush = "actor|props/flora/bush_medit_sm_dry.xml"; | var aBush = "actor|props/flora/bush_medit_sm_dry.xml"; | ||||
var aRock = "actor|geology/stone_savanna_med.xml"; | var aRock = "actor|geology/stone_savanna_med.xml"; | ||||
const pForest = [tForestFloor + TERRAIN_SEPARATOR + oPalm, tForestFloor]; | const pForest = [{"texture": tForestFloor, "entity": oPalm}, tForestFloor]; | ||||
elexis: space after { and before }
Object looks reasonable, the alternative would be an array with 2… | |||||
var heightSeaGround = -5; | var heightSeaGround = -5; | ||||
var heightLand = 2; | var heightLand = 2; | ||||
var heightCliff = 3; | var heightCliff = 3; | ||||
var g_Map = new RandomMap(heightLand, tPrimary); | var g_Map = new RandomMap(heightLand, tPrimary); | ||||
const numPlayers = getNumPlayers(); | const numPlayers = getNumPlayers(); | ||||
▲ Show 20 Lines • Show All 240 Lines • Show Last 20 Lines |
Wildfire Games · Phabricator
space after { and before }
Object looks reasonable, the alternative would be an array with 2 items.