
scope Marketplace initializer init
	import ObjEditingNatives

	function init takes nothing returns nothing
		create_w3u_h00A()
	end

	@compiletime function create_w3u_h00A takes nothing returns nothing
		if compiletime
			let u = createObjectDefinition("w3u", 'h00A', 'hwtw')
			u.setReal("usca", 0.9)
			u.setString("upat", "")
			u.setString("upap", "")
			u.setString("uubs", "")
			u.setString("umdl", "buildings\\other\\Marketplace\\Marketplace.mdl")
			u.setString("unam", "Market")
			u.setUnreal("ucol", 0.0)
			u.setString("uabi", "Ane2,Avul")
			u.setInt("uhpm", 1000000000)
			u.setString("urac", "other")
			u.setString("utyp", "mechanical,neutral")
			u.setInt("unbm", 1)
			u.setString("usei", "I001,I004,I003,I002")
			u.setString("usnd", "Marketplace")
		else
			CreateUnit(Player(PLAYER_NEUTRAL_PASSIVE), 'h00A', - 2610.4, 2967.1, 205.869)
		end
	end
endscope
